wpa_supplicangt problems............

2020-09-25 Thread Charlie


From my keyboard:

Dell Inspiron updated Debian Bullseye

Often get this message:


# ifup wlp2s0
wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return
code 1 ifup: failed to bring up wlp2s0

and,

When it does connect, can drop out at any time.

Looked on the net at the bug reports for wpa_supplicant and there are
many, but none that appear to be my problem.

Looked at the raspberry bug reports and fixes for wpa_supplicant. But
I'm not certain any of the fixes are relevant, and not certain I
understand what they are saying.

Do I have to change something in /etc/wpa_supplicant/ifupdown.sh or
/etc/wpa_supplicant/functions.sh or /etc/wpa_supplicant/action_wpa.sh?

If so, can someone please direct me where I might find the fix for
Bullseye?

Thanks in advance.

Charlie

East Gippsland Wildlife Rehabilitators Inc..
   http://www.egwildlife.com.au/

-- 
Registered Linux User:- 329524

***

There is no exercise better for the heart than reaching down
and lifting people up.-- John Holmes

***
Debian GNU/Linux - Magic indeed.

-



Re: [caliu-info] gafamades pel dia de la llibertat del programari???

2020-09-25 Thread Orestes Mas



El 15 de setembre de 2020 22:17:30 CEST, Pedro  ha escrit:
>miquel, mira't el openbroadcasterstudio (obs), el fan servir fins i
>tots
>els youtub€rs. Funciona extraordinàriament bé, és programari lliure,
>pots
>compartir la pantalla (que pot ser clau per fer streaming de un
>bigbluebutton-jitsi fàcil dedicant un ordinador) i pots fer mescla de
>vídeo-audio, pots gravar, pots enviar a streaming, una meravella


Confirmo que és una meravella infraconeguda. :-)

Orestes


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



parted lists wrong partitions

2020-09-25 Thread Charles Zeitler
i'm working on a thumb drive to use it as install media.
su -c 'parted --list /dev/sdb' (/dev/sdb is thumb drive}
lists partitions from /dev/sda 9system drive)
even when /dev/sdb doesn't exist!

fdisk -l /dev/sdb properly reports it as missing,
and gparted seems to be unconfused.

so far google refuses to help.

does anybody have any advise?

thanx


charles zeitler

-- 
 The Perfect Is The Enemy Of
 The Good Enough



Re: Mail transfer agent (debian-user-digest Digest V2020 #932)

2020-09-25 Thread David Wright
On Fri 25 Sep 2020 at 13:26:54 (+0300), Andrei POPESCU wrote:
> On Vi, 25 sep 20, 00:38:25, David Wright wrote:
> > On Fri 25 Sep 2020 at 03:40:16 (+), mike.junk...@att.net wrote:
> > 
> > > Trying to get mutt to send mail I've got this in .muttrc:
> > > 
> > > set smtp_pass="myPasswd"
> > > # set smtp_url="smtp[s]://[user[:pass]@]host[:port]"
> > > # set smtp_url="smtp://mikemcclain46:mypas...@suddenlink.net:587"
> > > set smtp_url="smtp://mikemcclain46:mypas...@suddenlink.net:587/"
> > 
> > I don't know the effect of specifying your password in both places.
> > (I believe the idea behind smtp_pass is so that it can be placed in
> > a separate, protected file.)
> > 
> > I would expect the loginname (user above) to include a domain,
> > ie it's usually an email address. (Mine always have been.)
> 
> Not necessarily, just very common. However, suddenlink seems to require 
> the full e-mail address as well.
> 
> https://help.suddenlink.com/knowledge/microsoft-outlook-set-your-suddenlink-email

AIUI there are many services that might be using, say, foobar.net
for home users and foobar.com for businesses, with the possibility
of identical local parts in each domain, all submitting through the
one host.

> > I don't think suddenlink.net accepts mail; smtp.suddenlink.net does.
> > 
> > I omit the port number 587 as it's the default.
> 
> Can't find any mention of this in neomuttrc(5), care to provide a 
> source?

Memory fart: as Reco points out, that's not so, and in fact my
original reply included the 587, because I copied/pasted/edited¹
my own ordinary parameters. In this later thread, by chance, I used
my extraordinary ISP parameters² where I hadn't included the port.

I followed the link above, and they recommend 465, which I think uses
implicit TLS encryption. They obviously support TLS on 587 (and who
knows about 25), but I would recommend that the OP includes the setting

set  ssl_force_tls

in their muttrc so that they can't send any unencrypted emails by accident.

> > So I would have either:
> > 
> > set smtp_pass="myPasswd"
> > set smtp_url="smtp://mikemcclai...@suddenlink.net@smtp.suddenlink.net/"

and adding :465

> > or:
> > 
> > set 
> > smtp_url="smtp://mikemcclai...@suddenlink.net:mypas...@smtp.suddenlink.net/"

ditto.

> The trailing '/' is not needed ;)

Maybe—I tend to just follow the documentation, and the mutt examples
include it, so in it goes.

> > > # set smtp_url="smtp://mikemcclain46:mypas...@suddenlink.net:465/"
> > > # set smtp_url="smtp://mikemcclain46:mypas...@suddenlink.net:465"
> > > #smtp.suddenlink.net::587
> > > #smtp_url="smtp://loginn...@smtp.server.net:587/"
> > > set smtp_authenticators="plain"
> 
> The default behaviour when not setting $smtp_authenticators at all works 
> just fine to me with Gmail and GMX.

Sure. Ironically, suddenlink.net ask you to specify plain if requested.
For convenience, I keep a ready-encoded copy in /etc/exim4/passwd.client
as a comment after the actual password line.

> > > /etc/mailname says this:
> > > mikemcclain...@suddenlink.net
> > 
> > /etc/mailname should only contain a domainname, not an address.
> > Mine has just axis.corp in it, as I send mail from this machine.
> 
> As far as I can tell mutt's SMTP support should work just fine without 
> setting any domain in /etc/mailname as it's used only for setting the 
> domain on local email and Message-Id headers.

It ought to—I have no idea whether mutt can even use it, though
I suppose it's possible—but AIUI the file belongs to exim4-config.
It "needs" a dot to prevent your being nagged about its lack, and
having an @ in it could screw up any use exim makes of it.
(I use it to set exim's HELO.) So I thought it best to mention it.

¹ Apologies for the extraneous dots and dollars when I pasted
  from a ?lisp emacs buffer.

² Currently I can't post here through my regular smarthost, so
  I submit posts directly from mutt through my ISP's own one.
  They demand both authentication and authorisation, so I set
  it all up by hand-typing the commands for a one line test email.

  When I copied the parameters from the test into my muttrc,
  I forgot the port because it only appears in the connection
  command, not the conversation. When I checked muttrc today,
  I realised I've been submitting through port 25, a port that
  they'd blocked for years. Perhaps there were technical reasons
  why they didn't use it for both ordinary smtp connections
  and email submission in the past.

Cheers,
David.



Re: crc not installed but rsync using it? ...

2020-09-25 Thread David Wright
On Fri 25 Sep 2020 at 10:33:51 (+0100), Jonathan Dowland wrote:
> On Thu, Sep 24, 2020 at 05:58:49PM -0500, David Wright wrote:
> > On Thu 24 Sep 2020 at 17:50:16 (+0200), Albretch Mueller wrote:
> > > >> How do I get all packages to be locally installed using dpkg from a
> > > >> public Windows machine?
> > > >
> > >  How do I get the deb files in order to install locally (via dpkg
> > > --install) the necessary utilities to run CRC32 and/or CRC64
> > 
> > I can't believe the answer is as simple as visiting
> > https://packages.debian.org/index
> > and downloading the packages you want (in binary mode).
> 
> Plus (possibly several) iterations of downloading the dependencies,
> and their dependencies, etc., cross-referencing against your installed
> package list (if you have it) to trim down the list.

Sure. One might assume that the OP is familiar with the abilites of
apt and dpkg to manipulate their lists, so that apt can do this job.

And, if not, I would suggest their taking the linux laptop to the
public Windows machine so that any iteration is short and speedy.

I wrote simple, not easy.

Cheers,
David.



Re: Returning to /var/log/boot.log and Greg Wooledge`s reply

2020-09-25 Thread David Wright
On Fri 25 Sep 2020 at 11:19:40 (+0100), anthony gennard wrote:
> My email has gone haywire and I cannot reply to two of the messages.
> Fortunately, I had made copies of them.
> Greg Wooledge said to me
> >"How are you `looking at ` the file?
> >I would suggest using less.
> 
> >You get out of less by pressing p

No, q, not p. You get out of less with q.
But Ctrl-C can be useful if you do something like search for
a string in a huge file and want to interrupt it because it's
taking too long.

> Greg, I was using less.
> What I did was:- Open  a terminal by ctrl + alt + F1
> `cd  /var/log` then `ls` and I could see boot.log amongst the list of files
> then I did `sudo less boot.log` and got the list of start ups.
> At this point I was stuck and asked the list for help.
> I was such a fool because I did not look up the man page for less.
> I went through the process and pressed p and low and behold and was back to
> the `root@??? /var/log`.
> Thank you.
> Now I have to try and print a copy of the first 100 or so lines which
> will give me the last boot up details.

If you make yourself a member of the adm group, you can read your logs
as a normal user. You'd need to type into any terminal

$ sudo addgroup myloginname adm

replacing myloginname as appropriate, but you will need to login again
before the addgroup command will have any effect.

Cheers,
David.



Re: Deterministic delays in POSIX shell scripts (Was: Re: notify via virtual terminal available packages)

2020-09-25 Thread David Wright
On Fri 25 Sep 2020 at 12:28:31 (+), Andy Smith wrote:
> On Fri, Sep 25, 2020 at 07:49:19AM -0400, Greg Wooledge wrote:
> > On Fri, Sep 25, 2020 at 07:44:25AM +, Andy Smith wrote:
> > > "hostid" tends to return a hexadecimal representation of the first
> > > IPv4 address (but isn't guaranteed to).
> > 
> > unicorn:~$ hostid
> > 007f0101
> > 
> > Doesn't look very useful.  That's just 127.0.1.1 in a 16-bit little
> > endian format.
> 
> Oh, none of mine do that, it seems to pick the other IP address for
> me. But if it's a problem there are other sources of "machine" ID as
> I mentioned. There's some more here:
> 
> http://0pointer.de/blog/projects/ids.html

IIRC Debian's recommendation is that a machine's own hosts entry
should be:

127.0.0.1   localhost
[…]
127.0.1.1   axis.corp   axis# 192.168.1.14

(The comment at the end is there because I generate my hosts file
with a script that puts the 127.0.1.1 into place.)

That might explain the monotonous 007f0101. Perhaps you don't
set you hosts files that way.

> > You know what else works really well?  Just putting a different start
> > time in each system's crontab.
> 
> If that works for you, great, but I have quite a few machines, VMs
> and containers provisioned identically and would rather not have to
> change the scripts or configuration on a per-host basis.

I don't know what scaling you require, nor the time resolution you
can detect, but the last octet of the IPv4 address × 10 seconds
gives you delays of up to ~42 minutes, unique on what was once
called a "Class C" network. (15 seconds will go just over the hour.)

Cheers,
David.



Re: OOM-killer not being involked under memory pressure

2020-09-25 Thread David Wright
On Fri 25 Sep 2020 at 07:41:10 (-0600), Charles Curley wrote:
> On Thu, 24 Sep 2020 23:37:52 + Pariksheet Nanda 
>  wrote:
> 
> > I don't know how to empirically test that swap works
> 
> Try free. E.g.:
> 
> root@jhegaala:~# free
>   totalusedfree  shared  buff/cache   
> available
> Mem:   78605095 780 5971985
> 1958
> Swap: 156232426   13197
> Total:234847521   13977
> root@jhegaala:~# 
> 
> If swap is not enabled, the Swap line won't be there.
> 
> Or try htop.

$ /sbin/swapon --noheadings --show=name,type,size
/dev/dm-0 partition 499M

Cheers,
David.



Re: Internal error: couldn't generate list of packages to download

2020-09-25 Thread The Wanderer
On 2020-09-25 at 07:48, Stephen P. Molnar wrote:

> I am running up-to-date Buster, unfortunately there seems to be a bit of 
> a problem.
> 
> Normally I run the update process several times a week with the command 
> sudo apr update && sudo apt upgrade.
 ^

I'm presuming this is a pure mail-writing typo.

> This morning this resulted in the error
> 
> The following partially installed packages will be configured:
>brscan4

As I think at least one other person has noted, this does not appear to
be available in the Debian archives, at least not as far as I've managed
to determine.

> No packages will be installed, upgraded, or removed.
> 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> E: Can't find a source to download version '0.4.8-1' of 'brscan4:amd64'
> After unpacking 0 B will be used.
> E: Can't find a source to download version '0.4.8-1' of 'brscan4:amd64'

To my eye, this looks as if something is telling apt that version
0.4.8-1 is available somewhere, and the upgrade session is deciding that
it needs to install that version, but then none of the configured
sources include that version (and it's not already cached locally).

What do

$ apt-cache policy brscan4
$ apt-cache rdepends brscan4

say?

-- 
   The Wanderer

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



signature.asc
Description: OpenPGP digital signature


Re: Internal error: couldn't generate list of packages to download

2020-09-25 Thread Kushal Kumaran
On Fri, Sep 25 2020 at 07:48:28 AM, "Stephen P. Molnar" 
 wrote:
> I am running up-to-date Buster, unfortunately there seems to be a bit
> of a problem.
>
> Normally I run the update process several times a week with the
> command sudo apr update && sudo apt upgrade. This morning this
> resulted in the error
>
> The following partially installed packages will be configured:
>   brscan4
> No packages will be installed, upgraded, or removed.
> 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> E: Can't find a source to download version '0.4.8-1' of 'brscan4:amd64'
> After unpacking 0 B will be used.
> E: Can't find a source to download version '0.4.8-1' of 'brscan4:amd64'
> E: Internal error: couldn't generate list of packages to download
> E: Perhaps the package lists are out of date, please try 'aptitude
> update' (or equivalent); otherwise some packages or versions are not
> available from the current repository sources
>
> I reinstalled the Brother printer drivers, apparently barscan4 was not
> included. I contgaced Brother tech support, but was told that they did
> not support Linux.

brscan4 is the package with the scanner driver.  That is provided as a
separate download.  In my setup, it did not have a debian repository; it
was provided as a bare .deb download.

>
> I tried:
>
> sudo mv /var/lib/apt/lists /var/lib/apt/lists.old
> sudo apt-get clean
> sudo apt-get update
>
> This resulted in a long list of get: (ellipses)followed by my user
> prompt. Unfortunately, update generated the same errors.
>
> At this point I don't have the faintest idea as to how to
> proceed. Pointers towards a solution to the problem will be much
> appreciated.
>

Try dpkg --configure -a to finish configuration for partially installed
packages.

If your device is supported by
https://github.com/alexpevzner/sane-airscan, you can just switch to that
and ditch the Brother software.

-- 
regards,
kushal



Re: crc not installed but rsync using it? ...

2020-09-25 Thread mick crane

On 2020-09-25 23:42, Gene Heskett wrote:

On Friday 25 September 2020 18:10:42 Stefan Monnier wrote:


> He may have changed it, but at the time I first started using it on
> a "pc" it had to be registered before it would access the 2nd port.

I don't understand what you're referring to:
- What is the "it" that had to be registered?


That edition of dd-wrt.  You had to get a keyfile from brainslayer.  
You

didn't have to get one to go with a router version.  And it sometimes
took most of a week for him to service your key request.


- With whom/what did it have to be registered?
- What 2nd port of what?


The second ethernet port of the pc you built to run it.


When all this internet kicked off I thought anybody could have a go but 
apparently you need to be with a provider.


mick

--
Key ID4BFEBB31



Re: crc not installed but rsync using it? ...

2020-09-25 Thread Stefan Monnier
>> I don't understand what you're referring to:
>> - What is the "it" that had to be registered?
> That edition of dd-wrt.

Oooo!  You were running DD-wrt on a pc??

Indeed, OpenWRT also supports running on a PC, but it would never have
occurred to me to do that.  I'd just use Debian instead: much easier to
upgrade, for example.  Indeed, I used to run Debian on my WL-700gE just
because it was much more comfortable than OpenWRT (tho the 64MB of RAM
made `apt-get` pretty damn slow).

> You had to get a keyfile from brainslayer.

Doesn't sound like Free Software, so I would have stayed far away from it.


Stefan



Re: crc not installed but rsync using it? ...

2020-09-25 Thread Gene Heskett
On Friday 25 September 2020 18:10:42 Stefan Monnier wrote:

> > He may have changed it, but at the time I first started using it on
> > a "pc" it had to be registered before it would access the 2nd port.
>
> I don't understand what you're referring to:
> - What is the "it" that had to be registered?

That edition of dd-wrt.  You had to get a keyfile from brainslayer.  You 
didn't have to get one to go with a router version.  And it sometimes 
took most of a week for him to service your key request.

> - With whom/what did it have to be registered?
> - What 2nd port of what?

The second ethernet port of the pc you built to run it.
>
>
> Stefan


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)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: crc not installed but rsync using it? ...

2020-09-25 Thread Stefan Monnier
>> BTW, depending on what you expect from an "ARM board" and what you
>> consider "affordable", you could go for an actual router (many of
>> which are based on ARM nowadays).
> It has to run Debian or a Debian derivative.

I can't see any reason why you couldn't install Debian on a "Brume".
The manufacturer put a logo of Ubuntu on the product's web pages, so
they may have some Ubuntu image available.  I don't see a DTS file for
it in the vanilla Linux kernel, tho, so it might be difficult to get
up-to-date kernels in the future.


Stefan



Re: crc not installed but rsync using it? ...

2020-09-25 Thread John Hasler
Stefan writes:
> BTW, depending on what you expect from an "ARM board" and what you
> consider "affordable", you could go for an actual router (many of
> which are based on ARM nowadays).

It has to run Debian or a Debian derivative.
-- 
John Hasler 
jhas...@newsguy.com
Elmwood, WI USA



Re: crc not installed but rsync using it? ...

2020-09-25 Thread Stefan Monnier
> He may have changed it, but at the time I first started using it on 
> a "pc" it had to be registered before it would access the 2nd port.

I don't understand what you're referring to:
- What is the "it" that had to be registered?
- With whom/what did it have to be registered?
- What 2nd port of what?


Stefan



Re: crc not installed but rsync using it? ...

2020-09-25 Thread Stefan Monnier
> I have an Espressobin.  It isn't stable due to some sort of power supply
> problem (and the available schematics are incorrect). I tried three
> different units: it's a design problem.  I may go back to messing with
> it and try clocking is down, but I don't trust it now.  Too bad, because
> the specs make it ideal.  It not only has three real NICs, but it also
> has a real 1 Gbit switch.
>
> I'll look at the BPI-R1 and BPI-R2.

BTW, depending on what you expect from an "ARM board" and what you
consider "affordable", you could go for an actual router (many of which
are based on ARM nowadays).  E.g.

https://www.gl-inet.com/products/gl-mv1000/


-- Stefan



Re: OOM-killer not being involked under memory pressure

2020-09-25 Thread Pariksheet Nanda
>> The hanging behavior is like a step function: the computer goes from being
>> fully responsive to completely unresponsive;
>
> That's very much unlike a normal "out of RAM" situation, OTOH.
> Normally what happens is that the OS starts to shuffle things around
> (throwing out cached data, moving other to swap, etc...) making the
> machine slower and slower.
>
> The step function sounds much more like a bug such as a deadlock.

Thank you for clearing up my misunderstanding of the observed behavior!  
Indeed, Linux-Fan linked to the swap deadlock issue with ZFS.


> You could run a`memtester` process and tell it to test, say 6GB, so you
> the kernel only has 2GB left to play with and it will be forced to push
> stuff to swap, which you should then see in the output of `free`.

Thank you to you, Charles, and Tixy, for the suggestion to use `free`; I had 
only previously used it to check RAM usage and did not know it's usefulness to 
also check swap.  As Tixy mentions, `free` does show zeros now that I have swap 
disabled:

$ free
  totalusedfree  shared  buff/cache   available
Mem:8100708 4136324 2972808  197340  991576 3597312
Swap: 0   0   0


> You might want to try and set that same machine up with an ext4
> filesystem instead temporarily to see if you can reproduce the problem
> even without the use of ZFS (depending on how ZFS is used and your disk
> setup, it might be possible to do it easily, without having to
> reinstall (which could result in a sufficiently different system that
> it'd then be hard to convince oneself that the only difference is
> ZFS-vs-ext4)).

I actually was using ext4 for a few years on this machine before switching to 
ZFS in June and it behaved well, right up to the point where it didn't - I have 
had a few long power outages in my rural area, and running LUKS on LVM with 
ext4 after 1 particular power outage made it irrecoverable with my abilities.  
Which is why I switched to using encrypted ZFS.  Though I in no way wish to 
suggest encrypted ZFS is more reliable than LUKS on LVM with ext4; minus the 
encryption, my colleagues have had fewer instances of disk corription with ZFS 
and so I'm experimenting with it.


> Stefan

Pariksheet



Re: OOM-killer not being involked under memory pressure

2020-09-25 Thread Pariksheet Nanda
Hi Linux-Fan,
>>> I just checked my other server which has ZFS on root without encryption,
>>> and see that I did not enable swap at all on that machine. So I'll disable
>>> swap, thrash the RAM with `stress`, and then hopefully the OOM-killer works
>>> like it does on that machine.
>>
>> Yay! Indeed disabling swap allowed the OOM-killer to work.
>
> I am planning on using ZFS, too, so would you mind a follow-up question
> about your setup: Is your swap on a ZFS volume?

Yes, the swap was on the ZFS volume, from my following the ZFS on Linux guide 
linked earlier.


> I have heard there are bugs with Swap-on-ZFS which may cause lockups similar
> to what you describe:
>
> https://github.com/openzfs/zfs/issues/342
> https://github.com/openzfs/zfs/issues/7734

Thank you for the links!  I started reading the zfs-discuss mailing list and 
completely neglected the GitHub tracker.


>>> Pariksheet
>> Pariksheet
> Linux-Fan
Pariksheet



Re: crc not installed but rsync using it? ...

2020-09-25 Thread Stefan Monnier
> I have an Espressobin.  It isn't stable due to some sort of power supply
> problem (and the available schematics are incorrect).  I tried three
> different units: it's a design problem.  I may go back to messing with
> it and try clocking is down, but I don't trust it now.  Too bad, because
> the specs make it ideal.  It not only has three real NICs, but it also
> has a real 1 Gbit switch.
>
> I'll look at the BPI-R1 and BPI-R2.

I don't know anything about the BPI-R2, but the stories I've heard about
the BPI-R1 aren't much more encouraging than yours about the espressobin
(which is why so far I'm sticking to my BananaPi-based hack).

I also found the Orange Pi R1, but with 256MB it's rather underpowered
for my taste (and it's only 100Mb/s ethernets).  [ And I've had
stability problems (apparently linked to power) with my Orange Pi mini,
so I look at "orange pi" with suspicion.  ]


Stefan



Re: OOM-killer not being involked under memory pressure

2020-09-25 Thread Brian
On Fri 25 Sep 2020 at 07:41:10 -0600, Charles Curley wrote:

> On Thu, 24 Sep 2020 23:37:52 +
> Pariksheet Nanda  wrote:
> 
> > I don't know how to empirically test that swap works
> 
> Try free. E.g.:
> 
> root@jhegaala:~# free
>   totalusedfree  shared  buff/cache   
> available
> Mem:   78605095 780 5971985
> 1958
> Swap: 156232426   13197
> Total:234847521   13977
> root@jhegaala:~# 
> 
> If swap is not enabled, the Swap line won't be there.

Are you sure?

brian@5730cups:~$ free
  totalusedfree  shared  buff/cache   available 
  
Mem: 928100   48764  7903486520   88988  762644 
  
Swap: 0   0   0

-- 
Brian.



Re: crc not installed but rsync using it? ...

2020-09-25 Thread Brian
On Fri 25 Sep 2020 at 17:21:03 +0100, Tixy wrote:

> On Fri, 2020-09-25 at 18:07 +0300, Andrei POPESCU wrote:
> > On Vi, 25 sep 20, 10:23:43, Michael Stone wrote:
> > > On Fri, Sep 25, 2020 at 09:01:26AM -0400, Gene Heskett wrote:
> > > > 
> [...]
> > > > such a setup in a router running dd-wrt. In nearly 2 decades, no one has
> > > > come into my systems from the internet that I didn't give the
> > > > credentials to do so.
> > > 
> > > You post this all the time, but it's irrelevant at best and misleading at
> > > worst. On a default debian system these days an external firewall is
> > > basically a noop because there are no services listening.
> > 
> > Well, besides exim (still installed by default as far as I know), CUPS 
> > (probably pulled by most DEs)
> 
> On my lamptop exim and cups are only listening on address 127.0.0.1.
> The only other listening process is init (systemd) listening on 0.0.0.0
> port 111. Hmm, that's rpcbind, installed by using NFS shares? Good job
> I have a firewall between me and the internet ;-) (But seriously, one
> thing I hadn't considerer for the very rare time I use public wifi).

An exim4 installation does indeed only listen on localhost:

  dc_local_interfaces='127.0.0.1 ; ::1'

in /etc/exim4/update-exim4.conf.conf.

Also, exim4 has Priority: optional and is no longer part of a default
installation.

The default cupsd.conf has

  Listen localhost:631

A dd-wrt based router using packet filtering contributes nothing in
this situation.

-- 
Brian.



Recomodo Oficinas, Escritorios, Zonas Comunes, Reuniones

2020-09-25 Thread Jessica Acosta Rodriguez

Número de personas por cada oficina, densidad de empleados por m2, importante 
definir el nuevo diseño….

Creación y Diseño de 
Entornos Laborales
al estilo WeWork

Online en Vivo / Inicio: 09 de Octubre 2020

Aprende a desarrollar espacios 100% colaborativos en tu Organización.
¡Este evento es FUN-DA-MEN-TAL para toda área de Desarrollo Organizacional!

DESCARGAR FOLLETO COMPLETO

Recibir la información completa vía WhatsApp


O mayores informes comuníquese con alguno de nuestros ejecutivos al teléfono:

55 2450 6187
81 29747731
33 1804 3868
(Contamos con más de 12 líneas a su servicio)















Este boletín informativo tiene como objetivo crear valor en usted y en su 
Compañía. En dado caso que usted desee dejar de recibir este tipo de 
información favor de contestar BAJAWEWORK222. 

O en su defecto en el siguiente enlace: unsubscribe from this list



Re: Regarding your case number 10724899 [ ref:_00D00hhzl._5004V11emZL:ref ]

2020-09-25 Thread Gene Heskett
On Friday 25 September 2020 12:43:16 Tom Dial wrote:

> On 9/25/20 00:51, john doe wrote:
> > On 9/25/2020 7:46 AM, David Christensen wrote:
> >> On 2020-09-24 15:43, discsupp...@seagate.com wrote:
>
> ( omitted material )
>
> > Please stop polluting this list with your private stuff.
>
> I do not consider this thread pollution, for what that's worth. As an
> owner of a few Seagate disks and an almost exclusive user of Linux for
> more than 25 years, I find this frank and honest exchange interesting
> and informative, both technically and in what it says about Seagate's
> customer support quality and policy.
>
Neither do I, I find it quite informative that after almost 30 years of 
the gpl's existence, that seagate is still violating it, obviously 
intentionally. And its quite likely to be ignored until a suit has been 
filed that requires their legal people to actually read that document to 
see what the hell all the hulabaloo is all about. Without any known 
exceptions that I am aware of, they will rectify that, before the courts 
set the deck very low to mow their legal grass. The FSF may need our 
financial support in that event.  Seagate has deep pockets.  

> Regards,
> Tom Dial
>
> > --
> > John Doe


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)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: crc not installed but rsync using it? ...

2020-09-25 Thread John Hasler
Stefan writes:
> I assume you mean tho ethernet NICs (many boards have two NICs in the
> form of ethernet + wifi).

Yes, of course.  I don't want WiFi on a router and I want real NICs, not
ones faked via USB.

> I know of the BPI-R1 and BPI-R2 and the espressobin, but hopefully
> there's more.

I have an Espressobin.  It isn't stable due to some sort of power supply
problem (and the available schematics are incorrect). I tried three
different units: it's a design problem.  I may go back to messing with
it and try clocking is down, but I don't trust it now.  Too bad, because
the specs make it ideal.  It not only has three real NICs, but it also
has a real 1 Gbit switch.

I'll look at the BPI-R1 and BPI-R2.
-- 
John Hasler 
jhas...@newsguy.com
Elmwood, WI USA



Re: Regarding your case number 10724899 [ ref:_00D00hhzl._5004V11emZL:ref ]

2020-09-25 Thread Tom Dial



On 9/25/20 00:51, john doe wrote:
> On 9/25/2020 7:46 AM, David Christensen wrote:
>> On 2020-09-24 15:43, discsupp...@seagate.com wrote:

( omitted material )

>>
> 
> Please stop polluting this list with your private stuff.

I do not consider this thread pollution, for what that's worth. As an
owner of a few Seagate disks and an almost exclusive user of Linux for
more than 25 years, I find this frank and honest exchange interesting
and informative, both technically and in what it says about Seagate's
customer support quality and policy.

Regards,
Tom Dial

> 
> -- 
> John Doe



Re: crc not installed but rsync using it? ...

2020-09-25 Thread Gene Heskett
On Friday 25 September 2020 12:06:07 John Hasler wrote:

> I wrote:
> > Same here, though I use a pc running Debian as a router.
>
> Gene writes:
> > ...I found I didn't have to register the router...
>
> Don't know what you mean by that. 

He may have changed it, but at the time I first started using it on 
a "pc" it had to be registered before it would access the 2nd port.  The 
router reflashes didn't need that. That was obviously more than a decade 
back up the log.

> My DSL modem is in bridge mode, of 
> course, and pppoe on the pc just works.  The old Dell I use has been
> running for about ten years now.  Will be replaced as soon as I find
> an affordable ARM board with two NICs.

Very niche market John, doubtfull now that the r-pi has been sold. We may 
find that by carefull inspection of the routers available though. But it 
won't be sold as anything but a router. We'll likely have to look thru 
the camo cloaking of its router propaganda to find it. High likelyhood 
we already have it and we've not looked in the proper place.

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)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: Systemd y el orden de apgado de servicios.

2020-09-25 Thread Ala de Dragón
Para aquellos que busquen una solucion he encontrado dos pistas:

https://lists.debian.org/debian-user/2017/07/msg01078.html

https://utcc.utoronto.ca/~cks/space/blog/linux/SystemdNFSMountShutdown

La primera para impedir que intente tumbar la interfaz antes de
desmontar iscsi y la segunda para evitar que los servicios  desemboque
en un bucle de watchdog.

Saludos

El 3/9/20, Camaleón  escribió:
> El 2020-09-03 a las 13:08 +0200, Ala de Dragón escribió:
>
>> Hola amigos, tengo un servidor sin discos que arranca de una SAN por
>> ISCSI un Debian 10.
>> El otro dia lo necesite apagar y me encontre con un problema. el
>> sistema intenta apagar la interfaz de red antes de desmontar las
>> unidades de disco.
>> Claro, esto hace que el systema se quede mas frito que una tortilla y
>> el WacthDog se ponga a chillar pidiendo auxilio ;) reinicio y chekeo
>> de disco al canto.
>>
>> Alguien sabe si en systemd existe una forma de organizar el apagado
>> para que lo ultimo que haga sea tumbar la interfaz de red?
>
> No he tenido que pegarme con systemd... aún, pero yo empezaría por
> aquí para obtener lo que buscas (p. ej., especificar
> «Requires=network.target»
> en el servicio que se encargue del montaje/desmontaje de las unidades
> de disco remotas):
>
> systemd: Unit dependencies and order
> https://fedoramagazine.org/systemd-unit-dependencies-and-order/
>
> Saludos,
>
> --
> Camaleón
>
>


-- 
"El cielo es para los dragones
 lo que el agua es  para las ninfas"



Re: OOM-killer not being involked under memory pressure

2020-09-25 Thread Tixy
On Fri, 2020-09-25 at 07:41 -0600, Charles Curley wrote:
> On Thu, 24 Sep 2020 23:37:52 +
> Pariksheet Nanda  wrote:
> 
> > I don't know how to empirically test that swap works
> 
> Try free. E.g.:
> 
> root@jhegaala:~# free
>   totalusedfree  shared  buff/cache   
> available
> Mem:   78605095 780 5971985
> 1958
> Swap: 156232426   13197
> Total:234847521   13977
> root@jhegaala:~# 
> 
> If swap is not enabled, the Swap line won't be there.

Or show zero for the total size, that's what it does for me. (I'm not
the OP, just commenting).

-- 
Tixy



Re: crc not installed but rsync using it? ...

2020-09-25 Thread Tixy
On Fri, 2020-09-25 at 18:07 +0300, Andrei POPESCU wrote:
> On Vi, 25 sep 20, 10:23:43, Michael Stone wrote:
> > On Fri, Sep 25, 2020 at 09:01:26AM -0400, Gene Heskett wrote:
> > > 
[...]
> > > such a setup in a router running dd-wrt. In nearly 2 decades, no one has
> > > come into my systems from the internet that I didn't give the
> > > credentials to do so.
> > 
> > You post this all the time, but it's irrelevant at best and misleading at
> > worst. On a default debian system these days an external firewall is
> > basically a noop because there are no services listening.
> 
> Well, besides exim (still installed by default as far as I know), CUPS 
> (probably pulled by most DEs)

On my lamptop exim and cups are only listening on address 127.0.0.1.
The only other listening process is init (systemd) listening on 0.0.0.0
port 111. Hmm, that's rpcbind, installed by using NFS shares? Good job
I have a firewall between me and the internet ;-) (But seriously, one
thing I hadn't considerer for the very rare time I use public wifi).

-- 
Tixy



Re: crc not installed but rsync using it? ...

2020-09-25 Thread Stefan Monnier
> Will be replaced as soon as I find an affordable ARM board with
> two NICs.

Ah, yes, that.  I assume you mean tho ethernet NICs (many boards have
two NICs in the form of ethernet + wifi).

I know of the BPI-R1 and BPI-R2 and the espressobin, but hopefully
there's more.

FWIW, I use a Banana Pi where the mini-USB OTG port is used as the
second NICs (via the gether gadget).  The upside is that it frees up the
ethernet port of the computer which is connected to it, so I "daisy chained"
the second computer which I would have ideally connected to the BPI.


Stefan



Re: crc not installed but rsync using it? ...

2020-09-25 Thread John Hasler
I wrote:
> Same here, though I use a pc running Debian as a router.

Gene writes:
> ...I found I didn't have to register the router...

Don't know what you mean by that.  My DSL modem is in bridge mode, of
course, and pppoe on the pc just works.  The old Dell I use has been
running for about ten years now.  Will be replaced as soon as I find an
affordable ARM board with two NICs.
-- 
John Hasler 
jhas...@newsguy.com
Elmwood, WI USA



Re: crc not installed but rsync using it? ...

2020-09-25 Thread Stefan Monnier
>>I usually give the OP credit for not clicking on the links he runs across
>>that aren't on the up and up. I dunno, but the odor about them seems to
>>be warning enough for me.
> That's simply not true.  Compromised web sites are a thing, among
> other issues.

Yup.  The widespread existence of "bad links" that smell very strongly
does not mean that there aren't odorless "bad links".
Often, the more self-confident you are, the more vulnerable you are.


Stefan "self-confidently aware that he's quite self-confident"



Re: crc not installed but rsync using it? ...

2020-09-25 Thread Michael Stone

On Fri, Sep 25, 2020 at 10:56:56AM -0400, Gene Heskett wrote:

I usually give the OP credit for not clicking on the links he runs across
that aren't on the up and up. I dunno, but the odor about them seems to
be warning enough for me.


That's simply not true. Compromised web sites are a thing, among other 
issues.




Re: Internal error: couldn't generate list of packages to download

2020-09-25 Thread Andrei POPESCU
On Vi, 25 sep 20, 09:32:27, Stephen P. Molnar wrote:
> > 
> Sorry, nonexistent proof reading.
> 
> Here are the requested files
> 
> sources.list:
> 
> # deb cdrom:[Debian GNU/Linux 10.1.0 _Buster_ - Official amd64 DVD Binary-1
> 20190908-01:09]/ buster contrib main
> 
> # deb cdrom:[Debian GNU/Linux 10.1.0 _Buster_ - Official amd64 DVD Binary-1
> 20190908-01:09]/ buster contrib main
> 
> deb http://deb.debian.org/debian/ buster main non-free contrib
> deb-src http://deb.debian.org/debian/ buster main non-free contrib
> 
> deb http://security.debian.org/debian-security/ buster/updates main contrib
> non-free
> deb-src http://security.debian.org/debian-security/ buster/updates main
> contrib non-free

These should be two long lines. Are the line breaks here in the file or 
added by your mail program? In order to prevent any mangling please 
*attach* the file (yes, the mailing list does accept attachments of 
reasonable size).
 
> # buster-updates, previously known as 'volatile'
> deb http://deb.debian.org/debian/ buster-updates main contrib non-free
> deb-src http://deb.debian.org/debian/ buster-updates non-free contrib main
> 
> 
> Contents of /etc/apt/sourceslist.d:
 ^^^ I'm guessing you missed a dot here

> dropbox.list
> google-chrome.list
> google-earth-pro.list
> mendeleydesktop.list
> skype-stable.list
> vscode.list

Please attach these as well in addition to full and unedited output of 
'apt update'.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: crc not installed but rsync using it? ...

2020-09-25 Thread Andrei POPESCU
On Vi, 25 sep 20, 10:23:43, Michael Stone wrote:
> On Fri, Sep 25, 2020 at 09:01:26AM -0400, Gene Heskett wrote:
> > Your paranoia is excessive. I have 5 machines online ATM, but they are
> > all on a local network in the 1902.168.xx.xx block, which is NOT
> > routable from the internet but are NAT'd to my net address by having

NAT is just a nuisance, in *both* directions.

> > such a setup in a router running dd-wrt. In nearly 2 decades, no one has
> > come into my systems from the internet that I didn't give the
> > credentials to do so.
> 
> You post this all the time, but it's irrelevant at best and misleading at
> worst. On a default debian system these days an external firewall is
> basically a noop because there are no services listening.

Well, besides exim (still installed by default as far as I know), CUPS 
(probably pulled by most DEs) and SSH server (quite common for many 
users), plenty of other softwares are listening on some port, e.g. mpd, 
syncthing (web interface), qbittorrent-nox (web interface), barrier, 
just to name a few.

Most of these have some sort of password protection available, which may 
or may not be enabled by default, assuming it's even reasonably secure.

A firewall does provide and additional layer of protection for them.

> The attack vector
> in modern environments is much more likely to be client exploits (e.g., web
> browser) and a perimeter firewall adds zero protection from that threat.

Agreed.

> And, honestly, most people who are compromised have no clue that they are
> unless someone tells them.

Agreed as well.

> Telling people that all they need to do is install a perimeter firewall and
> then they're secure is simply wrong.

Yep.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: crc not installed but rsync using it? ...

2020-09-25 Thread Gene Heskett
On Friday 25 September 2020 10:23:43 Michael Stone wrote:

> On Fri, Sep 25, 2020 at 09:01:26AM -0400, Gene Heskett wrote:
> >Your paranoia is excessive. I have 5 machines online ATM, but they
> > are all on a local network in the 1902.168.xx.xx block, which is NOT
> > routable from the internet but are NAT'd to my net address by having
> > such a setup in a router running dd-wrt. In nearly 2 decades, no one
> > has come into my systems from the internet that I didn't give the
> > credentials to do so.
>
> You post this all the time, but it's irrelevant at best and misleading
> at worst. On a default debian system these days an external firewall
> is basically a noop because there are no services listening. The
> attack vector in modern environments is much more likely to be client
> exploits (e.g., web browser) and a perimeter firewall adds zero
> protection from that threat.
>
> And, honestly, most people who are compromised have no clue that they
> are unless someone tells them.
>
> Telling people that all they need to do is install a perimeter
> firewall and then they're secure is simply wrong.

I usually give the OP credit for not clicking on the links he runs across 
that aren't on the up and up. I dunno, but the odor about them seems to 
be warning enough for me.  If OTOH, the OP succumbs, then he/she is 
going to get bit eventually and there is little you or I can do to stop 
it.

It all boils down to a believeing in TANSTAAFL. We both obviously have 
experiences going back decades, and thats my experience. I find 
TANSTAAFL to be a law that you can't break if you tried. Like a western 
actor whose real name was Marion Morrison once said, stupid should hurt. 
What he didn't say was that it also should teach. And I don't believe we 
can argue about that.

Stay safe and well Michael.

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)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: Internal error: couldn't generate list of packages to download

2020-09-25 Thread Fabien Roucaute
Le 25/09/2020 à 13:48, Stephen P. Molnar a écrit :
> I am running up-to-date Buster, unfortunately there seems to be a bit of
> a problem.
> 
> Normally I run the update process several times a week with the command
> sudo apr update && sudo apt upgrade. This morning this resulted in the
> error
> 
> The following partially installed packages will be configured:
>   brscan4
> No packages will be installed, upgraded, or removed.
> 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> E: Can't find a source to download version '0.4.8-1' of 'brscan4:amd64'
> After unpacking 0 B will be used.
> E: Can't find a source to download version '0.4.8-1' of 'brscan4:amd64'
> E: Internal error: couldn't generate list of packages to download
> E: Perhaps the package lists are out of date, please try 'aptitude
> update' (or equivalent); otherwise some packages or versions are not
> available from the current repository sources
> 
> I reinstalled the Brother printer drivers, apparently barscan4 was not
> included. I contgaced Brother tech support, but was told that they did
> not support Linux.
> 
> I tried:
> 
> sudo mv /var/lib/apt/lists /var/lib/apt/lists.old
> sudo apt-get clean
> sudo apt-get update
> 
> This resulted in a long list of get: (ellipses)    followed by my user
> prompt. Unfortunately, update generated the same errors.
> 
> At this point I don't have the faintest idea as to how to proceed.
> Pointers towards a solution to the problem will be much appreciated.
> 
> Thanks in advance.
> 

Look like a package that is a dependency to barscan4 have been updated
to version that need barscan4 to be at least the version 0.4.8-1, but
barscan4 is not on the debian repositories. I think you have to download
it and install it manually.



Re: crc not installed but rsync using it? ...

2020-09-25 Thread Andrei POPESCU
On Vi, 25 sep 20, 13:49:25, Albretch Mueller wrote:
> 
>  My thinking may (once again) be a bit unhinged, but I would use,
> e.g., crc because it internatlly used by rsync, which I also use in my
> code.

Just for the archives, rsync is using MD5, and only if you specify the 
--checksum option.

Still unclear why the algorithm used by rsync is relevant in any way...

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: Quel paquet LaTeX utiliser pour des cartes de visites (VistaPrint)

2020-09-25 Thread BERTRAND Joël
Basile Starynkevitch a écrit :
> Bonjour,
> 
> 
> Je souhaite me commander des cartes de visites imprimées par
> https://www.vistaprint.fr/ et je souhaiterais en faire la maquette avec
> LaTeX (sous Debian)
> 
> Quel sont les paquets LaTeX à utiliser?
> 

Bonjour,

À titre personnel, j'ai fait cela avec Plain, des ressorts et des 
boîtes.

JKB



Quel paquet LaTeX utiliser pour des cartes de visites (VistaPrint)

2020-09-25 Thread Basile Starynkevitch

Bonjour,


Je souhaite me commander des cartes de visites imprimées par 
https://www.vistaprint.fr/ et je souhaiterais en faire la maquette avec 
LaTeX (sous Debian)


Quel sont les paquets LaTeX à utiliser?

--
Basile STARYNKEVITCH   == http://starynkevitch.net/Basile
opinions are mine only - les opinions sont seulement miennes
Bourg La Reine, France; 
(mobile phone: cf my web page / voir ma page web...)



Re: crc not installed but rsync using it? ...

2020-09-25 Thread Michael Stone

On Fri, Sep 25, 2020 at 09:01:26AM -0400, Gene Heskett wrote:

Your paranoia is excessive. I have 5 machines online ATM, but they are
all on a local network in the 1902.168.xx.xx block, which is NOT
routable from the internet but are NAT'd to my net address by having
such a setup in a router running dd-wrt. In nearly 2 decades, no one has
come into my systems from the internet that I didn't give the
credentials to do so.


You post this all the time, but it's irrelevant at best and misleading 
at worst. On a default debian system these days an external firewall is 
basically a noop because there are no services listening. The attack 
vector in modern environments is much more likely to be client exploits 
(e.g., web browser) and a perimeter firewall adds zero protection from 
that threat. 

And, honestly, most people who are compromised have no clue that they 
are unless someone tells them.


Telling people that all they need to do is install a perimeter firewall 
and then they're secure is simply wrong.




Re: crc not installed but rsync using it? ...

2020-09-25 Thread Gene Heskett
On Friday 25 September 2020 09:25:20 John Hasler wrote:

> Gene writes:
> > No you are not the only one, but you are a minority that does not
> > always want to understand how to use the internet and be safe at the
> > same time.  It can be done, I'm doing it.  And I've been doing it
> > since the later 90's.
>
> Same here, though I use a pc running Debian as a router.

I did too, John H., until that PC upchucked something over a decade back, 
and I found I didn't have to register the router, much much easier to 
maintain. The CF boot media for the PC was a PITA. Lasted 6 months at 
best with the ext3 filesystem abusing it. And used around 200 watts. The 
Buffalo Netfinity router might use 10 watts.  With the radio turned off, 
even less.

Stay safe and well, John.

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)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: OOM-killer not being involked under memory pressure

2020-09-25 Thread Charles Curley
On Thu, 24 Sep 2020 23:37:52 +
Pariksheet Nanda  wrote:

> I don't know how to empirically test that swap works

Try free. E.g.:

root@jhegaala:~# free
  totalusedfree  shared  buff/cache   available
Mem:   78605095 780 59719851958
Swap: 156232426   13197
Total:234847521   13977
root@jhegaala:~# 

If swap is not enabled, the Swap line won't be there.

Or try htop.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



Re: crc not installed but rsync using it? ...

2020-09-25 Thread Michael Stone

On Fri, Sep 25, 2020 at 01:49:25PM +0200, Albretch Mueller wrote:

I have losts of (not necessarily all) text files (say in the 10 of
thousands) in various directories which I need to process in a batch,
but before I do that I want to make sure that I get a baseline of the
source files. I use:

a)  crc
b)  md5sum
c) sha###sum

because those are three different checksum utilities based on
different algorithms which work fast enough and offer a set signatures
which are good enough.


Just one would be good enough (pick the sha256sum). What you're doing is 
a waste of time. If you want to future proof then use sha3, via the 
rhash package.




Re: Internal error: couldn't generate list of packages to download

2020-09-25 Thread Stephen P. Molnar




On 09/25/2020 09:13 AM, Greg Wooledge wrote:

On Fri, Sep 25, 2020 at 09:08:09AM -0400, Stephen P. Molnar wrote:

Here is my edited sources.list:

Your *what*?!

What do you mean, "edited"?  Do you mean, "here is a file that is not
my sources.list, but some part of it may be similar, and you get to guess
what the real one contains"?  How is that helpful?

How about: you post the ACTUAL sources.list file, plus any ACTUAL files
under sources.list.d.

Then, you post the ACTUAL command you are typing and its ACTUAL output.

(At this point, the most likely scenario is either "my secret sources.list
contains third-party repositories that are broken but I won't let you
know that", or "some of the files in /var/lib/apt/lists/ have become
corrupt".  Good luck figuring out which one is true when the information
needed to determine that is all kept from you.)



Sorry, nonexistent proof reading.

Here are the requested files

sources.list:

# deb cdrom:[Debian GNU/Linux 10.1.0 _Buster_ - Official amd64 DVD 
Binary-1 20190908-01:09]/ buster contrib main


# deb cdrom:[Debian GNU/Linux 10.1.0 _Buster_ - Official amd64 DVD 
Binary-1 20190908-01:09]/ buster contrib main


deb http://deb.debian.org/debian/ buster main non-free contrib
deb-src http://deb.debian.org/debian/ buster main non-free contrib

deb http://security.debian.org/debian-security/ buster/updates main 
contrib non-free
deb-src http://security.debian.org/debian-security/ buster/updates main 
contrib non-free


# buster-updates, previously known as 'volatile'
deb http://deb.debian.org/debian/ buster-updates main contrib non-free
deb-src http://deb.debian.org/debian/ buster-updates non-free contrib main


Contents of /etc/apt/sourceslist.d:

dropbox.list
google-chrome.list
google-earth-pro.list
mendeleydesktop.list
skype-stable.list
vscode.list


--
Stephen P. Molnar, Ph.D.
www.molecular-modeling.net
614.312.7528 (c)
Skype:  smolnar1



Re: crc not installed but rsync using it? ...

2020-09-25 Thread John Hasler
Gene writes:
> No you are not the only one, but you are a minority that does not
> always want to understand how to use the internet and be safe at the
> same time.  It can be done, I'm doing it.  And I've been doing it
> since the later 90's.

Same here, though I use a pc running Debian as a router.

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



Re: Internal error: couldn't generate list of packages to download

2020-09-25 Thread Greg Wooledge
On Fri, Sep 25, 2020 at 09:08:09AM -0400, Stephen P. Molnar wrote:
> Here is my edited sources.list:

Your *what*?!

What do you mean, "edited"?  Do you mean, "here is a file that is not
my sources.list, but some part of it may be similar, and you get to guess
what the real one contains"?  How is that helpful?

How about: you post the ACTUAL sources.list file, plus any ACTUAL files
under sources.list.d.

Then, you post the ACTUAL command you are typing and its ACTUAL output.

(At this point, the most likely scenario is either "my secret sources.list
contains third-party repositories that are broken but I won't let you
know that", or "some of the files in /var/lib/apt/lists/ have become
corrupt".  Good luck figuring out which one is true when the information
needed to determine that is all kept from you.)



Re: Internal error: couldn't generate list of packages to download

2020-09-25 Thread Stephen P. Molnar




On 09/25/2020 08:49 AM, Dan Ritter wrote:

Stephen P. Molnar wrote:

I am running up-to-date Buster, unfortunately there seems to be a bit of a
problem.

Normally I run the update process several times a week with the command sudo
apr update && sudo apt upgrade. This morning this resulted in the error

The following partially installed packages will be configured:
   brscan4
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
E: Can't find a source to download version '0.4.8-1' of 'brscan4:amd64'
After unpacking 0 B will be used.
E: Can't find a source to download version '0.4.8-1' of 'brscan4:amd64'
E: Internal error: couldn't generate list of packages to download
E: Perhaps the package lists are out of date, please try 'aptitude update'
(or equivalent); otherwise some packages or versions are not available from
the current repository sources

I reinstalled the Brother printer drivers, apparently barscan4 was not
included. I contgaced Brother tech support, but was told that they did not
support Linux.

I tried:

sudo mv /var/lib/apt/lists /var/lib/apt/lists.old
sudo apt-get clean
sudo apt-get update

This resulted in a long list of get: (ellipses)followed by my user
prompt. Unfortunately, update generated the same errors.

At this point I don't have the faintest idea as to how to proceed. Pointers
towards a solution to the problem will be much appreciated.

apt-get update   fetches package lists
apt-get upgrade  fetches and install packages

In this case, I think you have a problem with update, which
leads to the problem with upgrade.

Check your /etc/apt/sources.list and entries in
/etc/apt/sources.list.d/

Something probably is not responding. There are mirrors for most
repos, so pick different mirrors, or use
http://deb.debian.org/debian/

-dsr-



Many thanks for the quick response.

Here is my edited sources.list:

 deb cdrom:[Debian GNU/Linux 10.1.0 _Buster_ - Official amd64 DVD 
Binary-1 20190908-01:09]/ buster contrib main


# deb cdrom:[Debian GNU/Linux 10.1.0 _Buster_ - Official amd64 DVD 
Binary-1 20190908-01:09]/ buster contrib main


deb http://deb.debian.org/debian/ buster main non-free contrib
deb-src http://deb.debian.org/debian/ buster main non-free contrib

deb http://security.debian.org/debian-security/ buster/updates main 
contrib non-free
deb-src http://security.debian.org/debian-security/ buster/updates main 
contrib non-free


# buster-updates, previously known as 'volatile'
deb http://deb.debian.org/debian/ buster-updates main contrib non-free
deb-src http://deb.debian.org/debian/ buster-updates non-free contrib main

Unfortunately, I got the same error list.

--
Stephen P. Molnar, Ph.D.
www.molecular-modeling.net
614.312.7528 (c)
Skype:  smolnar1



Re: crc not installed but rsync using it? ...

2020-09-25 Thread Gene Heskett
On Friday 25 September 2020 07:54:54 Albretch Mueller wrote:

> On 9/25/20, Greg Wooledge  wrote:
> > On Thu, Sep 24, 2020 at 05:58:49PM -0500, David Wright wrote:
> >> On Thu 24 Sep 2020 at 17:50:16 (+0200), Albretch Mueller wrote:
> >> > >> How do I get all packages to be locally installed using dpkg
> >> > >> from a public Windows machine?
> >> >
> >> > Why do you think you need to do this? What do you hope to achieve
> >> > by doing this?
> >>
> >> Perhaps the answer might be hinted at in postings like:
> >> https://lists.debian.org/debian-user/2019/10/msg00449.html
> >> https://lists.debian.org/debian-user/2020/08/msg00352.html
>
>  Yes, I am the one who posted both messages and, as I said, in my kind
> of reality I can't "simply" connect my work computer to the Internet
> and "just" go: apt-get ...
>
Your paranoia is excessive. I have 5 machines online ATM, but they are 
all on a local network in the 1902.168.xx.xx block, which is NOT 
routable from the internet but are NAT'd to my net address by having 
such a setup in a router running dd-wrt. In nearly 2 decades, no one has 
come into my systems from the internet that I didn't give the 
credentials to do so. dns is handled by host files locally, but a name 
that is unk to the host files is sent to the router where the resolution 
is done by my ISP's dns servers. Each of those machines has a cron job 
that updates software availability of updates on a daily basis, and thet 
can indeed sudo apt-get update|list --upgradable|upgrade.  Each can also 
run a browser and download an appimage, dpkg, tarball or whatever from 
any site on the net serving it.

Your inability to look at "security" in light of what is available to 
keep you secure, on a 24/7/365 basis by spending maybe $70 US on a 
router capable of being reflashed to run something like dd-wrt (theres 3 
or so others that can also do this) to serve as your guard dog, is a 
poor excuse indeed.

I even serve up my web pages such as they are, from this machine, but my 
connection is cheap and slow, so I do run a second copy of iptables on 
this machine which currently has 102 bot addresses blocked. It seems 
they want to mirror my site which uses up my upload bandwidth, 
constituting a DDOS.

I don't mind their indexing it, so the search engines can serve the 
results, but the minute I see them downloading everything they can 
touch, they get added to iptables and dropped.  Those blocked addy's 
are, because they are moved around to get around such blocking about 
weekly, are blocked on a /24, or for the bigger offenders, a /16 basis.  
That also blocks their paying subscribers too, but I officially don't 
care that they choose to use an ISP that also abuses the net residents  
like that.  Is it a war?  Sure it is, but computers never sleep, they 
can stand guard while you are sleeping. They don't need a vacation or 
time off duty.  Use them for what they are good at.
 
>  I never connect my work computer to the Internet. That is why I
> always install packages locally via dpkg, which is an option debian
> users have, no? I see a lot of people asking the same kinds of
> questiions I ask, so it seems as Lenon sang that "I am not the only
> one"

No you are not the only one, but you are a minority that does not always 
want to understand how to use the internet and be safe at the same time. 
It can be done, I'm doing it.  And I've been doing it since the later 
90's.

>  L
Like Greg,  I've said it, and done.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: crc not installed but rsync using it? ...

2020-09-25 Thread Dan Ritter
Albretch Mueller wrote: 
> On 9/24/20, Sven Hartge  wrote:
> 
> > Why do you think you need to do this? What do you hope to achieve by
> > doing this?
> 
>  I have losts of (not necessarily all) text files (say in the 10 of
> thousands) in various directories which I need to process in a batch,
> but before I do that I want to make sure that I get a baseline of the
> source files. I use:
> 
>  a)  crc
>  b)  md5sum
>  c) sha###sum
> 
>  because those are three different checksum utilities based on
> different algorithms which work fast enough and offer a set signatures
> which are good enough.
> 
>  My thinking may (once again) be a bit unhinged, but I would use,
> e.g., crc because it internatlly used by rsync, which I also use in my
> code.
> 
>  So, how do you think I can improve my baselining of the source files?

If you want to defend against on-disk corruption, use ZFS.

If you want to be alerted to every change to a set of files, use
tripwire or aide. Both are packaged for Debian.

If you want to make sure that a directory full of files doesn't
change during processing, remove your write privileges for that
directory. "sudo chmod a-w DIRECTORY" will do that.

If you want to make sure of the previous case but you are going
to run a process that runs as root and you aren't sure it won't
assign itself write privileges, "sudo chattr +i DIRECTORY" will
make it immutable.

Don't reinvent the wheel.

-dsr-



Re: Internal error: couldn't generate list of packages to download

2020-09-25 Thread Dan Ritter
Stephen P. Molnar wrote: 
> I am running up-to-date Buster, unfortunately there seems to be a bit of a
> problem.
> 
> Normally I run the update process several times a week with the command sudo
> apr update && sudo apt upgrade. This morning this resulted in the error
> 
> The following partially installed packages will be configured:
>   brscan4
> No packages will be installed, upgraded, or removed.
> 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> E: Can't find a source to download version '0.4.8-1' of 'brscan4:amd64'
> After unpacking 0 B will be used.
> E: Can't find a source to download version '0.4.8-1' of 'brscan4:amd64'
> E: Internal error: couldn't generate list of packages to download
> E: Perhaps the package lists are out of date, please try 'aptitude update'
> (or equivalent); otherwise some packages or versions are not available from
> the current repository sources
> 
> I reinstalled the Brother printer drivers, apparently barscan4 was not
> included. I contgaced Brother tech support, but was told that they did not
> support Linux.
> 
> I tried:
> 
> sudo mv /var/lib/apt/lists /var/lib/apt/lists.old
> sudo apt-get clean
> sudo apt-get update
> 
> This resulted in a long list of get: (ellipses)followed by my user
> prompt. Unfortunately, update generated the same errors.
> 
> At this point I don't have the faintest idea as to how to proceed. Pointers
> towards a solution to the problem will be much appreciated.

apt-get update   fetches package lists
apt-get upgrade  fetches and install packages

In this case, I think you have a problem with update, which
leads to the problem with upgrade.

Check your /etc/apt/sources.list and entries in
/etc/apt/sources.list.d/

Something probably is not responding. There are mirrors for most
repos, so pick different mirrors, or use 
http://deb.debian.org/debian/

-dsr-



Re: Deterministic delays in POSIX shell scripts (Was: Re: notify via virtual terminal available packages)

2020-09-25 Thread Andy Smith
Hello,

On Fri, Sep 25, 2020 at 07:49:19AM -0400, Greg Wooledge wrote:
> On Fri, Sep 25, 2020 at 07:44:25AM +, Andy Smith wrote:
> > "hostid" tends to return a hexadecimal representation of the first
> > IPv4 address (but isn't guaranteed to).
> 
> unicorn:~$ hostid
> 007f0101
> 
> Doesn't look very useful.  That's just 127.0.1.1 in a 16-bit little
> endian format.

Oh, none of mine do that, it seems to pick the other IP address for
me. But if it's a problem there are other sources of "machine" ID as
I mentioned. There's some more here:

http://0pointer.de/blog/projects/ids.html

> You know what else works really well?  Just putting a different start
> time in each system's crontab.

If that works for you, great, but I have quite a few machines, VMs
and containers provisioned identically and would rather not have to
change the scripts or configuration on a per-host basis.

Cheers,
Andy

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



Re: crc not installed but rsync using it? ...

2020-09-25 Thread Albretch Mueller
On 9/25/20, Greg Wooledge  wrote:
> On Thu, Sep 24, 2020 at 05:58:49PM -0500, David Wright wrote:
>> On Thu 24 Sep 2020 at 17:50:16 (+0200), Albretch Mueller wrote:
>> > >> How do I get all packages to be locally installed using dpkg from a
>> > >> public Windows machine?
>
>> > Why do you think you need to do this? What do you hope to achieve by
>> > doing this?
>>
>> Perhaps the answer might be hinted at in postings like:
>> https://lists.debian.org/debian-user/2019/10/msg00449.html
>> https://lists.debian.org/debian-user/2020/08/msg00352.html

 Yes, I am the one who posted both messages and, as I said, in my kind
of reality I can't "simply" connect my work computer to the Internet
and "just" go: apt-get ...

 I never connect my work computer to the Internet. That is why I
always install packages locally via dpkg, which is an option debian
users have, no? I see a lot of people asking the same kinds of
questiions I ask, so it seems as Lenon sang that "I am not the only
one"

 L



Re: Mail transfer agent (debian-user-digest Digest V2020 #932)

2020-09-25 Thread Reco
Hi.

On Fri, Sep 25, 2020 at 01:26:54PM +0300, Andrei POPESCU wrote:
> Not necessarily, just very common. However, suddenlink seems to require 
> the full e-mail address as well.
> 
> https://help.suddenlink.com/knowledge/microsoft-outlook-set-your-suddenlink-email
>  
> > I don't think suddenlink.net accepts mail; smtp.suddenlink.net does.
> > 
> > I omit the port number 587 as it's the default.
> 
> Can't find any mention of this in neomuttrc(5), care to provide a 
> source?

There won't be any, because in both mutt and neomutt tcp:25 is the
default for smtp.
Specifically, smtp_fill_account() at smtp.c shows this:

  if (!account->port)
  {
if (account->flags & MUTT_ACCT_SSL)
  account->port = SMTPS_PORT;
else
{
  static unsigned short SmtpPort = 0;
  if (!SmtpPort)
  {
struct servent *service = getservbyname("smtp", "tcp");
if (service)
  SmtpPort = ntohs(service->s_port);
else
  SmtpPort = SMTP_PORT;
mutt_debug(3, "Using default SMTP port %d\n", SmtpPort);
  }
  account->port = SmtpPort;
}
  }

And getservbyname(3) will return port 25 for smtp, because it's the port
designated for smtp in /etc/services.
Of course, they *could* use "submission" (which is tcp:587) at that code
instead of "smtp", but they did not.

Reco



Re: Deterministic delays in POSIX shell scripts (Was: Re: notify via virtual terminal available packages)

2020-09-25 Thread Greg Wooledge
On Fri, Sep 25, 2020 at 07:44:25AM +, Andy Smith wrote:
> "hostid" tends to return a hexadecimal representation of the first
> IPv4 address (but isn't guaranteed to).

unicorn:~$ hostid
007f0101

Doesn't look very useful.  That's just 127.0.1.1 in a 16-bit little
endian format.

> On a systemd system one
> could instead use /etc/machine-id. On Linux there is also
> /proc/sys/kernel/random/boot_id (but needs dashes removed).
> 
> Systemd timers can do this sort of thing themselves, so no need
> there for this sort of scripting.

You know what else works really well?  Just putting a different start
time in each system's crontab.



Re: crc not installed but rsync using it? ...

2020-09-25 Thread Albretch Mueller
On 9/24/20, Sven Hartge  wrote:

> Why do you think you need to do this? What do you hope to achieve by
> doing this?

 I have losts of (not necessarily all) text files (say in the 10 of
thousands) in various directories which I need to process in a batch,
but before I do that I want to make sure that I get a baseline of the
source files. I use:

 a)  crc
 b)  md5sum
 c) sha###sum

 because those are three different checksum utilities based on
different algorithms which work fast enough and offer a set signatures
which are good enough.

 My thinking may (once again) be a bit unhinged, but I would use,
e.g., crc because it internatlly used by rsync, which I also use in my
code.

 So, how do you think I can improve my baselining of the source files?

 L



Internal error: couldn't generate list of packages to download

2020-09-25 Thread Stephen P. Molnar
I am running up-to-date Buster, unfortunately there seems to be a bit of 
a problem.


Normally I run the update process several times a week with the command 
sudo apr update && sudo apt upgrade. This morning this resulted in the 
error


The following partially installed packages will be configured:
  brscan4
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
E: Can't find a source to download version '0.4.8-1' of 'brscan4:amd64'
After unpacking 0 B will be used.
E: Can't find a source to download version '0.4.8-1' of 'brscan4:amd64'
E: Internal error: couldn't generate list of packages to download
E: Perhaps the package lists are out of date, please try 'aptitude 
update' (or equivalent); otherwise some packages or versions are not 
available from the current repository sources


I reinstalled the Brother printer drivers, apparently barscan4 was not 
included. I contgaced Brother tech support, but was told that they did 
not support Linux.


I tried:

sudo mv /var/lib/apt/lists /var/lib/apt/lists.old
sudo apt-get clean
sudo apt-get update

This resulted in a long list of get: (ellipses)followed by my user 
prompt. Unfortunately, update generated the same errors.


At this point I don't have the faintest idea as to how to proceed. 
Pointers towards a solution to the problem will be much appreciated.


Thanks in advance.

--
Stephen P. Molnar, Ph.D.
www.molecular-modeling.net
614.312.7528 (c)
Skype:  smolnar1



Re: crc not installed but rsync using it? ...

2020-09-25 Thread Greg Wooledge
On Thu, Sep 24, 2020 at 05:58:49PM -0500, David Wright wrote:
> On Thu 24 Sep 2020 at 17:50:16 (+0200), Albretch Mueller wrote:
> > >> How do I get all packages to be locally installed using dpkg from a
> > >> public Windows machine?

> > Why do you think you need to do this? What do you hope to achieve by
> > doing this?
> 
> Perhaps the answer might be hinted at in postings like:
> https://lists.debian.org/debian-user/2019/10/msg00449.html
> https://lists.debian.org/debian-user/2020/08/msg00352.html

... oh, he's one of THOSE.

I'm done.



Re: Mail transfer agent (debian-user-digest Digest V2020 #932)

2020-09-25 Thread Andrei POPESCU
On Vi, 25 sep 20, 00:38:25, David Wright wrote:
> On Fri 25 Sep 2020 at 03:40:16 (+), mike.junk...@att.net wrote:
> 
> > Trying to get mutt to send mail I've got this in .muttrc:
> > 
> > set smtp_pass="myPasswd"
> > # set smtp_url="smtp[s]://[user[:pass]@]host[:port]"
> > # set smtp_url="smtp://mikemcclain46:mypas...@suddenlink.net:587"
> > set smtp_url="smtp://mikemcclain46:mypas...@suddenlink.net:587/"
> 
> I don't know the effect of specifying your password in both places.
> (I believe the idea behind smtp_pass is so that it can be placed in
> a separate, protected file.)
> 
> I would expect the loginname (user above) to include a domain,
> ie it's usually an email address. (Mine always have been.)

Not necessarily, just very common. However, suddenlink seems to require 
the full e-mail address as well.

https://help.suddenlink.com/knowledge/microsoft-outlook-set-your-suddenlink-email
 
> I don't think suddenlink.net accepts mail; smtp.suddenlink.net does.
> 
> I omit the port number 587 as it's the default.

Can't find any mention of this in neomuttrc(5), care to provide a 
source?

> So I would have either:
> 
> set smtp_pass="myPasswd"
> set smtp_url="smtp://mikemcclai...@suddenlink.net@smtp.suddenlink.net/"
> 
> or:
> 
> set 
> smtp_url="smtp://mikemcclai...@suddenlink.net:mypas...@smtp.suddenlink.net/"

The trailing '/' is not needed ;)

> > # set smtp_url="smtp://mikemcclain46:mypas...@suddenlink.net:465/"
> > # set smtp_url="smtp://mikemcclain46:mypas...@suddenlink.net:465"
> > #smtp.suddenlink.net::587
> > #smtp_url="smtp://loginn...@smtp.server.net:587/"
> > set smtp_authenticators="plain"

The default behaviour when not setting $smtp_authenticators at all works 
just fine to me with Gmail and GMX.

> > /etc/mailname says this:
> > mikemcclain...@suddenlink.net
> 
> /etc/mailname should only contain a domainname, not an address.
> Mine has just axis.corp in it, as I send mail from this machine.

As far as I can tell mutt's SMTP support should work just fine without 
setting any domain in /etc/mailname as it's used only for setting the 
domain on local email and Message-Id headers.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Returning to /var/log/boot.log and Greg Wooledge`s reply

2020-09-25 Thread anthony gennard
My email has gone haywire and I cannot reply to two of the messages.
Fortunately, I had made copies of them.
Greg Wooledge said to me
>"How are you `looking at ` the file?
>I would suggest using less.

>You get out of less by pressing p

Greg, I was using less.
What I did was:- Open  a terminal by ctrl + alt + F1
`cd  /var/log` then `ls` and I could see boot.log amongst the list of files
then I did `sudo less boot.log` and got the list of start ups.
At this point I was stuck and asked the list for help.
I was such a fool because I did not look up the man page for less.
I went through the process and pressed p and low and behold and was back to
the `root@??? /var/log`.
Thank you.
Now I have to try and print a copy of the first 100 or so lines which
will give me the last boot up details.


Re: Returning to /var/log/boot.log

2020-09-25 Thread anthony gennard
On Fri, 25 Sep 2020 at 10:40, anthony gennard  wrote:

>
>
>
> On Thu, 24 Sep 2020 at 10:11, anthony gennard  wrote:
>
>> Thanks very much; it will take me some time to understand your advice. I
>> will revert as soon as I can.
>>
>> On Thu, 24 Sep 2020 at 15:03, Hans  wrote:
>>
>>> Am Donnerstag, 24. September 2020, 15:45:47 CEST schrieb Greg Wooledge:
>>> I believe, the op wants to look it as easy as possible. So I suggest
>>> kwrite
>>> (if he has plasma5 aka KDE installed).
>>>
>>> You must got the correct rights. Either you start plasma as root, then
>>> you can
>>> just start kwrite and open the log file. or, ifr you start plasma as
>>> normal
>>> user, do this:
>>>
>>>
>>> Start a konsole (like xterm, konsole, uxterm)
>>>
>>> then type in "su -p" (without quotes) and enter the password of root.
>>>
>>> and last start "kwrite" in this konsole
>>>
>>> Now you can open your logfile.
>>>
>>> If you are using another window-manager like GNOME, LXDE, Enligtenment
>>> whatever, it might got another graphical editor.
>>>
>>> Note: Every graphical application can be started with higher rights from
>>> the
>>> konsole (or terminal, how others may call it), by getting higher rights
>>> with
>>> su -p.  (the -p stands for "preserve actual environment).
>>>
>>> Good luck
>>>
>>> Hans
>>>
>>>
>>>
>>> > On Thu, Sep 24, 2020 at 09:59:57AM +0100, anthony gennard wrote:
>>> > > I am looking at the contents of my boot log file; when trying to get
>>> out
>>> > > of
>>> > > the very long file I thought Ctrl + c should do it - it does not and
>>> I
>>> > > cannot
>>> > > find any way. I wanted to try tail and head so see how they do. Can
>>> anyone
>>> > > please help me.
>>> >
>>> > How are you "looking at" the file?  I would suggest using less.
>>> >
>>> > You get out of less by pressing q.
>>>
>>>
>>>
>>>
>>>


Re: Returning to /var/log/boot.log

2020-09-25 Thread anthony gennard
On Thu, 24 Sep 2020 at 10:11, anthony gennard  wrote:

> Thanks very much; it will take me some time to understand your advice. I
> will revert as soon as I can.
>
> On Thu, 24 Sep 2020 at 15:03, Hans  wrote:
>
>> Am Donnerstag, 24. September 2020, 15:45:47 CEST schrieb Greg Wooledge:
>> I believe, the op wants to look it as easy as possible. So I suggest
>> kwrite
>> (if he has plasma5 aka KDE installed).
>>
>> You must got the correct rights. Either you start plasma as root, then
>> you can
>> just start kwrite and open the log file. or, ifr you start plasma as
>> normal
>> user, do this:
>>
>>
>> Start a konsole (like xterm, konsole, uxterm)
>>
>> then type in "su -p" (without quotes) and enter the password of root.
>>
>> and last start "kwrite" in this konsole
>>
>> Now you can open your logfile.
>>
>> If you are using another window-manager like GNOME, LXDE, Enligtenment
>> whatever, it might got another graphical editor.
>>
>> Note: Every graphical application can be started with higher rights from
>> the
>> konsole (or terminal, how others may call it), by getting higher rights
>> with
>> su -p.  (the -p stands for "preserve actual environment).
>>
>> Good luck
>>
>> Hans
>>
>>
>>
>> > On Thu, Sep 24, 2020 at 09:59:57AM +0100, anthony gennard wrote:
>> > > I am looking at the contents of my boot log file; when trying to get
>> out
>> > > of
>> > > the very long file I thought Ctrl + c should do it - it does not and I
>> > > cannot
>> > > find any way. I wanted to try tail and head so see how they do. Can
>> anyone
>> > > please help me.
>> >
>> > How are you "looking at" the file?  I would suggest using less.
>> >
>> > You get out of less by pressing q.
>>
>>
>>
>>
>>


Re: Mail transfer agent

2020-09-25 Thread mick crane

On 2020-09-25 08:56, Joe wrote:


If you haven't done anything yourself, it will be exim4-light.


thanks

--
Key ID4BFEBB31



Re: crc not installed but rsync using it? ...

2020-09-25 Thread Jonathan Dowland

On Thu, Sep 24, 2020 at 05:58:49PM -0500, David Wright wrote:

I can't believe the answer is as simple as visiting
https://packages.debian.org/index
and downloading the packages you want (in binary mode).


Plus (possibly several) iterations of downloading the dependencies,
and their dependencies, etc., cross-referencing against your installed
package list (if you have it) to trim down the list.


--
Please do not CC me, I am subscribed to the list.

  Jonathan Dowland
✎j...@debian.org
   https://jmtd.net



Re: Problème passage jessie vers stretch

2020-09-25 Thread jpdistinguin
Trouvé la solution:

Dans propriété du .jar--> ouvrir avec et cocher java runtime

Bonne journée

Jean-Pierre Distinguin


- Mail original -
De: jpdisting...@free.fr
À: debian-user-french@lists.debian.org
Envoyé: Vendredi 25 Septembre 2020 10:26:13
Objet: Problème passage jessie vers stretch

Bonjour,

Lorsque je double clique sur mes programmes .jar , au lieu d'ouvrir celui ci, 
il ouvre le dossier du programme.
Que faire?

Merci et bonne journée

Jean-Pierre Distinguin




Problème passage jessie vers stretch

2020-09-25 Thread jpdistinguin
Bonjour,

Lorsque je double clique sur mes programmes .jar , au lieu d'ouvrir celui ci, 
il ouvre le dossier du programme.
Que faire?

Merci et bonne journée

Jean-Pierre Distinguin




Re: Mail transfer agent

2020-09-25 Thread Joe
On Thu, 24 Sep 2020 22:29:32 +0100
mick crane  wrote:

> On 2020-09-24 18:19, Brian wrote:
> > On Thu 24 Sep 2020 at 13:35:17 +, mike.junk...@att.net wrote:
> >   
> >> 
> >> On Wednesday, September 23, 2020, 09:14:42 PM CDT, Dan Ritter 
> >>  wrote:
> >>  mutt is an MUA, not an MTA. 
> >> 
> >> What tasks do you want your mail server to perform? Please be
> >> specific. We will have better advice for you once we know
> >> exactly what you want to have happen.
> >> -dsr-
> >> Thanks, Dan,All I need from an MTA is:1) take mail from fetchmail
> >> and put it in a mailbox for mutt to display,2) take mail from mutt
> >> and send it to my ISP via smtp3) take messages from the system,
> >> eg: cron and deliver them to that same mailbox4) take a simple
> >> message on the CL such as:    echo 'blah' | mail -s 'oops'
> >> no...@example.com
> >> 
> >> I've been using exim for years and it works well but is overkill
> >> for my needs.  
> > 
> > I too have been using exim for years in a similar way to the way you
> > describe. It does the job very well and I just let it get on with
> > it. I don't really understand what you mean by "overkill" and think
> > you are fussing over nothing.  
> 
> I know how I get mail.
> I've been using roundcube for a few years. I know I put in the SMTP 
> server, account and password for being allowed in the configuration
> but I actually have no idea what is used for the sending. I probably
> should.
> 

If you haven't done anything yourself, it will be exim4-light. If it's
not taking raw mail straight from the Net, it doesn't need much in the
way of care and feeding. 

Mine is quite aggressively anti-spam, and it only gets a few minor
tweaks a year. I can't remember when I last modified its main
configuration file.

-- 
Joe



Deterministic delays in POSIX shell scripts (Was: Re: notify via virtual terminal available packages)

2020-09-25 Thread Andy Smith
Hello,

On Thu, Sep 24, 2020 at 08:49:07AM -0600, Charles Curley wrote:
> On Thu, 24 Sep 2020 10:38:55 -0400
> Greg Wooledge  wrote:
> > So you're just doing "sleep 1" every time.
> 
> Ah, thank you. Yup. Which is weird, because it worked when I first
> wrote that many years ago.

In cron scripts where I want a "random" delay, I actually tend to
not really want it to be random, but just different for that host as
opposed to other hosts, otherwise deterministic. I like it if the
delay is the same every time on that host as long as it is a
different delay on different hosts.

So what I tend to do is something like:

sleep $(( $(printf %d "0x$(hostid)") % 60 ))m; /some/command

which will sleep for some amount of time between 0 and 59 minutes,
the same amount every time, but different on different hosts.

(Obviously change the "60" and the "m" to different values for
different things, like you might want "1440" and "m" for minutes in
a day.)

Note that in a file parsed by cron you do need to escape both the
'%' (like '\%').

The printf is needed to turn the hexadecimal value from the "hostid"
command into a decimal number. Is there a way to do that with pure
shell internals that isn't very verbose?

"hostid" tends to return a hexadecimal representation of the first
IPv4 address (but isn't guaranteed to). On a systemd system one
could instead use /etc/machine-id. On Linux there is also
/proc/sys/kernel/random/boot_id (but needs dashes removed).

Systemd timers can do this sort of thing themselves, so no need
there for this sort of scripting.

> But I will move toward more use of unattended-upgrades, which
> handles the original problem differently.

Yup, I use apticron and unattended-upgrades for solving these
problems these days.

Cheers,
Andy

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

Please consider the environment before reading this e-mail.
 — John Levine



Re: Regarding your case number 10724899 [ ref:_00D00hhzl._5004V11emZL:ref ]

2020-09-25 Thread john doe

On 9/25/2020 7:46 AM, David Christensen wrote:

On 2020-09-24 15:43, discsupp...@seagate.com wrote:

Thank you for getting back to us with that information. My name is
Angelo. I am very sorry that the steps provided to you in the last
email did not work. I would like to assure you that we will continue
to do our best to find a resolution that works for you
You will need a Windows computer to burn the SeaTools boot image to a
flash drive OR any Linux computer that supports burning ISO files to a
flash drive, therefore regardless of the operating system you will
need to burn the ISO file to a drive flash and start the computer from
there to run SeaTools Bootable.
https://www.seagate.com/manuals/software/seatools-bootable/support-and-open-source-statement/


Please let us know if the solution above meets all of your support
needs. We look forward to your response.  Have a great week. Remember
we are here to help you and we will be happy to do so from Monday –
Friday
Kind regards,
Angelo
Seagate Support
https://support2.seagate.com/

ref:_00D00hhzl._5004V11emZL:ref



What is the URL for the ISO file for SeaToolsBootable_RC_2.1.2?


What is the URL for the source code for TinyCore Linux and any other GPL
v2 code distributed with SeaToolsBootable_RC_2.1.2?


Sincerely yours,

David Christensen
Tracy, California, USA
dpchr...@holgerdanske.com

cc:    debian-user@lists.debian.org
     freebsd-questi...@freebsd.org
     license-violat...@fsf.org
     antitrust.complai...@usdoj.gov



Please stop polluting this list with your private stuff.

--
John Doe



HS | Gestion parc automobiles

2020-09-25 Thread Pierre L.
Bonjour,

Connaissez-vous un logiciel / interface web / serveur... afin de gérer une 
flotte automobile.
Date d'achat du véhicule, suivi kms, entretiens, ce genre d'infos ;)

Merci pour les tuyaux :)