Re: mail tags in kmail?
Hans writes: > Dear list, > > does anyone know, where kmail is storing its tags for mails? The tags I mean > are those like "already read". I've never done that but maybe this helps, from https://docs.kde.org/stable5/en/kmail/kmail2/faq.html#transfer-mail-and-settings: 6.10. How do I transfer my mail and settings to another computer (or to another user account on the same machine)? Use Tools -> Import/Export KMail Data... to import and export settings and data. Please see PIM Setting Exporter for details.
Re: Vlan and DHCP
basti writes: > Whats wrong there? > Can someone put me in the wright direction? Must you use kea-dhcp? I researched a similar situation (I think, I'm not 100% from your description) and dnsmasq as DHCP server can handle this.
Re: Bookworm Networking Issues
Greg Wooledge writes: > For example, on my current machine, the network interface is named "eno1". > To bring this interface up, if it's not already up, I would run: > > ifup eno1 Um, ifup takes -a to bring all interfaces marked auto up. So that's the obvious command to try and if it doesn't work then it's time to get down into the details with error messages and what's in the config and all that.
Re: Ethernet not working on a Dell notebook
fran...@libero.it writes: > sudo mii-tool enp19s0 -F 10baseT-FD > > The problem is that every time I shut off the notebook Ito have ethernet > connection again I have to give that command by terminal. Is > there the possibility to make default this ethernet module? Thanks and regards You can specify ethtool commands to be run in /etc/network/interfaces, see /usr/share/doc/ethtool/README.Debian for details. I'm not sure if that'll work with NetworkManager, though. But, having to force 10baseT probably indicates other issues like a bad cable, as Marco said.
Re: Getting my PCMCIA Serial card to work
Anders Andersson writes: > When I searched for "spectrum_cs" and "orinico" I got a lot of results > for some PC Card WLAN interface, which isn't right. Does anyone > recognize this? It should have a bog-standard 16550 compatible UART > and PCMCIA is more or less an ISA bus so I did not foresee any > problem. Is it perhaps incorrectly detecting my card as a WLAN card? It's probably been about 20 years since I've used a PCMCIA card in Linux. Anyways, do you have the pcmciautils package installed? That provides some useful tools to figure things out. udev rules too, presumably to autoload drivers. That card should probably work with the serial_cs driver.
Re: Journald's qualities
Mariusz Gronczewski writes: > ... in what way? You need to resolve DNS first before you know which > interface the traffic is going out of. You can specify a domain via resolvectl domain for an interface. In my simple case I specify just ~. as the domain for my VPN and for my local domain it's lan. So everything not going to .lan goes to VPN DNS.
Re: Journald's qualities
Mariusz Gronczewski writes: > Offtopic but since Debian switched to systemd for DNS management on > VPNs and suc I need to restart it sometimes multiple times to just get > "right" DNS servers, because there appears to be no notion of priority: > > https://github.com/systemd/systemd/issues/27543 > > so now any time I connect to work (just openvpn tunnel, nothing fancy) > I need to spam > > systemclt restart systemd-resolved ; sleep 1 ; cat /etc/resolv.conf > > few times till the dice rolls the right order of DNS servers... Interesting. I leaped on systemd-networkd and -resolved when I read years ago it added interface specific DNS support. So now my local DNS (dnsmasq in the router) handles my home network and what goes out via the VPN (i.e. tun0 or wg0 these days) uses the VPN's DNS. Or if the VPN is off, the local DNS forwards queries to DHCP assigned DNS. I see no issues although I don't have the kind of VPN where some external traffic goes through it only but might work for that too. For me the default was that systemd-resolved dutifully spammed all DNS queries to all DNS servers through all interfaces. This interface specific DNS was a little hard to setup as I recall. Easier with WG than OpenVPN.
Re: Timer doing apt update
Erwan David writes: > Hello, > > After each boot, the equivalent of apt update is automatically done in > background, through policykit (apt database is locked by > policykitd). So I think there is a timer triggroing this. I'd like to > disable this when my laptop is on expensive link (eg 4G link, or > abroad). So I'd like to disable this timer, but I did not find it. If > someone knws better than me... If you're using the package unattended-upgrades (I'm not sure it ties to policykitd), then there are instructions in the Debian wiki at https://wiki.debian.org/UnattendedUpgrades#Modifying_download_and_upgrade_schedules_.28on_systemd.29 The timers in question are apt-daily.timer and apt-daily-upgrade.timer. Come to think of it, just running apt update shouldn't generate much traffic.
Re: What sets LC_TIME?
Greg Wooledge writes: > On Fri, Feb 16, 2024 at 03:34:12PM +0200, Anssi Saari wrote: >> Yah. It was ssh passing through all that. On serial console, locale >> settings are as expected: >> >> $ locale >> LANG=en_US.UTF-8 >> LANGUAGE=en_US:en >> LC_CTYPE="en_US.UTF-8" >> LC_NUMERIC="en_US.UTF-8" >> LC_TIME="en_US.UTF-8" > [...] > > Well then, that just changes the mystery from "happens on the Debian > system I ssh into" to "happens on my ssh client". For some reason, > your ssh client has all of those LC_* variables set in its environment, > which is still quite unusual. Not at all, I know perfectly well where that comes from. I'd be upset if I didn't. I set all that in my shell config. It's a kind of a legacy contamination from remote shell machines. As I don't have root on all the shell machines I use, I have traditionally configured locales in shell init there. And at some point, I've copied those locale settings to my home desktop, possibly other machines too. I guess one of these days I'll run update-locale and clean up my shell config.
Re: What sets LC_TIME?
Greg Wooledge writes: > On Fri, Feb 16, 2024 at 10:24:07AM +0200, Anssi Saari wrote: >> With the recent LC_ALL thread, I noticed I have LC_TIME set by >> mysterious means on at least two headless systems, for example: >> >> $ locale >> LANG=en_US.UTF-8 >> LANGUAGE= >> LC_CTYPE=en_US.utf8 >> LC_NUMERIC=en_US.utf8 >> LC_TIME=en_DK.utf8 >> LC_COLLATE=en_US.utf8 >> LC_MONETARY=en_US.utf8 >> LC_MESSAGES=en_US.utf8 >> LC_PAPER=en_US.utf8 >> LC_NAME=en_US.utf8 >> LC_ADDRESS=en_US.utf8 >> LC_TELEPHONE=en_US.utf8 >> LC_MEASUREMENT=en_US.utf8 >> LC_IDENTIFICATION=en_US.utf8 >> LC_ALL= > > This is *extremely* abnormal locale output. Here's mine: Yah. It was ssh passing through all that. On serial console, locale settings are as expected: $ locale LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL=
What sets LC_TIME?
With the recent LC_ALL thread, I noticed I have LC_TIME set by mysterious means on at least two headless systems, for example: $ locale LANG=en_US.UTF-8 LANGUAGE= LC_CTYPE=en_US.utf8 LC_NUMERIC=en_US.utf8 LC_TIME=en_DK.utf8 LC_COLLATE=en_US.utf8 LC_MONETARY=en_US.utf8 LC_MESSAGES=en_US.utf8 LC_PAPER=en_US.utf8 LC_NAME=en_US.utf8 LC_ADDRESS=en_US.utf8 LC_TELEPHONE=en_US.utf8 LC_MEASUREMENT=en_US.utf8 LC_IDENTIFICATION=en_US.utf8 LC_ALL= LC_TIME ends up with en_DK.utf8. It's what I usually want so I've probably set this up and possibly I did it in the Debian installer but where does it come from? /etc/default/locale has just LANG=en_US.UTF-8 find /etc /home/as -type f -print0 -follow|xargs -0 grep -e LC_TIME -e en_DK does find some matches, in /etc/locale.gen as expected and in some binary files but not in any relevant config file. Come to think of it, is this actually hidden inside the initrd somehow?
Re: f3tools vs Silicon Power 4T drive
Stefan Monnier writes: > - Use an additional tiny dummy partition in which you can put any info > you like. This seems to be what Microsoft likes to do. At least I had the pleasure of tossing a "Microsoft reserved" partition out from my desktop recently, I think the Windows 10 installer created that but didn't use it. It was just 16 MB of zeros in a very inconvenient location.
Re: what keyboard do you use?
Lee writes: > I figure there's a high percentage of keyboard jockeys here so .. > which keyboard do you like and why? I've had a fnatic ministreak for a few years. Why? - RGB backlight, I set it to a pleasant green. - remappable keys, remappings stored in the keyboard so it works the same everywhere. Two layouts but I only need one. - mechanical keys but quiet ones (Cherry MX Red Silent). - tenkeyless, so without the numeric pad I don't need. - Some media keys, I really only use volume up and down. Only improvement I'd like is macros that you could copy-paste in and adjust their speed. This has macros but you have to type them in which isn't that helpful. My use case is getting passwords into stupid devices and apps, thankfully it's not that common but there's always that one thing on some gizmo that insists you have to type in the password. In fact, my TV has at least two. Before this I had a Happy Hacking keyboard lite for about 20 years. It was and is great, just a little short on keys and lacks the other features mentioned above too.
Re: Is 12.4 safe, or should I wait for 12.5?
Charlie Gibbs writes: > I followed the update steps exactly, accepting all defaults. If that were true, and you followed the steps in *the release notes* you could for example compare what packages you had before and after. But I guess you mean you followed the extremely minimal steps in the wiki? > Well, there was one thing: since I was already at a root > prompt after doing my backup, I just typed "apt-get " > rather than prefixing the commands with "sudo". Could this > cause such a drastic change? I guess it's just one of those things nobody wants to cover in a minimal wiki page. You can't say "if you're root, then don't need to type sudo" because that leads to confusion about root. Based on some dev's complaint that people don't understand "be root". > I don't understand it - when I upgraded my main machine, > everything went smooth as butter, and my desktop and all > applications were left exactly as is. But on my laptop, > the only thing that appears intact is the contents of /home. > Can anyone suggest what happened and how to fix it? Did anything actually happen, other than you logged in to a Gnome Wayland session instead of an XFCE X11 session? Or if you login automatically, maybe the default changed? So log out, select a session you prefer and log in again?
Re: smartctl cannot access my storage, need syntax help
"Roy J. Tellason, Sr." writes: > On Thursday 25 January 2024 09:03:36 am Anssi Saari wrote: >> Western Digital at least claims to have solved the leaking >> problem with helium and since they've been making those drives for over >> a decade, I think it's solved. > > Your source for this? The internet, of course. WDs blog, Backblaze, a bunch of news sites, basically whatever Qwant coughed up. Why?
Re: smartctl cannot access my storage, need syntax help
gene heskett writes: > I carefully note, the use of Helium and its problems is very carefully > ignored. I suppose helium is not required for SMR drives and could be used in CMR drives too... Western Digital at least claims to have solved the leaking problem with helium and since they've been making those drives for over a decade, I think it's solved. Really a shame how the whole SMR mess happened. For the last decade or so I thought I can just double the size of my little "stuff" server (mirrored 1 TB drives) by bigger 2.5" drives. But no, first they came out with fat 2 TB drives and then the slim drives all went SMR. There was a time when suitable drives were available but I wasn't shopping then. So instead of replacing just the drives, I replaced everything. The new server is way faster and has a lot more storage but it's also noisier and slower to wake due to the 3.5" drives.
Re: Powered USB hub [was: Re: smartctl cannot access my storage, need syntax help]
Max Nikulin writes: > Purchasing a powered USB hub, I made a mistake. I have not checked > compatibility with hubctl in advance. > https://github.com/mvp/uhubctl/ Wow, that's very cool. I wonder if there's anything similar for USB switches? I have one that's software controllable but it's not great for my purpose, which is doing the K and M parts of a poor man's KVM switch.
Re: ip link versus nmcli device, WIFI
David Wright writes: > On Mon 22 Jan 2024 at 06:36:57 (+0200), Anssi Saari wrote: >> And you're sure wwx028037ec0200 is a WIFI device? My WWAN device >> sometimes comes up with a wwx ID like that, sometimes wwan0. I even >> explicitly rename it to wwan0 if that happens to make life easier. > > I think that's a different device, for use with mobile networks. > AIUI that would involve a SIM card, and someone footing the bill. That's what a WWAN device usually is today.
Re: ip link versus nmcli device, WIFI
Geert Stappers writes: > Hello, > > > > Here on a laptop does `ip link` see a WIFI device, > but `nmcli device` does not. And you're sure wwx028037ec0200 is a WIFI device? My WWAN device sometimes comes up with a wwx ID like that, sometimes wwan0. I even explicitly rename it to wwan0 if that happens to make life easier.
Re: smartctl cannot access my storage, need syntax help
gene heskett writes: > The OOM death of the system was the xfce4 terminal apparently being > set for unlimited scrollback and that was eating the memory. Switching > to Konsole with has the ability to control the scrollback to 200 > lines, and its taken all 32G's as .cache and 1536 1k blocks of swap, > and its working w/o any OOM actions I've detected. It does seem strange to me, even in MS-DOS era I was able to set a terminal scrollback to 5000 lines without issue, when RAM was maybe 4 MB and a DOS terminal program probably had access to way less than that. So does rsync really generate gigabytes of verbose output? Or is xfce-terminal storing the scrollback in a very inefficient way?
Re: smartctl cannot access my storage, need syntax help
Franco Martelli writes: > I don't know if it is a good idea, in fact it exists a special > partition type for RAID array listed in fdisk, I used that for my > RAID: One case against using partitions on mdraid: if your array gets messed up, you get to recreate those partition tables yourself and that's just hilarious if you don't have a backup. Happened to a friend of mine, reason was a UPS brownout. I think he scanned his disks for copies of the superblock but didn't find any and then somehow with a lot of hassle eventually figured out what the partition tables were. So in a catastrophe, partition tables are one more obstacle to cross before you can start actually recovering your data. My only mdraid was on raw partitions but that never had any issues. I think zfs effectively does the same, no partitions.
Re: How to prevent rtkit from giving firefox higher priority?
Tom Furie writes: > Fewer than when things don't work when you *do* have dbus, apparently ;) > There doesn't seem to be an overwhelming need for it once you step away > from the DE's. I don't have a DE on my main desktop but still it looks like I have five dbus-daemons and one dbus-launch running in the system. On my headless router there's one dbus-daemon, another two headless machines have one or two of those. I don't know what for but they're there and they don't seem to cause any issues.
Re: Seeking a Terminal Emulator on Debian for "Passthrough" Printing
phoebus phoebus writes: > We have noticed that PuTTY allows "passthrough" printing but > unfortunately, it only works unidirectionally and requires the use of > a serial software printer which also supports only unidirectional > flow. While PuTTY can manage connections to devices via the serial > port bidirectionally, it does not provide a solution to manage > "passthrough" printing directly to the COM port. This configuration is > described in the PuTTY documentation > (https://documentation.help/PuTTY/config-printing.html). Is this also true of the Linux version of Putty? I've never used it but it's packaged in Debian. Also I wonder what it is you mean with "bidirectionally" here. Do you expect to read data from the printer and send it back? Another thing I found with a quick search is screen. While screen is a terminal multiplexer, it has a user controllable setting printcmd for printing: "printcmd [cmd] If cmd is not an empty string, screen will not use the terminal capabilities "po/pf" if it detects an ansi print sequence ESC [ 5 i, but pipe the output into cmd. This should normally be a command like "lpr" or "'cat > /tmp/scrprint'". printcmd without a command displays the current setting. The ansi sequence ESC \ ends printing and closes the pipe. Warning: Be careful with this command! If other user have write access to your terminal, they will be able to fire off print commands." >From that description you should be able to set printcmd to for example cat > /dev/ttyUSB_whatever and the remote printing will go there.
Re: serial-getty-ac8jik2j76sc5ckafg5...@public.gmane.org does not start
Rainer Dorsch writes: > Hello, > > I tried to start a serial console on ttyS0, but when I try to start the > serial-getty service, it does not return: > > root@master:~# systemctl status serial-getty@ttyS0.service > ○ serial-getty@ttyS0.service - Serial Getty on ttyS0 > Loaded: loaded (/lib/systemd/system/serial-getty@.service; enabled; > preset: enabled) > Active: inactive (dead) > Docs: man:agetty(8) > man:systemd-getty-generator(8) > https://0pointer.de/blog/projects/serial-console.html The only strange thing to me is that name serial-getty@ttyS0.service since I have just serial-getty@ttyS0.service - Serial Getty on ttyS0 But I guess it doesn't really matter. > root@master:~# systemctl start serial-getty@ttyS0.service Does it start when you do that? Any messages? Has it ever worked? What kind of hardware is it? I had quite some issues finding a PCIe card with a serial port that works in Linux but the third or fourth card was the charm. Both console messages and running agetty on it just worked. Doesn't work for Grub though.
Re: The current package wpasupplicant doesn't support WPA3-Personal authentication. What alternatives to it exist?
Stella Ashburne writes: > Unfortunately, the current package wpasupplicant is unable to do > WPA3-Personal authentication. Are you sure? WPA3-Personal is hardly new so Bookworm should have the support. Even the package description says that. > What alternatives to it exist? I don't think there are any. Or maybe you could do WPA2-enterprise instead like I do but it's a little involved.
Re: Nvidia driver on Debian 10
Marco Moock writes: > Am 03.01.2024 um 11:52:59 Uhr schrieb Thomas Anderson: > >> Here is the output. Wow, a lot. > > All those lines with ii at the beginning mean the package is installed. > > apt remove *nvidia* -s > > Check if the result is ok and then run it without -s (-s only > simulates). nvidia-driver is the actual top level metapackage so removing that is likely the thing. Although I'm not sure that makes much sense if Thomas gets just a blank screen when booting the kernel without the nvidia drivers. Also I think fixing the drivers for both installed kernels might be as simple as running dpkg-reconfigure nvidia-kernel-dkms The version of nvidia-driver and related packages seem to be the same as what nvidia-smi reports, 418.226.00, so it doesn't look like there's anything super weird in the system.
Re: kbrequest as in older /etc/inittab
Mike McClain writes: > Prior to the introduction of systemd /etc/inittab had this line in it: > kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this > work." > and I found it useful to tie a call to openvt to Alt Up which went > well with ALT Right or Left arrow to move between VTs. > . > Has anyone knowledge of how to do this under systemd? Looks like there's a special target, kbrequest.target, which is started by alt-up. Some more systemd knowledge than I currently have is needed to tie openvt into that.
Re: GRUB -- Debian overrides? Or maybe I just don't understand it well...
Mark Fletcher writes > The question is, what values are config_directory and prefix set to? Grub sets config_directory to point to the directory where it's reading it's config from. In other words, /boot. But why not just use 40_custom? It copies whatever is in the file (after the header) to your grub.cfg. Don't need to figure out what file goes in what directory. It also keeps configuration in /etc instead of moving it to /boot.
Re: Mouse single click handling?
local10 writes: > It's a Logitech Trackman Marble Trackball mouse (T-BC21 model). I like > this model but for some reason they just don't seem to last as long as > they used to. Maybe they have cost reduced it so much it doesn't last as well any more. Looks like there are some other models from Logitech and Kensington and others still in production, maybe one of those could work better? BTW, you might be able to use working switches from your other mice as spare parts if you want to fix one. I've never had a trackball, I think a friend of mine had one back in the 90s which is when I may have used one...
Re: raid10 is killing me, and applications that aren't willing towait for it to respond
gene heskett writes: > Is this info helpful? I don't know really. I was thinking about the file dialogs or requestors and how they often try access previously used locations. For example, I've learned not to download with Firefox to a network drive. I don't know if Firefox is still like that but in the past, after downloading to a network drive, Firefox wanted to put the next download in the same place and if the network drive wasn't available, it just froze indefinitely and only getting that network drive going would bring it out of its coma. So I was just thinking if your file dialogs try to access something that isn't available it could cause this kind of delay but I don't know, it doesn't seem to fit that well. Also if the issue happened with any common app packaged in Debian, it might be easier to figure out what's happening.
Re: raid10 is killing me, and applications that aren't willing towaitfor it to respond
Greg Wooledge writes: > In Gene's case, the problem (long startup time of some applications) does > not appear to be related to his disks, but rather, to something in the > desktop environment or its underlying services. But isn't it fairly easy to try another desktop environment to eliminate this as a cause? Or has this already been done? For the RAID stuff, I think Gene said earlier he could try putting his home directory on an ordinary drive? To eliminate the RAID as a problem.
Re: raid10 is killing me, and applications that aren't willing towait for it to respond
gene heskett writes: > It repeats per gui access. Starting a gfx program such as OpenSCAD, or > qidislicer from an xfce4 terminal cli, is delayed for this similar but > not always identical lag. And reports odd warnings etc while its > getting ready to open its gui. Does this happen with common GUI tools too like, say, Firefox? Or XFCE's file manager, Thunar I believe? Or a text editor like Gedit? Or even the XFCE terminal?
Re: Telnet
debian-u...@howorth.org.uk writes: > gene heskett wrote: >> On 12/4/23 05:22, Anssi Saari wrote: >> > debian-u...@howorth.org.uk writes: >> > >> >>> I concur, and would add that even on an isolated network one >> >>> should prefer ssh. First, to be in the right habit. Second >> >>> because it will do things that telnet won't, like tunnel X. >> >> >> >> Ah but will it tunnel wayland?? Enquiring minds want to know :) >> > >> > Yes. >> > >> yes here too. > > Thanks guys :) > I was under the impression wayland didn't do networks. I live and learn. So was I but apparently things move along, even in Wayland. My experience with Wayland is still only "it crashes". I think I last tried in the summer, with up to date Arch Linux. I guess it's the NVidia graphics but even then I should be able to get further than an instant crash of the session and back to SDDM. Anyways, it's not a priority and I'll see if I'll get around to trying it on a computer with Intel or AMD graphics at some point. Here's link with a small list of commands for variations on tunneling X or Wayland or XWayland over ssh: https://www.reddit.com/r/linux/comments/posuyb/comment/hd1c2fq/
Re: Telnet
debian-u...@howorth.org.uk writes: >> I concur, and would add that even on an isolated network one should >> prefer ssh. First, to be in the right habit. Second because it will do >> things that telnet won't, like tunnel X. > > Ah but will it tunnel wayland?? Enquiring minds want to know :) Yes.
Re: ntpsec as server questions
jeremy ardley writes: > timedatectl status I think you mean timedatectl timesync-status since that lists the NTP server among other things. Interestingly, looks like my Debian router uses my ISP's NTP server which it likely knows through DHCP whereas my little Ubuntu-running Raspberry Pi uses ntp.ubuntu.com.
Re: connect two hosts over wifi without router?
Hans writes: > Hi folks, > > hmm, looks like the only way is using a hotspot, either one as a vitual one > using hostapd (or some similar software). I don't know much about drones but even a cursory look seemed to indicate some drones can act as wifi hotspots themselves? And newer drones support Wifi Direct but that doesn't help you since Wifi Direct isn't usually supported on PCs. It's common on mobile devices running Android or iOS.
Re: high delay while printing
Stefan K writes: > Hello Debian guys, > > I hope someone can help me with my problem because I'm a little bit > frustrated and I don't have absolutely no clue how to fix that. > > I have a Debian 12 based print server running, all printers are > connected via IPP which works so far but it takes a while if we start > printing multiple pages and then for each page, it takes >15s for the > next page. It doesn't matter if we print PDF or simple text files. Unfortunately, I have no help to offer. I've had a similar issue but never found a solution. I connected an old USB printer to the local network using a Raspberry Pi as a print server. Like you, printing always had a long delay for even the simplest of jobs so it couldn't be the Pi was too slow or the network was too slow. There was also major unreliability, usually the setup was fine for printing once but if there were more print jobs, Cups would say they printed fine but nothing came out of the printer. I typically had to go into Cups and disable and enable queues and printers and then go to the "completed" jobs listing and reprint everything that didn't print. Anyways, I never got to the bottom of the issue, printing needs have gone down to about once a month and the Raspberry Pi quit working too. So I bought a cheap wifi connected printer/scanner which works fine. Even driverless from Linux although mostly the printing need is from Windows and Android.
Re: Work environment
Rolf Blum writes: > In order to expound on the contribution of Karl Vogel: > It gives me two big monitors (I regret that there is no space for a > third one) > a ergonomic mouse and a trackball > and my keyboard(G19) I think is roughly 10 years old, one of the best > investments into computer gear ever. Do you or Karl then have a laptop where you *can't* connect two external displays and a mouse and a keyboard? This to me is a pretty basic thing to do with any laptop less than a decade old. I suppose some laptops migth be limited in the display interfaces department, I just don't buy those. I use a desktop at home because it gives me CPU and GPU power to do things my laptops can't and a lot more storage too.
Re: Request advice on Optimal Combo-usage of Gmail and Mailman, as mentioned in Msg-Id. "2023/11/msg00443"
Charles Kroeger writes: >> If you ever do find one, please let me know. The lack of such a thing is >> the primary reason why I don't do E-mail on Android *at all*. > > https://github.com/M66B/FairEmail > > I use this. It is what you want. I proposed it already but apparently it doesn't do "proper threading". Just a flat list of messages. In landscape there's an extra column displayed but it seems you need a tablet to make any sense of that.
Re: approx in debian 12
"Russell L. Harris" writes: > root@mollydew:/home/rlh# systemctl daemon-reload > root@mollydew:/home/rlh# systemctl restart approx > Failed to restart approx.service: Unit approx.service not found. > root@mollydew:/home/rlh# systemctl status approx > Unit approx.service could not be found. > root@mollydew:/home/rlh# Looks like there's a cron job and a socket for it in the package. So are you sure you're even supposed to run it as a service? They do include an approx@.service so you could run it as whichever user you want but it makes me think that's not the idea here. Maybe the documents in /usr/share/doc/approx give more information about the intended usage. I've only taken a quick peek at the file list.
Re: Password managers
Max Nikulin writes: > For Chromium it is better to have a password manager > (gnome-keyring/kwallet/keepassxc/etc.) with D-Bus interface. It needs > a key to encrypt passwords saved in browser and likely cookie store. > Encryption is not applied otherwise. What about Firefox then? Does it work with password managers with a D-Bus interface?
Re: Hardware Advice Wanted: Router
Charles Curley writes: > My FIT-PCs that provide network services are getting old, and i386 > Linux is slowly fading away. So I would like to replace them with a > router/gateway computer. I built a router with an APUD4D board and case from pcengines.ch. They're going out of production but are currently available. I put Debian on mine and love it to bits. It's been quite some fun too setting up failover via LTE and enabling IPv6 using 6rd tunneling but that stuff is extra. To your specs, there's no video, just serial console and ethernet of course. Wifi and LTE are optional, storage is mSATA SSD. From memory, power consumption is about 9W, the case is used as a heat sink to dissipate that.
Re: Request advice on Optimal Combo-usage of Gmail and Mailman, as mentioned in Msg-Id. "2023/11/msg00443"
The Wanderer writes: >> And those are getting rare, I can't find a nice MUA for Android with >> proper threading. > > If you ever do find one, please let me know. The lack of such a thing is > the primary reason why I don't do E-mail on Android *at all*. Possibly FairEmail would fit the bill. They advertize "conversation threading" but I don't really if it's proper or not. The author is responsive though.
Re: Hardware for a back up server? [WAS Re: How to use dmsetuup?]
Stefan Monnier writes: > My home NAS is in a completely different category: > an ARM SBC with on-board SATA. Much smaller, extremely quiet (no fan), > and between 5W and 10W of power consumption depending on whether it's > mostly idle (the overwhelmingly common case) or not. So which ARM SBC and does it run stock Debian? And how many SATA ports?
Re: How do I connect my new wifi router (Mi Router 4C)?
Martin writes: > I just enabled it (again) now: > root@redmoon:~# systemctl enable nftables.service > Created symlink /etc/systemd/system/sysinit.target.wants/nftables.service → > /lib/systemd/system/nftables.service. > root@redmoon:~# systemctl status nftables.service > ○ nftables.service - nftables > Loaded: loaded (/lib/systemd/system/nftables.service; enabled; preset: > enabled) > Active: inactive (dead) >Docs: man:nft(8) > http://wiki.nftables.org In case it's unclear, enabling a service just means it'll be started at boot. In practice it just creates a symlink as shown above. If you want to start the service manually you do systemctl start nftables.service So if you're experimenting, you edit /etc/nftables.conf and after editing run systemctl restart nftables.service
Re: How do I connect my new wifi router (Mi Router 4C)?
Martin writes: > #!/usr/sbin/nft -f > > table ip masqrule {} > flush table ip masqrule > table ip masqrule { > chain postrouting { > type nat hook postrouting priority srcnat; policy accept; > ip saddr 192.168.231.3/24 ip daddr != 192.168.231.3/24 masquerade > } > } > > When I execute this file with sudo unfortunately nothing changes, I can > not connect to the internet (trying www.google.com from phone). I might guess it's because your masquerade rule does nothing. I'm not sure though. Anyways, a typical masquerade rule would specify the source network and an outgoing interface. For example, I have in my Linux router: ip saddr 10.0.2.0/24 oifname "enp1s0" masquerade so for you that would become ip saddr 192.168.231.0/24 oifname "wlxe8de27a5ab1c" masquerade
Re: Network tcp/iptables issue with XRDP
Henggi writes: > Oh wow… that’s interesting. I had no idea about „nft“ (I just knew > „iptables-nft“) which seem to be very different. > I think I have dig down where those „nft" rules are coming from while > iptables-nft is completely empty. Thanks, great clue! Typically you'd have a /etc/nftables.conf with the rules for nft. Or at least that's what I do.
Re: How do I connect my new wifi router (Mi Router 4C)?
Martin writes: > Hello, > > With wifi antena I receive a (rather weak) signal that connect my > computer to internet. I have to use windsurfer antena booster > (http://members.multiweb.nl/schaaijw/windsurfer_wifi_en.pdf) > to get usable signal. So my computer have internet signal from > wifi antena - yay great thing :) > > Now I also want to connect to internet with my mobile phone! You mean you want to use some unspecified wifi signal with your phone also? Share the connection to your phone and computer? The link to this "windsurfer" doesn't work so it's a little hard to help if you can't describe what you have. > As it turn out I am not so bright to make this whole setup working :( > I pluged in new router to power and connected ethernet cable from my > computer to router WAN connection. (I belive this is how it should be > connected togheder) The WAN connection is for the internet, not your computer. It says as much in the Xiaomi manual. > While I was seting up router as described in > https://manuals.plus/_mi/mi-router-4c-manual > in Step 2 (point 3) it said I do not have internet. > So I choose to manualy set up 'Static address' for > router as folows (my computer has IP address 192.168.231.3): > > IP address: 192.168.231.5 > Subnet mask: 255.255.255.0 > Default gateway: 192.168.231.3 > DNS: 192.168.231.3 > > After all this setup I could issue those commands on my desktop: > > (this is my desktop IP address - just to show it works) So you created a LAN between your computer and the router. > I hope someone will be able to give me some hint how to solve > this issue and be able to connect to internet from router - and > connected phone. You have some kind of mysterious internet connection from something. That needs to connect to the router's WAN port.
Re: xrandr 1600x900 (ThinkPad X220T VGA-port) becomes 1440x900 (Samsung SyncMaster S20A300B)
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 have heard of bugs related to support of > USB-C to DP chips). I looked into this some time ago, we had a giveaway of some old monitors at work, mostly awful stuff but there was one 30" monitor. It would only display its native resolution of 2560x1600 via dual link DVI, just connecting via HDMI to DVI cable got me a quarter resolution 1280x800 which was quite grainy on a 30" display. I found some converter boxes existed. From memory I think you could go from DP to DL-DVI directly, from HDMI you needed to convert to DP first. I decided it was too much hassle and money (converter box and cables) for a free display. BTW, considering the resolution and monitor in question, 1600x900 is single link DVI territory so easier conversion and cables. Well, going from DP to HDMI/DVI is still a bear but if the laptop has a HDMI transmitter then the "conversion" is a matter of plugging in an adapter which tells the video transmitter to switch to HDMI mode.
Re: "sudo apt-get install android-tools-adb" ... (then no device listed)
David Wright writes: > You'd have to specify a set of criteria to test. I just treat > /media/samsungd like any other filesystem, copying files in the > usual manner. Well, when I last tried MTP in Linux I got maybe half of a directory listing and then it hung there. Concluded it doesn't work but to be sure it's been a minute.
Re: "sudo apt-get install android-tools-adb" ... (then no device listed)
David Wright writes: > On Sun 24 Sep 2023 at 22:13:20 (+), Albretch Mueller wrote: >> On 9/24/23, Marco M. wrote: >> > On most Android phones, you need to explicit allow data transfers. >> >> What do you functionally mean? I need for you to talk to me like >> this: a) go "Settings"; b) ... > > On bullseye I have android-file-transfer installed. I connect the > phone to the PC with USB, and run this function: > > samsungd () > { > sudo mkdir -p /media/samsungd || true; > sudo chown "$USER" /media/samsungd; > aft-mtp-mount /media/samsungd > } Does this android-file-transfer provide a working and reliable MTP implementation for Linux then? I think I'll stick with rsync and adb but would be good to know if MTP is working on Linux these days.
Re: memtest86
Stefan Monnier writes: > Of course the `.com` version won't push all its own caveats in your > face, that would go against its own commercial interests. Indeed. Like a feature it has might not work due to other reasons. For example, I bought the memtest86 pro since I wanted to use the ECC error injection feature to see ECC memory correction in action. Unfortunately, on two of my ECC computers error injection isn't working (meaning it's disabled and there's no option to enable) and the third is old school and doesn't have UEFI so I can't boot memtest86 pro on it. Not to mention the GUI seemed unusable on both the systems I tried so basically I had to do batch testing. At least that limitation was mentioned somewhere.
Re: pppoe ipv6 PD
basti writes: > My changes where attached in my last mail. Did you seen it? > Have a look at the mailing archive: > > https://lists.debian.org/debian-user/2023/09/msg00157.html No, you posted only your new versions so I can't know what you actually changed. You posted originally that you have: [Network] IPv6SendRA=yes DHCPv6PrefixDelegation=yes On the LAN side. And now you have: [Match] Name=enp1s0f0 [Network] IPv6SendRA=yes IPv6AcceptRA=no DHCPPrefixDelegation=yes [IPv6SendRA] EmitDNS=no EmitDomains=no So was it IPv6AcceptRA=no that fixed it? Or something else?
Re: pppoe ipv6 PD
basti writes: > Am 06.09.23 um 09:37 schrieb Marco: >> Am 06.09.2023 09:24 schrieb Anssi Saari: >> >>> That should be enough but I don't really know how pppoe works, I've >>> only used IPv6 with tunneling, 6rd and 6in4 with the late route48.org. >> With PPP IPv6CP (RFC 2472 is being used. >> It negotiates a 64 bit interface identifier to create the link-local >> address. >> The rest is being done with router advertisement and optionally with >> DHCPv6. >> > > I get it working. What did you change to make it work though?
Re: Components of the computer
jeremy ardley writes: > In my experience, just about any aftermarket laptop battery you buy > off ebay or Amazon will have significantly lower capacity than > advertised. Aftermarket batteries can also be physically bad, i.e. not fitting properly. One reason why I finally retired my old Thinkpad X201, I got a replacement battery which could work itself loose and then power would just disappear. Really annoying.
Re: pppoe ipv6 PD
basti writes: > Hello, > > I have switch my network config from ifup to systemd-networkd. > > IPv4 is working well but IPv6 is broken now. > > In the past I used dhcpcd to delegate the ipv6 prefix to my LAN > interface. It seems not working with systemd. > > On my PPP interface I get an IPv4 and a IPv6 Address. > > On my LAN interface I have to to set: > > [Network] > IPv6SendRA=yes > DHCPv6PrefixDelegation=yes That should be enough but I don't really know how pppoe works, I've only used IPv6 with tunneling, 6rd and 6in4 with the late route48.org. There seems to be quite a lot of discussion in systemd issue #481 here: https://github.com/systemd/systemd/issues/481, maybe that's of some help? With 6rd I have also specified these two on the LAN side but I don't know if they're actually needed. Also I have IPForward=yes on the WAN interface. [Network] IPv6AcceptRA=no [DHCPPrefixDelegation] UplinkInterface=enp1s0
Re: bookworm and network connections
"D. R. Evans" writes: > I don't think that debian has used used /etc/network/interfaces for a > while, at least not by default. Certainly there's nothing useful there > on the machine that I just upgraded and whose networking is failing to > configure itself correctly. I used to think that too. In fact, I believe in some update last decade my desktop system switched to something other than ifupdown, probably systemd-networkd and the stuff in /etc/network/interfaces stopped working. But when I recently installed Debian (headless server) on a little pizza box, I did end up with ifupdown running the network. So it's still the default. The new system's network config is pretty simple and the couple of little things beyond basic DHCP client I needed were easily handled by ifupdown and the kernel itself so no reason to touch it.
Re: Please verify Gnome and KDE wiki articles for correctness
Nate Bargmann writes: > This Wiki is semi-private in that editing is not open to just everyone > but may only be done through an account (apparently I have one and now > have to figure out how to reset my password). Good for you. I tried creating an account but after putting in name password and email it says no, send email to w...@debian.org instead. I think I'll pass. While I have KDE on one Debian machine, I don't use it much so not that much to contribute. Looks like some IP address bans in the wiki may have been lifted recently or I was just lucky.
Re: 11 to 12 - fresh install or upgrade
"Juan R.D. Silva" writes: > ... the freshly installed system always run smoother and was not > littered with any old junk left from the old system. I'd expect some objective data on the former. Did you actually do both fresh installation and upgrade and compared those? > Could you share your opinion based on personal experience? To install > or to upgrade? Mine is fairly simple desktop system for home > use. Nothing special, except maybe the need of dual architecture > support and Wine to run one special little app. Working upgrades is the reason why I run Debian, since 2.0 Hamm. I ran that for years, reinstalled when I moved from x86 to x86_64 architecture. This especially on my main desktop where hardware changes as I upgrade it. I have a bunch of other computers with fixed hardware but same deal, Debian updates just work.
Re: Unable to ssh to Debian 9 from 9 or 11
Roger Price writes: > Does the style of comment give a clue to the tool used ? Earlier you posted a list of firewall rules like this: iptables -L -n --line-numbers reports Chain INPUT (policy ACCEPT) num targetprot opt source destination 1ufw-before-logging-input all -- 0.0.0.0/0 0.0.0.0/0 2ufw-before-input all -- 0.0.0.0/0 0.0.0.0/0 3ufw-after-input all -- 0.0.0.0/0 0.0.0.0/0 4ufw-after-logging-input all -- 0.0.0.0/0 0.0.0.0/0 5ufw-reject-input all -- 0.0.0.0/0 0.0.0.0/0 6ufw-track-input all -- 0.0.0.0/0 0.0.0.0/0 So I would guess ufw.
Re: Nvidia graphics driver naming convention
Nicolas Marie writes: > My question is about the package naming: is the > nvidia-graphics-drivers-tesla-470 specifically built for Tesla > graphics, and the fact that I can use it for my consumer Nvidia GPU is > a positive "side effect"? The description of package nvidia-tesla-470-driver seems clear on what GPU families are supported and gives a reference to a documentation file with more details. I have no idea about the why of the tesla naming. I'd guess it's a historical reason and lack of manpower to update.
Re: Migrating from hard drives to SSDs
gene heskett writes: > One of the things apparently missing in today's support for the arm64 > boards such as the bananapi-m5, is the lack of support for the nvme > memory on some of these devices. I have quite a few of them, all > booting and running from 64G micro-sd's. Yet these all have, soldered > to the board, several gigs of nvme memory, more that enough to contain > a full desktop install with all the toys, but totally unused. https://wiki.banana-pi.org/Banana_Pi_BPI-M5 says eMMC, not NVME. Same page has a link to a video https://www.youtube.com/watch?v=q5I6pzWCTrg which supposedly explains how to use it to install some software. I have no idea if you can actually boot from eMMC on those boards. I only have edible bananas here but on my Raspberry Pi Compute Module 3+ the eMMC was fully usable and in fact, I have no SD card on that system. Although the eMMC solution on these boards isn't great because they're slow. Apparently the Foundation went cheap (or clueless) on it which is a pity.
Re: Information concerning support for nVidia GeForce 750
Yoann LE BARS writes: > Before doing anything wrong, is it possible to confirm that I > will be able to run the proprietary nVidia driver 525 on the > real-time kernel—and maybe Wayland? Currently there's a grave bug in Debian 12, related to Debian-packaged Nvidia drivers (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1032647) which causes an intermittent black screen. The bug has been marked done but there's no fix available. I'm not sure it's even been confirmed by anyone other than the original reporter so I have no idea who it would affect. I wish there were more information available. Still, you can always just install the drivers from Nvidia's site.
Re: getmail problem
Pierre Frenkiel writes: > hi, > > the problem with getmail is that it ignores my .getmailrc file: [...] > ( my config is in ~.getmailrc and .getmail/getmailrc ) The latter should work. Run getmail --dump to see what it says about the configuration file location. Since I don't know how to configure getmail I put in what you showed into ~/.getmail/getmailrc and got this output: $ getmail --dump Configuration error: configuration file /home/users/zz/.getmail/getmailrc incorrect (File contains no section headers. file: '/home/users/zz/.getmail/getmailrc', line: 1 'server = imap.gmail.com\n') So while my configuration is obviously wrong, at least getmail tells me which configuration file it's reading. From the documentation and code ~/.config/getmailrc seems to be the first choice if that exists, ~/.getmail/getmailrc is the second.
Re: Freezing mouse and other suff
Stefan Monnier writes: >>> computer. I have an 8gb seagate ATA harddrive, Inetl core i3-9100T CPU 310 >> Bank 9 suggests that the main memory might be ECC memory? > > Hmm... according to Wikipedia the i3-9100T does not support ECC memory. Intel says otherwise. https://ark.intel.com/content/www/us/en/ark/products/134871/intel-core-i39100t-processor-6m-cache-up-to-3-70-ghz.html For general information, Intel used to have ECC support in some Core i3 and Celeron CPUs, for example I have a Celeron G1610T in my old HP Microserver server with ECC support. This was really nice for cheap file server boxes but those days are gone.
Re: Deactivating and Reactivating the display of a NUC 13
Stefan Schumacher writes: > Hello Timothy > >>Do both NUC's have the same behavior or is just one of them having > this problem? If just one of >them is having this behavior is it the > DP or HDMI? > > I have just done some tests and it's only the USB-C-to-DP NUC that is > problematic. The HDMI one goes into suspend and wakes up without any > problems. I have a similar problem with a Lenovo laptop and Samsung monitor, although using USB-C to USB-C connection. Same laptop worked without issue with a Lenovo monitor and same cable so I'm blaming the Samsung. It seems from some other issues the USB-C support was tacked on, not well integrated. Although things have gotten better recently, I just don't know why. Possibly some update to the Lenovo laptop has helped.
Re: How to create a systemd service that interact with nftables service
André Rodier writes: > Hello, all. > > I have a simple script, to save / and store dynamic nftables sets. > > I would like to create a systemd service, that starts -after- nftables is > started, and stops -before- nftables > is > stopped. > > Any idea on how to achieve this, please ? It depends, but possibly you could just add calls to your "simple script" on the ExecStart= and ExecStop= lines of the nftables service. It's a list of commands with semicolons as separators. > I tried to play a little with ‘Requires’ or ‘After’, without success. I think those are a little more complicated than it seems on the surface. Obvious point being, Before= and After= are ordering constraints, Requires= is not.
Re: Follow recent stable Python versions
Dan Ritter writes: > You will want to let the Debian python packages alone, and > install new pythons from source in /opt/python-VER or such. Then > use venvs to make sure that you are always getting the python > you really want. There's a tool called pyenv which handles downloads, compilations and venvs neatly.
Re: package managers problem
writes: > I infer that Synaptic, by requiring root privileges to be truly useful, > is mis-designed, since there isn't a daemon executing root level > commands in the background. Well, no. There is a common framework for this and it's called PolicyKit.
Re: nvidia package 340xx
Richmond writes: > Ubuntu 20.04 supports kernel 5.4 until 2025. So I might try that after > debian 10 expires. > > https://wiki.ubuntu.com/FocalFossa/ReleaseNotes#Linux_Kernel Off topic but they actually increased that to 2030 recently, at least on x86-64. I thought I could benefit from it with my Raspberry Pi but no luck.
Re: Ok so Now which backup should I use
writes: > On Wed, May 17, 2023 at 09:53:36AM +0300, Anssi Saari wrote: >> It's an odd claim. I typically don't have anything in /usr/local except >> what I put there myself [...] > Not many. An "apt-file search /usr/local" turns up exactly three packages. > And I'd venture the guess that those three are doing this by mistake. Not many what? Are you really responding by not quoting the part you're commenting on? Why? It seems to me you're using the wrong tool to reach a wrong conclusion with very little knowledge of the topic, that being Debian packaging. Why do you think apt-file is the correct tool? I'd appreciate a little restraint when contradicting what I said. You don't have to vomit all of your half baked thoughts to the list. And definitely don't automatically assume people don't know what they're talking about.
Re: Ok so Now which backup should I use
Celejar writes: > On Tue, 16 May 2023 09:52:07 +0800 > Jeremy Ardley wrote: > >> >> On 16/5/23 09:11, pa...@quillandmouse.com wrote: >> > I'd suggest backing up /etc, since that's where your system settings >> > are. I also back up /var, since that's typically where your logs and >> > mail are. >> >> There is a lot relevant of stuff in /usr/local >> >> For instance some programs use /usr/local/etc rather than /etc > > They do? I see that my /usr/local/etc is empty. What programs use this > directory It's an odd claim. I typically don't have anything in /usr/local except what I put there myself. Some Debian packages do create a directory in /usr/local/share but leave it empty. So what goes in /usr/local is mostly software I've compiled myself and maybe some little scripts. Basically stuff I might use both as both root and normal user. If it's just for my non-privileged user account then it typically goes in $HOME/bin or the more modern $HOME/.local/bin. So for me, /usr/local is useful to back up but typically it amounts to very little data. My Debian router has all of 812 kB in there, for example.
Re: Ok so Now which backup should I use
Maureen L Thomas writes: > I have everything I need including a third HDD. There are so many backup > programs I have to wonder which one will work for my needs. I > just need to make a backup of my home directory so if I do something stupid > like play with /var and have no idea how to fix it. Is there > something else I need to back up besides /home? I appreciate your help. I use bup. It's a fairly simple command line tool. It can generate error correction data for my backups too which I thought is great but as you say, there are many I back up /boot /etc /home /root usr/local /var/lib/dpkg /var/lib/apt/extended_states on my main desktop. Probably different directories on my other computers. I can't remember why /var/lib/dpkg and /var/lib/apt/extended_states though. /boot is a little suspect too but I do have a custom Grub theme in there but that's the only thing worth backing up in /boot. I also save partition tables with sfdisk and Debian package selections with dpkg --get-selections "*", just in case. My desktop especially has a fair number of partitions on the boot drive with three operating system. So, good to keep a copy of that.
Re: how to find out regdomain/country of wifi network
hl writes: > i try old FreeBSD-12.4, accept default FCC/US though i am not in US, > wifi scan succeeds Is it out of the question to actually set the regulatory domain to match the country you're in?
Re: EPSON ET M 1120 new printer: If You can read this, you are using the wrong driver
Will Mengarini writes: > * Brian [23-05/08=Mo 00:27 +0100]: >> https://download3.ebz.epson.net/dsc/f/03/00/14/48/15/1d37501ad39bd2b5753 \ >> cce3b2715b3e2fef557/epson-inkjet-printer-escpr_1.7.26-1lsb3.2_amd64.deb > > That includes a literal space in the middle of that hash > (because the space before the backslash is taken literally). > > However, when I removed that space by hand, I still got "not found": > > debian/pts/3 bash3 ~ 17:03 0$HEAD > https://download3.ebz.epson.net/dsc/f/03/00/14/48/15/1d37501ad39bd2b5753cce3b2715b3e2fef557/epson-inkjet-printer-escpr_1.7.26-1lsb3.2_amd64.deb I don't understand why you guys even propose installing drivers from Epson when printer-driver-escpr package is in Debian and should be correct for the printer in question? Is there some established reason to think it won't work? Or you just didn't do your homework? I get that this saga probably never goes anywhere but I don't understand this advice, especially from Andrew. It seems to run counter to the Debian principle of using software that's actually packaged and tested by Debian.
Re: No space left on device ...
Albretch Mueller writes: > I have been mounting an NTFS file system on a Windows laptop without > any problems whatsoever with a Debian Live DVD: Mounting how exactly? And what is the contents of /proc/mounts? Maybe you mounted the partition read only?
Re: Bookworm soft lockup
Christian Gelinek writes: > Is anyone else seeing a similar problem? What can I do to avoid this? > Do we need anything else to narrow it down further? Only time I've seen a soft lockup was from a bad CPU. There were a bunch of them and eventually the computer hung. Going back to the slow plodding Celeron fixed all issues. Except CPU performance of course.
Re: Debian installation using debootstrap and grub-install - no entry in ESC boot menu
Valentin Caracalla writes: > But this doesn't work either. Same problem here. However I can make > such an EFI installation using official installation media on the same > machine and that does work. That recipe (and the whole post) was hard to read but don't you need some flags for the ESP partition, like esp and possibly boot as well? The partition table on one EFI system I have looks like this, I think it's probably what Debian installer created: # parted /dev/nvme0n1 print Model: KINGSTON SA2000M8250G (nvme) Disk /dev/nvme0n1: 250GB Sector size (logical/physical): 512B/512B Partition Table: gpt Disk Flags: Number Start EndSizeFile system NameFlags 1 1049kB 538MB 537MB fat32 boot, esp 2 538MB 249GB 248GB ext4Zippy root 3 249GB 250GB 1024MB linux-swap(v1) Zippy swap swap
Re: Debian installation using debootstrap and grub-install - no entry in ESC boot menu
Valentin Caracalla writes: > Previously, I've successfully installaed Debian using official > installation media on this machine (also using BIOS boot interface), > so I know that it works in principle. I can't see anything wrong with the script. Did that installation use GPT and a BIOS Boot Partition though? I guess I have to ask, why not just use UEFI?
Re: is nft running? how do I get info?
Bonno Bloksma writes: > Also trying command completion with the nft, or even nf, show no > results. Using just the n for completion gives just the networking > service. It seems others covered your other issues so I'll just comment on this. Maybe your command completion is just bad? I can't complete service names either, with bash. In zsh completion works out of the box and that's one reason I use it, instead of bash.
Re: is nft running? how do I get info?
Bonno Bloksma writes: > Hi, > > After years of using ipchains and later iptables as firewall I am now trying > to use nft. :-) > > I thought I understood it all and as far as I know I have a working config. > But just trying to get a listing of the running config shows NOTHING. > linbookwormtest:~# nft list ruleset > linbookwormtest:~# > > There is nothing in the journal about nft > linbookwormtest:~# journalctl -t nft > -- Journal begins at Mon 2023-03-27 13:07:50 CEST, ends at Mon 2023-04-24 > 12:18:07 CEST. -- > -- No entries -- Debian's nftables package includes a systemd service to run nftables. You might want to run systemctl status nftables first and then enable and to start the service. I wonder how you used iptables? I always used a script for that but I had to run it too for changes...
Re: Vsync causes stuttering in various games regardless of uncapped performance
flavonol writes: > Hello Debian community, > > Whenever I enable vertical sync in any one of various video games (including, > but not limited to, Rise of the Tomb Raider, Team Fortress 2, > Minecraft Java Edition & Hollow Knight), framerates frequently drop to > between around 30 to 50 frames per second*. This occurs even if minimum > framerates prior to enabling vertical sync exceeded the refresh rate of my > display. Disabling Freesync in my monitor's built-in settings menu does > not resolve this issue. For variable refresh rate without (much) tearing you turn vsync off in game settings. That's how you get the highest frame rates as your benchmarks show.
Re: Debian Stretch : X server won't start after update
Charles Curley writes: > On Fri, 14 Apr 2023 19:41:37 +0100 > Brian wrote: > >> I thought stretch is unsupported by Debian. Where did the update come >> from? > > Stretch is oldoldstable, and under LTS support. > https://www.debian.org/releases/ Actually LTS support for Stretch ended in mid-2022. ELTS is available but it's paid support and probably the OP doesn't pay for that since he doesn't want support. According to Debian's wiki at least and in this case it seems to be the one that's up to date and the releases page is not.
Re: Commands service and systemctl.
pe...@easthope.ca writes: > Does the relationship between service and systemctl parallel that > between ifconfig and ip? service is a legacy command? I guess that's one way of putting it. Simply put, the systemctl command is for controlling systemd services. The service is for running SysV init scripts.
Re: ICMP router advertisement (ipv4)
Dan Ritter writes: > Tunnelbroker.net can use a dynamic update feature so that the > static IPv6 address is only momentarily interrupted when the > underlying v4 address is changed out. This is quite reliable if > you hook it to the the DHCP client's post-up function. I don't understand the relevance. Does tunnelbroker.net offer some other kind of tunnels than 6to4 which, AFAICT, don't work without a public IPv4 address? Which the OP does not have due to his IPv4-in-IPv6 connection. Same goes for 6in4 tunnels. I can't seem to find out what Hurricane Electric offers without sigining up though but at least https://forums.he.net/index.php?topic=4195.0 from last year seems to indicate WireGuard tunnels are not supported. If "public IPv4 address" is not understood by you it can also be formulated as "the OP has an RFC1918 IPv4 address which is not routable on the public internet and hence a 6to4 tunnel can't work for him."
Re: ICMP router advertisement (ipv4)
Jeremy Ardley writes: > Your only option seems to be to sign up with some external IPv6 > provider. This service (I've never used it so beware) says it gives > you ipv6 etc for free. What their business model is I'm not sure > https://tunnelbroker.net/ I doubt that's going to work for him either due to his peculiar setup with DS-lite. With a quick look tunnelbroker.net only provides a 6to4 tunnel and that's going to need a public IPv4 address which he doesn't have. A WireGuard tunnel from route64.org works through CGNAT. Using that tunneling setup though... He'd have a wireguard tunnel for IPv6 which goes through DS-Lite IPv4-in-IPv6 pipe through IPv4 CGNAT to the tunnel broker? Very cool if it works. I guess actually contacting Virgin and asking technical questions is not a possibility?
Re: questions about cron.daily
Greg Wooledge writes: > On Thu, Apr 06, 2023 at 05:45:08PM -0500, David Wright wrote: >> Users (including root) write their crontabs anywhere they like, >> typically in a directory like ~/.cron/. > > Is that... normal? I can't say I've ever seen anyone keep a private > copy of their crontab in their home directory like that. I don't know if it's normal but sounds like a good practice, to have a backup of your crontab. I've been bitten by this sometime when my old shell provider retired a system and I had no copy of my crontab. My home dir was not affected by that retirement since those were all NFS mounted from a different server. I think they did dig out my crontab from tape when I asked.
Re: Buster => Bullseye: packages kept back
Jesper Dybdal writes: > On 2023-03-26 23:12, Jeffrey Walton wrote: >> On Sun, Mar 26, 2023 at 5:16 AM Jesper Dybdal >> wrote: >>> Yesterday, I upgraded Buster => Bullseye. >> For completeness, here is the Debian procedure for a release upgrade: >> https://wiki.debian.org/DebianUpgrade . > Thanks. Interesting that the Wiki recommends using apt-get, while the > Bullseye release notes recommend apt. The wiki actually says "Upgrading from one stable release to the next (e.g. buster to bullseye) is done by following the release notes for your architecture." You did the right thing if you followed those. For sure, many ways work for upgrading Debian. The best tested way is the one in the release notes.
Re: How do I specify a custom apt dependency between kernel image and its headers?
Ram Ramesh writes: > I have nvdia card that requires binary driver to work in my system. Xorg is > unable display anything with free driver. Since nvidia-driver has to be > built for each kernel install, I need to install headers also. This seem to > work automatically for any standard kernel release in bullseye. However > when I install newer kernel from backport, apt does not install headers > automatically. How do I tie the install of linux-image to linux-header so that > I cannot install image without the headers. In my experience it's been enough to install linux-image-amd64 and linux-headers-amd64. When I run apt upgrade both are updated if new versions are available.
Re: PDF on debian
Dan Ritter writes: > Apart from Windows-derived GDI printers, the majority of laser > and inkjet printers have a PostScript interpreter built in, even > if its primary use is in interpreting PDF files. I think that's probably outdated info too. My cheapie Epson XP-3100 supports some bitmap formats but not PDF. That bitmap support takes it out of "Windows-derived GDI printer" category in my book at least. I think the wireless printer situation at least is that most any wireless printer supports Apple's Airprint which is good since that's just a label for standard stuff.
Re: Bookworm system randomly not responding (was Re: Bookworm system not responding on high memory usage)
Xiyue Deng writes: > As this system has been running Bullseye for a few years with zero > problem, I'm hopeful this should work for Bookworm as well. If you have > anything in mind that may worth a try please feel free to share. The > more ideas the better. To me the interesting question is, does the problem disappear if you go back to Bullseye? If not then it's likely a hardware problem.
Re: switch gateway automatically
Timothy M Butterworth writes: > what are you currently using as a WAN router? You can use Debian as a router! > You can configure two default > Gateway's with the primary using a metric of 600 and the backup with a metric > of 700. This will require two > NICs. For failover it's also possible to use the bonding driver in Linux which has a mode for automated failover. I naively thought I could use that with the 4G module in my router but the bonding driver only seems to like real ethernet devices. Anyways, I found someone's failover script so using that now.
Re: question about rc.local
Nicolas George writes: > Anssi Saari (12023-03-09): >> Perhaps a note, since today in Debian by default it's systemd which runs >> /etc/rc.local. There's no guarantee it's done last like there was in SysV >> init since systemd runs stuff in parallel. Network availability also >> isn't guaranteed. See man systemd-rc-local-generator. > > Maybe check facts before posting: > > # /lib/systemd/system/rc-local.service > … > After=network.target > > # /usr/lib/systemd/system/rc-local.service.d/debian.conf > [Unit] > # not specified by LSB, but has been behaving that way in Debian under SysV > # init and upstart > After=network-online.target True, I only checked the man page which doesn't mention network-online.target, only network.target.
Re: question about rc.local
Corey Hickman writes: > does debian 11 still use /etc/rc.local for startups after rebooting? > > for instance, I want to start a process after system rebooting, where should > I put the command? Perhaps a note, since today in Debian by default it's systemd which runs /etc/rc.local. There's no guarantee it's done last like there was in SysV init since systemd runs stuff in parallel. Network availability also isn't guaranteed. See man systemd-rc-local-generator.
Re: nvidia-driver gets a code 1
Charles Kroeger writes: > Where is this nvidia-open-kernel-525.89.02 ? Seems like it's lost to history. Bookworm non-free has nvidia-open-kernel-525.85.12. So maybe you just need to run apt update to have up to date package lists and then run apt upgrade? > There was an advisory by Andreas Beckmann the firmware-gsp package being > moved to the newly created 'non-free-firmware' archive area. nvidia-driver is a device driver, not firmware so it remains in non-free even in Bookworm. https://packages.debian.org/ is a handy website to search for packages and it shows in which repository a package is found. Not to say it's a bad idea to add the new non-free-firmware repo since a lot of computers are going to need that. If you have issues with apt, post /etc/apt/sources.list and contents of any files in /etc/apt/sources.list.d
Re: how to activate my wireless card? nmtui only shows wireless connections . . .
David Wright writes: > So what was wrong with using a .link file like: > > [Match] > Type=wwan > [Link] > NamePolicy=keep kernel > > or > > [Match] > Type=wwan > [Link] > Name=my4g > > Did this not work? Nothing was wrong but I just added a few lines to my management script to do the renaming. Easy to do, easy to test. It's not like I can have systemd-networkd manage the device, I have to use qmi-network and udhcpc.
Re: how to activate my wireless card? nmtui only shows wireless connections . . .
Curt writes: > * UNPREDICTABILITY > it turns out even after all this [**an enumeration of complications and corner > cases**] there are still reported cases of interfaces changing their name on a > reboot. I have just this fun kind of unpredictability in my router's 4G module. Mostly, it comes up as wwan0 but sometimes it's wwx. So I put something in my 4G management script to rename such interface if there's no wwan0. Easier to force the interface name since I need to know the interface in the firewall and failover script too.
Re: Test ECC memory
krys...@ibse.cz writes: > PS: Some commercial memtests should allegedly be able to inject ECC > errors (for example the one from passmark), have anyone tried those? I've tried Passmark's memory tester (the commercial one which includes ECC error injection), but I've had no luck. My desktop has issues with mouse and keyboard support in it and Grub as well, it's so bad it's practically impossible to do anything. It's my only "modern" system with a Ryzen 5600X and ECC RAM. My router and file server have ECC RAM but those systems are BIOS only and I can't boot Passmark's thing on them since it requires UEFI. I have an oldish Intel laptop with ECC RAM also which is apparently the only one of my computers where Passmark's thing could run. Haven't tried it though.
Re: Test ECC memory
Dan Ritter writes: > We see ECC errors irregularly and infrequently on both Intel and > AMD CPUs. How/where do you see those on a Debian system? I looked into this briefly but didn't get anywhere.
Re: snapd vs apt
Brian writes: > On Fri 17 Feb 2023 at 05:55:03 +0800, winnie hw wrote: > >> Most versions in snapd are newer than apt. such as ruby, >> >> snap install ruby # version 3.2.1, or >> apt install ruby # version 1:3.0~exp1 > > I cannot better the existing very informative replies. > It comes down to what you want to achieve. Seconded. Specifically in the case of programming languages it may make sense to install a current version and they sometimes provide a convenient way to install from source. Personally I've used Rustup to install current Rust and pyenv to install current Python. Haven't used snaps for a short trial with Firefox but since it didn't work I dumped it. Pyenv especially is pretty neat since it makes easy to install and run different versions of Python. I do wonder about those versions though. Ruby version 1:3.0~exp1??? Doesn't seem to be the current version for any Debian.