Re: Fwd: You removed Weboob package over pollitical reasons?Whole Internet laughs at you

2018-12-24 Thread Miles Fidelman


On 12/24/18 6:43 PM, Mark Fletcher wrote:
On Tue, Dec 25, 2018 at 7:56 Miles Fidelman 
mailto:mfidel...@meetinghouse.net>> wrote:


Not for nothing... 



Please don’t top post.


Yeah, whatever.  Grammar nazi.




but I'd never heard of weboob before.  Looks like a
rather powerful set of functions.  All the controversy has probably
provided some much needed visibility.

Personally, I don't care about the packaging - I tend to find that
packagers tend to just muck things up.  For anything except the most
common stuff, I'll always stick with >make;make install


In that case, why use Debian? The packaging (and the policies to 
support and govern it) are what makes Debian, Debian. Might as well 
use LFS if you’re going to make ; make install everything anyway.


Apt is well and good, and makes it easy enough to install all the basic 
packages on a new server.  After that, I've found that serious things, 
like databases, list managers - are generally well behind, and often 
don't build right.


Frankly, ever since systemd, I've been planning on migrating our 
production servers to BSD - just not a high enough priority. Debian has 
basically turned to garbage.





(Not that make ; make install is in any way evil; it’s great when it’s 
needed, it’s just not needed very much by users in Debian)


In your opinion.  Not in my experience.




With apologies to Miles for previously accidentally replying to him 
directly instead of replying only on-list...


Accepted.

Miles

--
In theory, there is no difference between theory and practice.
In practice, there is.   Yogi Berra



Re: apt-get upgrade problem on Jessie

2018-12-24 Thread rhkramer
Thanks very much -- that helped a lot -- there is one outstanding problem, 
but, for various reasons, I don't have time for a full reply atm -- I'll try 
to reply more fully tomorrow or the day after.

On Monday, December 24, 2018 06:22:58 PM Elimar Riesebieter wrote:
> * rh kramer  [2018-12-24 18:10 -0500]:
> > On my Jessie system, for something like the last 2 to 3 months, I've been
> > getting an error like the following whenever I do an apt-get update /
> > apt-get upgrade cycle.
> 
> [...]
> 
> > Ok, it looks like I have the r8169 as I see this:
> > 
> > r8169  68066  0
> 
> [...]
> 
> > W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-1.fw for
> > module r8169
> 
> $ apt-file search rtl8168d-1.fw
> firmware-realtek: /lib/firmware/rtl_nic/rtl8168d-1.fw
> 
> You need to
> # apt install firmware-realtek
> 
> > gzip: stdout: No space left on device
> 
> It seems that there is some space missing on your hard drive. What
> tells:
> 
> $ df -h
> 
> ?
> 
> Elimar



Fwd: You removed Weboob package over pollitical reasons?Whole Internet laughs at you

2018-12-24 Thread Mark Fletcher
On Tue, Dec 25, 2018 at 7:56 Miles Fidelman 
wrote:

> Not for nothing...


Please don’t top post.

but I'd never heard of weboob before.  Looks like a
> rather powerful set of functions.  All the controversy has probably
> provided some much needed visibility.
>
> Personally, I don't care about the packaging - I tend to find that
> packagers tend to just muck things up.  For anything except the most
> common stuff, I'll always stick with >make;make install
>

In that case, why use Debian? The packaging (and the policies to support
and govern it) are what makes Debian, Debian. Might as well use LFS if
you’re going to make ; make install everything anyway.

(Not that make ; make install is in any way evil; it’s great when it’s
needed, it’s just not needed very much by users in Debian)

Happy Holidays to all.

Mark

With apologies to Miles for previously accidentally replying to him
directly instead of replying only on-list...


Re: apt-get upgrade problem on Jessie

2018-12-24 Thread Elimar Riesebieter
* rh kramer  [2018-12-24 18:10 -0500]:

> On my Jessie system, for something like the last 2 to 3 months, I've been
> getting an error like the following whenever I do an apt-get update /
> apt-get upgrade cycle.

[...]

> Ok, it looks like I have the r8169 as I see this:
> 
> r8169  68066  0

[...]

> W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-1.fw for module
> r8169

$ apt-file search rtl8168d-1.fw
firmware-realtek: /lib/firmware/rtl_nic/rtl8168d-1.fw

You need to
# apt install firmware-realtek
> 
> gzip: stdout: No space left on device

It seems that there is some space missing on your hard drive. What
tells:

$ df -h

?

Elimar
-- 
  Excellent day for drinking heavily.
  Spike the office water cooler;-)



apt-get upgrade problem on Jessie

2018-12-24 Thread rh kramer
On my Jessie system, for something like the last 2 to 3 months, I've been
getting an error like the following whenever I do an apt-get update /
apt-get upgrade cycle.

I've been ignoring it, hoping it would go away with some future update, but
so far it hasn't.

The (edited) error message is shown below.  Suggestions?  I'm a little
afraid to reboot the machine at this point.

The real issue (afaict) is the:

Errors were encountered while processing:
 linux-image-3.16.0-7-amd64
 linux-image-amd64
 initramfs-tools


I see two sort of possibilities from reading the errors the first doesn't
seem possible -- I'm out of space on stdout??

And, if it has to do with those missing drivers / firmware, why did this
only start happening 2 or 3 months ago.  I don't even know if I have any
hardware that needs those drivers -- let me see, I guess I can do an lsmod
...

Ok, it looks like I have the r8169 as I see this:

r8169  68066  0

Are these missing drivers the proprietary ones?  (AFAIR, when I did the
install, I did not install or attempt to install proprietary drivers,
although that may have been 4 years ago.

Is that the problem?  If so, what do I do about it?



root@s31:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done

 

Setting up poppler-utils (0.26.5-2+deb8u7) ...
Setting up sndfile-programs (1.0.25-9.1+deb8u2) ...
Processing triggers for initramfs-tools (0.120+deb8u3) ...
update-initramfs: Generating /boot/initrd.img-3.16.0-6-amd64
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168g-3.fw for module
r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168g-2.fw for module
r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8106e-2.fw for module
r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8106e-1.fw for module
r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8411-2.fw for module
r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8411-1.fw for module
r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8402-1.fw for module
r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168f-2.fw for module
r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8105e-1.fw for module
r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-3.fw for module
r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-2.fw for module
r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-1.fw for module
r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-2.fw for module
r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-1.fw for module
r8169

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.16.0-6-amd64 with 1.
dpkg: error processing package initramfs-tools (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.19-18+deb8u10) ...
Errors were encountered while processing:
 linux-image-3.16.0-7-amd64
 linux-image-amd64
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@s31:~#



Re: You removed Weboob package over pollitical reasons?Whole Internet laughs at you

2018-12-24 Thread Miles Fidelman
Not for nothing... but I'd never heard of weboob before.  Looks like a 
rather powerful set of functions.  All the controversy has probably 
provided some much needed visibility.


Personally, I don't care about the packaging - I tend to find that 
packagers tend to just muck things up.  For anything except the most 
common stuff, I'll always stick with >make;make install


Miles Fidelman

On 12/24/18 5:25 AM, Ivan Ivanov wrote:

500 comments at Slashdot, >200 at Phoronix and >1000 at linux org ru! See now?

When a technical project starts making their decisions over pollitical reasons
rather than technical, it is doomed. Good time to switch to a similar distro
with mentally sane leadership, like Devuan. Also what's good about Devuan :

Devuan does not use System8==D as its' init system! SystemD contains >1 million
lines of bloated code and lots of vulnerabilities have been found there and
countless haven't, also the SystemD creators are arrogant and refuse to fix many
discovered security vulnerabilities, to a point where they've been awarded a
" Pwnie award " for refusing to fix a critical vuln.

That is why I prefer the distros which are using something else as init system:
either good old SysV, or something more modern like OpenRC (at Artix Linux) or
runit (at Void Linux) , just not systemd! There are only a few such distros left
because of Redhat pressure, and luckily Devuan is one of them.
If you found Debian as useful before it went nuts then maybe you'd like Devuan,
or even some other distros that I mentioned: Artix Linux =Arch with a human face
(has GUI + everything configured by default, nice GUI package manager and
convenient to use even for the beginners), and Void Linux -amazingly fast distro
really suitable for old PCs, but lacks some packages so you'd need to compile
the things from source once in a while, in comparison Artix has almost the same
set of packages as Arch. Both Artix and Void are very stable despite their
packages are really new and they are among the first to get new Linux kernels
with fresh drivers.

Or maybe MX Linux, one of the top popularity distros nowadays which is
also "no systemd" and somehow only recently I learned about it

Best regards,
Ivan Ivanov,
open source firmware developer


--
In theory, there is no difference between theory and practice.
In practice, there is.   Yogi Berra



Re: Time Domain Reflectometer (was Re: internet outages)

2018-12-24 Thread rhkramer


I (John Hasler) wrote:
> As to TDRs, if you can get by without actually seeing pictures of all
> the impedence bumps 

> you can get by with a fast counter, a high risetime
> pulse generator, and a couple of fast comparators.  Maybe $20 at
> Digikey.

You (Randy Kramer) wrote:
> Can you elaborate a little on how that would work?  

Apply the pulse to the cable under test.  The rising edge triggers the
counter and enables the comparators.  One comparator triggers on the
first rising edge on a return pulse, latching the count and disabling
itself.  The other comparator triggers on the first falling edge on a
return pulse, latching the count in a different register and also
disables itself.

The count latched by the positive comparator represents the distance to
first positive impedance bump encountered by the pulse. An open will
double the applied voltage.  The other will represent the distance to
the first negative bump.  A short will invert the voltage.

You'll want to make the thresholds adjustable, of course, and you will
also want to add range gating so that you can ignore all but a selected
section of the cable.

There are some time to distance converter chips that would be ideal for
this.  You'll want to put the whole thing under the control of a micro,
of course.  It could scan the range gates up and down the cable and
report impedance as a function of distance.
-- 
John Hasler 
jhas...@newsguy.com
Elmwood, WI USA



Re: You removed Weboob package over political reasons? Whole Internet laughs at you

2018-12-24 Thread Default User
On Mon, Dec 24, 2018, 16:39 Reco  On Mon, Dec 24, 2018 at 04:27:31PM -0500, Default User wrote:
> > On Mon, Dec 24, 2018, 15:47 Reco  >
> > > On Mon, Dec 24, 2018 at 09:58:19AM -0500, Default User wrote:
> > > > On Mon, Dec 24, 2018, 05:20 Ivan Ivanov  > > >
> > > > > >500 comments at Slashdot, >200 at Phoronix and >1000 at linux org
> ru!
> > > See
> > > 
> > > > >
> > > > > Best regards,
> > > > > Ivan Ivanov,
> > > > > open source firmware developer
> > > >
> > > > How ridiculous that some pathetic questionable would spend their
> precious
> > > > time on Earth censoring package names which contain the character
> string
> > > > "boob".
> > >
> > > What's more ridiculous:
> > >
> > > - Allegedly 'removing' a package over its name (a hint - a package is
> > >   still a part of main archive)
> > > - Trolling about it at debian-user, with main argument being the
> > >   'publicity' of incident (and it's not even a Friday!)
> > > - Naming a software in such juvenile way in the first place (in this
> > >   case the name is only the beginning, just look at the source)
> > > - Discussing such software or its removal at debian-user (a hint -
> > >   there's debian-ctte for this)
> >
> > "First, the came for those advocating free speech . . . "
>
> First, it's "they came". And no, the original did not mention "free
> speech", it was and it is about people.
> Second, a "free speech" concept is about censorship imposed by
> government.
> And third, there's a language that belongs to the streets, and a
> language that belongs to the office.
>
> Reco
>


Anthony Comstock, is that you?


Re: You removed Weboob package over political reasons? Whole Internet laughs at you

2018-12-24 Thread Reco
On Mon, Dec 24, 2018 at 04:27:31PM -0500, Default User wrote:
> On Mon, Dec 24, 2018, 15:47 Reco  
> > On Mon, Dec 24, 2018 at 09:58:19AM -0500, Default User wrote:
> > > On Mon, Dec 24, 2018, 05:20 Ivan Ivanov  > >
> > > > >500 comments at Slashdot, >200 at Phoronix and >1000 at linux org ru!
> > See
> > 
> > > >
> > > > Best regards,
> > > > Ivan Ivanov,
> > > > open source firmware developer
> > >
> > > How ridiculous that some pathetic questionable would spend their precious
> > > time on Earth censoring package names which contain the character string
> > > "boob".
> >
> > What's more ridiculous:
> >
> > - Allegedly 'removing' a package over its name (a hint - a package is
> >   still a part of main archive)
> > - Trolling about it at debian-user, with main argument being the
> >   'publicity' of incident (and it's not even a Friday!)
> > - Naming a software in such juvenile way in the first place (in this
> >   case the name is only the beginning, just look at the source)
> > - Discussing such software or its removal at debian-user (a hint -
> >   there's debian-ctte for this)
> 
> "First, the came for those advocating free speech . . . "

First, it's "they came". And no, the original did not mention "free
speech", it was and it is about people.
Second, a "free speech" concept is about censorship imposed by
government.
And third, there's a language that belongs to the streets, and a
language that belongs to the office.

Reco



Re: You removed Weboob package over political reasons? Whole Internet laughs at you

2018-12-24 Thread Default User
On Mon, Dec 24, 2018, 16:27 Default User 
>
> On Mon, Dec 24, 2018, 15:47 Reco 
>> On Mon, Dec 24, 2018 at 09:58:19AM -0500, Default User wrote:
>> > On Mon, Dec 24, 2018, 05:20 Ivan Ivanov > >
>> > > >500 comments at Slashdot, >200 at Phoronix and >1000 at linux org
>> ru! See
>> 
>> > >
>> > > Best regards,
>> > > Ivan Ivanov,
>> > > open source firmware developer
>> >
>> > How ridiculous that some pathetic questionable would spend their
>> precious
>> > time on Earth censoring package names which contain the character string
>> > "boob".
>>
>> What's more ridiculous:
>>
>> - Allegedly 'removing' a package over its name (a hint - a package is
>>   still a part of main archive)
>> - Trolling about it at debian-user, with main argument being the
>>   'publicity' of incident (and it's not even a Friday!)
>> - Naming a software in such juvenile way in the first place (in this
>>   case the name is only the beginning, just look at the source)
>> - Discussing such software or its removal at debian-user (a hint -
>>   there's debian-ctte for this)
>>
>> Reco
>>
>
>

[ EDIT: ]

>
> "First, they came for those advocating free speech . . . "
>
> < sigh >
>


Re: You removed Weboob package over political reasons? Whole Internet laughs at you

2018-12-24 Thread Default User
On Mon, Dec 24, 2018, 15:47 Reco  On Mon, Dec 24, 2018 at 09:58:19AM -0500, Default User wrote:
> > On Mon, Dec 24, 2018, 05:20 Ivan Ivanov  >
> > > >500 comments at Slashdot, >200 at Phoronix and >1000 at linux org ru!
> See
> 
> > >
> > > Best regards,
> > > Ivan Ivanov,
> > > open source firmware developer
> >
> > How ridiculous that some pathetic questionable would spend their precious
> > time on Earth censoring package names which contain the character string
> > "boob".
>
> What's more ridiculous:
>
> - Allegedly 'removing' a package over its name (a hint - a package is
>   still a part of main archive)
> - Trolling about it at debian-user, with main argument being the
>   'publicity' of incident (and it's not even a Friday!)
> - Naming a software in such juvenile way in the first place (in this
>   case the name is only the beginning, just look at the source)
> - Discussing such software or its removal at debian-user (a hint -
>   there's debian-ctte for this)
>
> Reco
>


"First, the came for those advocating free speech . . . "

< sigh >


Re: You removed Weboob package over political reasons? Whole Internet laughs at you

2018-12-24 Thread Reco
On Mon, Dec 24, 2018 at 09:58:19AM -0500, Default User wrote:
> On Mon, Dec 24, 2018, 05:20 Ivan Ivanov  
> > >500 comments at Slashdot, >200 at Phoronix and >1000 at linux org ru! See

> >
> > Best regards,
> > Ivan Ivanov,
> > open source firmware developer
> 
> How ridiculous that some pathetic questionable would spend their precious
> time on Earth censoring package names which contain the character string
> "boob".

What's more ridiculous:

- Allegedly 'removing' a package over its name (a hint - a package is
  still a part of main archive)
- Trolling about it at debian-user, with main argument being the
  'publicity' of incident (and it's not even a Friday!)
- Naming a software in such juvenile way in the first place (in this
  case the name is only the beginning, just look at the source)
- Discussing such software or its removal at debian-user (a hint -
  there's debian-ctte for this)

Reco



Re: Time Domain Reflectometer (was Re: internet outages)

2018-12-24 Thread Gene Heskett
On Monday 24 December 2018 15:22:07 Ric Moore wrote:

> On 12/24/18 1:27 PM, Gene Heskett wrote:
> > On Monday 24 December 2018 12:29:53 rhkra...@gmail.com wrote:
> >> On Monday, December 24, 2018 08:39:18 AM Gene Heskett wrote:
> >>> On Monday 24 December 2018 08:18:27 Carl Fink wrote:
>  On 12/24/18 7:37 AM, Gene Heskett wrote:
> > I have a firmware update file kit for it, but it requires a dos
> > box with a usb port. When was the last time you saw one of them?
> > Short answer is never.
> 
>  Doesn't freeDOS support USB? I know they recommend booting off a
>  USB drive.
> 
>  There's a commercial DOS driver, DOSUSB, but it's very expensive.
> >>>
> >>> I'll have to check that FreeDOS out. Unforch this old Asus board
> >>> won't boot from usb.
> >>
> >> There is (are?) dos emulator(s?) for Linux -- do any of those
> >> support a usb port?
> >
> > No clue, thats another round tuit I've misslaid someplace. And ATM.
> > I have 2 milling machines broken and am having to buy a third to fix
> > the 1st one. But the ball screw I need to fix the 2nd one seems to
> > be made from pure unobtainium, an 8mm by 500mm. The best I can do is
> > only 130mm long. :(
>
> Just so you know, they are republishing Carl and Jerry from Popular
> Electronics. I just received the first year collection, sold over at
> lulu.com :) Ric

That was tongue in cheek at its finest.

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: Time Domain Reflectometer (was Re: internet outages)

2018-12-24 Thread Gene Heskett
On Monday 24 December 2018 14:10:44 rhkra...@gmail.com wrote:

> Hmm, intended to send this to the list, sent to John Hasler, only, who
> did respond -- I hope he will copy his reply to the ist (or tell me it
> is ok to do so).
>
> On Monday, December 24, 2018 08:21:57 AM John Hasler wrote:
> > As to TDRs, if you can get by without actually seeing pictures of
> > all the impedence bumps
> >
> >
> > you can get by with a fast counter, a high risetime
> > pulse generator, and a couple of fast comparators.  Maybe $20 at
> > Digikey.
>
> Can you elaborate a little on how that would work?
I can imagine the first fast comparator would enable the counter, 
previously held in reset and the second comparator is then enabled, and 
its threshhold adjusted for a stable stop of the counter, giving the 
number of input cycles between the start and the stop. Decent calculator 
math would then give you the distance to the major impedance disturbance 
that caused the echo.

You need a GHz (at least) signal source to count, the higher, the more 
accurate. The delay of course is 2 way, out to the fault and back, so 
convert that to distance one way with a /2.000 after using the usual 
hambooks 984/frequency derivation to get the wavelength in feet IIRC. 
Ideally the frequency should be a wavelength short enough to give decent 
accuracy because this method will only give you the number of cycles as 
an integer. You send the pulse and wait for the echo to come back and 
stop the counter. Multiply the wavelength by the counter to get how far 
away the fault is, multiply that by the PV of the line being tested and 
divide by 2 to get the one way distance.

Clear as mud, right? 2000 feet of 6.125" inch line can be fun due to 
losses weakening the return signal. Specially a fast one like a tunnel 
diode might make. And no bets at all for a broadcast antenna because the 
pulse is not frequency shaped to match the antenna's operating 
frequency, so from the fine matcher on into the element array, its a 
broadband mess that splatters all over the TDR screen. Seeing that on a 
real TDR with trained eyeballs seems to be the only way to tell that, 
from a cracked and burned up elbow 50 feet below it at the tower top to 
antenna feed connections.  And that 50 feet might be a weeks work for a 
tower crew with some antenna styles. And of course it always happens in 
bad weather, making the high steel work dangerous because there may be a 
6" thick layer of ice on everything 2000 feet up. 

That broken elbow might be the starting point, but the fire then moves 
down the line towards the power source and may burn up 600 feet of line 
before the transmitters VSWR protection circuits can shut it down. Been 
there, done that, several times at what was once NETV's KXNE transmitter 
on UHF channel 19. Rosemounts rime ice detectors buried on the antenna 
structure had an average lifetime of a year. They cost quite a bit, but 
their failure mode was always safe mode, so you didn't know a thing 
until the main beam power breaker opened in response to the rising VSWR. 
By then you were out 10 to 50 grand and several days to get a crew 
rounded up to work on it, to get it back on the air. More than once in 
that decade we had to let them sit around, or go do another job while 
the ice went away. One time litterally tons of it had formed a flag 
about 8 feet long on the downwind side of that storm.  Cleaning 600 feet 
of that line and rebuilding it took time, rags by the pickup load of 
bags, alcohol in several 5 gallon buckets, and teflon parts aren't free 
either. I'm glad I'm retired now.

Now, back to the asinine arguments about boobs. Is this our regularly 
scheduled programming for this week? :)

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: Time Domain Reflectometer (was Re: internet outages)

2018-12-24 Thread Ric Moore

On 12/24/18 1:27 PM, Gene Heskett wrote:

On Monday 24 December 2018 12:29:53 rhkra...@gmail.com wrote:


On Monday, December 24, 2018 08:39:18 AM Gene Heskett wrote:

On Monday 24 December 2018 08:18:27 Carl Fink wrote:

On 12/24/18 7:37 AM, Gene Heskett wrote:

I have a firmware update file kit for it, but it requires a dos
box with a usb port. When was the last time you saw one of them?
Short answer is never.


Doesn't freeDOS support USB? I know they recommend booting off a
USB drive.

There's a commercial DOS driver, DOSUSB, but it's very expensive.


I'll have to check that FreeDOS out. Unforch this old Asus board
won't boot from usb.


There is (are?) dos emulator(s?) for Linux -- do any of those support
a usb port?


No clue, thats another round tuit I've misslaid someplace. And ATM. I
have 2 milling machines broken and am having to buy a third to fix the
1st one. But the ball screw I need to fix the 2nd one seems to be made
from pure unobtainium, an 8mm by 500mm. The best I can do is only 130mm
long. :(




Just so you know, they are republishing Carl and Jerry from Popular 
Electronics. I just received the first year collection, sold over at 
lulu.com :) Ric




Re: Time Domain Reflectometer (was Re: internet outages)

2018-12-24 Thread John Hasler
rhkramer writes:
> Hmm, intended to send this to the list, sent to John Hasler, only, who
> did respond -- I hope he will copy his reply to the ist (or tell me it
> is ok to do so).

Go ahead.
-- 
John Hasler 
jhas...@newsguy.com
Elmwood, WI USA



Re: Time Domain Reflectometer (was Re: internet outages)

2018-12-24 Thread rhkramer
Hmm, intended to send this to the list, sent to John Hasler, only, who did 
respond -- I hope he will copy his reply to the ist (or tell me it is ok to do 
so).

On Monday, December 24, 2018 08:21:57 AM John Hasler wrote:
> As to TDRs, if you can get by without actually seeing pictures of all
> the impedence bumps 


> you can get by with a fast counter, a high risetime
> pulse generator, and a couple of fast comparators.  Maybe $20 at
> Digikey.

Can you elaborate a little on how that would work?  



Re: What's going on with dm-crypt?!

2018-12-24 Thread Celejar
On Mon, 24 Dec 2018 10:26:18 +0100
Pascal Hambourg  wrote:

> Le 24/12/2018 à 05:45, Celejar a écrit :
> > 
> > I have / on a luks volume, mounted with dm-crypt (automatically,
> > via /etc/fstab - /etc/crypttab). As recently as kernel 4.18.0-3,
> > everything was normal. With 4.19.0-1-amd64, the volume mounts, and the
> > system seems basically functional - but /dev/mapper is empty besides for
> > 'control'!
> (...)
> > Despite the fact that 'mount' shows that the dm-crypt mount is present:
> (...)
> > This situation causes update-initramfs to fail:
> > 
> > ~# update-initramfs -u
> > update-initramfs: Generating /boot/initrd.img-4.19.0-1-amd64
> > mkinitramfs: failed to determine device for /
> 
> I don't know what is going on, but as a workaround you can run
> 
> dmsetup mknodes
> 
> to try to create the missing nodes (actually symlinks to actual 
> /dev/dm-* device nodes) in /dev/mapper.

That works - thanks!

I also observe that running cryptsetup manually on a running 4.19
system (to open a different dm-crypt volume) properly creates
the /dev/mapper symlink.

Celejar



Re: What's going on with dm-crypt?!

2018-12-24 Thread Celejar
On Mon, 24 Dec 2018 07:54:44 -0500
Dan Ritter  wrote:

> Celejar wrote: 
> > Hi,
> > 
> > I have / on a luks volume, mounted with dm-crypt (automatically,
> > via /etc/fstab - /etc/crypttab). As recently as kernel 4.18.0-3,
> > everything was normal. With 4.19.0-1-amd64, the volume mounts, and the
> > system seems basically functional - but /dev/mapper is empty besides for
> > 'control'!
> > 
> > ~# ls -al /dev/mapper/
> > total 0
> > drwxr-xr-x  2 root root  60 Dec 23 23:32 .
> > drwxr-xr-x 18 root root3340 Dec 23 23:32 ..
> > crw---  1 root root 10, 236 Dec 23 23:32 control
> > 
> > Despite the fact that 'mount' shows that the dm-crypt mount is present:
> > 
> > ~# mount | grep sda
> > /dev/mapper/sda2_crypt on / type ext4 (rw,relatime,errors=remount-ro)
> > /dev/sda1 on /boot type ext4 (rw,relatime)
> > 
> > ~#
> > 
> > This situation causes update-initramfs to fail:
> > 
> > ~# update-initramfs -u
> > update-initramfs: Generating /boot/initrd.img-4.19.0-1-amd64
> > mkinitramfs: failed to determine device for /
> > mkinitramfs: workaround is MODULES=most, check:
> > grep -r MODULES /etc/initramfs-tools
> > 
> > Error please report bug on initramfs-tools
> > Include the output of 'mount' and 'cat /proc/mounts'
> > update-initramfs: failed for /boot/initrd.img-4.19.0-1-amd64 with 1.
> > 
> > ~#
> > 
> > Which is causing things like updating kernels to fail ...
> > 
> > What on earth is going on here?
> 
> This might be the kernel bug introduced in 4.18:
> 
> https://lkml.org/lkml/2018/12/22/153
> 
> which will be fixed. Check the thread.
> 
> In the meantime, go back to an earlier kernel.
> 
> -dsr-

Thanks - but as stated above, the problem is *not* present in 4.18,
and only shows up in 4.19

Celejar



Re: Time Domain Reflectometer (was Re: internet outages)

2018-12-24 Thread Gene Heskett
On Monday 24 December 2018 12:29:53 rhkra...@gmail.com wrote:

> On Monday, December 24, 2018 08:39:18 AM Gene Heskett wrote:
> > On Monday 24 December 2018 08:18:27 Carl Fink wrote:
> > > On 12/24/18 7:37 AM, Gene Heskett wrote:
> > > > I have a firmware update file kit for it, but it requires a dos
> > > > box with a usb port. When was the last time you saw one of them?
> > > > Short answer is never.
> > >
> > > Doesn't freeDOS support USB? I know they recommend booting off a
> > > USB drive.
> > >
> > > There's a commercial DOS driver, DOSUSB, but it's very expensive.
> >
> > I'll have to check that FreeDOS out. Unforch this old Asus board
> > won't boot from usb.
>
> There is (are?) dos emulator(s?) for Linux -- do any of those support
> a usb port?

No clue, thats another round tuit I've misslaid someplace. And ATM. I 
have 2 milling machines broken and am having to buy a third to fix the 
1st one. But the ball screw I need to fix the 2nd one seems to be made 
from pure unobtainium, an 8mm by 500mm. The best I can do is only 130mm 
long. :(

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: Time Domain Reflectometer (was Re: internet outages)

2018-12-24 Thread rhkramer
On Monday, December 24, 2018 08:39:18 AM Gene Heskett wrote:
> On Monday 24 December 2018 08:18:27 Carl Fink wrote:
> > On 12/24/18 7:37 AM, Gene Heskett wrote:
> > > I have a firmware update file kit for it, but it requires a dos box
> > > with a usb port. When was the last time you saw one of them? Short
> > > answer is never.
> > 
> > Doesn't freeDOS support USB? I know they recommend booting off a USB
> > drive.
> > 
> > There's a commercial DOS driver, DOSUSB, but it's very expensive.
> 
> I'll have to check that FreeDOS out. Unforch this old Asus board won't
> boot from usb.

There is (are?) dos emulator(s?) for Linux -- do any of those support a usb 
port?



Re: Most reliable dual band driver/chipset rtl8812au Intel 8265 Fenvi

2018-12-24 Thread tony mollica

  
  
Posting as searchable, followup info.
  
  I found a relatively cheap PCIe adapter labelled Fenvi FV-K1200ac
  that has an Intel 8265 chipset with ac1200 capability
  and Bluetooth.  Loaded the iwlwifi drivers, plugged it in and
  rebooted to a perfectly working Intel wifi adapter.  
  Not quite as fast as the Alfa (when working) but I think it's an
  antenna issue that I'll upgrade and try.  The router is about
  50ft away but connection speeds are 500Mbs+ and often over 700Mbs,
  which is many times faster than my Internet
  connection anyway.  But a reliable connection, at last.
  
  Also updated my Stretch 9.6 from kernel 4.9 to stretch-updates
  v4.18.  Fenvi still works and now has the latest drivers.
  Had an issue with a missing Nvidia driver but easily resolved with
  apt as all the files were there, just not installed.
  
  Recompiled the rtl8812au driver for the new 4.18 kernel and the
  disconnection problem still exists.  It appears that something
  in the params or driver is shutting down the adapter causing the
  disconnection and then needing either a LONG time
  to recover or being physically disconnected (USB)-reconnected to
  regain the ability to make the wireless connection.
  
  Tony

On 12/18/18 7:38 AM, tony mollica
  wrote:


  
  In regard to my issue below:

Trying to find an internal Intel based card with remote antenna.

I have Linksys USB wifi adapters and they work, but not dual
band.  Not really 
necessary, but why not use everything available.

Not a laptop and not a heat issue.  Something in the hardware or
driver seems
to leave this adapter in some unstable state that requires a
cold start, 
either disconnecting the adapter from USB, rebooting the
computer and sometimes
just unloading and reloading the driver.  Very irritating since
it works very well when
connected, just unreliable.  Sometimes it'll stay connected for
days, sometimes just
for a few minutes.

Tony
  
  On 12/15/18 5:12 PM, Tjm wrote:
  
  

I've been using an Alfa dual band USB3 wifi adapter and while it
works and when it happens to stay connected it's fast and fine.
But it disconnects often for no apparent reason and won't
reconnect by itself without removing and then reloading the
module. Built and tried several versions of the rtl8812au and
found one branch that I've been using, v5.9.xxx versions work
but with the connection reliability issue.

Looking for a recommendation for an adapter and/or chip.

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


  




Re: Time Domain Reflectometer (was Re: internet outages)

2018-12-24 Thread Dan Ritter
Gene Heskett wrote: 
> On Sunday 23 December 2018 20:27:37 rhkra...@gmail.com wrote:
> 
> > On Sunday, December 23, 2018 07:33:38 PM Doug wrote:
> > > RE: Time Domain Reflectometer:
> > >
> > > Theoretically, you can build your own with a fast pulse generator
> > > and an oscilloscope. The trick is, you need a REALLY FAST
> > > oscilloscope!  The pulse generator is easy, just a couple of
> > > transistors, maybe a diode. The  circuit is probably in every
> > > edition of the Radio Amateur's Handbook. The scope is expensive. If
> > > you don't have at least a 1GHz digital sampling scope, don't bother!
> > >
> > > --doug, WA2SAY, retired RF engineer
> >
> > Hmm, with CPU clocks hitting 4 GHz, I wonder how expensive an ADC
> > converter to work at corresponding speeds would be?  (Just an idle
> > question ;-)
> 
> If you have to ask, you can't afford it. Bring outrageous sums of money
> This is typically done by every trick tek knows about fast analogue 
> circuitry, in the best units with long vertical deflection plates in a 
> custom made crt with teeny delay lines between the sections of the 
> plates so the signal is virtually traveling toward the screen at the 
> same speed as the electron beam is traveling. And its moving fast enough 
> at 22,000 volts, relativity can and does get in the way. Such scopes put 
> the plates so close to the beam that the beam is intercepted by striking 
> the plates at just a hair over 4 cm high, 2cm from the horizontal center 
> line. The only one of those I ever saw was in the early 1980's or so at 
> the NAB show in Vegas, and it was well into a 5 digit asking price then.

We're almost in 2019, which means:

https://www.mouser.com/ProductDetail/Analog-Devices/HMCAD1511?qs=sGAEpiMZZMvTvDTV69d2Qnrp4UY3MFmsfo%252bIC8KWhPQ%3d

Analog Devices HMCAD1511 
1 GS/s, 8 bits, 1 channel: quantity 1 from Mouser: $64.76.

That's the cheapest GHz+ ADC they have; you can still go up to
much heftier prices for more channels, more bit depth, even
higher sampling rates.

-dsr-




Re: pcompress or any way to get Rabin’s fingerprinting algorithm on Debian?

2018-12-24 Thread Dan Ritter
Albretch Mueller wrote: 
>  I think pcompress their license
> 
>  http://moinakg.github.io/pcompress/
> 
>  is compatible with Debian but for whatever reason you can't install
> it from the repositories

The license appears to be LGPL v3
( http://freshmeat.sourceforge.net/projects/pcompress )
which makes it eligible. You could send an RFP -- request for
package -- via this process:

https://www.debian.org/devel/wnpp/



> 
> # apt-get install pcompress
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> E: Unable to locate package pcompress

You actually want:

apt search pcompress

which will tell you the same thing, but could be helpful when
generally looking for software.


>  I have been trying to install pcompress on Debian the monkey way, but
> I am getting errors I can not make much sense of:
> 
> # uname -a
> Linux niggahme 4.9.0-6-amd64 #1 SMP Debian 4.9.82-1+deb9u3
> (2018-03-02) x86_64 GNU/Linux
> 
> # ./config --disable-wavpack
> Checking for GCC ...
> Checking for 32-bit/64-bit platform ...
> Checking OS ...
> Checking GCC version ...
> Checking for CPU SSE version ... sse4.2
> Checking for CPU AVX version ... None
> Checking for Yasm ...
> Checking for OpenSSL ...
> ERROR: OpenSSL libraries not detected.
> 
> # apt-get install openssl
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> openssl is already the newest version (1.1.0f-3+deb9u2).
> openssl set to manually installed.
> 0 upgraded, 0 newly installed, 0 to remove and 187 not upgraded.
> 
> # ./config --disable-wavpack
> Checking for GCC ...
> Checking for 32-bit/64-bit platform ...
> Checking OS ...
> Checking GCC version ...
> Checking for CPU SSE version ... sse4.2
> Checking for CPU AVX version ... None
> Checking for Yasm ...
> Checking for OpenSSL ...
> ERROR: OpenSSL libraries not detected.
> #

As has been mentioned, you want

apt install libssl-dev

to get the development version.

-dsr-



Re: You removed Weboob package over political reasons? Whole Internet laughs at you

2018-12-24 Thread Default User
On Mon, Dec 24, 2018, 05:20 Ivan Ivanov  >500 comments at Slashdot, >200 at Phoronix and >1000 at linux org ru! See
> now?
> When a technical project starts making their decisions over political
> reasons...
> rather than technical, it is doomed. Good time to switch to a similar
> distro
> with mentally sane leadership, like Devuan. Also what's good about Devuan :
>
> Devuan does not use SystemDick as its' init system! SystemD contains >1
> million
> lines of bloated code and lots of vulnerabilities have been found there and
> countless haven't, also the SystemD creators are arrogant and refuse to
> fix many
> discovered security vulnerabilities, to a point where they've been awarded
> a
> " Pwnie award " for refusing to fix a critical vuln.
>
> That is why I prefer the distros which are using something else as init
> system:
> either good old SysV, or something more modern like OpenRC (at Artix
> Linux) or
> runit (at Void Linux) , just not systemd! There are only a few such
> distros left
> because of Redhat pressure, and luckily Devuan is one of them.
> If you found Debian as useful before it went nuts then maybe you'd like
> Devuan,
> or even some other distros that I mentioned: Artix Linux =Arch with a
> human face
> (has GUI + everything configured by default, nice GUI package manager and
> convenient to use even for the beginners), and Void Linux -amazingly fast
> distro
> really suitable for old PCs, but lacks some packages so you'd need to
> compile
> the things from source once in a while, in comparison Artix has almost the
> same
> set of packages as Arch. Both Artix and Void are very stable despite their
> packages are really new and they are among the first to get new Linux
> kernels
> with fresh drivers.
>
> Or maybe MX Linux, one of the top popularity distros nowadays which is
> also "no systemd" and somehow only recently I learned about it
>
> Best regards,
> Ivan Ivanov,
> open source firmware developer
>


How ridiculous that some pathetic questionable would spend their precious
time on Earth censoring package names which contain the character string
"boob".

Sad.


Re: Time Domain Reflectometer (was Re: internet outages)

2018-12-24 Thread Gene Heskett
On Monday 24 December 2018 08:57:27 Joe wrote:

> On Mon, 24 Dec 2018 08:09:11 -0500
>
> Gene Heskett  wrote:
> > On Monday 24 December 2018 04:26:05 Joe wrote:
> > > There is normally a real Nyquist bandwidth quoted somewhere in the
> > > small print. I used to repair and calibrate Hitachi scopes for a
> > > while, until everyone stopped using them.
> >
> > I wonder why, Joe. My V-1065 still works well enough to measure
> > frequency at a 1% accuracy, and its now pushing 35yo. In a pinch
> > I've looked at the output sample of an old analogue tv transmitter
> > to adjust the modulation depth when the monitor was bonkers, it was
> > actually usable at 180 mhz.
>
> I used to see about three or four of the 665/1065 series a week,
> mostly ten years old with mains switcher problems. Mostly routine
> fixing, after the initial pain of troubleshooting a mains switcher.
> Capacitors, mostly. Even the high-ripple ones will only run so long
> before they dry up.
>
> Then over about six months, it dropped off to nothing, and we never
> saw any more. I assume oscilloscope use had dropped off enough that
> people could just put a dead one in a cupboard wand say 'we'll get it
> fixed if we ever need it'. Fortunately, oscilloscopes were a minor
> sideline, so I didn't run out of work. The company still has a 1085,
> which I use occasionally. At home, I have a 35-yo Kikusui, and a
> temperamental Tek 465B of uncertain age, but older than that.

465B's were temperamental allright, and way the hell out of calibration 
due to drifting R's on the custom made ceramic input attenuator, and tek 
has had no service parts for that for nearly 40 years now, and wanted 
nearly $400 for one then.  Then they merged with GVG, and it all went to 
hell. I needed the custom ceramic plate they made a video op-amp on in 
about 1995 as we had bought KTLA's old 300-3A/B complete with a digital 
effects unit. They had just one, $1500, as is, where is! I said no, 
I don't think so, and started looking in the chip books, finding a 
single ended one from TI for just under $2. Should bought 2 sticks of 
them, it was enough faster that it threw the color phase out more than 
there was adjustments for. There was about 8 of them in each channel, 
and 6 paths thru that switcher. I should have shotgunned them all, but 
since the packaging was different, each one would have taken around an 
hour to do neatly. And I was thinking of retireing by then so it never 
got done. If I'd have done them all, the video bandwidth would have been 
at least trippled. Way ahead of its time in what it could do, I think 
that was close to GVG's last hurrah. But the controls were about shot 
too. GVG had an accessory E-Disk so the tech directors could program 
their own bag of tricks, gvg wanted 20 thou for it. But when we got the 
first copy of that switcher from the Penny's production house in NYC, it 
came with the edisk manual and the com protocol specs. I looked at that, 
said I can do that on a trs-80 color computer, took an old coco2 and 
added "the Forgitten Chip" to give it a hardware rs232, wrote the 
utility in basic09, which ran on the after market *nix imitation, called 
os9, and sold it and two disk drives to the tv station for $245. Later I 
found out mine was 4x faster than theirs! Not to mention it gave the 
operators english names for their bags of tricks. And because that gave 
me a comm path into the switchers innards, I wrote some more utils that 
could reach into its control logic and identify which logic chip had 
died. Handier than bottled beer in the long haul.

Oh, and I lied about the year in a previous msg this morning, I was 16 so 
that was 1950, and the scope was a Hickock 505.

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: File ownership problem using removeable media

2018-12-24 Thread tomas
On Mon, Dec 24, 2018 at 05:50:15AM -0600, Richard Owlett wrote:
> On 12/23/2018 03:25 PM, to...@tuxteam.de wrote:
> >On Sun, Dec 23, 2018 at 05:46:17PM +, mick crane wrote:
> >>On 2018-12-23 17:10, to...@tuxteam.de wrote:
> >
> >[...]
> >
> >>>And you do that after each and every mount?
> >>>
> >>>Cheers
> >>>-- tomás
> >>well no, I didn't read properly and was trying to be helpful without
> >>understanding what the problem was
> >
> >I asked because the original poster moves the file system on USB from
> >one system to another. It might be that the user with the same name
> >has different UIDs on the different systems -- we don't know. In this
> >case, he'll be fighting the system...
> 
> The last time I checked the UIDs were the same.

OK. Then a chown once will help.

[...]

> The discussion so far has caused me to wonder if I have been
> conflating symptoms. I think I've an idea of how to test for that --
> more later.
> 
> I'll also read up on "sticky bit" to see if that is related to my situation.

Most probably not...

> Thanks and Merry Christmas to all.

likewise

cheers
-- t


signature.asc
Description: Digital signature


Re: pcompress or any way to get Rabin’s fingerprinting algorithm on Debian?

2018-12-24 Thread Ulf Volmer
On 24.12.18 15:22, Albretch Mueller wrote:

> ERROR: OpenSSL libraries not detected.
> 
> # apt-get install openssl

for compiling stuff against the openssl library, you have to install the
development package:

apt-get install libssl-dev

best regards
Ulf



pcompress or any way to get Rabin’s fingerprinting algorithm on Debian?

2018-12-24 Thread Albretch Mueller
 I think pcompress their license

 http://moinakg.github.io/pcompress/

 is compatible with Debian but for whatever reason you can't install
it from the repositories

# apt-get install pcompress
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package pcompress

 I have been trying to install pcompress on Debian the monkey way, but
I am getting errors I can not make much sense of:

# uname -a
Linux niggahme 4.9.0-6-amd64 #1 SMP Debian 4.9.82-1+deb9u3
(2018-03-02) x86_64 GNU/Linux

# ./config --disable-wavpack
Checking for GCC ...
Checking for 32-bit/64-bit platform ...
Checking OS ...
Checking GCC version ...
Checking for CPU SSE version ... sse4.2
Checking for CPU AVX version ... None
Checking for Yasm ...
Checking for OpenSSL ...
ERROR: OpenSSL libraries not detected.

# apt-get install openssl
Reading package lists... Done
Building dependency tree
Reading state information... Done
openssl is already the newest version (1.1.0f-3+deb9u2).
openssl set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 187 not upgraded.

# ./config --disable-wavpack
Checking for GCC ...
Checking for 32-bit/64-bit platform ...
Checking OS ...
Checking GCC version ...
Checking for CPU SSE version ... sse4.2
Checking for CPU AVX version ... None
Checking for Yasm ...
Checking for OpenSSL ...
ERROR: OpenSSL libraries not detected.
#

# which openssl
/usr/bin/openssl

# openssl
OpenSSL> version
OpenSSL 1.1.0f  25 May 2017
OpenSSL> q
#



Re: Time Domain Reflectometer (was Re: internet outages)

2018-12-24 Thread Joe
On Mon, 24 Dec 2018 08:09:11 -0500
Gene Heskett  wrote:

> On Monday 24 December 2018 04:26:05 Joe wrote:
> 

> >
> > There is normally a real Nyquist bandwidth quoted somewhere in the
> > small print. I used to repair and calibrate Hitachi scopes for a
> > while, until everyone stopped using them.  
> 
> I wonder why, Joe. My V-1065 still works well enough to measure
> frequency at a 1% accuracy, and its now pushing 35yo. In a pinch I've
> looked at the output sample of an old analogue tv transmitter to
> adjust the modulation depth when the monitor was bonkers, it was
> actually usable at 180 mhz. 

I used to see about three or four of the 665/1065 series a week, mostly
ten years old with mains switcher problems. Mostly routine fixing, after
the initial pain of troubleshooting a mains switcher. Capacitors,
mostly. Even the high-ripple ones will only run so long before they dry
up.

Then over about six months, it dropped off to nothing, and we never
saw any more. I assume oscilloscope use had dropped off enough that
people could just put a dead one in a cupboard wand say 'we'll get it
fixed if we ever need it'. Fortunately, oscilloscopes were a minor
sideline, so I didn't run out of work. The company still has a 1085,
which I use occasionally. At home, I have a 35-yo Kikusui, and a
temperamental Tek 465B of uncertain age, but older than that.

-- 
Joe



Re: Time Domain Reflectometer (was Re: internet outages)

2018-12-24 Thread Gene Heskett
On Monday 24 December 2018 08:21:57 John Hasler wrote:

> Gene writes:
> > In a cnc machine running on stepper motors, the current regulating
> > of the drivers if the grounding is not truly single point, can
> > crosstalk at the regulating frequency, usually well above 20
> > kilohertz, at peak voltages well over what it takes to destroy an
> > fpga gate as the ringing in that event often peaks at over 100 MHz
> > and 30
> > volts. Trivial to see on the samplers display, but turn off the room
> > lights and really study what you see on a 100+ megahertz analogue
> > scope.
>
> For that sort of thing you want a storage scope.  Old Nicolets are
> readily available for prices that even I can almost justify.
>
> I used Tektronix analog storage scopes when doing motor control design
> in the seventies but the digital ones are orders of magnitude better.
> Being able to trigger on things that already happened is cool.
>
> Before that it was cameras.
>
> As to TDRs, if you can get by without actually seeing pictures of all
> the impedence bumps you can get by with a fast counter, a high
> risetime pulse generator, and a couple of fast comparators.  Maybe $20
> at Digikey.

I dunno if I could tolerate losing the pix, this old f--- has had a scope 
probe in one hand since 1951.


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: Time Domain Reflectometer (was Re: internet outages)

2018-12-24 Thread Gene Heskett
On Monday 24 December 2018 08:18:27 Carl Fink wrote:

> On 12/24/18 7:37 AM, Gene Heskett wrote:
> > I have a firmware update file kit for it, but it requires a dos box
> > with a usb port. When was the last time you saw one of them? Short
> > answer is never.
>
> Doesn't freeDOS support USB? I know they recommend booting off a USB
> drive.
>
> There's a commercial DOS driver, DOSUSB, but it's very expensive.
I'll have to check that FreeDOS out. Unforch this old Asus board won't 
boot from usb.

Thanks Carl.

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: Time Domain Reflectometer (was Re: internet outages)

2018-12-24 Thread John Hasler
Gene writes:
> In a cnc machine running on stepper motors, the current regulating of
> the drivers if the grounding is not truly single point, can crosstalk
> at the regulating frequency, usually well above 20 kilohertz, at peak
> voltages well over what it takes to destroy an fpga gate as the
> ringing in that event often peaks at over 100 MHz and 30
> volts. Trivial to see on the samplers display, but turn off the room
> lights and really study what you see on a 100+ megahertz analogue
> scope.

For that sort of thing you want a storage scope.  Old Nicolets are
readily available for prices that even I can almost justify.

I used Tektronix analog storage scopes when doing motor control design
in the seventies but the digital ones are orders of magnitude better.
Being able to trigger on things that already happened is cool.

Before that it was cameras.

As to TDRs, if you can get by without actually seeing pictures of all
the impedence bumps you can get by with a fast counter, a high risetime
pulse generator, and a couple of fast comparators.  Maybe $20 at
Digikey.
-- 
John Hasler 
jhas...@newsguy.com
Elmwood, WI USA



Re: Time Domain Reflectometer (was Re: internet outages)

2018-12-24 Thread Carl Fink

On 12/24/18 7:37 AM, Gene Heskett wrote:

I have a firmware update file kit for it, but it requires a dos box with
a usb port. When was the last time you saw one of them? Short answer is
never.


Doesn't freeDOS support USB? I know they recommend booting off a USB
drive.

There's a commercial DOS driver, DOSUSB, but it's very expensive.

--
Carl Fink  c...@finknetwork.com
Thinking and logic and stuff at Reasonably Literate
http://reasonablyliterate.com



Re: Time Domain Reflectometer (was Re: internet outages)

2018-12-24 Thread Gene Heskett
On Monday 24 December 2018 04:26:05 Joe wrote:

> On Sun, 23 Dec 2018 22:54:20 -0600
>
> John Hasler  wrote:
> > rhkramer writes:
> > > Yeah, but I wasn't thinking about actually using a CRT to display
> > > the signal in real time, but, instead, collect samples (at maybe 4
> > > GHz??), store them, and then display them as a static display.
> >
> > At that sort of frequency sampling scopes (including the old crt
> > ones) sample at far below the signal repitition rate.
>
> Yes, they rely on the signal being repetitive. To see a single
> transient, you want at least five samples in the relevant period,
> preferably more.
>
> There is normally a real Nyquist bandwidth quoted somewhere in the
> small print. I used to repair and calibrate Hitachi scopes for a
> while, until everyone stopped using them.

I wonder why, Joe. My V-1065 still works well enough to measure frequency 
at a 1% accuracy, and its now pushing 35yo. In a pinch I've looked at 
the output sample of an old analogue tv transmitter to adjust the 
modulation depth when the monitor was bonkers, it was actually usable at 
180 mhz. 

Their absolute top of the line V-1085, 200 mhz had a totally duff 
triggering circuit in it so I sent 2 of it back, but its baby brother, a 
4 trace 100 mhz was an absolute doll, and the only analogue scope that 
would let you do the final calibration after replacing the head wheel on 
a Panasonic DVC-PRO broadcast vtr. At $1500-2000+ a copy, I've done that 
about 100,000 dollars worth of that. That and replaceing the tiny 
electrolytic caps by the 3 lb coffee can full. 3 of those IIRC before I 
retired in 2002. Failure rate on those in the dvc-pro's was near 100% in 
2 or 3 years. Had to buy 'em from Pan., because all the others were 
physically too big. Glad those are now history and I've retired, bending 
over to see thru a big magnifying light 6-7 hours a day for a week or 
more at a time is half of whats wrong with my back today.

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: File ownership problem using removeable media

2018-12-24 Thread Richard Owlett

On 12/23/2018 03:06 PM, David Christensen wrote:

On 12/23/18 4:51 AM, Richard Owlett wrote:

I use USB drives to transfer files between systems (sneakernet).
All systems have only one user(richard). It was created during 
installation.


The drives are either ext2 or ext4 formatted.
All files were in /user/richard on source machine

They _often_ [but not always] are seen as owned by 'root', not 
'richard', by the destination system.


Why? I assume it is me in some manner.

What do I have to do to guarantee absolutely that any file/directory 
from /home/richard is seen by destination system as owned by 'richard'?


What should I have read?


I suggest reading "Design of the UNIX Operating System" by Maurice J. Bach:


https://www.pearson.com/us/higher-education/program/Bach-Design-of-the-UNIX-Operating-System/PGM81513.html 


I'll check the local library to browse it's presentation. That reminded 
me I have a couple of Linux books. They didn't answer the questions I 
had a decade ago, but my background and questions have changed ;}




Unix is written in C (mostly); so consider reading "C Programming 
Language", 2nd Edition, by Brian W. Kernighan and Dennis Ritchie:



https://www.pearson.com/us/higher-education/program/Kernighan-C-Programming-Language-2nd-Edition/PGM54487.html 


Somewhere I have a copy of the 1st or 2nd printing of that edition.



Both of the above presume understanding of the basics of computer 
architecture, microprocessors, and assembly language.  Wikipedia should 
have sufficient introductory articles.  The Intel website has the 
hard-core information.


My formal background is spotty. An introduction to computers in 61/62 
using CORC/CUPL {Cornell's predecessor of Dartmouth's BASIC}. Later I 
had a semester of FORTRAN IV.
My experience has been as been primarily as a user although employment 
had me programming in 8080 assembler and dBASEII.

I started exploring system questions when abandoning Windows for Squeeze.



USB flash drives are usually factory formatted with FAT32, which tends 
to be the most convenient for sneakernet -- notably automatic user 
mounting. GUI desktop/ file manager integration. and multiple operating 
system support (Windows, macOS, Unix, etc.).



Understand that there are two kinds of regular files -- text and binary. 
(And, there are additional kinds of files.)  Different operating systems 
have different concepts of text file encoding (ASCII, UniCode, EBCDIC, 
etc.) and text file end-of-line markers (CR, LF, CR-LF).  Binary files 
tend to be OS- or application-specific.  Moving a text file from one 
platform to another may required recoding and/or EOL translation (see

dos2unix(1), etc.).


Also understand that different operating systems have different concepts 
of file meta-data -- mode, ctime, mtime, atime, UID, GID, attributes, 
etc. -- and that moving files from a native file system to FAT32 and 
vice-versa involves imprecise and/or arbitrary meta-data translation. 
So, a file moved from, say, ext2 to FAT32 to ext4 should have identical 
contents, but may not have identical meta-data.


The only time I use FAT32 is transferring data to/from my old WinXP machine.



All that said, it is possible to format USB sneakernet drives with other 
file systems to achieve better meta-data copying accuracy, but this 
requires additional effort and you may lose multi-platform support.  I 
would suggest NTFS if you want multi-platform support, or ext4 or btrfs 
for Linux-only.


I'm basically a Intel architecture Debian user now.
My internal drives (and majority of my flash drives) are ext4.

Thank you.




David









Re: What's going on with dm-crypt?!

2018-12-24 Thread Dan Ritter
Celejar wrote: 
> Hi,
> 
> I have / on a luks volume, mounted with dm-crypt (automatically,
> via /etc/fstab - /etc/crypttab). As recently as kernel 4.18.0-3,
> everything was normal. With 4.19.0-1-amd64, the volume mounts, and the
> system seems basically functional - but /dev/mapper is empty besides for
> 'control'!
> 
> ~# ls -al /dev/mapper/
> total 0
> drwxr-xr-x  2 root root  60 Dec 23 23:32 .
> drwxr-xr-x 18 root root3340 Dec 23 23:32 ..
> crw---  1 root root 10, 236 Dec 23 23:32 control
> 
> Despite the fact that 'mount' shows that the dm-crypt mount is present:
> 
> ~# mount | grep sda
> /dev/mapper/sda2_crypt on / type ext4 (rw,relatime,errors=remount-ro)
> /dev/sda1 on /boot type ext4 (rw,relatime)
> 
> ~#
> 
> This situation causes update-initramfs to fail:
> 
> ~# update-initramfs -u
> update-initramfs: Generating /boot/initrd.img-4.19.0-1-amd64
> mkinitramfs: failed to determine device for /
> mkinitramfs: workaround is MODULES=most, check:
> grep -r MODULES /etc/initramfs-tools
> 
> Error please report bug on initramfs-tools
> Include the output of 'mount' and 'cat /proc/mounts'
> update-initramfs: failed for /boot/initrd.img-4.19.0-1-amd64 with 1.
> 
> ~#
> 
> Which is causing things like updating kernels to fail ...
> 
> What on earth is going on here?

This might be the kernel bug introduced in 4.18:

https://lkml.org/lkml/2018/12/22/153

which will be fixed. Check the thread.

In the meantime, go back to an earlier kernel.

-dsr-



Re: Time Domain Reflectometer (was Re: internet outages)

2018-12-24 Thread Gene Heskett
On Monday 24 December 2018 04:20:45 Joe wrote:

> On Sun, 23 Dec 2018 23:11:35 -0500
>
> Gene Heskett  wrote:
> > Thats essentially what our high bandwidth scopes do today, $400 gets
> > you a 1ghz sampler with an effective bandwidth of 200 mhz. I've got
> > one, the nice thing is that because it is digital, a once a second
> > glitch in a 42 megabaud seriel data train stands out like a sore
> > thumb because its not limited to the screen writing speed of an
> > analogue scope. So its just as bright as the main signal that
> > doesn't have the glitch. The operating software is buggier than a 10
> > day old road kill in August though.
>
> Ah, Hantek (or one of its aliases). Yes. I have the bottom-end one,
> mainly for DC and audio. The triggering is worthless.

I think mine is a Gratten, and the triggering is fine once you hit the 
magic twanger, but the firmware that controls it is buggier than a 10 
day old road kill in August.

I have a firmware update file kit for it, but it requires a dos box with 
a usb port. When was the last time you saw one of them?  Short answer is 
never. 

dfu on linux won't talk to it. And I've never seen a dos with usb 
drivers, not even the last drdos. If anyone knows how to get past that, 
I'd be a happy camper indeed. Or maybe they charge for the access key, I 
see the unpacked firmware dir has an empty "key" directory. If anyone 
knows how to get past that... The manual, ADS1000*.pdf 
does very carefully NOT mention it.

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: Time Domain Reflectometer (was Re: internet outages)

2018-12-24 Thread Gene Heskett
On Sunday 23 December 2018 23:54:20 John Hasler wrote:

> rhkramer writes:
> > Yeah, but I wasn't thinking about actually using a CRT to display
> > the signal in real time, but, instead, collect samples (at maybe 4
> > GHz??), store them, and then display them as a static display.
>
> At that sort of frequency sampling scopes (including the old crt ones)
> sample at far below the signal repitition rate.

And depend on being out of synch with a repetitive signal, so they in 
effect build up an image that covers enough time samples to assemble the 
waveform.  So you do not see it in real time. But the glitch is still 
caught, and you will see a full brightness dot or pulse thats out of 
place.  In a cnc machine running on stepper motors, the current 
regulating of the drivers if the grounding is not truly single point, 
can crosstalk at the regulating frequency, usually well above 20 
kilohertz, at peak voltages well over what it takes to destroy an fpga 
gate as the ringing in that event often peaks at over 100 MHz and 30 
volts. Trivial to see on the samplers display, but turn off the room 
lights and really study what you see on a 100+ megahertz analogue scope.
Probably also true of servo-motors today since they are often driven at 
full power with pwm signals.  Much more efficient to make the motors 
inductance work for you instead of against you. The drivers will heat at 
1% or less compared to an analogue drive with the same effective gain 
and power. They heat only during the transition, with very little heat 
when on, and no heat when off. So the faster you can make that 
transition, the cooler it stays. I use such an amplifier thats not much 
bigger than a pack of camel cigarettes, to run a 1hp at 90 volts at 9.7 
amps rated spindle motor on a 127 volt, 20+ amp capable supply, so it 
can do in a short 1/2 second surge, around 2 hp. I've never scanned the 
heat sink with an IR thermometer and found it above 85F in a 75F room.  
The only time I hear it is when this amplifier regulates the current, 
which I've set at 17 amps, makeing the motor iron "chirp". I figure 
thats enough considering that the gear train its driving is plastic.

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: File ownership problem using removeable media

2018-12-24 Thread Richard Owlett

On 12/23/2018 03:25 PM, to...@tuxteam.de wrote:

On Sun, Dec 23, 2018 at 05:46:17PM +, mick crane wrote:

On 2018-12-23 17:10, to...@tuxteam.de wrote:


[...]


And you do that after each and every mount?

Cheers
-- tomás

well no, I didn't read properly and was trying to be helpful without
understanding what the problem was


I asked because the original poster moves the file system on USB from
one system to another. It might be that the user with the same name
has different UIDs on the different systems -- we don't know. In this
case, he'll be fighting the system...


The last time I checked the UIDs were the same.
I'll double check the two systems involved later today.
Each time I do an install I:
  1. allow booting as root.
  2. create user using identical name.
The original idea being to have nearly identical systems when I was 
comparing the usability of several desktops and some configuration options.


The discussion so far has caused me to wonder if I have been conflating 
symptoms. I think I've an idea of how to test for that -- more later.


I'll also read up on "sticky bit" to see if that is related to my situation.

Thanks and Merry Christmas to all.






Re: Question on dpkg -l output.

2018-12-24 Thread aprekates

Thanks.

Thats also what the maintainer of dpkg answered me to my bug report.


On 23/12/18 6:49 μ.μ., Pascal Hambourg wrote:

Le 22/12/2018 à 02:44, aprekates a écrit :

Indeed some are virtual or pure virtual (although i dont know the diff)

But also there are packages like 'ergo' which look normal
and the only relation i think found (reason to display it) is because
libstd++6 depends on it.

Also listed packages like 'wink' not in the repos any more.


dpkg -l may show packages which are not installed but are mentionned 
in installed packages dependencies (Recommends, Suggests, 
Conflicts...) or were installed and removed but not purged (leaving 
config files).






You removed Weboob package over pollitical reasons?Whole Internet laughs at you

2018-12-24 Thread Ivan Ivanov
>500 comments at Slashdot, >200 at Phoronix and >1000 at linux org ru! See now?
When a technical project starts making their decisions over pollitical reasons
rather than technical, it is doomed. Good time to switch to a similar distro
with mentally sane leadership, like Devuan. Also what's good about Devuan :

Devuan does not use System8==D as its' init system! SystemD contains >1 million
lines of bloated code and lots of vulnerabilities have been found there and
countless haven't, also the SystemD creators are arrogant and refuse to fix many
discovered security vulnerabilities, to a point where they've been awarded a
" Pwnie award " for refusing to fix a critical vuln.

That is why I prefer the distros which are using something else as init system:
either good old SysV, or something more modern like OpenRC (at Artix Linux) or
runit (at Void Linux) , just not systemd! There are only a few such distros left
because of Redhat pressure, and luckily Devuan is one of them.
If you found Debian as useful before it went nuts then maybe you'd like Devuan,
or even some other distros that I mentioned: Artix Linux =Arch with a human face
(has GUI + everything configured by default, nice GUI package manager and
convenient to use even for the beginners), and Void Linux -amazingly fast distro
really suitable for old PCs, but lacks some packages so you'd need to compile
the things from source once in a while, in comparison Artix has almost the same
set of packages as Arch. Both Artix and Void are very stable despite their
packages are really new and they are among the first to get new Linux kernels
with fresh drivers.

Or maybe MX Linux, one of the top popularity distros nowadays which is
also "no systemd" and somehow only recently I learned about it

Best regards,
Ivan Ivanov,
open source firmware developer



You removed Weboob package over political reasons? Whole Internet laughs at you

2018-12-24 Thread Ivan Ivanov
>500 comments at Slashdot, >200 at Phoronix and >1000 at linux org ru! See now?
When a technical project starts making their decisions over political reasons...
rather than technical, it is doomed. Good time to switch to a similar distro
with mentally sane leadership, like Devuan. Also what's good about Devuan :

Devuan does not use SystemDick as its' init system! SystemD contains >1 million
lines of bloated code and lots of vulnerabilities have been found there and
countless haven't, also the SystemD creators are arrogant and refuse to fix many
discovered security vulnerabilities, to a point where they've been awarded a
" Pwnie award " for refusing to fix a critical vuln.

That is why I prefer the distros which are using something else as init system:
either good old SysV, or something more modern like OpenRC (at Artix Linux) or
runit (at Void Linux) , just not systemd! There are only a few such distros left
because of Redhat pressure, and luckily Devuan is one of them.
If you found Debian as useful before it went nuts then maybe you'd like Devuan,
or even some other distros that I mentioned: Artix Linux =Arch with a human face
(has GUI + everything configured by default, nice GUI package manager and
convenient to use even for the beginners), and Void Linux -amazingly fast distro
really suitable for old PCs, but lacks some packages so you'd need to compile
the things from source once in a while, in comparison Artix has almost the same
set of packages as Arch. Both Artix and Void are very stable despite their
packages are really new and they are among the first to get new Linux kernels
with fresh drivers.

Or maybe MX Linux, one of the top popularity distros nowadays which is
also "no systemd" and somehow only recently I learned about it

Best regards,
Ivan Ivanov,
open source firmware developer



Re: What's going on with dm-crypt?!

2018-12-24 Thread Pascal Hambourg

Le 24/12/2018 à 05:45, Celejar a écrit :


I have / on a luks volume, mounted with dm-crypt (automatically,
via /etc/fstab - /etc/crypttab). As recently as kernel 4.18.0-3,
everything was normal. With 4.19.0-1-amd64, the volume mounts, and the
system seems basically functional - but /dev/mapper is empty besides for
'control'!

(...)

Despite the fact that 'mount' shows that the dm-crypt mount is present:

(...)

This situation causes update-initramfs to fail:

~# update-initramfs -u
update-initramfs: Generating /boot/initrd.img-4.19.0-1-amd64
mkinitramfs: failed to determine device for /


I don't know what is going on, but as a workaround you can run

dmsetup mknodes

to try to create the missing nodes (actually symlinks to actual 
/dev/dm-* device nodes) in /dev/mapper.




Re: Time Domain Reflectometer (was Re: internet outages)

2018-12-24 Thread Joe
On Sun, 23 Dec 2018 22:54:20 -0600
John Hasler  wrote:

> rhkramer writes:
> > Yeah, but I wasn't thinking about actually using a CRT to display
> > the signal in real time, but, instead, collect samples (at maybe 4
> > GHz??), store them, and then display them as a static display.  
> 
> At that sort of frequency sampling scopes (including the old crt ones)
> sample at far below the signal repitition rate.

Yes, they rely on the signal being repetitive. To see a single
transient, you want at least five samples in the relevant period,
preferably more.

There is normally a real Nyquist bandwidth quoted somewhere in the
small print. I used to repair and calibrate Hitachi scopes for a while,
until everyone stopped using them.

-- 
Joe



Re: Time Domain Reflectometer (was Re: internet outages)

2018-12-24 Thread Joe
On Sun, 23 Dec 2018 23:11:35 -0500
Gene Heskett  wrote:

> Thats essentially what our high bandwidth scopes do today, $400 gets
> you a 1ghz sampler with an effective bandwidth of 200 mhz. I've got
> one, the nice thing is that because it is digital, a once a second
> glitch in a 42 megabaud seriel data train stands out like a sore
> thumb because its not limited to the screen writing speed of an
> analogue scope. So its just as bright as the main signal that doesn't
> have the glitch. The operating software is buggier than a 10 day old
> road kill in August though. 

Ah, Hantek (or one of its aliases). Yes. I have the bottom-end one,
mainly for DC and audio. The triggering is worthless.

-- 
Joe