Re: just a question about the iwlwifi_20230515-3 file

2023-09-05 Thread Max Nikulin
On 06/09/2023 10:12, Michel Verdier wrote: On 2023-09-05, Charles Curley wrote: E.g. gaining root privileges with "su" vs. "su -i". You mean vs "su -" or "su -l" or "su --login" :) Or "sudo -i" ("sudo --login")

Re: su

2023-09-06 Thread Max Nikulin
On 06/09/2023 10:41, Greg Wooledge wrote: Just put "ALWAYS_SET_PATH yes" into /etc/default/su and the problem is FIXED. "su" will work properly again! Greg, you provided a valid example when "su -" is undesirable, however in general "su -" is safer than just "su" since it resets some user

Re: just a question about the iwlwifi_20230515-3 file

2023-09-06 Thread Max Nikulin
On 06/09/2023 05:32, Maureen L Thomas wrote: 02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter Does it mean that your Intel wifi card is a USB one? dpkg-query --show firmware-iwlwifi but it is not found

Re: xclip - how to use without a graphics display for testing on Github workflows

2023-09-10 Thread Max Nikulin
On 10/09/2023 16:44, Tom Browder wrote: On Sat, Sep 9, 2023 at 21:06 Max Nikulin wrote: You can create a mock-up and use it instead of real xclip binary. Sounds interesting, Max, can you show the code? Unless you need to test subtle issues like https://github.com/astrand/xclip/issues/20

Re: Debian 12 - IPv4 blocked without fail2ban & co

2023-09-07 Thread Max Nikulin
On 07/09/2023 17:32, Andy Smith wrote: On Thu, Sep 07, 2023 at 12:20:18PM +0200, Romain wrote: With -n (sometimes it stops at hop 7, sometimes 9): └─# mtr -nr 54.38.38.159 -4 Start: 2023-09-07T08:17:12+ HOST: rpi4Loss% Snt Last Avg Best Wrst StDev

Re: Debian 12 - IPv4 blocked without fail2ban & co

2023-09-07 Thread Max Nikulin
On 07/09/2023 14:31, Romain wrote:  12.|-- rpi4.home                 90.0%    10  7955. 7955. 7955. 7955.   0.0 May it happen that you associated a local device with the IP of your remote server? Check configuration of the .home DNS zone. Try to add -n option to suppress DNS lookup and

Re: Fresh install, Bookworm, XFCE keeps recreating directories

2023-09-16 Thread Max Nikulin
On 16/09/2023 10:09, Greg Wooledge wrote: Altering the contents of an existing file in ~/.config/ upon login sounds incredibly wrong to me, to the point where I have a hard time believing it's a default behavior. user-dirs.dirs(5) The $HOME/.config/user-dirs.dirs file is a text file that

Re: Emacsclient bug in sid

2023-08-31 Thread Max Nikulin
On 01/09/2023 00:10, Wang Yizhen wrote: emacsclient -c -a "" -n Instead of --alternate-editor= I would consider socket activation by systemd user session. It ensures that emacs server process is started in controlled environment that does not depend on caller process. You may try to add

Re: Sleep: out of control

2023-09-01 Thread Max Nikulin
On 01/09/2023 18:08, Tom Browder wrote: When switching the KVM between the Win and Deb hosts, I could see the mouse was not getting power (no sensor light) nor was the keyboard or monitor screen. So that is probably why I could not wake up the Debian PC by stirring the mouse or hitting a key.

Re: How to install the kernel 5.4.14 (source and headers) packages on Debian buster.

2023-09-01 Thread Max Nikulin
On 02/09/2023 04:15, Mario Marietto wrote: I've got a crazy idea : I see that Ubuntu has a 5.4 kernel source and header package. Is there a method or tool to convert these packages to debian packages so that I can use them on Debian ? Kernel image from one project and headers+sources from

Re: Debian 12 - IPv4 blocked without fail2ban & co

2023-09-08 Thread Max Nikulin
On 08/09/2023 04:39, Romain wrote: I can confirm that when this happens, it's the OVH server that fails to send the response to my network. 35 9.862648672 MY_PUBLIC_IP_AT_HOME → 54.38.38.159 ICMP 78 Echo (ping) request  id=0x4b30, seq=33150/32385, ttl=1 36 9.862704895 54.38.38.159 →

Re: xclip - how to use without a graphics display for testing on Github workflows

2023-09-09 Thread Max Nikulin
On 10/09/2023 06:36, Tom Browder wrote: We have a Raku module that uses "xclip" during use on a computer with a monitor.  We need to test it with Github workflows which does not have a graphics device. Is there any "xclip" option to allow for testing without a graphics devivce without

Re: door bell like sound effect

2023-08-29 Thread Max Nikulin
On 29/08/2023 22:41, Curt wrote: You'd think it'd be simpler to write a script that runs overnight checking for active audio sources (using maybe 'pacmd list-sink-inputs' or similar) and logging them to a file when detected. Is it possible to increase verbosity of logs of some pulseaudio

Re: door bell like sound effect

2023-08-29 Thread Max Nikulin
On 30/08/2023 01:58, gene heskett wrote: bash: pactl: command not found gene@coyote:~$ sudo apt install pactl ... E: Unable to locate package pactl Next? Either apt-file suggested earlier or if you are using it rarely and prefer to avoid downloading of file lists for all packages then

Re: su

2023-09-14 Thread Max Nikulin
On 14/09/2023 17:30, Vincent Lefevre wrote: Yes, XDG_RUNTIME_DIR is problematic, but as "su -" doesn't work in GNU Screen (it yields major display issues), I presume that some environment variables (terminal related?) are still useful. I just have tried it. "su -" preserves

Re: using ddrescue on the root partition - boot with / as read-only

2023-09-14 Thread Max Nikulin
On 14/09/2023 19:48, Michael Kjörling wrote: On 14 Sep 2023 12:17 +0200, from vinc...@vinc17.net (Vincent Lefevre): badblocks says that there are 25252 bad blocks. I'm using ddrescue before doing anything else (mainly in case things would go worse), but I would essentially be interested in

Re: su

2023-09-14 Thread Max Nikulin
On 14/09/2023 22:26, Vincent Lefevre wrote: I noticed the issue just before the upgrade to bookworm (I wanted to do that for the upgrade). But I can't reproduce it in bookworm. So this may have been an old bug that has been fixed. I do not follow the topic, so I can not attribute changes to

Does debian installer use volume names for LVM? (was: Re: trixie update/upgrade strangeness)

2023-10-15 Thread Max Nikulin
On 12/10/2023 09:55, Jeffrey Walton wrote: On Wed, Oct 11, 2023 at 10:49 PM Andy Smith wrote: - they were using LVM - they'd taken a snapshot of their root fs - they were finding and mounting their root fs by fs UUID - snapshot obviously had same fs UUID - the kernel was finding the snapshot

Re: Bookworm: NetworkManager

2023-10-25 Thread Max Nikulin
On 22/10/2023 22:46, Lee wrote: but /etc/network/interfaces over-rides /etc/NetworkManager - correct? So maybe I'm just using dhclient and have no idea if this works for NetworkManager or not. NetworkManager may use built-in, dhclient, or dhcpcd, see NetworkManager.conf(5). It has a plugin

Re: How do I connect my new wifi router (Mi Router 4C)?

2023-10-25 Thread Max Nikulin
On 25/10/2023 18:24, Martin wrote: On Wed, Oct 25, 2023 at 03:17:09PM +0700, Max Nikulin wrote: So packet forwarding should be enabled on the computer. sysctl net.ipv4.ip_forward almost certainly enabled since you have the docker0 network interface However I suspect an issue with IP

link-local 169.254.x.y addresses

2023-10-25 Thread Max Nikulin
On 25/10/2023 00:21, Pocket wrote: On 10/24/23 12:48, Max Nikulin wrote: There was a thread several months ago with discussion of link local 169.254.x.y addresses. Where may I find that thread? See latest threads with the "mdns" keyword. Despite mDNS-SD (e.g. printer disco

127.0.1.1 in /etc/hosts and dnsmasq

2023-10-27 Thread Max Nikulin
Hi, 127.0.1.1 appeared again is a perpetual thread. I have another question, so I decided to start a new thread. unicorn:~$ grep unicorn /etc/hosts 127.0.1.1 unicorn.wooledge.orgunicorn This line makes various dnsmasq instances (they may be started by lxc-net.service, for

Re: How do I connect my new wifi router (Mi Router 4C)?

2023-10-25 Thread Max Nikulin
On 26/10/2023 02:20, Martin wrote: On Wed, Oct 25, 2023 at 07:33:52PM +0700, Max Nikulin wrote: should have something like table ip sharedconnection { chain postrouting { type nat hook postrouting priority srcnat; policy accept; ip saddr 192.168.231.3/24 ip daddr != 192.168.231.3

Re: [Bookworm] collecting sensors data

2023-10-27 Thread Max Nikulin
On 28/10/2023 01:39, Greg wrote: I just noticed that there is no rrdcollect in Bookworm. What is the "proper" way of collecting sensors readings? https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1029995 : please consider removing rrdcollect. Its a tool/daemon to collect metrics from the

Re: Which Virtual Manager? Was: EASY way to install packages from trixie/sid to stable?

2023-10-27 Thread Max Nikulin
On 28/10/2023 02:02, The Wanderer wrote: for the case of hierarchical snapshots qemu-img(1) allows to create snapshots of disk images that are stored in the same file. In addition the "create" command has the "-b BACKING_FILE" option If the option BACKING_FILE is specified, then the

Re: Domain name to use on home networks

2023-10-27 Thread Max Nikulin
On 28/10/2023 05:48, Jeffrey Walton wrote: Yeah, just file a bug and let whomever else deal with it. Whatever text is proposed, it will be rejected in favor of what the person with check-in privileges wants. Or worse, the person with check-in privileges will torture the submitter with an

Re: touchpad buttons sometimes stop working for several seconds

2023-10-31 Thread Max Nikulin
On 01/11/2023 00:53, Vincent Lefevre wrote: I have a new laptop. An issue I have is that the touchpad buttons often stop working for several seconds (under X11). Can you move cursor during these periods? KDE has the "disable touchpad when typing" feature (likely a kded5 plugin exposed as

Re: Populating IPv6 DNS addresses in resolv.conf

2023-10-31 Thread Max Nikulin
On 30/10/2023 20:04, Timothy M Butterworth wrote: sudo less /etc/NetworkManager/system-connections/Pixel5.nmconnection [...] [ipv6] addr-gen-mode=stable-privacy dns=2001:4860:4860::,2001:4860:4860::8844; dns-search=home.arpa; ignore-auto-dns=true #I tried with this on, commented out and

Re: Domain name to use on home networks

2023-10-30 Thread Max Nikulin
On 31/10/2023 01:43, Greg Wooledge wrote: for Gene's systems I would recommend traditional Debian ifupdown (/etc/network/interfaces). It's by far the simplest, and the most widely supported among the community, in case he has questions. Notice that in the default configuration NetworkManager

Re: Domain name to use on home networks

2023-10-30 Thread Max Nikulin
On 30/10/2023 23:09, gene heskett wrote: Making resolv.conf immutable seems to be the way to permanently insulate me from NM's broken idea of whats right. Gene, from what you have written in this thread I see nothing wrong in behavior of NetworkManager. Certainly it is easier to continue

Re: Default DNS lookup command?

2023-10-30 Thread Max Nikulin
On 30/10/2023 14:03, Richard Hector wrote: On 24/10/23 06:01, Max Nikulin wrote: getent -s dns hosts zircon Ah, thanks. But I don't feel too bad about not finding that ... 'service' is not defined in that file, 'dns' doesn't occur, and searching for 'hosts' doesn't give anything useful

Re: Populating IPv6 DNS addresses in resolv.conf

2023-10-30 Thread Max Nikulin
On 31/10/2023 04:02, Pocket wrote: On 10/30/23 15:50, Timothy M Butterworth wrote: I know it is using dhclient because I typod the domain name supersede domain-name "home.apra"; and it populated .apra in resolv.conf. Sorry, it is not clear for me what did you do and what result you got.

Re: Changing host name and domain name on Debian; was: Domain nametouse on home networks

2023-10-30 Thread Max Nikulin
On 30/10/2023 00:00, gene heskett wrote: Somebody who /can/ report it. I changed ISP's over a decade back, so I am not me to bugzilla, and because I am known also by name, I can't re-register. I can't even get a pw reset cuz it (I'm guessing here) is sending it to my earlier ISP's Sorry, it

kill -9 firefox (Re: Performance of my computer)

2023-10-30 Thread Max Nikulin
On 31/10/2023 01:56, Van Snyder wrote: Firefox, in every version I've used so far, appears to have memory leaks. If I kill it, not by clicking its little "X" or Alt-F4, but with "kill -9", so that it reopens everything when I restart it, my memory usage immediately drops by 75%. Then it creeps

Re: Alternative to NetworkManager on Debian 12

2023-11-01 Thread Max Nikulin
On 01/11/2023 18:31, Nicolas George wrote: systemd-networkd plus netplan. It was terrible, the network would get de-configured if somebody pulled the ethernet cable (and that happens a lot here!) and rebooted the machine while they were at it, and the NIS and NFS do not appreciate it much. I

Re: Populating IPv6 DNS addresses in resolv.conf

2023-11-01 Thread Max Nikulin
On 01/11/2023 17:41, Timothy M Butterworth wrote: All, Thanks for all your help. I was able to get it mostly working: # Generated by NetworkManager search home.arpa nameserver 8.8.8.8 nameserver 8.8.4.4 nameserver 192.168.104.233 # NOTE: the libc resolver may not support more than 3

Re: Alternative to NetworkManager on Debian 12

2023-11-01 Thread Max Nikulin
On 01/11/2023 21:33, to...@tuxteam.de wrote: I was just pointing at the fact that even ifupdown can automatically bring up an interface on connect (cf. allow-hotplug), courtesy of udev. Doesn't allow-hotplug means adding a network adapter (e.g. a USB one), not plugging network cable into an

Re: touchpad buttons sometimes stop working for several seconds

2023-11-02 Thread Max Nikulin
On 02/11/2023 04:51, Vincent Lefevre wrote: On 2023-11-01 20:15:49 +0100, Vincent Lefevre wrote: On 2023-11-01 09:09:45 +0700, Max Nikulin wrote: Can you move cursor during these periods? Yes, no issues with the cursor (mouse pointer). I would still try to disable typing detection to test

Re: Alternative to NetworkManager on Debian 12

2023-11-02 Thread Max Nikulin
On 02/11/2023 00:44, to...@tuxteam.de wrote: On Wed, Nov 01, 2023 at 10:00:45PM +0700, Max Nikulin wrote: Doesn't allow-hotplug means adding a network adapter (e.g. a USB one), not plugging network cable into an existing adapter (built-in or connected earlier)? Following the man page

Re: touchpad buttons sometimes stop working for several seconds

2023-11-02 Thread Max Nikulin
On 03/11/2023 01:55, Vincent Lefevre wrote: (EE) event14 - VEN_04F3:00 04F3:311C Touchpad: kernel bug: Touch jump detected and discarded. See https://wayland.freedesktop.org/libinput/doc/1.22.1/touchpad-jumping-cursors.html for details I can actually see 6 messages like that in

Re: Alternative to NetworkManager on Debian 12

2023-11-03 Thread Max Nikulin
On 03/11/2023 00:58, to...@tuxteam.de wrote: On Thu, Nov 02, 2023 at 10:41:06PM +0700, Max Nikulin wrote: I am a bit surprised by a use case when temporary unplugging of cable should be ignored. I have not tested it, but I hope, a setting, I have noticed in docs, allows NetworkManager

Re: How do I connect my new wifi router (Mi Router 4C)?

2023-11-05 Thread Max Nikulin
On 05/11/2023 13:48, Tixy wrote: On Sat, 2023-11-04 at 20:08 +0100, Martin wrote: [...] BTW putting above script into /etc/nftables.conf (at the bottom of file) did not ever worked - I had always to run that file manualy as root. Command 'nft list ruleset' only then showed this table. I have no

Re: Performance of my computer

2023-10-31 Thread Max Nikulin
On 31/10/2023 01:57, Greg Wooledge wrote: On Mon, Oct 30, 2023 at 12:45:38PM -0600, William Torrez Corea wrote: I haven't partitioned my hard disk. I have Toshiba L200 Laptop PC Hard drive 1 TB, 5400 rpm, 128 MB/8MB buffer That doesn't sound right. 128 MB of RAM? It is buffer size of the

Re: Domain name to use on home networks

2023-10-29 Thread Max Nikulin
On 30/10/2023 00:08, Pocket wrote: On 10/29/23 12:24, gene heskett wrote: I have also made a very painfull attempt to change my domainname from coyote.den to home.arpa, and finally reverted that, Gene, have you posted what exactly you did to switch from coyote.den to home.arpa? You have

Re: Domain name to use on home networks

2023-10-29 Thread Max Nikulin
On 30/10/2023 01:21, Jeffrey Walton wrote: Also see , where the systemd folks said to modify the hostname by hand because hostnamectl butchered the fully qualified hostname. Debian

Re: Domain name to use on home networks

2023-10-29 Thread Max Nikulin
On 27/10/2023 21:19, Greg Wooledge wrote: More importantly, why on earth would this be recommended over editing the /etc/hostname file, which is *much* simpler, and which appears to be independent of the init system that's in use? hostnamectl tries to prevent split brain /etc/hostname vs.

Re: Changing host name and domain name on Debian; was: Domain nameto use on home networks

2023-10-29 Thread Max Nikulin
On 27/10/2023 23:03, gene heskett wrote: I suggest you file a bug against this command to among other things, clean up the language to refer to FQDN's or aliases which we are familiar with, "static, transient or pretty" as so called choices. If using new words for old, either define them so

Re: 12.2: fork() causing getline() to repeat stdin endlessly

2023-10-24 Thread Max Nikulin
On 25/10/2023 02:19, Greg Wooledge wrote: At this point I still don't know *why* glibc rewinds stdin intermittently on exit(). Consider a parent process that reads some file. When a specific keyword appears there, it should start a child that parses the same file till another keyword. When

Re: How do I connect my new wifi router (Mi Router 4C)?

2023-10-26 Thread Max Nikulin
On 26/10/2023 17:06, Martin wrote: On Thu, Oct 26, 2023 at 09:54:22AM +0700, Max Nikulin wrote: #!/usr/sbin/nft -f table inet sharedconnection {} flush table inet sharedconnection # table ip shared connection { ... } from above I did create FILE.conf and after executing it I can connect

Re: How do I connect my new wifi router (Mi Router 4C)?

2023-10-25 Thread Max Nikulin
On 25/10/2023 15:04, Anssi Saari wrote: You have some kind of mysterious internet connection from something. That needs to connect to the router's WAN port. My guess is the following: - Source of weak WiFi - WiFi booster - WiFi adapter in computer - ethernet port in computer - ethernet port

xorriso and SIGTERM/SIGINT handler (was: Re: How to use dmsetuup?)

2023-11-05 Thread Max Nikulin
On 05/11/2023 15:04, Thomas Schmitt wrote: If you want to abort earlier, do not press Ctrl+C but rather do touch /var/opt/xorriso/do_abort_check_media I do not have an optical drive around for last years, so feel free to ignore my question. Are there obstacles making implementation of

Re: Domain name to use on home networks

2023-10-30 Thread Max Nikulin
On 29/10/2023 23:24, gene heskett wrote: finally solved by editing resolv.conf to put the nameserver address into it, followed by a chattr +i resolv.conf. I have no d clue where mangler I have realized that it is a nice stance taking into account that the topic of the original thread was

Re: Populating IPv6 DNS addresses in resolv.conf

2023-10-30 Thread Max Nikulin
On 30/10/2023 20:04, Timothy M Butterworth wrote: sudo less /etc/resolv.conf domain home.arpa search home.arpa nameserver 8.8.8.8 nameserver 8.8.4.4 I do not see "# Generated by NetworkManager" here. nmcli connection nmcli device NetworkManager --print-config ls -l

Re: Does debian installer use volume names for LVM?

2023-10-17 Thread Max Nikulin
On 15/10/2023 15:49, Erwan David wrote: Le 15/10/2023 à 10:32, Max Nikulin a écrit : I am curious if debian installer uses volume names in /etc/fstab when LVM is involved (either guided or manual partitioning). In guided partitionning, it uses the /dev/mapper name Thank you, Erwan

Re: Debian live boot corrupting secure boot

2023-09-28 Thread Max Nikulin
On 28/09/2023 16:45, Valerio Vanni wrote: On Thu, 28 Sep 2023 10:08:27 +0700 Max Nikulin wrote: After a vulnerability found in shim or grub (that allows to boot malicious code having no proper signature) old keys used by Linux distributions are revoked, new ones are generated. New images

Re: On the uses of secure boot [was: Debian live boot corrupting secure boot]

2023-09-29 Thread Max Nikulin
On 29/09/2023 17:16, to...@tuxteam.de wrote: He-said-she-said. Warning! Flammable! Let's wait till Valerio's issue will be solved. E.g. nobody has posted commands to get list of secure boot keys so far.

Re: naming a partition after the fact?

2023-09-29 Thread Max Nikulin
On 30/09/2023 02:54, gene heskett wrote: On 9/29/23 15:17, Andy Smith wrote: Probably, but adding a label to a *filesystem* is easy, so will that suit your needs? "man e2label" for ext* filesystems. That is what I couldn't remember Andy, thanks. In the case of GPT, partitions may have names

Re: swap-fle on arm64, need to disable, how?

2023-09-29 Thread Max Nikulin
On 30/09/2023 03:36, gene heskett wrote: On 9/29/23 15:21, Andy Smith wrote: On Fri, Sep 29, 2023 at 03:15:54PM -0400, gene heskett wrote: I have SSD's for swap on an rpi4b, so to lessen the abuse of the u-sd cnc@rpi4:/etc$ sudo swapon -s Filename    Type

Re: swap-fle on arm64, need to disable, how?

2023-10-01 Thread Max Nikulin
On 01/10/2023 10:21, hw wrote: Well, zram is the way to go; why would you still use swap partitions or swap files instead? The topic of this thread is a *Pi board. It does not have as much RAM as significant part of x86_64 laptops and desktops with installed Fedora. It seems, Gene it trying

Re: swap-fle on arm64, need to disable, how?

2023-10-01 Thread Max Nikulin
On 01/10/2023 01:16, Greg Wooledge wrote: On Sat, Sep 30, 2023 at 01:50:57PM -0400, gene heskett wrote: cnc@rpi4:/etc$ sudo dphys-swapfile swapoff sudo: dphys-swapfile: command not found ... unicorn:~$ apt-cache search dphys swap dphys-swapfile - Autogenerate and use a swap file From my

Re: swap-fle on arm64, need to disable, how?

2023-10-02 Thread Max Nikulin
On 02/10/2023 03:01, hw wrote: Once you figured it out, you add sufficent amounts of RAM and use zram. Is it possible for *Pi boards? Even laptops may have soldered RAM with no spare slots. ZRAM may be fast, but if you need, say +2G in comparison to physical RAM size, the chance of success

Re: How can I find packages manually installed using "dpkg -i"?

2023-10-02 Thread Max Nikulin
On 02/10/2023 17:05, Ottavio Caruso wrote: Before you say: $ apt list '?narrow(?installed, ?not(?origin(Debian)))' The problem with that is there are packages that I added from the Linux Mint repos (not manually) and that I want to keep and they all have the tag "local". For example:

Re: OT: Livesystem - grub is counting up

2023-09-25 Thread Max Nikulin
On 25/09/2023 18:01, Hans wrote: But today there is first a memeory counter "(XXX/528M)" counting up, then, when 528 is reached, the kali menu appears and I can boot as normal. At certain moment Ubuntu live images started to verify files on the media comparing their checksums. Earlier it was

Re: Debian live boot corrupting secure boot

2023-09-26 Thread Max Nikulin
On 27/09/2023 03:28, Valerio Vanni wrote: I found the issue on latest versions of Clonezilla, but then I tried ^^ with plain Debian live and the behavior is the same. Does it mean that you can not boot your *old* Clonezilla live after booting a latest

Re: Debian live boot corrupting secure boot

2023-09-27 Thread Max Nikulin
On 28/09/2023 05:35, Valerio Vanni wrote: On Wed, 27 Sep 2023 09:54:31 +0700 Max Nikulin wrote: My opinion is that just loading boot images without installing OS should not modify firmware state. In this sense it may be a bug. Not only I didn't install any OS, I didn't boot any image. It's

Re: How can I find packages manually installed using "dpkg -i"?

2023-10-04 Thread Max Nikulin
On 04/10/2023 09:58, Mike Castle wrote: The following UNTESTED commands (ran as a normal user): (apt-mark showauto ; apt-mark showmanual) > apt-thinks-you-installed.txt dpkg-query --show --showformat='${Package}\n' | grep -v -F apt-thinks-you-installed.txt > rest.txt The file "rest.txt" should

Re: List packages from non-default repositories

2023-10-04 Thread Max Nikulin
On 04/10/2023 11:58, David Wright wrote: Explanations for these hits: linux-image is the previous kernel, xtoolwait is from squeeze, youtube-dl is the last I found before I started using yt-dlp, and I don't have backports in my sources.list. Besides youtube-dl, these packages

Re: List packages from non-default repositories

2023-10-03 Thread Max Nikulin
On 04/10/2023 01:29, Jörg-Volker Peetz wrote: Max Nikulin wrote on 03/10/2023 12:11: apt list '?narrow(~i, !~Astable|~Astable-backports|!~O^Debian$|~o|~c)' In my experience the only tool that gives correct answers, is apt-show-versions in the package of the same name: $ apt-show-versions

Re: List packages from non-default repositories

2023-10-04 Thread Max Nikulin
On 04/10/2023 15:42, Jörg-Volker Peetz wrote: $ apt list '~i' | grep -v '/testing' and $ apt-show-versions | grep -v '/testing ' show the same packages, correctly, but $ apt list '~i!~Atesting' is missing some packages. It is the reason why I added '?narrow'. Try apt list

Re: Debian live boot corrupting secure boot

2023-10-04 Thread Max Nikulin
On 03/10/2023 01:34, Valerio Vanni wrote: Il 02/10/2023 18:45, Max Nikulin ha scritto: But neither Asus (bios from start of September) nor Microsoft (Windows 11) do that blacklisting. Do you mean Windows install on hard drive or Windows install image? should be "inst

Re: How can I get verbose shutdown from the GUI (Mate)?

2023-10-03 Thread Max Nikulin
On 03/10/2023 16:14, Ottavio Caruso wrote: $ sudo systemctl poweroff ... Is there a way to force verbosity during shutdown without opening a terminal window or creating a keyboard shortcut? Perhaps all you need is sudo journalctl -b -1 -e when you boot your machine next time. Likely

List packages from non-default repositories

2023-10-03 Thread Max Nikulin
Hi, What is the recommended way to find deb packages installed from repositories other than stable? My current variant is apt list '?narrow(~i, !~Astable|~Astable-backports|!~O^Debian$|~o|~c)' I can not say that I fully understand how apt-patterns(7) work, so I am afraid that I may miss

When a random string is not random (was Re: PATH revisited: one PATH to "rule the [Debian] World")

2023-09-24 Thread Max Nikulin
On 25/09/2023 00:27, Greg Wooledge wrote: On Sun, Sep 24, 2023 at 01:05:32PM -0400, Dan Ritter wrote: Tom Browder wrote: Every time I set up a new host, I have to jump through the hoops trying to get the same PATH for ordinary users as well as root, regardless of how they log in. Reading the

Re: Debian live boot corrupting secure boot

2023-10-02 Thread Max Nikulin
On 30/09/2023 20:53, Valerio Vanni wrote: Il 29/09/2023 05:39, Max Nikulin ha scritto: That is why I am suggesting to check for discussions related to shim & grub and to ask people involved into their development. I'll try. I don't feel confortable at the idea that a live environment c

Re: Understanding package dependencies

2023-10-09 Thread Max Nikulin
On 08/10/2023 01:45, Greg Wooledge wrote: On Sat, Oct 07, 2023 at 08:27:11PM +0200, Sven Joachim wrote: In the current case, "aptitude search '~Plsb-base'" does the trick. Why on EARTH was this not ported to apt-patterns(7)? It is one of two features I miss in "apt list". Another one is

Re: Debian live boot corrupting secure boot

2023-10-05 Thread Max Nikulin
On 05/10/2023 04:06, Valerio Vanni wrote: I don't know if there is an EFI shell. I am not sure, but some motherboards may have it preinstalled. Check files on EFI system partition. It may be available in boot menu invoked by some F* key (not grub menu), it may be necessary to enable it in

Re: Intermittent WiFi on Network Manager

2023-10-07 Thread Max Nikulin
On 07/10/2023 18:11, gene heskett wrote: On 10/7/23 05:17, Ottavio Caruso wrote: options iwlwifi bt_coex_active=0 swcrypto=1 11n_disable=8 to /etc/modprobe.d/iwlwifi.conf Another possibility is a leaky microwave oven in the vicinity. I consider buggy firmware as a more plausible cause of

Re: Debian live boot corrupting secure boot

2023-10-10 Thread Max Nikulin
On 11/10/2023 08:46, Valerio Vanni wrote: Now I've tried Fedora live: it doesn't act like Debian. After it, I can still boot old Clonezilla. Not only at grub page: I can also load live environment. If the Fedora image is fresh enough then there are some patches either in Fedora or in Debian.

Re: xrandr 1600x900 (ThinkPad X220T VGA-port) becomes 1440x900 (Samsung SyncMaster S20A300B)

2023-10-19 Thread Max Nikulin
On 20/10/2023 07:46, riveravaldez wrote: Certainly, but it hasn't. It has only VGA and DVI-D (Dual Link) inputs, and the laptop has only DP and VGA outputs, so, VGA is the first option... A decade ago I used a HDMI to DVI adapter plugged into the monitor (a case a bit larger than a DVI male

Re: xrandr 1600x900 (ThinkPad X220T VGA-port) becomes 1440x900 (Samsung SyncMaster S20A300B)

2023-10-20 Thread Max Nikulin
On 20/10/2023 20:13, Anssi Saari wrote: Max Nikulin writes: A decade ago I used a HDMI to DVI adapter plugged into the monitor (a case a bit larger than a DVI male connector having a HDMI slot). I would check if DP to DVI or DP to HDMI converters exist and have no compatibility issues (e.g. I

Re: Bookworm: NetworkManager

2023-10-22 Thread Max Nikulin
On 22/10/2023 19:22, Pocket wrote: What version of NetworkManager is installed with bullseye? Maybe a newer version is broken? I upgraded this VM to bookworm months ago. apt policy network-manager network-manager: Installed: 1.42.4-1 Candidate: 1.42.4-1 Version table: *** 1.42.4-1

Re: Default DNS lookup command?

2023-10-21 Thread Max Nikulin
On 21/10/2023 22:58, David Wright wrote: On Sat 21 Oct 2023 at 17:35:21 (+0200), Reiner Buehl wrote: is there a DNS lookup command that is installed by default on any Debian Bullseye or Bookworm install? nslookup is in busybox. busybox is an optional package, so it may be absent. "getent

Re: cli_ how to find_ firefox versions available in all suites

2023-10-21 Thread Max Nikulin
On 22/10/2023 04:32, Cindy Sue Causey wrote: $ apt-cache policy firefox That should help, but it will only provide query results that are relative to your sources.list lines above. To show suites not represented in sources.list, the already recommended packages webpage covers those. The

Re: Bookworm: NetworkManager

2023-10-22 Thread Max Nikulin
On 22/10/2023 00:24, Greg Wooledge wrote: If you're asking us to tell you how to *make NetWorkManager behave* then you might be frustrated. Most of the people on this mailing list don't use it. There are some who actively despise it, and go out of their way to ensure it's never installed. I

Re: Domain name to use on home networks; was: Bookworm:NetworkManager

2023-10-22 Thread Max Nikulin
On 23/10/2023 04:43, gene heskett wrote: As I keep repeating Dan, there is not a local dns, its all a 15 entry hosts file atm. So that cannot bite /me/. It can. Some day .den TLD may be registered and chosen by a 3d printer manufacturer. It might happen that you would not be able to access

Re: Domain name to use on home networks; was: Bookworm:NetworkManager

2023-10-23 Thread Max Nikulin
On 23/10/2023 09:59, Stefan Monnier wrote: I can relate to Gene's feelings since there's been indeed some churn over the years, but `/etc/hosts` seems like an odd example because this one is among the most stable part of Unix/Linux. Gene's issue was with resolv.conf and he was refusing Greg's

Re: 12.2: fork() causing getline() to repeat stdin endlessly

2023-10-23 Thread Max Nikulin
On 23/10/2023 15:45, Thomas Schmitt wrote: - Why no "fork() = " after the lines which show their number for the first time ? https://stackoverflow.com/questions/2530663/printf-anomaly-after-fork fork clones stdout buffer and child exit flushes its content.

Re: Default DNS lookup command?

2023-10-23 Thread Max Nikulin
On 23/10/2023 20:52, David Wright wrote: AFAICT, if you don't have busybox installed, then I think it's likely that you removed it yourself. Or it is a LXC container installed using the "download" template. It uses systemd-networkd and systemd-resolved. I have never tried qemu with kernel

Re: Default DNS lookup command?

2023-10-23 Thread Max Nikulin
On 22/10/2023 18:39, Richard Hector wrote: But not strictly a DNS lookup tool: richard@zircon:~$ getent hosts zircon 127.0.1.1   zircon.lan.walnut.gen.nz zircon That's from my /etc/hosts file, and overrides DNS. I didn't see an option in the manpage to ignore /etc/hosts. getent -s dns

Re: Bullseye wi-fi. I have to restart NetworkManager every 5 minutes

2023-10-06 Thread Max Nikulin
On 06/10/2023 16:23, Ottavio Caruso wrote: For some reason, every time I am connected to wifi, pages can't load after 5 minutes of activity and I have to restart NetworkManager to get them back. Does it help to just disable/enable WiFi in the NetworkManager applet? You may try to disable

Re: Git for backup storage

2023-10-06 Thread Max Nikulin
On 06/10/2023 16:14, Nicolas George wrote: Unfortunately, Git is very bad at removing old data I have no idea if it is possible to do it in place, but "git clone" and "git fetch" have the --depth option. So you can specify how many last commits you would like to have in the cloned

Re: Bullseye wi-fi. I have to restart NetworkManager every 5 minutes

2023-10-06 Thread Max Nikulin
On 06/10/2023 16:23, Ottavio Caruso wrote: I have the latest kernel from Bullseye backports. I don't want to upgrade yet. You may try to boot from a live image and to check if up to date software stack behaves better without touching of installed OSes.

Re: Can't upgrade my desktop

2023-10-23 Thread Max Nikulin
On 24/10/2023 06:53, Jeffrey Walton wrote: $ grep -iIR -E 'bookworm|bullseye|buster|stretch|jessie' /etc/apt may list additional suspects, especially if they are hidden away in /etc/apt/sources.list.d. I would prefer either apt policy or apt-cache policy to get list of

Re: Network tcp/iptables issue with XRDP

2023-10-24 Thread Max Nikulin
On 24/10/2023 19:04, Henggi wrote: - iptables on server are cleared/open (firewalld or other firewall frameworks are not used/installed). Nowadays nft or iptables is not the only option to drop packets. Another one is eBPF used e.g. by systemd. I have the following link in my notes, but I

Re: 12.2: fork() causing getline() to repeat stdin endlessly

2023-10-24 Thread Max Nikulin
On 24/10/2023 12:18, tom kronmiller wrote: so I unbuffered stdin and that seemed to make it happy. It might be performance killer. Even fflush(NULL) before fork() may be better. https://stackoverflow.com/questions/50110992/why-does-forking-my-process-cause-the-file-to-be-read-infinitely

Re: Bookworm: NetworkManager

2023-10-24 Thread Max Nikulin
On 22/10/2023 23:29, gene heskett wrote: My whole home net has no dhcp server, host files do it all. NM, and avahi, seems to want to assign a default route in the 169 block if it cannot find a dns server, [...] IF I can prevent NM and avahi from assigning a totally bogus 169. route, it just

Re: Alt-Shift-P freezes XTerm

2023-10-14 Thread Max Nikulin
On 15/10/2023 02:10, Van Snyder wrote: The culprit is tcsh, not XTerm. With bash, Alt-Shift-P produces a colon. In tcsh the default bindings are almost the same as in bash: https://manpages.debian.org/bookworm/tcsh/tcsh.1.en.html#history-search-backward history-search-backward (M-p, M-P)

xterm font and other options

2023-08-20 Thread Max Nikulin
On 20/08/2023 14:55, Karl Vogel wrote: #!/bin/sh ... # -fa 'xft:...' font size and weight ... ( $XTERM $geo $topts -fa "$FONT" -title "Remote" ) & Xterm configuration options may be put to ~/.Xresources, e.g. xterm*VT100.faceName: ... I am curious if there are actual

Re: Konsole is not bash

2023-08-20 Thread Max Nikulin
On 21/08/2023 01:48, Greg Wooledge wrote: Some shell features do change over time, but the significant ordering of redirections has remained stable ever since the original Bourne shell. An exercise that relies on order of redirections and thus demonstrates its importance: Swap stderr and

Re: Konsole is not bash

2023-08-20 Thread Max Nikulin
On 21/08/2023 01:05, Felix Miata wrote: In the most recent versions of Konsole I've started (5.27.x), the default profile has inexplicably been changed from /bin/bash to /bin/sh. Is it konsole or plasma version? May it happen that /bin/sh was just saved to your konsole config files or it is

  1   2   3   4   5   6   >