Re: Debian bookworm: reboot required

2024-02-12 Thread Klaus Singvogel
Hi Andy,

thanks for your helpful response.

Andy Smith wrote:
> On Mon, Feb 12, 2024 at 11:49:18AM +0100, Klaus Singvogel wrote:
> These files are created by the postinst script of individual Debian
> packages. See for example the output of:
> 
> $ grep reboot-required /var/lib/dpkg/info/*

On my Debian Bullseye machine, where I got also a new kernel, I see this:

# grep -l reboot-required /var/lib/dpkg/info/*
/var/lib/dpkg/info/dbus.postinst
/var/lib/dpkg/info/evolution-data-server.postinst
/var/lib/dpkg/info/gnome-shell.postinst

→ no kernel package.

But on this machine the content of reboot-required.pkgs is today (after I got a 
new kernel):

# cat /var/run/reboot-required.pkgs 
linux-image-5.10.0-28-amd64

So I doubt, that the file is only (!) created by /var/lib/dpkg/info/*, as the 
grep lacks of this output: linux-image.postinst

[...]
> None of my kernel-related packages have a postinst that creates
> these files, so I'm not sure that installing a kernel package has
> ever done that.

Agreed.

> I think if you install the unattended-upgrades package it will
> create those files after a kernel upgrade. I do not use that, which
> is why I see nothing cresting those files. Perhaps you have that
> installed elsewhere but not on this machine.

Yes! This was a good pointer. Indeed the unattended-upgrades was installed on 
my Bullseye host, but not on my Bookworm host.

> Are you thinking of update-notifier-common which used to be installed
> by default but was removed entirely in Debian jessie? An approximate
> replacement for this is the package "reboot-notifier".

I'm not searching for kind of notifier, instead I want to lookup the reboot by 
my own (shell) script, like via existance of a file.

I'll install unattended-upgrades now, and will see, if it helps at next kernel 
installation.

Thanks for your help. Great job.

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Debian bookworm: reboot required

2024-02-12 Thread Klaus Singvogel


Hello,

in the past Debian Distributions there were two files in the system, when a 
reboot was necessary:
/run/reboot-required  /run/reboot-required.pkgs

I installed today a new kernel under Debian Bookworm, which requires a reboot, 
but this system lacks of both files. They aren't present.

How can I find out, if there is a system reboot necessary, in a similar way, as 
it was possible in the past?

Thanks in advance.

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Copy from Firefox and paste into Terminal with Vim

2024-02-06 Thread Klaus Singvogel
David Christensen wrote:
> On 2/5/24 21:45, to...@tuxteam.de wrote:
> > Try ":set mouse=" and see whether it helps. Perhaps it's that.

That's the way. That's the fix for the root cause.

> I am unable to correlate that Vim setting change to the Vim paste problems.

But it's vim, which is changing the way how Copy is handled for its input.

Best regards,
    Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: I've an editable .pdf form I need to fill out

2024-01-21 Thread Klaus Singvogel
John Hasler wrote:
> Klaus writes:
> > Did you notice, that I was talking about the reduced, crippled OpenSource
> > browser: chromium
> 
> In what way is it crippled?

Properietary parts are missing, which require a fee to ship, like Widevine.

In the past I couldn't watch Video on Demand with chromium, whereas chrome was 
capable. Currently I don't watch any more, can't say much about current 
situation.

Regards,
    Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: I've an editable .pdf form I need to fill out

2024-01-21 Thread Klaus Singvogel
Bret Busby wrote:
> On 21/1/24 18:36, Bret Busby wrote:
> > On 21/1/24 18:16, Klaus Singvogel wrote:
> > > 
> > > If the PDF is editable (has the option to fill out the blanks), I
> > > use often chromium.
> > > 
[...]
> > My understanding of the nature of chromium, is that it retrieves all the
> > data that is input to chromium, and onsells it.
> > 
> > chroming is dangerous.

> https://www.abc.net.au/news/2024-01-18/chrome-incognito-mode-privacy-warning-change/103361328

Did you notice, that I was talking about the reduced, crippled OpenSource 
browser: chromium, which is based on chrome. But I was not talking about the 
chrome itself.

AFAIK are these Google related parts removed in chromium; at least they were 
several years ago.

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: I've an editable .pdf form I need to fill out

2024-01-21 Thread Klaus Singvogel
gene heskett wrote:
> I'm trying to get our states Attorney General to exert some influence over a
> cell phone bill I don't owe. The AG has sent me a form letter PDF with fill
> in the blanks for all the info.

If the PDF is editable (has the option to fill out the blanks), I use often 
chromium.

> Do we have an editor in our arsenal that can do that to a pdf?

I bought Master PDF Editor, but even the commercial Qoppa looks quiet 
interesting.

My experience is, I can use MasterPDF Editor on two machines (i.e. Desktop and 
Laptop), which is a requirement for me. Some times I need to reinstall the 
Debian Packages again, because it "forgets" its license or has issues with Qt5 
- so I kept the original Debian Packages, as I didn't want to buy it again. I'm 
using Master PDF Editor on Debian now over various Debian versions, and over 
various machines since several years. Not renewing the lincese means only that 
I'm kept away from the latest features, but not from the original progam.

Best regards,
    Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: openssh: missing kex_exchange_identification ssh error messages with 1:9.5p1-2?

2023-12-14 Thread Klaus Singvogel
Vincent Lefevre wrote:
> I have the latest version!!! I recall that this is a Debian/unstable
> machine, which I upgrade regularly. So, everytime I get such an error,
> I have the latest client.
> 
> Note also that this is an error that occurs randomly.

Then I'm sorry, that I can't help you more on this topic.
The given information is not enough to debug, and I'd never seen any other 
connection failure cases.

My advice is, even it's annoying to see a lot of verbose output on your 
terminal, that you can use options "-vvv" in your ssh call, like: ssh -vvv 
user@host date

As you have as well good as bad connections, try to compare that output from 
both types of ssh connections.

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: openssh: missing kex_exchange_identification ssh error messages with 1:9.5p1-2?

2023-12-14 Thread Klaus Singvogel
Vincent Lefevre wrote:
> Since 2 years (from early 2022 to 2023-11-26), I've got recurrent
> errors like
> 
> kex_exchange_identification: read: Connection reset by peer
> Connection reset by x.x.x.x port 22

This sounds most likely that your SSH client (program at your local machine) 
has an outdated SSH implementation. Try to update this program first.

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Kernel Update: missing /run/reboot-required.pkgs

2023-12-14 Thread Klaus Singvogel
Hi,

I update my packages on Debian Bookworm, and one of them was the Linux kernel: 
6.1.0-15 --> 6.1.66-1

I see that file /run/reboot-required exists, but I miss file 
/run/reboot-required.pkgs

Has Debian removed in Bookworm naming the packages, which require a reboot, or 
will the linux-image package never be included in reboot-required.pkgs?

Thanks.

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Recommended simple PDF viewer to replace Evince

2023-12-05 Thread Klaus Singvogel
Tom Browder wrote:
> I would like to use another program which is similar but has good
> documentation. I don't need a heavy duty program like LibreOffice,
> Just something for viewing and printing.

Don't know, if it fits your requirements, but I'm using frequently: chromium

Though chromium is a web browser, it can display PDFs quiet properly and can 
fillout formulars, print PDFs, etc.

For my daily reading I want a lightweight viewer, so I use evince, but for 
filling out formulars I use chromium.

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Password managers

2023-11-13 Thread Klaus Singvogel
Erwan David wrote:
> Note that you may have less dependencies with kpcli (a cli client for
> keepass password files)

I always was peering at kpcli.

Do you have any experience switching between the CLI (kpcli) and the GUI 
(keepassxc) version frequently?

Is this flawless possible to switch from the one to the other and back, or is 
it something which can't easily to be done?

Thanks in advance.

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: CVE-2023-5217 unimportant for firefox?

2023-09-30 Thread Klaus Singvogel
hede wrote:
> Hi, 
> 
> does anyone know why CVE-2023-5217 (critical vp8 encoder bug) is rated as an 
> "open unimportant issue" for firefox-esr? Currently it is not fixed in 
> bookworm and newer [1]. Mozilla itself rates it as "critical" [2].

That's fixed in Debian Bullseye.
If I look into /usr/share/doc/firefox-esr/changelog.Debian.gz, I find this 
entry on top:

-
firefox-esr (115.3.1esr-1~deb11u1) bullseye-security; urgency=medium

  * New upstream release.
  * Fix for mfsa2023-44, also known as CVE-2023-5217.
-

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Letting Windows go: scanning

2023-09-20 Thread Klaus Singvogel
Michael Kjörling wrote:
> On 20 Sep 2023 12:26 -0500, from tom.brow...@gmail.com (Tom Browder):
> > “Laser Jet Pro 400 MFP m425dn”
> 
> openprinting.org doesn't seem to have heard of it, unfortunately:
> 
> https://openprinting.org/printers/manufacturer/HP

Unfortunately you made only the first step and not all.

Looking at
https://openprinting.org/driver/hplip/

will lead you via "Supported Devices"-link to

https://developers.hp.com/hp-linux-imaging-and-printing/supported_devices/index

At HP's website you'll search and find the information that it is Full 
supported.

HP LaserJet 400 MFP m425dn
Min HPLIP Version: 3.12.6
Chrome OS Support: Yes
Driver Plug-in: Yes
Supported Level: Full
Print Model: Mono
Scan PC: Yes

So, install the required hplip packages for Debian (OpenSource) and see that it 
is supported.

Can't tell more about the process, as I possess a different, older HP printer.

Best regards,
    Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Unable to ssh to Debian 9 from 9 or 11

2023-07-16 Thread Klaus Singvogel
Roger Price wrote:
> After the restart, I tried to ssh from Debian 11 to that Debian 9 machine
> 
>  rprice@titan ~ ssh -v rprice@kananga
>  ssh: connect to host kananga port 22: Connection timed out
> 
> So it's something else?  Roger

Sorry, but I didn't follow the whole thread complete. Maybe parts of this were 
already asked...

• Can you check on the host kananga, if sshd is running and really listening on 
port 22?

  Can you (as root) on host kanaga, and send us the output:

lsof -P -i -n | grep ssh | grep root | grep LISTEN

  Check especially, if ssh is listening for all hosts (indicated by an asterisk 
'*')?

• Can you check, if there are no Firewall restrictions for Port 22 on host 
kanaga:

  Do as root:

iptables -L -n | grep dpt:22

• Check, if there are no Firewall restrictions regarding the host on host 
kanaga for your host titan:

  Do as root:

for i in `host titan | awk '{print $NF}'` ; do iptables -L -n | grep $i 
; done

• Finally, if you didn't get the answer yet, check on host titan, what ssh is 
really doing, with lots of more verbose messages:

ssh -vvv rprice@kananga date

Thanks.

Best regards,
    Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: No space left on device ...

2023-05-15 Thread Klaus Singvogel
Joe wrote:
> 
> First thing to try is to boot back into Windows and see if there is a
> message about the drive. If so, let Windows 'fix' it. I've had cases
> where the drive was not cleanly unmounted and Linux has mounted it
> read-only. Windows was able to repair it, whatever the problem was.

Oh! Reminds me on the fact, that Fast Boot of Windows locks the disk devices,
and they can't be accessed by any other system on the same computer, even after
Windows shutdown - to avoid disk corruption.

Did you disable the Fast Boot feature in Windows?

https://www.howtogeek.com/243901/the-pros-and-cons-of-windows-10s-fast-startup-mode/

Best regards,
    Klaus.


-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: solution to / full

2023-03-01 Thread Klaus Singvogel
lina wrote:
> Filesystem  Size  Used Avail Use% Mounted on
[...]
> /dev/nvme0n1p2   23G   21G  966M  96% /
> /dev/nvme0n1p3  9.1G  3.2G  5.5G  37% /var
> /dev/nvme0n1p5  1.8G   14M  1.7G   1% /tmp
> /dev/nvme0n1p7  630G  116G  482G  20% /home

[...]
> I have done some purging already.
> :/usr# du -sh *
[...]
> 742M bin
> 8.1G lib
> 3.4G local

Perhaps it might be a solution to
- move your /usr/local to /home  (do as root: mv /usr/local /home)
- create a symlink from /home/local to /usr/local (do as root: ln -s 
/home/local /usr/)

I can't recommend this to do it with /usr/*bin oder with any /usr/*lib* 
directories, as booting might not work anymore, or at least not properply.

I can't say for sure that my solution has no impact on starting services in 
your system, as the risk exists, that starting some services from /usr/local 
might happen before mounting /home at system start.

And as a final word: even this/my suggestion might not work forever, as your / 
partition is really small (btw, your /tmp either). I would suggest to buy and 
install a second 500 Gb disk (don't do that much segmentation on the disk and 
use LVMs) and work on that disk instead. You might use the current disk later 
as backup space, or for a raid-1.

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: locating blocked port

2023-01-31 Thread Klaus Singvogel


Hi,

Haines Brown wrote:
> I have an  application that refuses to start because  its port is 
> blocked. But I have difficulty knowing what port it is
> 
[...]
> 
>   $ strings $(which jabref) | wc -l
> 56

This "56" does NOT mean, jabref is listening on Port 56.
It only means, that the jabref command contains 56 lines of human readable 
characters.

You might want to look out for a config file for jabref to get the port number, 
or read the source code, especially for lines like: listen() or bind().

Sorry, but your way wasn't that helpful to get some clues about the required 
port.

Btw. ports below 1024 are only allowed for system services. Which means they 
require adminstration rights (= you must be root), to get such a port.
I doubt that this is the case here.

Best regards,
    Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: need kino. or a substitute that can work with a sony hi-8 metal720 by handicam.

2023-01-11 Thread Klaus Singvogel
gene heskett wrote:
> Installed all that I *think* about 30 pkgs, dmesg says new device fw1, and
> it exists now in /dev/, but VLC can't open device, see logs but other than
> the plug in report, no connection.

The advice of Jeffrey Walton to change the permission would be my first help 
too.

fw1 indicates to be a FireWire device, so I'm out; never possessed one.

But I stumble about the uncommon naming: usually it's fw0, not fw1.
Do you have a second FireWire device already plugged in, or can the naming 
somehow else be explained (by slot number)?
If not, I would suggest a reboot of the machine, because I assume a jam in the 
kernel then.

But as said, no experience here.

Maybe someone else can step in?

Best regards,
Klaus.


-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: need kino. or a substitute that can work with a sony hi-8 metal 720 by handicam.

2023-01-11 Thread Klaus Singvogel
gene heskett wrote:
> What happened to kino? That was an all in one package, and while kdenlive is
> pretty, it can't capture from the camera...

Thought everyone is using VLC for video stuff.
At least vlc is capable to do so, see screenshot.

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27


Re: Dell Precision 3570 - Debian instead of Ubuntu

2022-11-28 Thread Klaus Singvogel
Hi,

B.M. wrote:
> Since all our other computers are happily running Debian, I'd like to replace
> this Ubuntu by Debian Testing (later Bookworm). I've already decided to run it
> on a single btrfs partition and learn something about subvolumes... I assume
> the machine should work well - but who knows? How would you proceed?
> 
[...]
> b) replace Ubuntu by Debian, fiddling around issues if there are any later
[...]

Yes. This would be my way.

I would replace the include NVMe by larger, similar one, and install Debian 
Bullseye on it.

Because this URL confirms, that Debian Bullseye is working without issues, if 
you can have access to the Linux firmware, like by USB stick.

https://wiki.debian.org/InstallingDebianOn/Dell/Precision%203570%20%28bullseye%29

Therefore I would replace the NVMe by a similar, larger one. Have a look into 
the "Precision 3570 Setup und technische Daten" document, which can be found a 
the Dell website, for all the technical details for the NVMe (table 13 + 14).

https://dl.dell.com/content/manual56242967-precision-3570-setup-und-technische-daten.pdf?language=de-de=true

Then replace it, like it is described in the Precision 3570 Service handbook, 
found again at the Dell website.

https://dl.dell.com/content/manual55813596-precision-3570-servicehandbuch.pdf?language=de-de=true

If you fear, that you will still need the Ubuntu 22.04 LTS, and need the access 
to it, install old NVMe into a NVMe case with an external USB connection.

But, as said above, Debian Bullseye should work without any adaption.

Good luck.

Regards,
    Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: ping

2022-11-13 Thread Klaus Singvogel
pe...@easthope.ca wrote:
> root@joule:/home/root# /bin/ping -c 3  192.168.0.12
> PING 192.168.0.12 (192.168.0.12) 56(84) bytes of data.
> 64 bytes from 192.168.0.12: icmp_seq=1 ttl=64 time=0.079 ms
> 64 bytes from 192.168.0.12: icmp_seq=2 ttl=64 time=0.114 ms
> 64 bytes from 192.168.0.12: icmp_seq=3 ttl=64 time=0.113 ms
> 
> --- 192.168.0.12 ping statistics ---
> 3 packets transmitted, 3 received, 0% packet loss, time 2041ms
> rtt min/avg/max/mdev = 0.079/0.102/0.114/0.016 ms
> root@joule:/home/root# echo $PATH
> /usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:.
> root@joule:/home/root# which ping
> /bin/ping
> root@joule:/home/root# ping -c 3  192.168.0.12
> 
> No response.
> 
> Ideas?

Strange that "which ping" is reporting /bin/ping and not /usr/bin/ping as first 
executable. The strange thing is that /usr/bin/ping is locate before /bin/ping 
in your $PATH and both are the same files in a standard installation (the 
inodes are identical).

So I assume, there is something utterly broken with your system (or your 
report), because of this.

But my hottest solution in your report is an alias.
Having an alias of ping will never be reported by "which" neither. So I can 
imaging you've defined ping as an alias.
And as Greg said, try "type ping" to find this out (and not "which ping").

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: can't unpack an .zx

2022-08-17 Thread Klaus Singvogel
gene heskett wrote:
> 
> gene@coyote:~/PublicB/rock64-next-try$ xz -d --arm --keep
> Armbian_22.05.4_Rock64_jammy_current_5.15.48_xfce_desktop.img.xz
> xz: Armbian_22.05.4_Rock64_jammy_current_5.15.48_xfce_desktop.img:
> Permission denied
> 

The "Permission denied" arises when creating the file, not when reading the 
archive.

Maybe the directory lacks of the required permissions, where you're unpacking.

Maybe you used the wrong user for unpacking?

Best regards,
    Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: No upgrade from 11.3 to 11.4 with apt update/upgrade

2022-08-04 Thread Klaus Singvogel
Johan Kröckel wrote:
> Hi,
> I think I am missing something minor but I don't get it.

Whereas I missed: apt-get dist-upgrade

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Problem with csh

2022-07-02 Thread Klaus Singvogel
Stephen P. Molnar wrote:
> comp@AbNormal:~$ csh
> Bad : modifier in $ '/'.

A colon ":" is a modifier in the tcsh for variables.

For instance:
set f=file.c
echo $f:r
  --> output: file  [note the missing ".c", only root name]
echo $f:e
  --> output: c [note that "file." is missing, only the extension]

So, I assume, you used somewhere a ":/" in the script and "/" is no valid 
modifier.

Maybe you should run the script under a csh [comparable with sh], and not a 
tcsh [comparable with bash]?
csh has no modifiers, but tcsh has.

Regards,
Klaus.


-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Printing the old way

2022-06-14 Thread Klaus Singvogel
pa...@quillandmouse.com wrote:
> Back in the dark days of early Linux, before CUPS, we printed with
> printers all the time. There was an infrastructure for doing this. Does
> anyone remember how that worked? As in, what packages were needed, etc.?

LPRng was the most common printing spooler before CUPS.

Additional you needed printer specific drivers, if you don't have a
PostScript capable printer.

But I cant remember anymore how to setup these things - around 20 years
have passed.

I have doubts that programs like libreoffice, gimp, or PDF readers will
still work without CUPS. But don't know for sure.

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: wtf just happened to my local staging web server

2022-05-05 Thread Klaus Singvogel
Greg Wooledge wrote:
> On Wed, May 04, 2022 at 07:38:35PM +0100, Brian wrote:
> > My young childre read -user. They asked me what "wtf" means. Please,
> > explain, for the benefit of us civilised and acronymn-challenged
> > users, what it stands for.
> 
> Clearly just a really bad typo for "what".

I learned, it is usually an acronym for "well that's funny,"

Sometimes its also "what the freak", "what the failure", "world trade
federation", or "world taekwondo federation".

I think there are more.

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: My printer doesn't work for bullseye's cups

2022-02-24 Thread Klaus Singvogel
Hi Gene,

linuxprinting.org showed me, that your printer Brother MFC-J6920DW is
listed as paperweight only, regarding Open Source drivres.

But a quick search with Google showed me this promising site with Linux
drivers:


https://support.brother.com/g/b/downloadtop.aspx?c=us=en=mfcj6920dw_us_eu_as

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: [OT] Online CPU configuration tool

2022-02-22 Thread Klaus Singvogel
Grzesiek wrote:
> I'm looking for a tool listing CPUs by different criteria like the number of
> cores, number of memory channels clock speed etc. Is there any web page
> capable of that? I tried to google, no luck.

What's wrong with Wikipedia?

grep "model name" /proc/cpuinfo| uniq

and search for the output on wikipedia.org

Regards,
    Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: addendum, Re: One-user system.

2022-02-11 Thread Klaus Singvogel
Greg Wooledge wrote:
> On Thu, Feb 10, 2022 at 06:37:04PM -0800, pe...@easthope.ca wrote:
> > root@joule:~# su peter
> > peter@joule:~$ firefox-esr --display=:0
> > Invalid MIT-MAGIC-COOKIE-1 keyUnable to init server: Could not connect: 
> > Connection refused
> > Error: cannot open display: :0
> > 
> > peter, logged in directly, can run firefox.
> > root, logged in directly, can run firefox.
> > The above is from a security mechanism in firefox?
> 
> No, you simply haven't provided enough credentials to the X server.
> It's the X server who's rejecting connections from "peter", because
> "peter" has not presented the correct MIT-MAGIC-COOKIE (auth token).

A different solution, with less security, especially on multi-user system might 
be:
enable access for a specific user by "xhost".

In your case, do before "su peter", as user root:
xhost +si:localuser:peter

This prevents the X server security mechanism, which Greg explains.

Beaware, it's more dangerous, opening it X this way.

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Printing lots of pages skips a few

2022-02-01 Thread Klaus Singvogel
Pankaj Jangid wrote:
> 
> In my case though, I had verified that the output of find is okay for
> xargs. Then I added | xargs lp.
> 
> But could this be cause of missing page. The output of find is:
> 
> --8<---cut here---start->8---
[...]
> --8<---cut here---end--->8---
> 
> six of them were not printed.

Can you look at the webinterface of CUPS regarding the missing jobs?

http://localhost:631/

-> Printer -> select your default printer (if more) -> finish job (or similar)

Regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: TDE File Manager options

2022-01-20 Thread Klaus Singvogel
Hans wrote:
> Reading these, and I am also very old school, with my first linux 
> installation 
> of SuSE 6.0 in 1986, I am asking myself: What is better, working fast or 
> working with nice tools?

1986 seems to be a bit too early to me, since the first SUSE Linux (1.0)
was released 1994.
S.U.S.E. 6.0 was released Dec '98 and S.U.S.E. 6.1 released in Aug '99.
Maybe that's the year you wanted to tell.

References:
https://en.wikipedia.org/wiki/SUSE_Linux#Versions

My first Linux installation was a Power Linux from LST around 1996;
because I knew founders and team of LST personally.

Best regards,
    Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Disable S3 Wakeup for USB devices

2021-12-14 Thread Klaus Singvogel
Andrei POPESCU wrote:
> 
> Maybe the BIOS / UEFI Firmware has options for this?

The solution was found by "acpitool -w".

Several of the devices were enabled at my host.

By try I figured out which one is my keyboard (XHC1) and which one
my mouse (PTXH).

I disabled it those by:
echo XHC1 > /proc/acpi/wakeup
echo PTXH > /proc/acpi/wakeup

...but "acpitool -W " should also capable.

TY.

Best regards,
    Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Disable S3 Wakeup for USB devices

2021-12-13 Thread Klaus Singvogel


Hello,

my brand new computer (amd64, Bullseye) can be suspended to ACPI Mode S3 by 
"acpitool -s" under Debian.

But whenever the USB mouse is moved (even a jiggle is enough) or the USB 
keyboard a key is hit, the computer wakes up from S3.

In Windows this behaviour can be disabled per device in the system settings:

https://ibb.co/5YhPYBs
https://ibb.co/XzGwmZr

(I'm sorry to offer screenshots only in German)

How can this wakeup behaviour by USB devices be disabled under Debian?

Thanks in advance.

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Late encryption of /home Partition

2021-11-18 Thread Klaus Singvogel
Hi,

thanks for all your help. It's working now as expected.

Fun fact: Had a small issue with the UUIDs, where I added a quote on left
side to a system config file, but none was allowed there. Therefore
(auto-)mounting failed (/dev/disk/by-uuid/\x22...) and it took some time
till the system came up without mounted /home.

For the sake of completeness: data loss was never possible, as it was a
fresh installed machine, which was never used productively.

Thanks again.

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Late encryption of /home Partition

2021-11-18 Thread Klaus Singvogel


Hi,

I installed Debian 11 (bullseye) on a fresh PC.
I created 3 partitions: /, swap, /home.

...and forgot during installation dialog to encrypt the /home partition.

- how can I encrypt the /home partition now?
- In such a way that the password is asked for manual input during every boot?

- does it make sense to use a LVM atop? How?

I usually prefer using shell commands before graphical stuff, but will accept 
GUI tools either.

Thanks in advance.

Best regards,
Klaus Singvogel.



Re: Your Thoughts on Printer Replacement

2021-09-18 Thread Klaus Singvogel
Charles Curley wrote:
> I print rarely. Inkjet or laser? Or other? The carts on the L7700 tend
> to go bad before they empty, 

Rarely printing? I would suggest a laser, even if the price for printouts
is higher.

Brand? The situation current is this, that only HP released their printer
drivers as Open Source (at least 99% of them). This means that you will
get forever support for these printers with OpenSource - at least in
theory. :-) Think: Even after the CUPS has been replaced in Debian or CUPS
is changing it's internal data/communication/API, the source can be
adapted by someone, who can program, even if HP won't.

Also a printer, which is capable of PostScript oder PDF, should be an
invest in future. As PostScript (PS) is still the most supported printer
language at the moment - PDF is/was only a derived language from PS.

On the other side: I own two lasers from HP because of the OpenSource
situation. I'm not so happy with my MFP device (CM415 - comparable with
MFP 227), as the scanner (!) part is cheap and shows this after some time:
a limited number of pages can be scanned by the sheet-fed and then its no
longer working (typical: 1000 pages), the scans are a way too light by b/w
only pages.

Real PostScript laser printers by Kyocera are not cheap, even I had a very
good experience with them under Linux in a former company.

Conclusion:

It's not easy to recommend a good printer model.

I would never recommend to buy a printer, where you don't get OpenSource
drivers. I'm not speaking of Linux drivers, I speak of Open >Source<
drivers.

Best regards,
    Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Debian 11: evince and apparmor flood kernel log

2021-09-17 Thread Klaus Singvogel
Roger Price wrote:
> In Debian 11, evince has an appamor profile which floods the kernel log with
> hundreds of messages of the style:

Not only at Debian 11, even Debian 10 has it.

[...]
>  (evince:2869): GVFS-WARNING **: 22:18:18.510: can't init metadata tree 
> /mnt/home/rprice/.local/share/gvfs-metadata/home: open: Permission denied
[...]
> Is there some way of calming evince+appamor?

The location of your home is uncommon (as on my side).

Fix: edit /etc/apparmor.d/tunables/home.d/site.local

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: bluetooth keyboard

2021-08-09 Thread Klaus Singvogel
Polyna-Maude Racicot-Summerside wrote:
> On 2021-08-08 6:14 p.m., mick crane wrote:
> > I like the little generic bluetooth keyboards but it is annoying that
> > when they go to sleep it takes a few seconds for everything to wake up
> > so you can commence typing.
[...]
> It's also one of the
> reason that make it impossible to use a Bluetooth keyboard to
> communicate with GRUB or another bootloader or simply access the system
> configuration of your PC.

This means, that I can't change nor access my BIOS / UEFI settings by a BT 
keyboard?

Thanks in advance.

Best regards,
    Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Makefile help

2021-07-23 Thread Klaus Singvogel
Grzesiek wrote:
> 
> 1.Recreate the sub-directory structure of the source_dir inside of the
> dest_dir
> 
> 2. Each file found in source_dir should be converted to a new format using
> some command CMD in the following way:
> CMD source_dir//.src dest_dir// name>.dst

It's not common practice to do so, and think you might have missed
something.

But anyway, lookout for function: "mkshadow" in package/tool: shtool
Maybe it's doing what you want.

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: DNS problems on Raspberry Pi 400 (Debian 10.9)

2021-03-31 Thread Klaus Singvogel
Moritz Kempe wrote:
[...]
> I noticed the problem, while i was browsing the internet and got confused
> because after a while some domains could not longer be found/connected to by
> the browser. (On both, Firefox and Chromium)

I had similar issues, when I changed DNS configuration at my DSL router.

I enabled on my DSL router: TLS for DNS, and, parallel, switched to
public, non-censored DNS servers, as suggested by a large German computer
magazine.

Those DNS servers were independent and respect more privacy, compared to
my ISP. But after a while I noticed, that those public DNS servers drop
requests and I saw your error messages at my side too, especially if there
were a lot of name resolutions in a short time period.

Those errors vanished after a while (several minutes) and everything
worked as expected. But then, when resolving again a lot of domain names,
the issues were back. Especially when I download from S3 Amazon, because
the IP address for s3.[...].amazon.com changes every 10 seconds or so.

Don't know, if both are related.

But my suggestion is to look at your DSL router: if you changed the
defaults for DNS, and, if so, switch back to original, default setting for
testing purpose.

Regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Package release number.

2021-03-20 Thread Klaus Singvogel
pe...@easthope.ca wrote:
> How is the "version number" interpreted?
> 
> "1:" ?

epoch

Epochs can help when the upstream version numbering scheme changes, but
they must be used with care. You should not change the epoch, even in
experimental, without getting consensus on debian-devel first.

> "3.1" qemu release number?

upstream version. Indeed the qemu release number.

> "dfsg-8" ?

Quote:
“+dfsg.N” is a conventional way of extending a version string, when the
Debian package's upstream source tarball is actually different from the
source released upstream. This is typically because upstream's source
release contains elements that do not satisfy the Debian Free Software
Guildelines (DFSG) and hence may not be distributed as source in the
Debian system.

> "deb10u8" Debian 10, update 8?

Yes, debian version: Debian 10, update 8

> Additional ideas?

https://www.debian.org/doc/debian-policy/ch-controlfields.html#version
https://readme.phys.ethz.ch/documentation/debian_version_numbers/
https://www.reddit.com/r/debian/comments/66094l/what_is_dfsg_in_package_version_numbers/

Regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: lpoptions

2021-03-02 Thread Klaus Singvogel
Hi,

I think you forgot the printer name (destination).

Best regards,
Klaus.

Pierre Frenkiel wrote:
> hi,
> trying to configure the lpr output, I found that on the linuxquestions site:
> 
>  lpoptions -o page-left=40 -o page-right=20 -o page-top=40 -o page-bottom=10
> 
> but it doesn't work.
> can anybody tell me how to make it to work?
> thanks in advance.
> 
> best regards,
> 
> -- 
> Pierre Frenkiel

-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: rsync --delete

2020-10-16 Thread Klaus Singvogel
Mike McClain wrote:

> A section of the backup script is so:
> Params=(-a --inplace --delete);
[...]

Use instead:
Params=-a --inplace --delete

Regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: /home as a symlink?

2020-10-16 Thread Klaus Singvogel
Jesper Dybdal wrote:
> 
> On 2020-10-16 11:45, Yoann LE BARS wrote:
> > On 2020/10/16 at 11:23 am, Jesper Dybdal wrote:
> > > Can I simply move the files and then make /home a symlink to /disk2/home?
> > You can, but I think a better way is to simply mount the partition as
> > /home.
> Thanks for your response.  That would be the natural way of doing it if I
> were partitioning a new disk.  But I don't want to do that, and the target
> disk also has other data, so /home cannot be a complete partition.

I'm already running my Debian with $HOME set to a different path:
/home.disk2/

All I needed to change was the /etc/passwd entry: to the new, different
location; nearly eveything worked fine since then.

I started with this constellation years ago and never changed the path
afterwards. So I don't have any experience in case of a move.

The only "program" which caused issues in the past was apparmor.
For this, I modified: /etc/apparmor.d/tunables/home.d/site.local
and added: @{HOMEDIRS}+=/home.disk2

For the future, I see with doubts that systemd wants to make the home
directory portable and if this will cause issues for my constelation.

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: gutenprint is a no op here, why?

2020-10-09 Thread Klaus Singvogel
Gene Heskett wrote:
> On Wednesday 07 October 2020 11:43:34 Klaus Singvogel wrote:
> 
> > Gene Heskett wrote:
> > > Stretch, uptodate. amd64
> > >
> > > I have installed all of the gutenprint packages.
> > >
> > > I have a Brother MFC-J6920DW printer, with the Brother drivers
> > > installed.
> >
> > I'm wondering that it works somehow with Gutenprint, as this printer
> > isn't in the list of supported printers of Gutenprint:
> > http://gimp-print.sourceforge.net/p_Supported_Printers.php
> >
> > I think that you installed and use the drivers from Brother, which are
> > not related to the Gutenprint drivers [and are not aware of it].
> >
> > Please, can you cite the line(s) "*cupsFilter: [...]" in your PPD
> > file: /etc/cups/ppd/.ppd
> 
> *cupsFilter: "application/vnd.cups-postscript 0 
> brother_lpdwrapper_mfcj6920dw"

Yes, you're using a Brother driver, which is (to my knowledge) not
capable of the Gutenprint/GIMP printing extensions.

Sorry for bad news.

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: gutenprint is a no op here, why?

2020-10-07 Thread Klaus Singvogel
Gene Heskett wrote:
> Stretch, uptodate. amd64
> 
> I have installed all of the gutenprint packages.
> 
> I have a Brother MFC-J6920DW printer, with the Brother drivers installed. 

I'm wondering that it works somehow with Gutenprint, as this printer isn't
in the list of supported printers of Gutenprint:
http://gimp-print.sourceforge.net/p_Supported_Printers.php

I think that you installed and use the drivers from Brother, which are not
related to the Gutenprint drivers [and are not aware of it].

Please, can you cite the line(s) "*cupsFilter: [...]" in your PPD file:
/etc/cups/ppd/.ppd

Thanks in advance.

Regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Partial Mouse Lockup

2020-10-06 Thread Klaus Singvogel
Thomas George wrote:
> Mouse clicks don't work though mouse moves the pointer.
> 
> This happens infrequently, once in a day or two. I am using two pc's, a
> raspberrypi and a Ubuntu Studio each with its own Logitech usb keyboard and
> have experienced  this problem on both systems.

I noticed this issue either, but only on my PC. The issue was related that
the frequency of my wireless mouse from Logitech interferred with the SATA
cables.

A small adapter, which extends the distance between mouse receiver and USB
port by 5 cm, solved the issue for me. This adapter was enclosed in the
package of my Logitech mouse.

BUT as you experienced this issue either on the Raspi, which doesn't have
a SATA connection, it's very likely, that this is not the right solution
for you.

Obvious thougts:
- tried to connect your mouse via external USB hub at the PC?
- used different USB ports?
- replaced the batteries of your mouse with fresh ones? 

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: "ps -o %mem" and free memory in Linux

2020-09-29 Thread Klaus Singvogel
Victor Sudakov wrote:
> > Perhaps because the php-fpm workers were forked from the same parent
> > and so a lot of theie 'physical' RAM is actually the same RAM as each
> > other, because it's not been modified?
> 
> I see your point, but ps(1) talks about real physical RAM:
> 
> %mem%MEM  ratio of the process's resident set size  to the 
> physical memory on the machine, expressed as a percentage.  (alias pmem).
> 
> If those php-fpm workers share a lot of virtual (?) memory between one
> another, shouldn't `ps` show it as such?

You sum up this:

< php-fpm individual 1><   php-fpm      shared  >
< php-fpm individual 2><   php-fpm      shared  >
...
< php-fpm individual n><   php-fpm      shared  >

You summed up with awk: indivual[1..n] + n * shared

But the real memory sum is:  indivual[1..n] + 1 * shared

Do you see the difference?
 
Regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Security Vulnerabilities with Nginx v1.14.2 and GNOME Evolution

2020-09-15 Thread Klaus Singvogel
Hi Revanth,

Suryadevara, Revanth wrote:
> Hi  Klaus,
> 
> Just needed to re-confirm couple of things here
> 
> 1. I understand that the NGINX version shipped by default is secured and will 
> be updated with patches should there be some security issues. But my question 
> is, Can we expect the latest version of NGINX(i.e. v1.18.x) to be available 
> in Debian 10, soon ? If yes, when ?

As others said, and I explained already: no.

Debian 10's version of a package will never change. No new features, no
loss of features, no new syntax of configurations, no other changes.

> 2.  Please provide some kind of confirmation on CVE-2020-11879
>   If Vulnerability was already addressed, please point me to some article 
> which confirms the same.
>   If not addressed, please confirm on when can we expect 3.35.91 or 
> greater version to be available in Debian 10?

No: no new version.

If you're unhappy with that, think about these choices:

- install upcoming Debian 11 (Testing, Bullseye) and live with the changes
  of packages and possible errors in the system. Release date unknown.

- install Debian Sid (Unstable) and live with many more changes

- if both are not fullfilling your needs, think about a different
  distribution: LFS (Linux from Scratch), or Yocto, or commerical one.

  But beware of the security updates. AFAIK both, LFS and Yocto, needs
  your effort to keep your machine(s) secure.

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Security Vulnerabilities with Nginx v1.14.2 and GNOME Evolution

2020-09-15 Thread Klaus Singvogel
Hi Revanth,

as you might have found out now, the Debian Security team is backporting
security patches to older versions of OpenSource software, and Debian 10
isn't insecure.

The advantage of backporting is, that you don't have to adapt config files
to latest syntax on an update, nor introduce incompatible libraries to
your system on update.

So, don't worry about the older versions of software regarding security.
They are getting regular patches by the Debian Security team, even when
the package maintainer doesn't support this version anymore.

I want to thank here the Debian Security team for there excellent job they
did in the past and the future. Thank you.

Regarding missing CVE-2020-11879 for GNOME Evolution: I don't have the
proof, but I think this points out to the fact the shipped version isn't
affected.

Best regards,
Klaus.

Suryadevara, Revanth wrote:
> Hi Klaus,
>   
> 1.) Pertaining to Nginx there is no CVE-ID, main concern is, 
> According to nginx download page, (http://nginx.org/en/download.html) Nginx 
> 1.14.x is no longer supported and will not be getting regular patches. So, if 
> any security Vulnerabilities arise then system would be at high risk as the 
> vendor no longer provide updates.
> 
> 2.) Pertaining to GNOME Evolution , the CVE-ID is  CVE-2020-11879 . This ID 
> isn't present in the links which you've shared.
> 
> Thanks,
> Revanth.
> 
> -Original Message-
> From: Klaus Singvogel  
> Sent: 15 September 2020 13:32
> To: Suryadevara, Revanth 
> Cc: debian-user@lists.debian.org
> Subject: Re: Security Vulnerabilities with Nginx v1.14.2 and GNOME Evolution
> 
> Suryadevara, Revanth wrote:
> > 
> > We have a system running on Debian 10 with Nginx v1.14.2, GNOME Evolution 
> > v3.30.5-1.1 installed along with other packages.
> > 
> [...]
> > When can we expect latest versions of Nginx and GNOME Evolution to be 
> > available in Debian 10 ?
> 
> Which security bugs do you think are in the Debian 10 version of Nginx
> v1.14.2 or GNOME Evolution v3.30.5-1.1 not fixed?
> 
>   
> https://us-east-2.protection.sophos.com?d=debian.org=aHR0cHM6Ly9tZXRhZGF0YS5mdHAtbWFzdGVyLmRlYmlhbi5vcmcvY2hhbmdlbG9ncy8vbWFpbi9uL25naW54L25naW54XzEuMTQuMi0yK2RlYjEwdTNfY2hhbmdlbG9n=cmV2YW50aC5zdXJ5YWRldmFyYUBhcmNzZXJ2ZS5jb20==V1JzK082WlRla1JMWEFzNjR4WDJvK1gwSHRoQTVkOWtISkFPc084Y0NRdz0==1d129af62b6248948c99efacbb1de4f1
> 
>   
> https://us-east-2.protection.sophos.com?d=debian.org=aHR0cHM6Ly9tZXRhZGF0YS5mdHAtbWFzdGVyLmRlYmlhbi5vcmcvY2hhbmdlbG9ncy8vbWFpbi9lL2V2b2x1dGlvbi9ldm9sdXRpb25fMy4zMC41LTEuMV9jaGFuZ2Vsb2c==cmV2YW50aC5zdXJ5YWRldmFyYUBhcmNzZXJ2ZS5jb20==eVVUdmdWUGNsVzVrTHp2N0M0cmU0UklHZzl5T0xGN3NtNno3aHRtY25yVT0==1d129af62b6248948c99efacbb1de4f1
> 
> Please name us the CVE identifiers, which you believe Debian 10 is affected 
> by.
> 
> Thanks in advance.
> 
> Best regards,
>   Klaus.
> -- 
> Klaus Singvogel
> GnuPG-Key-ID: 1024R/5068792D  1994-06-27

-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Security Vulnerabilities with Nginx v1.14.2 and GNOME Evolution

2020-09-15 Thread Klaus Singvogel
Suryadevara, Revanth wrote:
> 
> We have a system running on Debian 10 with Nginx v1.14.2, GNOME Evolution 
> v3.30.5-1.1 installed along with other packages.
> 
[...]
> When can we expect latest versions of Nginx and GNOME Evolution to be 
> available in Debian 10 ?

Which security bugs do you think are in the Debian 10 version of Nginx
v1.14.2 or GNOME Evolution v3.30.5-1.1 not fixed?


https://metadata.ftp-master.debian.org/changelogs//main/n/nginx/nginx_1.14.2-2+deb10u3_changelog


https://metadata.ftp-master.debian.org/changelogs//main/e/evolution/evolution_3.30.5-1.1_changelog

Please name us the CVE identifiers, which you believe Debian 10 is affected by.

Thanks in advance.

Best regards,
    Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Need help with PATH variable (i3/debian buster)

2020-07-30 Thread Klaus Singvogel
Greg Wooledge wrote:
> Every type of login follows a completely different set of steps for
> configuring your environment.  Reconciling these and achieving a uniform
> environment across all possible login types is *extremely* difficult,
> if not impossible.

It's more or less a layer model with different entry points into different
layers.

A GUI login performs a login type with more graphical features. Therefore,
when starting a shell is a subprocess of an already performed login, and a
.*login isn't required anymore.

Login on console instead executes the login shell.

Same is for a remote login like SSH (and for the old men: rsh).

And: a .profile (or .rc) is always executed, as it isn't related to
the circumstance, if it's a login process or a subprocess of a login.

Note: I'm starting a tcsh not a bash as my (login) shell. Therefore I'm
writing the file names in a more abstract way to fit for both.

Regards,
    Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: psu or firmware?

2020-07-18 Thread Klaus Singvogel
Graham Seaman wrote:
> > Maybe the CMOS battery empty?
> 
> Why would the CMOS battery affect the main battery? (not being sarcastic - I
> really don't know enough about this to know whether it would or not)

That old machine has stored most settings in the BIOS. It's not unlikely,
that a new CMOS battery might help, but surely depends on vendor/model
and BIOS itself.

Look here:
https://www.laptop-junction.com/toast/content/battery-not-charging-bios-setup

Another way to check state of CMOS battery: unplug and replug AC (and
battery at same time - to be sure) for a few seconds. Check afterwards
if machine keeps time and date.

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: psu or firmware?

2020-07-18 Thread Klaus Singvogel
Graham Seaman wrote:
> I'm running Debian on an old Dell Vostro 1520 - old and slow, but has been
> working fine. Recently the PSU has stopped charging. It is genuinely empty;
> if I power down and then try to boot with no power cable attached the laptop
> is completely dead.

Maybe the CMOS battery empty?
Try to measure the voltage, if you're eligible with this.

If low and depending on price for replacement, I would give it a chance.

https://www.parts-people.com/blog/2015/11/05/dell-inspiron-1520-cmos-battery-removal-installation/

Best regards,
    Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: workstation buying advice

2020-07-15 Thread Klaus Singvogel
Thomas Schmitt wrote:
> lina wrote:
> 
> > Supermicro CSE-732i-R500 [...] 500W
> 
> If already your CPUs are specified to have a TDP of 150 W each then a 500 W
> power supply appears dangerously close to the minimum requirements:
>   https://www.servethehome.com/supermicro-x11dpi-n-e-atx-motherboard-review/
>   "We find an idle power draw of 132 watts and Peak of 394 watts to be
>quite common"
> That was with 130 W Xeons.

True.

But did you notice that the Supermicro comes with a redudant power supply?

I wouldn't care about your concerns "close to the minimum requirements" here.

As long as the machine didn't need an extra graphic card or any other "power
hungry" devices, everything seems to be fine to me.

Experience with SuperMicro:

The customer of the company I'm working for, is sharing a test rack with
us. There is a SuperMicro rackmount WIO model built-in, running an
outdated Linux system. It's running flawless since years now.

Except the fact that the fans are a bit noisy, we are deeply contented
with this machine.

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: what calculator do you use?

2020-07-13 Thread Klaus Singvogel
rhkra...@gmail.com wrote:
> 
> From the command line: bc -l (the -l doesn't something useful (to me) but I 
> forget what ;-)

I'm using "bc -l" either.

"-l" is including the math lib, for functions like exp, sin, cos, etc.

"bc" can calculate with arbitrary precision length.

Ever wanted to calculate with long, long numbers (i.e.: 2^256) or want to
edit a long input line (i.e.: 1.99*12+3*2.49+7*.79*1.16... ), then try it.

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: fsck crashes on buster

2020-07-08 Thread Klaus Singvogel
daggs wrote:
> can you point me to the bugzilla where I can open the bug?

No bugzilla just by command line tool: reportbug.
Can be installed by package: reportbug.

https://www.debian.org/Bugs/Reporting

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: why foxit hasn't been included in buster?

2020-06-25 Thread Klaus Singvogel
Celejar wrote:
> On Thu, 25 Jun 2020 10:07:34 +0200
> Erwan David  wrote:
> 
> > Le 25/06/2020 à 09:41, Klaus Singvogel a écrit :
> > > 
> > > Btw, if you know a Form capable PDF viewer, which is FOSS, let me know.
> > > 
> > 
> > Okular does (KDE document viewer, not only PDF)
> 
> As does Gnome's Evince / Document Viewer. I don't know if it works with
> all PDF forms, but I just tested it with this one, and it seems to work
> fine:
> 
> http://foersom.com/net/HowTo/data/OoPdfFormExample.pdf

Thanks for the input.

I'm sorry that I forgot the important part: the calculation via JavaScript.

There exists PDF Forms, which can calculate, and I'm sure that evince
Version 3.30.2-3+deb10u1, which is shipped with Debian Buster, is not
able.

I'm not sure about Okular, but will find out later. :-)

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: why foxit hasn't been included in buster?

2020-06-25 Thread Klaus Singvogel
Hi.

Don't want to start a flamewar here. But there a many Free and Open Source
Software PDF viewers, which can be recommended for different uses.

All of the OpenSource PDF viewers have their dis-/advantanges and none is
the best. If you have to fillout Forms, I've never seen an OpenSource PDF
viewer yet, which is apable. Same for the annotations capability, many of
the free ones lack of the feature.

Btw, if you know a Form capable PDF viewer, which is FOSS, let me know.

On the other side, there are people who never ever used a PDF viewer for
such a case and won't miss it.

So, I think it's a matter of your personal use, which PDF viewer can be
recommended under Debian/Linux and which not.

Even the commercial ones, like FoxIt, PDFStudio, or MasterPdfEditor, come
to your consideration, if you are going beyond "reading".

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: one liner, how do you know which match happened ...

2020-06-20 Thread Klaus Singvogel
davidson wrote:
>  -o -name "*.[Tt][Xx][Tt]"

or use: -iname "*.txt"

Regards,
    Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: files under /boot

2020-05-29 Thread Klaus Singvogel
Michael Morgan wrote:
> 
> Is it fine I delete all 4.9.0-11 files under /boot?
> 

Not recommended.

1. They are the fall back solution, when the latest kernel is not booting.

2. Removing packaged files are better deleted by removing the package instead.

   Various ways to do so: apt-get remove , or aptitude, or apt.

   But wouldn't do neither, as it is the fall back solution for your system.

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Trouble installing wine on system with foreign arch

2020-04-23 Thread Klaus Singvogel
You didn't respond to the Mailinglist...

Did you do an "apt-get update" etc. (as explained later) after adding it?

Yesterday, when I did it as written, everything worked fine at my side.

Regards,
Klaus.

Dale Harris wrote:
> Yeah, I did that.
> 
> I have
> 
> deb
> https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_10
> ./
> 
> in my sources.
> 
> 
> 
> On Thu, Apr 23, 2020 at 2:11 PM Klaus Singvogel 
> wrote:
> 
> > Hi,
> >
> > you'll need the libfaudio0 package, which is only avail at opensuse.org
> >
> > https://wiki.winehq.org/Debian
> >
> > For details about hotwo, look at the second point with an "!" from this
> > site.
> > https://forum.winehq.org/viewtopic.php?f=8=32192
> >
> > Add the opensuse.org repo as suggested and install all at once again.
> >
> > Regards,
> > Klaus.
> >
> > Dale Harris wrote:
> > > Hi,
> > >
> > > I have a system where I have tried to install wine32 and the newer wine5
> > > version, It can't resolve dependencies, like so:
> > >
> > > # apt install --install-recommends wine-stable
> > > Reading package lists... Done
> > > Building dependency tree
> > > Reading state information... Done
> > > Some packages could not be installed. This may mean that you have
> > > requested an impossible situation or if you are using the unstable
> > > distribution that some required packages have not yet been created
> > > or been moved out of Incoming.
> > > The following information may help to resolve the situation:
> > >
> > > The following packages have unmet dependencies:
> > >  wine-stable : Depends: wine-stable-i386 (= 5.0.0~buster)
> > > E: Unable to correct problems, you have held broken packages.
> > >
> > > If I try to follow this down the chain of all the dependencies the aren't
> > > installing and attempt to install that individually, I get to a point
> > where
> > > the system will try to uninstall a bunch of packages, most notably apt,
> > > which is kind of annoying.  So does anyone have any suggestions how I fix
> > > this?   The maddening thing is I have another system, almost identical,
> > > that all this installed fine on!  So I'm a little bit at wit's end
> > > presently.
> > >
> > > --
> > > Dale Harris
> > > rod...@maybe.org
> > > rod...@gmail.com
> > > /.-)
> >
> 
> 
> -- 
> Dale Harris
> rod...@maybe.org
> rod...@gmail.com
> /.-)

-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Trouble installing wine on system with foreign arch

2020-04-23 Thread Klaus Singvogel
Hi,

you'll need the libfaudio0 package, which is only avail at opensuse.org

https://wiki.winehq.org/Debian

For details about hotwo, look at the second point with an "!" from this site.
https://forum.winehq.org/viewtopic.php?f=8=32192

Add the opensuse.org repo as suggested and install all at once again.

Regards,
Klaus.

Dale Harris wrote:
> Hi,
> 
> I have a system where I have tried to install wine32 and the newer wine5
> version, It can't resolve dependencies, like so:
> 
> # apt install --install-recommends wine-stable
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
> 
> The following packages have unmet dependencies:
>  wine-stable : Depends: wine-stable-i386 (= 5.0.0~buster)
> E: Unable to correct problems, you have held broken packages.
> 
> If I try to follow this down the chain of all the dependencies the aren't
> installing and attempt to install that individually, I get to a point where
> the system will try to uninstall a bunch of packages, most notably apt,
> which is kind of annoying.  So does anyone have any suggestions how I fix
> this?   The maddening thing is I have another system, almost identical,
> that all this installed fine on!  So I'm a little bit at wit's end
> presently.
> 
> -- 
> Dale Harris
> rod...@maybe.org
> rod...@gmail.com
> /.-)



Re: State: stopped "Filter failed" on a Xerox Phaser 6125N. how do you troubleshoot a printer in Linux?

2020-04-07 Thread Klaus Singvogel
Albretch Mueller wrote:
> > 2. /usr/lib/cups/filter/FXM_PF
> 
> > Not known by me. Is the file present? Is it executable? Does it fail, if
> > you execute it?
> 
> # ls -l /usr/lib/cups/filter/FXM_PF
> -rwxr-xr-x 1 root root 17065 Feb 11  2012 /usr/lib/cups/filter/FXM_PF
> 
> # file /usr/lib/cups/filter/FXM_PF
> /usr/lib/cups/filter/FXM_PF: ELF 32-bit LSB executable, Intel 80386,
> version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2,
> for GNU/Linux 2.2.5, not stripped

It's 32bit and outdated. 

Debian Buster usually installs 64bit Packages. Though 32bit can be
installed, but aren't by default.

To find out, if the filter works: can you execute it?

Regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: State: stopped "Filter failed" on a Xerox Phaser 6125N. how do you troubleshoot a printer in Linux?

2020-04-06 Thread Klaus Singvogel
Albretch Mueller wrote:
>  Perhaps you will be able to see something I don't. If not let me know
> how could do whatever you need with the debug levels or log file in a
> better way
> 
[...]
> 
> # grep -v "not idle any more" /var/log/cups/error_log | less
> 
> D [06/Apr/2020:00:31:51 +0200] [Job 4] 2 filters for job:
> D [06/Apr/2020:00:31:51 +0200] [Job 4] pstops (application/postscript
> to application/vnd.cups-postscript, cost 66)
> D [06/Apr/2020:00:31:51 +0200] [Job 4] /usr/lib/cups/filter/FXM_PF
> (application/vnd.cups-postscript to printer/Phaser-6125N, cost 0)

Two filters are executed:

1. pstops

Is CUPS internal and included in Debian package "cups-core-drivers" at my
side (running Debian buster).

2. /usr/lib/cups/filter/FXM_PF

Not known by me. Is the file present? Is it executable? Does it fail, if
you execute it?

I've the feeling this is the culprint, you want to work on.

Regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: State: stopped "Filter failed" on a Xerox Phaser 6125N. how do you troubleshoot a printer in Linux?

2020-04-06 Thread Klaus Singvogel
Albretch Mueller wrote:
> $ date; lsmod | grep usb
[...]
>  * messages in /var/log/syslog
[...]
>  * after reconnecting the USB printer cable:
[...]
>  * USB connected printer correctly detected by the USB subsystem and
> are ownerships and permissions correctly set?:
[...]
>  * printer's device ID strings
[...]

>  I don't think exactly where the problem may be/how to troubleshoot the 
> problem?

For me it looks like your printer is correctly installed regarding
hardware connection, but no guaranty.

The more interesting question is: why does the Filter fail?

Maybe the filter, which is defined in the printer PPD file, has wrong
permissions or is missing?

Have a closer look at /var/log/cups/error_log

Maybe you've to enable Loglevel "info" or "debug" in /etc/cups/cupsd.conf
before, followed by a "systemctl restart cups":
    LogLevel info

Regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Buster without systemd?

2020-03-24 Thread Klaus Singvogel
David Wright wrote:
> On Mon 23 Mar 2020 at 20:27:31 (+0100), Klaus Singvogel wrote:
> > My reasons:
[…]
> 
> > My computer "hickups" for 20 seconds at boot. With systemd I don't have
> > the slighest idea which process delays, as several processes start after
> > the delay at once. I had the feeling with Init scripts it was more obvious
> > to see which "startup file" hangs.
> 
> $ systemd-analyze critical-chain
> 
> Is that any help in finding what's waiting for what?

graphical.target @23.269s
└─multi-user.target @23.269s
  └─exim4.service @23.095s +174ms
└─network-online.target @23.092s
  └─network.target @23.086s
└─networking.service @1.383s +21.702s
  └─ifupdown-pre.service @285ms +1.096s
└─systemd-udev-trigger.service @230ms +54ms
  └─systemd-udevd-control.socket @228ms
└─system.slice @218ms
  └─-.slice @218ms

At least I found a hint where to start: networking.service

> > But some important messages are not found in syslog nor messages.
> 
> Which ones are missing?

When daemons are started (at boot) and how long the startup took for example.

> > No easy way to find out: if and what fails. Example: After months I found
> > out that mlocate doesn't update it's database anymore: previously updates
> > were done by cron, but the distri moved to systemd's way (timer) and by
> > default the updatedb was disabled.
> 
> I've not touched the default. What did you have to change to make it run?

Well, this time it was only systemd related, but not Debian. I'm also
running SUSE Linux, and it happened there.

Regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Buster without systemd?

2020-03-23 Thread Klaus Singvogel
Tony van der Hoff wrote:
> I know it's a sensitive subject, and I really don't want to upset the list,
> there's been enough of that already, but why are some people so afraid of
> systemd?

My reasons:

Can't debug the start / stop of daemons as good as before. "(ba)sh -x" no
more working.

Not able to move easily a more complex SysV init script to systemd. Lost
functionality by my home-made packages.

Logging (journald) disables searching in /var/log: "grep -r" not really
working there.

My computer "hickups" for 20 seconds at boot. With systemd I don't have
the slighest idea which process delays, as several processes start after
the delay at once. I had the feeling with Init scripts it was more obvious
to see which "startup file" hangs.

As others say: systemd is too fat and has too much functionality. It
throws too fast the experienced software overboard, replacing it by its
own version.

Its flooding syslog/messages with unnecessary information (type: INFO).
But some important messages are not found in syslog nor messages.

No easy way to find out: if and what fails. Example: After months I found
out that mlocate doesn't update it's database anymore: previously updates
were done by cron, but the distri moved to systemd's way (timer) and by
default the updatedb was disabled.

Default values without files: configuration files are not required, but
then some default values are used. You have to know which file by which
filename has to be created and how the variables/values are named. Not to
mention the lack of documentation for some configuration files.

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: non function firefox

2020-03-17 Thread Klaus Singvogel
to...@tuxteam.de wrote:
> On Tue, Mar 17, 2020 at 01:45:59PM +0100, Klaus Singvogel wrote:
> > If you want to use your nPA (new identity card, Neuer Personalausweis) for
> > authentication, it's a mess. Without deeper knowledge about smartcards,
> > access with web apps, etc. I would say: no, no working, except with the 1:1
> > reference manual for Ubuntu.
> 
> No NPA or other fancies here. I just got a cert file from the agency,
> got to choose my password, that's all.

That's exactly what I meant: a cert file, and no smartcard used.

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: non function firefox

2020-03-17 Thread Klaus Singvogel
to...@tuxteam.de wrote:
> On Tue, Mar 17, 2020 at 11:27:47AM +0100, Thomas Schmitt wrote:
> > (*) The online tax portal (named "Elster" = magpie) is officially kept
> > running on Ubuntu's default browser. For what ever reason their web
> > programmers deem it necessary to reject older browsers.
> > I decided to strictly follow the instructions of Elster, because it was
> > important to have a good excuse in case of failure.
> 
> Works fine for me with Debian Buster default firefox.

I think, whether it works or not, depends on your expectations.

If you want to use your nPA (new identity card, Neuer Personalausweis) for
authentication, it's a mess. Without deeper knowledge about smartcards,
access with web apps, etc. I would say: no, no working, except with the 1:1
reference manual for Ubuntu.

Regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Advice on upgrading to SSD

2020-03-05 Thread Klaus Singvogel
David Wright wrote:
> > Wha not using "hdparm"?
> 
> Would you be more specific and include the options you are suggesting.
> There are over 60 available, some dangerous.

I don't use hdparm anymore and can't memorize.
But I'd gone to Google, and they tell me: "hdparm -I /dev/sdX -S 0"

Regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: HPLIP - upgrade to 3.20.2 and can no longer print. (version corrected)

2020-03-05 Thread Klaus Singvogel
Brad Rogers wrote:
> The reason for Brian patiently walking me through some diagnostics is
> because he's involved with the dev team.  At least I think he is.  Either
> way, he clearly knows his stuff, and managed to demotrate that;
> 
> a) the printer is fine
> b) cabling is good
> c) networking is good

I remember that CUPS disables queues after encountering an error.
Did you reenable the queue?

Can be enabled via web-interface: http://localhost:631/

Regards,
    Klau.s
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Advice on upgrading to SSD

2020-03-04 Thread Klaus Singvogel
0...@caiway.net wrote:
> with cron:
> # prevent disks from sleeping, every minute:
> * * *  **  /bin/touch /dev/sda &>/

Wha not using "hdparm"?

Regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: new, not nice web bots disposal

2020-02-26 Thread Klaus Singvogel
Roger Price wrote:
> I find ipsets the natural way of setting up rules.  I run a script which
> blocks whole countries, taking the country data from
> http://ipverse.net/ipblocks/data/countries/

Not a bad idea, but the database is sometimes wrong. Examples:

Duplicates (shall not be possible, but there exist entries):
- 194.114.128.0 is listed in ru.zone and se.zone
- 151.0.0.0 is listed in it.zone and ee.zone

Wrong entries:
- 109.70.64.0 is listed in de.zone, but should be in nl.zone
- 116.202.0.0 is listed in de.zone, but should be in zz.zone (unlocated)

Made only a first, rough test of my personal entries.

Be cautious when playing with such things. :-)

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Connection closed by [IP] port [port] [preauth]

2020-02-25 Thread Klaus Singvogel
deloptes wrote:
> +1 :( and I am not using standard port 22, so they scanned all 3 ports
> and found out what is open (well filtered) and now are trying to do brute
> force on SSH. Others are trying to exploit apache/php & Co.

I'm using portsentry against this:
https://packages.debian.org/buster/portsentry

Let it sniff on some unused ports, like 445, 69, 8181, 5353, or 22. :-)

https://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers

But beware to have a whitelisted IP address active. I locked myslef out,
after switching to a different computer, like fresh a installed Linux. :-)

Regards,
    Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Modern automounters and umount

2020-02-21 Thread Klaus Singvogel
Thomas Schmitt wrote:
> > $ mount | fgrep /dev/sr0
> > /dev/sr0 on /media/ddval/ISOIMAGE type iso9660 (ro,nosuid,nodev,relatime,
> > nojoliet,check=s,map=n, blocksize=2048,uid=1000,gid=1000,dmode=500,
> > fmode=400,uhelper=udisks2)
> > $ sudo umount /dev/sr0
> > umount: /dev/sr0: not mounted

Try instead: sudo umount /media/ddval/ISOIMAGE

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: need syntax for /etc/fstab to mount space on an ssd over /tmp

2020-02-17 Thread Klaus Singvogel
Carl Fink wrote:
> On 2/17/20 5:00 AM, Klaus Singvogel wrote:
> > elvis wrote:
> > > On 17/2/20 3:10 pm, Gene Heskett wrote:
> > > > Greetings all;
> > > > 
> > > > I am trying to remove as much write activity as possible from the u-sd
> > > > that a raspi boots from.  To that end I'll create a partition on an ssd,
> > > > of 5000 megs, then copy the existing /tmp's contents to it it, then
> > > > mount the ssd partition of that name on top of it where it is in the
> > > > u-sd now. A partition labeled tmp-u-sd-temp would be about the least
> > > > mistake prone to put in /etc/fstab. I did this once at least a decade or
> > > > more ago because I outgrew the /home/partition but can't in 2020
> > > > remember the fstab syntax a decade+ later.
> > > > 
> > > > Can someone help
> > > This is not the asked solution to the problem, but why not just have your
> > > root on nfs? No need to worry about any writes to the card then.
> > I, for myself, have the problem, that can't catch him.
> > 
> > He is speaking about a u-sd, but I'm only familiar with: ssd or usb.
> > Both sound similar, are different to handle, and at the end it's something
> > completly different he want's to know.
> > 
> 
> I believe he means a "micro SD" and is using the letter "u" to stand in for
> Greek mu.

Thanks. This clarifies it.

The synatx of fstab is so often to find in the net, that I don't want
to copy it again. Look at: https://wiki.debian.org/fstab

Some hints from me:

- I prefer using UUIDs for instead of device names (see above link)

- /tmp is usually not the place where a lot of data is written.
  Noisy places are:
  - /var/log, and especially /var/log/journal
  - swap spaces, please check via your /proc/swaps
  - caches, like firefox, chromium uses in /home//.
  - database files, found in /var/lib/

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: need syntax for /etc/fstab to mount space on an ssd over /tmp

2020-02-17 Thread Klaus Singvogel
elvis wrote:
> 
> On 17/2/20 3:10 pm, Gene Heskett wrote:
> > Greetings all;
> > 
> > I am trying to remove as much write activity as possible from the u-sd
> > that a raspi boots from.  To that end I'll create a partition on an ssd,
> > of 5000 megs, then copy the existing /tmp's contents to it it, then
> > mount the ssd partition of that name on top of it where it is in the
> > u-sd now. A partition labeled tmp-u-sd-temp would be about the least
> > mistake prone to put in /etc/fstab. I did this once at least a decade or
> > more ago because I outgrew the /home/partition but can't in 2020
> > remember the fstab syntax a decade+ later.
> > 
> > Can someone help
> 
> This is not the asked solution to the problem, but why not just have your
> root on nfs? No need to worry about any writes to the card then.

I, for myself, have the problem, that can't catch him.

He is speaking about a u-sd, but I'm only familiar with: ssd or usb.
Both sound similar, are different to handle, and at the end it's something
completly different he want's to know.

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Having trouble installing Debian on brand new hard drive

2020-02-12 Thread Klaus Singvogel
kaye n wrote:
> *The (U)EFI partition seems far to small, I think mine was about 200 MB
> originaly and I extended it to 700 MB, so I was able to make UEFI updates.
>
> *Are UEFI updates necessary? What's the smallest allowable size I can
> make for UEFI partition? Or is that not a wise thing to do?

UEFI updates are sometimes necessary. My notebook required one recently,
as there was the danger of breaking the USB-C port (the Thunderbolt
controller).

The golden rule is "never change a running system", but sometimes you have
to break it: no more (security) updates or danger of breaking of hardware.
New operating systems rely on features in the hardware and fail if not
present or wrong implemented.

> *PXE Boot is booting over network (TFTP) and not want you want.
> 
> *I honestly don't know how I got that because I was not trying to boot
> over network.  Never had this problem installing other distros.

Already answered by Felix Miata: fallback situation from failure in
booting the HDD (respective SSD).

> *Created how? Did you do it yourself prior to beginning installation of
> Debian?*
> I believe I created the GPT partition using GParted from a live USB of
> another distro.
> 
> *That's unusually small for a /home partition.*
> I just figured that the /home partition is where config files of apps are
> kept, correct? And they're just small files?  When I install an app, most
> of it goes into / , and not /home, therefore I usually make /home a
> separate partition and at 2GB only.

Config files are only a small subset of the stored files in your /home. 
Typically your saved e-mails, pictures, videos, documents and more are
stored there (and cache from your browser, but treaded as config files).

> *For the future, you could paste the (relevant part from) the output of
> 'parted -l'.*
> Just curious, never encountered that command before.
> kaye@laptop:~$ parted -l
> bash: parted: command not found

You can install it then: "sudo apt-get install parted"
But I prefer output of "lsblk"; but this is only a matter of taste.

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Having trouble installing Debian on brand new hard drive

2020-02-11 Thread Klaus Singvogel
Thanks.

Two thoughts about your failures:

The (U)EFI partition seems far to small, I think mine was about 200 MB
originaly and I extended it to 700 MB, so I was able to make UEFI updates.

PXE Boot is booting over network (TFTP) and not want you want. You can
configure your boot device in the BIOS settings. If this is set correctly,
it's most likely a matter of the too small EFI partition.

Best regards,
Klaus.

kaye n wrote:
> Thank you guys for telling me the email got lost.  I'll just describe it.
> 
> The partition table is GPT.
> 
> Imagine you're looking at the graphical presentation of my hdd in GParted.
> 
> Starting from the left:
> 
> 858GB NTFS partition (intended for storing all kinds of data)
> 
> then
> 
> 20GB ext4 partition, with mount point /
> 
> then
> 
> 2GB ext4 partition, with mount point /home
> 
> then
> 
> 1GB swap partition
> 
> then
> 
> 50GB NTFS partition (intended for windows)
> 
> then, finally
> 
> only 10MB FAT32 partition because debian installer says I need an efi but I
> don't know how big it should be.  Mount point at /boot/efi
> 
> If I boot from the hard drive, I ge this message:
> 
> Realtek PCIe GBE Family Controller Series v2.43 (08/25/11)
> PXE-E61: Media test failure, check cable
> 
> PXE-M0F: Exiting PXE ROM
> 
> Reboot and Select proper Boot device
> or Insert Boot Media in selected Boot device and press a key
> 
> That's it. Thank you!
> 
> On Tue, Feb 11, 2020 at 6:13 PM Klaus Singvogel 
> wrote:
> 
> > Felix Miata wrote:
> > > kaye n composed on 2020-02-11 17:23 (UTC+0800):
> > >
> > > > No one?
> > >
> > > Your OP seems to have gotten lost in the ether. I don't see it on
> > > https://lists.debian.org/debian-user/2020/02/threads.html and don't
> > remember
> > > seeing it arrive among any other debian-user email. I do see there
> > another
> > > original post from you about Grub.
> >
> > I, for myself, ignore jpg messages.
> >
> > I'm living in an textbased world. Extracting and viewing pictures from
> > email is a big effort for me. They can't be cited nor referenced easily
> > neither.
> >
> > Beside the fact that your posting was never seen here (see above).
> >
> > Regards,
> > Klaus.
> > --
> > Klaus Singvogel
> > GnuPG-Key-ID: 1024R/5068792D  1994-06-27
> >
> >

-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Having trouble installing Debian on brand new hard drive

2020-02-11 Thread Klaus Singvogel
Felix Miata wrote:
> kaye n composed on 2020-02-11 17:23 (UTC+0800):
> 
> > No one?
> 
> Your OP seems to have gotten lost in the ether. I don't see it on
> https://lists.debian.org/debian-user/2020/02/threads.html and don't remember
> seeing it arrive among any other debian-user email. I do see there another
> original post from you about Grub.

I, for myself, ignore jpg messages.

I'm living in an textbased world. Extracting and viewing pictures from
email is a big effort for me. They can't be cited nor referenced easily
neither.

Beside the fact that your posting was never seen here (see above).

Regards,
    Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Cups no longer accepting remote connections for printing.

2020-02-09 Thread Klaus Singvogel
Hi,

James Allsopp wrote:
[...]
> 
> # Restrict access to the server...
> 
>   Order allow,deny
>   Allow localhost
>   Allow 192.168.1.*
> 
> ServerAlias *
> # Restrict access to the admin pages...
> 
>   Order allow,deny
>   Allow localhost
>   Allow  192.168.1.*
> 
> 

Don't mix DNS wildcard '*' with network netmask '/xx'
Both are different things and not compatible.

Correct is in your case: Allow 192.168.1.0/24

Regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Can I restore grub in this scenario

2020-02-05 Thread Klaus Singvogel
Hello,

depending on your hardware, and how you installed it: GRUB in MBR or as
active partition.

At my desktop PC, I've to configure the (UEFI-)Bios that Debian is again to
be choosen as first booted system.

On my Laptop... well, there is no windows. :-)

Regards,
Klaus.

kaye n wrote:
> Hello Friends!
> 
> Suppose I installed Debian first followed by Windows 10.   The GRUB will be
> overwritten, correct?
> 
> How do I get it back? Do I boot a Debian live USB?  Does a Debian live USB
> have a tool where I can easily install GRUB in the mbr?  (then it would
> detect the windows os, if not then I execute sudo update-grub)
> 
> Thank you for your time.
> kaye

-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Ethernet trouble

2020-01-29 Thread Klaus Singvogel
elvis wrote:
> It sounds like it is already using the consistent interface names.

It's even possible to name the devices after their MAC addresses.
Then it might be possible to identify them uniqly, on the other hand,
he will get long device names (enx78e7d1ea46da).

Didn't use this method by myself ever, no experience, so I'm pointing him
to this solution only.

Another way of naming is the troditional way: eth0.

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Ethernet trouble

2020-01-28 Thread Klaus Singvogel
ghe wrote:
> Anybody have an explanation? Or somewhere I can start looking? Or know
> how whatever labels Ethernet ports does it (or why they weren't called 0
> and 1 in the first place)?

The keywords you want to search for:
udev, "consistent network device names", and debian

Best regards,
    Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Planning a Debian NAS

2020-01-27 Thread Klaus Singvogel
황병희 wrote:
> > Mine are all RPi3+.
> 
> +1, also i think RPi is good.

Please think about installation of a 64-bit distribution too.

As soon as your NAS stores large files, and they should become avail via
webinterface/php, the 64-bit will become necessary.

In my case: I was running my OwnCloud on an Raspberry Pi 2 first. But as
soon as I stored the map update pack for my car navigation on the disk
(16 GB), php stumbles. Then I bought a 64-bit capable SBC and was happy.

RPi3 is capable of 64-bit, so my advice: be careful with installation.

Best regards,
    Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Protecting no longer supported Windows7

2020-01-15 Thread Klaus Singvogel
john doe wrote:
> How would I go about that, I don't see how I can restrict inter host
> connections that are on the same subnet?

Some switches can do so, like managed switches: use a VLAN for Windoze
hosts and configure the VLAN that way, if possible.

Even my DSL router can be configured to do so, but only global for all
hosts in the net (which is not helpful in my setup).

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Protecting no longer supported Windows7

2020-01-14 Thread Klaus Singvogel
David Christensen wrote:
> Configure your firewall to block traffic in both directions between the
> Windows 7 hosts and the Internet.

Good idea.

Additional: block traffic between the Windows 7 hosts, as an infected one
might infect others.

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: p7zip-full seems to be a built-in app for debian, but cannot be opened?

2020-01-10 Thread Klaus Singvogel
kaye n wrote:
> Searching for p7zip-full in synaptic, I can see that it is installed.
> 
> However I can't find it anywhere.

My question is: what's your expectation how you can "find it"?

Do you expect a GUI program with an own entry in the desktop menu?

Sorry, but that's not. It's a cli progam only. The "full" means heree,
that it comes with additional compressions or archives support (like RAR,
RPM, CAB, etc.) which the original "p7zip" can't handle.

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Print Settings issue

2020-01-09 Thread Klaus Singvogel
kaye n wrote:
> The built-in Xsane scanner seemed to work at first, but now when I open it,
> I get:
> 
> Error during CMS conversion:
> Could not open scanner ICM profile.

https://www.google.com/search?q=scanner+ICM+profile

VG,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: 64bit ext4 and kernel version compatibility

2020-01-09 Thread Klaus Singvogel
R. Ramesh wrote:
> I want to make sure
> that my current kernel version does not have any limitation to support 64bit
> ext4.

Please consult the Kernel Wiki regarding Ext4:

https://ext4.wiki.kernel.org/index.php/Main_Page

You will notice that Linux 2.6.28 was the first suppored kernel with ext4,
which was released a quiet long time ago (around 2009). As your
distribution is running 3.13.0-132-generic, the support of ext4 should be
no problem (never tested it to be 100% sure).

Another important information I was missing of: the machine architecture
of your processor; whether you're running a 64bit kernel or 32bit kernel.

"uname -m" will tell you, if you have 64bit, like in "x86_64", or not.

I'm very unsure, if your processor is able to address such files. PAE
extension (32 bit) of Intel architecture supports it, but not sure about
other archs, like Raspberry Pi v1 has.

Nevertheless, I stronlgy recommend to upgrade to 16.04 LTS or better, if
this machine connects or is connectable from the internet, due to security
reasons.

Regards,
    Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Samsung SCX-6122FN on Buster

2020-01-07 Thread Klaus Singvogel
Berkhan Berkdemir wrote:
> before installing
> any half-packaged driver, I would like to ask that is there a package has
> SCX-6122FN driver on the free or non-free repository?

Most likely, there is none.

I'm only aware of very old (ancient) printer models (>10 years), real
PostScript printers (but not all are nowadays included), and HP printers
(hplip package). Everything else is not included, like your printer.

The Samsung printer department was bought by HP instead of closing. That's
why you find their printer drivers at the HP website. But doesn't mean,
that they are included in the hplip package, as the origin is at Samsung.

Best regards,
    Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Print Settings issue

2020-01-07 Thread Klaus Singvogel
Greg Wooledge wrote:

> By the way, my third Google result for CUPS epson L355 is a PPD
> file at 
> <https://github.com/endlessm/epson-inkjet-printer/blob/master/201207w/ppds/EPSON_L355.ppd>.
> 
> There should be some way to provide this PPD file to CUPS for your
> printer, but I'm *really* not a printer expert.

Installation of the PPD file alone isn't enough.

The PPD includes the "cupsFilter" line, which requests the additional
filter "/usr/lib/cups/filter/epson_inkjet_printer_filter".

The "epson_inkjet_printer_filter" is most likely an executable (binary)
file and most likely comes from Epson, means: not found in the Debian
repository.

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Can't login to Debian buster server after upgrade from stretch

2019-12-02 Thread Klaus Singvogel
David wrote:

> I offer this as "level-1 support" :) general information, I don't know
> exactly what the problem is, but if you cut and paste here the output of
> 'ssh -v ...' then someone here can give you better advice based on that.

That's excatly the same issue I run in with this report too.

One of my assumption is that the sshd isn't running on the target system
("systemctl status sshd" might help); or he might want to login as root
(maybe not obviously, because somewhere configured), and root logins are
disabled.

A lot of information required for help lack of here.

Kind regards,
    Klaus.

-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Difference between ipp, ipps, http, https CUPS protocols?

2019-11-12 Thread Klaus Singvogel
Gene Heskett wrote:
> > CreateProfile failed:
> > org.freedesktop.ColorManager.AlreadyExists:profile ... already exists
> >
> Thats permissions.. But why can't the same software that wrote that 
> profile, rewrite that profile?

Ask the software developer, which I'm not.

> So what do I do to get admin writes, including overwriting the 
> edited ppd or whatever when there is no root pw, only sudo.

ever did: sudo su

> So if its complaining it can't overwrite the file, when its the exact 
> same sw that wrote it three days back up the log.

No, the regular rotated logfile shows the error in the logfile three days
ago. But I think this happened more often - in older logfiles.

Best regars,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Difference between ipp, ipps, http, https CUPS protocols?

2019-11-12 Thread Klaus Singvogel
Gene Heskett wrote:
> 
> This is my logs:
> root@coyote:cups$ cat /var/log/cups/access_log
> localhost - - [12/Nov/2019:00:11:00 -0500] "POST / HTTP/1.1" 200 349 
> Create-Printer-Subscriptions successful-ok
> localhost - - [12/Nov/2019:00:11:00 -0500] "POST / HTTP/1.1" 200 176 
> Create-Printer-Subscriptions successful-ok
> root@coyote:cups$ cat /var/log/cups/error_log.1
> E [11/Nov/2019:00:10:25 -0500] Unable to open listen socket for address 
> [v1.::1]:631 - Cannot assign requested address.
> E [11/Nov/2019:16:16:00 -0500] [cups-deviced] PID 22513 (gutenprint52+usb) 
> stopped with status 1!
> E [11/Nov/2019:16:16:00 -0500] [cups-deviced] PID 22511 (begonia) stopped 
> with status 1!
> W [11/Nov/2019:16:18:17 -0500] CreateProfile failed: 
> org.freedesktop.ColorManager.AlreadyExists:profile id 
> \'Brother_HL-2140_series-Gray..\' already exists
> E [11/Nov/2019:16:18:45 -0500] [cups-deviced] PID 22693 (begonia) stopped 
> with status 1!
> E [11/Nov/2019:16:18:45 -0500] [cups-deviced] PID 22695 (gutenprint52+usb) 
> stopped with status 1!
> W [11/Nov/2019:16:20:12 -0500] CreateProfile failed: 
> org.freedesktop.ColorManager.AlreadyExists:profile id 
> \'Brother_HL-2140_series-Gray..\' already exists
> 
> That [v1.::1] looks like shorthand for ipv6, but the nearest ipv6 capable 
> connection is probably 185 miles north of here in Pittsburgh PA.
> There is not AFAIK, any ipv6 provisioned anyplace on my local ISP the 
> local cable folks

Forget this. This message is hours away from your real issue.

Most proably caused by a "Listen [v1.::1]:631" entry in /etc/cups/cupsd.conf

> So thats probably the first thing to fix, but where is it?

No, forget this. Put your focus on that error message:

CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile ... 
already exists

Best regars,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Difference between ipp, ipps, http, https CUPS protocols?

2019-11-12 Thread Klaus Singvogel
Dan Purgert wrote:
> Kent West wrote:
> >
> > Unable to open PPD file:
> >
> > Missing asterisk in column 1
[...]

It's your PPD file for the printer, which seams not to be readable,
most likely not existend.

The PPD (PostScript Printer Defintion) file is locate under /etc/cups/ppds
(or similiar pathname) and named as your "printer name" with suffix ".ppd"

Example: printer name is "oki6EX", than it is /etc/cups/ppds/oki6EX.ppd

Check, if file is existend and readable for cups.

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Difference between ipp, ipps, http, https CUPS protocols?

2019-11-11 Thread Klaus Singvogel
Kent West wrote:
> 
> lrwxrwxrwx 1 root root  3 Oct 31 02:44 http -> ipp
> lrwxrwxrwx 1 root root  3 Oct 31 02:44 https -> ipp
> -rwxr-xr-x 1 root root  80120 Oct 31 02:44 ipp
> lrwxrwxrwx 1 root root  3 Oct 31 02:44 ipps -> ipp
> 
> Thank you. That does tell me they are all the same. It does not tell me why
> CUPS on Debian makes the other three options available (thereby confusing
> the person adding the printer). There must be some reason why a person would
> expect to choose X over Y; that's the difference I'm looking for.

Not exactly.

Depending on argv[0] (under which name program is started) the program
might work different.

Common practice, if protocols are similiar and only slightly different.

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: shell wrappers for trig and other mathematical functions

2019-10-02 Thread Klaus Singvogel
Hi,

Dan Hitt wrote:
> I'm half-way looking for some shell wrappers for common trig functions like
> sin, cos, exp, log, and others.
> 
> I'm aware of bc, but it seems cumbersome.
> 
> I would like to just type 'sin 1' and get the sine (of 1 radian), or type
> 'log 2' and get the natural or maybe common log of 2.  (Probably any such
> program should do something intelligent when faced with multiple or zero
> arguments, such as computing the sine or log of each, so that they could be
> chained together.  And maybe such a program would pay attention to
> environment variables or optional command line arguments to tune its
> behavior.)

to put in a word for bc...

Did you try "bc -l"? "man bc" gives more details

To get the sine of 1 radian:
s(1) 

To get the log 2:
l(2)

Similar are exp, cosine, arctangent:
e(), c(), a()

Don't miss the fact that "." is the last result. Try out e.g.
    8^2
./2

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Debian 10: issues with copy of tabular

2019-09-22 Thread Klaus Singvogel


Hi,

I noticed a strange result, when using copy from one application
to a (u)xterm:

Every tabular is replaced by one or more spaces when copy

Examples:

a) Using LibreOffice Writer (6.1.5-3+deb10u4) having a line like:

   ab

   and copy to xterm, running xxd results in:
   : 6120 620aa b.

   Hex 0x20 is space, not tab 0x09

b) Using xterm, opening vim and copying line:
   cd

   copy to another xterm, running xxd results in:
   : 6320 2020 2020 2020 640a c   d.

   7x Hex 0x20 is 7x space, not tab 0x09


This behaviour wasn't the case, when I was running Debian 9 (stretch).

I did a system upgrade from Debian 9 (stretch) to Debian 10 (buster) and
not a fresh install.

Running now xserver-xorg-core and not wayland.

Window manager is LXDE.

Clipboard Manager is is ClipIt (1.4.5)


Is this a bug or can it configured somewhere? Where?

I have no idea which package should I file a bug report?

Can anyone help me, please?

Thanks in advance.

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



  1   2   >