<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Cobra's bits (Posts about archlinux)</title><link>https://cobra.pdes-net.org</link><description></description><atom:link href="https://cobra.pdes-net.org/categories/archlinux.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><copyright>Contents © 2024 &lt;a href="mailto:najahannah@gmail.com"&gt;Cobra&lt;/a&gt; 
&lt;a rel="license" href="https://creativecommons.org/licenses/by-nc-sa/4.0/"&gt;
&lt;img alt="Creative Commons License BY-NC-SA"
style="border-width:0; margin-bottom:12px;"
src="../images/by-nc-sa.svg"&gt;&lt;/a&gt;</copyright><lastBuildDate>Wed, 01 May 2024 12:19:59 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Backdoor in xz</title><link>https://cobra.pdes-net.org/posts/backdoor-in-xz.html</link><dc:creator>Cobra</dc:creator><description>&lt;blockquote&gt;
&lt;p&gt;&lt;a class="reference external" href="https://www.openwall.com/lists/oss-security/2024/03/29/4"&gt;The upstream xz repository and the xz tarballs have been backdoored.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="reference external" href="https://gist.github.com/thesamesam/223949d5a074ebc3dce9ee78baad9e27"&gt;This backdoor is very indirect and only shows up when a few known specific criteria are met. Others may be yet discovered! However, this backdoor is at least triggerable by remote unprivileged systems connecting to public SSH ports.&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;This supply-chain attack targets .deb- and .rpm-based distributions, but the backdoored versions of xz or xz-utils (5.6.0 and 5.6.1) have made it only into rolling-release distributions such as Fedora Rawhide, Debian Testing/Sid, OpenSuse Tumbleweed, and Archlinux (&lt;a class="reference external" href="https://archlinux.org/news/the-xz-package-has-been-backdoored/"&gt;where it is inactive&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;The server of this blog is running Debian Testing and had the compromised version of xz-utils installed since March 17. The backdoor was &lt;a class="reference external" href="https://www.openwall.com/lists/oss-security/2024/03/29/4"&gt;reported&lt;/a&gt; last Friday, March 29. I've installed the patch provided by Debian on Saturday, March 30, and examined the system logs, which do not show any evidence that the system has been compromised in any way. In fact, according to my current understanding, the system did not meet all the &lt;a class="reference external" href="https://vulcan.io/blog/alert-cve-2024-3094/"&gt;requirements&lt;/a&gt; for the backdoor to be executed. However, I will remain vigilant and let the users of the server know if further action needs to be taken.&lt;/p&gt;
&lt;p&gt;More links (in German): &lt;a class="reference external" href="https://www.heise.de/news/Hintertuer-in-xz-Bibliothek-gefaehrdet-SSH-Verbindungen-9671317.html"&gt;Heise 30.03.2024 09:35&lt;/a&gt;, &lt;a class="reference external" href="https://www.heise.de/news/xz-Attacke-Hintertuer-entraetselt-weitere-Details-zu-betroffenen-Distros-9671588.html"&gt;Heise 30.03.2024 22:28&lt;/a&gt;, &lt;a class="reference external" href="https://www.heise.de/hintergrund/Die-xz-Hintertuer-das-verborgene-Oster-Drama-der-IT-9673038.html"&gt;Heise 02.04.2024 17:10&lt;/a&gt;&lt;/p&gt;</description><category>archlinux</category><category>debian</category><category>info</category><category>linux</category><category>suse</category><guid>https://cobra.pdes-net.org/posts/backdoor-in-xz.html</guid><pubDate>Mon, 01 Apr 2024 11:50:12 GMT</pubDate></item><item><title>Kernel 6.6.9</title><link>https://cobra.pdes-net.org/posts/kernel-669.html</link><dc:creator>Cobra</dc:creator><description>&lt;p&gt;Yesterday, I've updated my systems to kernel 6.6.9 – two Intel-based desktops and one AMD-based notebook. When rebooting the latter, I immediately noticed that something was wrong. Logging in, for example, seemed to take twice as long, and the desktop needed much longer than the usual two or three seconds to come up. My Intel desktops, in contrast, behaved exactly as before.&lt;/p&gt;
&lt;p&gt;To substantiate my feeling that my notebook's performance had degraded significantly since the update, I used sysbench, or, more precisely, the command &lt;code class="docutils literal"&gt;sysbench cpu run&lt;/code&gt;. I would normally see a performance of about 4800 events per second on one core. But with kernel 6.6.9, all I've got were 440 events per second, more than a factor of 10 lower than the Ryzen 5800H in my notebook is supposed to deliver, and even three times lower than my 10-years old Intel desktops. No surprise the notebook felt so sluggish!&lt;/p&gt;
&lt;p&gt;I didn't bother to investigate this issue further, and I don't know the underlying cause, like whether it's related to the AMD processor or the maker of the notebook. I just rolled back to kernel 6.6.8 (&lt;code class="docutils literal"&gt;sudo pacman &lt;span class="pre"&gt;-U&lt;/span&gt; &lt;span class="pre"&gt;/var/cache/pacman/pkg/linux-6.6.8.arch1-1-x86_64.pkg.tar.zst&lt;/span&gt;&lt;/code&gt;) and the problem was gone.&lt;/p&gt;
&lt;p&gt;I expected problems with kernel 6.6.6, but the devil is in the details.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; The performance is back to normal with kernel 6.6.10.&lt;/p&gt;</description><category>archlinux</category><category>linux</category><guid>https://cobra.pdes-net.org/posts/kernel-669.html</guid><pubDate>Fri, 05 Jan 2024 16:24:37 GMT</pubDate></item><item><title>Virtual Arch for the VPN</title><link>https://cobra.pdes-net.org/posts/virtual-arch-for-the-vpn.html</link><dc:creator>Cobra</dc:creator><description>&lt;p&gt;Connecting to a VPN is usually like picking up your device and tossing it into another network, figuratively speaking. All of your network activities – such as browsing, fetching private mails, chatting with a friend on IRC – will take place within this virtual network, or not at all: in its most secure configuration, access to resources on the local area network will not be possible. I thus prefer to separate my real private network activities from those in the virtual private network by using a virtual guest dedicated to nothing but connecting to the latter and doing whatever I need to do within the guest system.&lt;/p&gt;
&lt;p&gt;In the present case, I'm fortunate that my employer now uses a gateway whose VPN client (Palo Altos's GlobalProtect) runs even on an up-to-date Arch installation. So my choice for the guest system is an out-of-the-box &lt;a class="reference external" href="https://cobra.pdes-net.org/archbang.org"&gt;ArchBang&lt;/a&gt; that comes with i3 as (tiling) Window manager. It installs in 10 min, comes with everything I need, and fits in 5 GB of space. I spent another 5 min modifying the wallpaper and the conky instance – my idea was to have a visual indication in form of my IP whether or not I'm connected to the VPN.&lt;/p&gt;
&lt;a class="reference external image-reference" href="https://cobra.pdes-net.org/images/virtualarch_95.webp"&gt;
&lt;img alt="../images/virtualarch_95.webp" class="align-center" src="https://cobra.pdes-net.org/images/virtualarch_95.webp" style="width: 800px;"&gt;
&lt;/a&gt;
&lt;div class="line-block"&gt;
&lt;div class="line"&gt;&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;After configuring everything to my liking, it turned out that I shouldn't have bothered – our IT guys configured the VPN with &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Split_tunneling"&gt;split tunneling&lt;/a&gt; enabled. This basically means that only traffic destined to the remote location passes through the encrypted tunnel, while everything else uses the standard gateway. Supposedly less secure, but certainly much more convenient. Excellent choice! I'm sure I'll find another use for my virtual Arch – be it for testing or online banking.&lt;/p&gt;</description><category>archlinux</category><category>virtual-machines</category><guid>https://cobra.pdes-net.org/posts/virtual-arch-for-the-vpn.html</guid><pubDate>Sun, 05 Nov 2023 14:02:40 GMT</pubDate></item><item><title>Don't worry, be happy</title><link>https://cobra.pdes-net.org/posts/dont-worry-be-happy.html</link><dc:creator>Cobra</dc:creator><description>&lt;p&gt;It's Friday evening, 18:30. My fourth video meeting in a row has just concluded. Now I could finally work on the revision of a manuscript I wanted to get resubmitted during the weekend. This last revision was purely technical: the production editor requested that we move the present addresses of the authors to the back of the manuscript, instead of leaving them  beneath the list of authors on the title page as destined by the LaTeX class from the publisher. Now, any such request that forces me to work around or against the journal style provided by the publisher means that the reputation of the journal (&lt;a class="reference external" href="https://pubs.acs.org/journal/aanmf6"&gt;ACS Appl. Nano Mater.&lt;/a&gt;, in case you are curious) takes a steep dive. But anyway, I had to do it, and I was looking into the &lt;code class="docutils literal"&gt;footmisc&lt;/code&gt; package to get all &lt;code class="docutils literal"&gt;footnotemarks&lt;/code&gt; I needed when I realized that I hadn't done my ritual update in the morning for the lack of time. Starting it, I only peripherally noticed that the update involved TeXLive and brought a new kernel. In any case, this information didn't stop me from compiling the manuscript I was working on during the update. Repeatedly. Incessantly.&lt;/p&gt;
&lt;p&gt;At a certain point, the build command of Sublime Text didn't produce any reaction. No error message, nothing. I began to have a bad feeling. Indeed, while I could still move the mouse around, the entire Window system was unresponsive, and the update process – which was just about to build the fmt files – was hanging. I started to suspect that I had just committed the greatest blunder of this year, and indeed, when I rebooted, the system greeted me with the message that the kernel could not be found:&lt;/p&gt;
&lt;pre class="literal-block"&gt;Loading Linux linux...
error file /boot/vmlinuz-linux not found
loading initial ramdisk
error: you need to load the kernel first&lt;/pre&gt;
&lt;p&gt;Well, I knew that this SNAFU looked worse than it actually is. But since I was suddenly very tired, I decided to call it a day and do the repair on Saturday morning.&lt;/p&gt;
&lt;p&gt;On Saturday, I first needed a live Arch installation on a USB stick. The &lt;a class="reference external" href="https://archlinux.org/download/"&gt;ISO&lt;/a&gt; ist just 813 MB (as of release 2023.07.01) and downloaded in 30 s. There are &lt;a class="reference external" href="https://wiki.archlinux.org/title/USB_flash_installation_medium"&gt;several options to write the ISO to the stick&lt;/a&gt;, but I prefer &lt;code class="docutils literal"&gt;dd&lt;/code&gt;:&lt;/p&gt;
&lt;pre class="literal-block"&gt;dd bs=4M if=archlinux-archlinux-2023.07.01-x86_64.iso of=/dev/sdd conv=fsync oflag=direct status=progress&lt;/pre&gt;
&lt;p&gt;Note that the stick must not be mounted, and one writes to the stick (sdd), not a partition (sdd1).&lt;/p&gt;
&lt;p&gt;After booting from the thus created live media, I was just &lt;a class="reference external" href="https://wiki.archlinux.org/title/pacman#Pacman_crashes_during_an_upgrade"&gt;a few commands away&lt;/a&gt; from a restored system. I first wanted to have my WiFi working:&lt;/p&gt;
&lt;pre class="literal-block"&gt;iwctl --passphrase PASSPHRASE station DEVICE connect SSID&lt;/pre&gt;
&lt;p&gt;After that, I just needed to mount my drives (have a look with &lt;code class="docutils literal"&gt;lsblk&lt;/code&gt; before), delete the stale lock file from the previous failed update, and do an update in the mounted root directory:&lt;/p&gt;
&lt;pre class="literal-block"&gt;mount /dev/nvme01p2 /mnt
mount /dev/nvme01p1 /mnt/boot
mount -t proc /proc /mnt/proc
mount --rbind /sys /mnt/sys
mount --rbind /dev /mnt/dev

rm /var/lib/pacman/db.lck

pacman --sysroot /mnt -Syu&lt;/pre&gt;
&lt;p&gt;Took all in all half an hour, but I would still have preferred to avoid this situation altogether. The lesson is: avoid working on the system when you're all stressed out. Particularly &lt;a class="reference external" href="https://www.opsview.com/resources/system-administrator/blog/3-reasons-not-make-major-it-changes-fridays"&gt;on Friday night&lt;/a&gt;.&lt;/p&gt;</description><category>archlinux</category><category>linux</category><category>thoughts</category><guid>https://cobra.pdes-net.org/posts/dont-worry-be-happy.html</guid><pubDate>Sat, 29 Jul 2023 13:12:40 GMT</pubDate></item><item><title>A new VPN</title><link>https://cobra.pdes-net.org/posts/a-new-vpn.html</link><dc:creator>Cobra</dc:creator><description>&lt;p&gt;The institute I'm with has offered a VPN solution for its employees for about 15 years. Well, at least for the Windows users of our staff. The Cisco we've used in the first years came with the abysmal 'vpnclient', which I've said one time to be a &lt;a class="reference external" href="https://cobra.pdes-net.org/posts/vpn-how-to-complicate-your-life.html"&gt;clear winner of the worst-software-on-this-planet contest&lt;/a&gt;. It would run only on CentOS and Debian OldStable (meaning Sarge at that time!), and there was no way to get it running in any reliable way on a halfway modern Linux. I've thus ended up by connecting to the VPN via a virtual Windows XP, until I discovered &lt;a class="reference external" href="https://cobra.pdes-net.org/posts/goodbye-windows.html"&gt;openconnect&lt;/a&gt;, which worked perfectly on modern Linux distributions. Still, I was delighted when we finally kicked out the Cisco and got a Checkpoint instead, only to learn that the promised Linux client was still in development. It actually never materialized, but I was content with the browser-based solution they offered. Now the Checkpoint license has expired, and instead of renewing the contract, we've gotten ourselves a Palo Alto firewall – much to my surprise, as Palo Alto is not known for being a bargain. But in any case, we now – after 15 years – have a VPN client that can be installed on a fully updated Arch system and actually works.&lt;/p&gt;
&lt;p&gt;Jonas, a fellow Archer and colleague of mine, figured out the best way how to install the client. I'm' adding his instructions here so I find them when the next version is released. 😄&lt;/p&gt;
&lt;blockquote&gt;
&lt;ol class="arabic simple"&gt;
&lt;li&gt;&lt;p&gt;Install the AUR package 'globalprotect-bin' (which will fail, but gets the necessary 'PKGBUILD' file and 'globalprotect.install' script).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;From /software/VPN/VPN_Client_GlobalProtect get the latest version of the archive with the client binaries for Linux: 'PanGPLinux-u.v.w-...tgz'. From this archive, you only need the files 'GlobalProtect_tar-u.v.w.x-yz.tgz' and 'GlobalProtect_UI_tar-u.v.w.x-yz.tgz'.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Place the two files in the AUR build-folder, e.g. '.cache/yay/globalprotect-bin/'&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Check that in PKGBUILD the correct 'pkgver' (u.v.w.x) and 'pkgrel' (yz) are set. If you need to change these, you also need to adapt the 'sha256sums'.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Run &lt;cite&gt;makepkg -si&lt;/cite&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Start &lt;cite&gt;gpd.service&lt;/cite&gt; using &lt;cite&gt;systemctl enable --now gpd.service&lt;/cite&gt; (check status with &lt;cite&gt;systemctl status gpd&lt;/cite&gt;) and restart the system.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Import the certificate (I had to use an absolute path): &lt;cite&gt;globalprotect import-certificate --location /home/user/...&lt;/cite&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;To update the client to a new version, you need to repeat steps 2–5 and restart the system.&lt;/p&gt;
&lt;p&gt;Now you are ready and you can&lt;/p&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;&lt;p&gt;Start the connection using &lt;cite&gt;globalprotect connect --portal vpn.foo.bar.de&lt;/cite&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Disconnect using &lt;cite&gt;globalprotect disconnect&lt;/cite&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Alternatively, run the gui (which then appears in the system tray) using: &lt;cite&gt;globalprotect launch-ui&lt;/cite&gt; and use the connect/disconnect button&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;p&gt;I have little to add to these instructions. I don't recommend the GUI: it is outdated and does not work in a high-dpi environment such as my notebook. But that's fine with me; I like the CLI better anyway. Following my habits, I've just defined aliases for the two commands most frequently used:&lt;/p&gt;
&lt;pre class="literal-block"&gt;alias vpnon='globalprotect connect --portal vpn.foo.bar.de'
alias vpnoff='globalprotect disconnect'&lt;/pre&gt;
&lt;p&gt;Perhaps I will install a minimal virtual Linux guest to run the client and to connect, while still being able to use my other connections in the host system. I'll post an update if I do that. 🤠&lt;/p&gt;</description><category>archlinux</category><category>encryption</category><category>web</category><guid>https://cobra.pdes-net.org/posts/a-new-vpn.html</guid><pubDate>Sun, 21 May 2023 14:32:31 GMT</pubDate></item><item><title>20th anniversary</title><link>https://cobra.pdes-net.org/posts/20th-anniversary.html</link><dc:creator>Cobra</dc:creator><description>&lt;p&gt;I've missed it by a few days, but nevertheless: the first version of Archlinux (Homer) was published &lt;a class="reference external" href="https://archlinux.org/retro/2002/"&gt;20 years ago&lt;/a&gt;. The German computer magazine &lt;a class="reference external" href="https://ix.de"&gt;iX&lt;/a&gt; published a well-deserved &lt;a class="reference external" href="https://www.heise.de/news/20-Jahre-Arch-Linux-Profi-System-mit-Bastlerruf-6546931.html"&gt;tribute&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;It took some time for me to discover this unique Linux distribution, but when &lt;a class="reference external" href="https://cobra.pdes-net.org/posts/arch.html"&gt;I did in 2009&lt;/a&gt; (a shocking 13 years ago), I was sold. Since more than 8 years, Arch runs all my desktops and notebooks, and only  servers are still powered by Debian.&lt;/p&gt;
&lt;p&gt;To the next 20 years! And in any case: &lt;a class="reference external" href="https://www.youtube.com/watch?v=nf8ZAMRO1DU"&gt;happy anniversary, happy anniversary, happy anniversary, HAPPY anniversary!&lt;/a&gt;&lt;/p&gt;</description><category>archlinux</category><guid>https://cobra.pdes-net.org/posts/20th-anniversary.html</guid><pubDate>Thu, 17 Mar 2022 18:29:21 GMT</pubDate></item><item><title>Maxi</title><link>https://cobra.pdes-net.org/posts/maxi.html</link><dc:creator>Cobra</dc:creator><description>&lt;p&gt;I've retired my veteran netbook &lt;a class="reference external" href="https://pdes-net.org/cobra/posts/mini.html"&gt;Mini&lt;/a&gt; after 10 years of service and 7 generations of Debian in 2018. The &lt;a class="reference external" href="https://cobra.pdes-net.org/posts/turbo.html"&gt;SSD&lt;/a&gt; was becoming corrupted, and in view of its low performance and advanced age, I decided that it wouldn't be worth the time and money needed to replace it.&lt;/p&gt;
&lt;p&gt;In the meantime, I've been using the &lt;a class="reference external" href="https://cobra.pdes-net.org/posts/chitty-chitty-bang-bang.html"&gt;Fujitsu Lifebook&lt;/a&gt; I acquired in 2011. As a matter of fact, I gradually used this low-end notebook in favor of my desktop until I was basically working exclusively with it. From March 2020, I've used it day in, day out. During this time, it became painfully obvious that the lifebook's performance is no longer adequate for my needs. About a year ago, I've thus started to look for a successor, but considering my recent change in preference, I was looking for a notebook with higher performance and display resolution, as well as a backlit keyboard.&lt;/p&gt;
&lt;p&gt;There were several contenders, all armed with processors of the &lt;a class="reference external" href="https://www.notebookcheck.net/AMD-Cezanne-benchmarks-Ryzen-5000H-45-watt-APUs-with-Zen-3.516895.0.html"&gt;Cezanne&lt;/a&gt; series of AMD. But my favorite was the Ideapad 5 Pro 16 because of its comparatively large screen real estate with a WQHD resolution and 16:10 form factor. When it was offered for €899 by Lenovo in a bargain sale, I didn't hesitate to accept the offer.&lt;/p&gt;
&lt;p&gt;The Ideapad 5 Pro 16 comes with a gun-metal grey (“storm grey”) metal case with an excellent finish. Despite its slightly larger display diagonal, it is significantly smaller, lighter, and, particularly, thinner than my Lifebook. At the same time, it leaves it light years behind in terms of performance:&lt;/p&gt;
&lt;blockquote&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;&lt;th class="head"&gt;&lt;/th&gt;
&lt;th class="head"&gt;&lt;p&gt;Fujitsu Lifebook AH530&lt;/p&gt;&lt;/th&gt;
&lt;th class="head"&gt;&lt;p&gt;Lenovo IdeaPad 5 Pro 16ACH6&lt;/p&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;p&gt;Processor&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;Intel P6200&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;AMD Ryzen 7 5800H&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;p&gt;Lithography (nm)&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;32&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;7&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;p&gt;Frequency (GHz)&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;2.13&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;3.2–4.4&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;p&gt;L2/L3 cache (MB)&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;0.5/3&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;4/16&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;p&gt;# cores/threads&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;2/2&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;8/16&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;p&gt;Weight (kg)&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;2.5&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;1.9&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;p&gt;Display (inch)&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;15.6 (1366×768)&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;16 (2560×1600)&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;p&gt;RAM (GB)&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;4 (DDR3-1066)&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;16 (DDR4-3200)&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;p&gt;Mass storage (GB)&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;500 (SATA HDD)&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;1000 (PCIe SSD)&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;p&gt;TDP (W)&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;35&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;45&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;p&gt;Battery life (h)&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;3&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;8&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;p&gt;iperf (Mbit/s)&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;40&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;360&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;p&gt;Cinebench R23&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;336/641&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;1445/12969&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;p&gt;hdparm -t (MB/s)&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;70&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;2300&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;p&gt;Price (€)&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;299&lt;/p&gt;&lt;/td&gt;
&lt;td&gt;&lt;p&gt;899&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/blockquote&gt;
&lt;p&gt;For comparison, my 9 years old &lt;a class="reference external" href="https://cobra.pdes-net.org/posts/custom-made.html"&gt;desktop&lt;/a&gt; achieves 820/3650 points in the Cinebench R23 single/multi benchmark, and Dell's 17″ high-end notebook XPS 17 in a comparable configuration (processor graphics, 16 GB RAM, 1 TB SSD, 2.2 kg) with an Intel® Core™ i5-11400H for €2098.99 (1920×1200 non-glare) or €2398.99 (3840×2400 glare) scores 1467/9017 points according to c't 21/2021.&lt;/p&gt;
&lt;p&gt;There wasn't any question about the Linux distribution I would install on the Ideapad (Arch, of course), but I debated with myself whether I should install a desktop or stay with Openbox as on all my other systems. In view of the medium-high display resolution of 189 ppi, I finally settled for Budgie, a Gnome-based desktop known for its gracious handling of high-dpi displays. And so far I like what I see: the desktop has an unobtrusive, rational, and no-nonsense quality about it.&lt;/p&gt;
&lt;p&gt;The Ideapad is officially specified to have an Intel AX200 wifi chip, which works perfectly under Linux. But I had been warned by posts in the &lt;a class="reference external" href="https://www.forum-3dcenter.org/vbulletin/showpost.php?p=12748796&amp;amp;postcount=3474"&gt;interwebs&lt;/a&gt; that it may instead be delivered with a Realtek RTL8852AE chipset, which is not yet supported. And that's what happened of course also in my case. I thus installed over a LAN connection (using an USB/ethernet adapter) and installed the &lt;a class="reference external" href="https://aur.archlinux.org/packages/rtw89-dkms-git/"&gt;driver for the 8852&lt;/a&gt; provided on the AUR right after. The driver works fine except when the notebook goes into hibernation, after which there's no wifi device any more – it simply vanishes. I haven't found a solution for this inconvenience, but hope that the official support of the rtw89 driver by the mainline kernel will solve this issue, and will hopefully materialize with Linux 5.15. Alternatively, I could replace the wifi module &lt;a class="reference external" href="https://www.forum-3dcenter.org/vbulletin/showpost.php?p=12753510&amp;amp;postcount=3480"&gt;as others have done&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Other than that, everything works as intended, and lightning fast.😂 Oh, I've replaced pulseaudio by &lt;a class="reference external" href="https://archlinux.org/packages/extra/x86_64/pipewire-pulse/"&gt;pipewire-pulse&lt;/a&gt; to use my bluetooth headset, which would otherwise be without microphone. And I've installed &lt;a class="reference external" href="https://archlinux.org/packages/community/x86_64/rofi/"&gt;rofi&lt;/a&gt;, which I still prefer as a program launcher over anything a desktop can offer...&lt;/p&gt;</description><category>archlinux</category><category>hardware</category><guid>https://cobra.pdes-net.org/posts/maxi.html</guid><pubDate>Sun, 26 Sep 2021 12:45:37 GMT</pubDate></item><item><title>I can haz IP?</title><link>https://cobra.pdes-net.org/posts/i-can-haz-ip.html</link><dc:creator>Cobra</dc:creator><description>&lt;p&gt;I have the strange habit to look up my external IP and to display it in the conky instance on my desktop (see &lt;a class="reference external" href="https://cobra.pdes-net.org/posts/soho-system-monitoring.html"&gt;here&lt;/a&gt; for an example). So far, I've got this IP directly from my Fritz!Box 7170, but the command I've used doesn't work with the new box (a &lt;a class="reference external" href="https://cobra.pdes-net.org/posts/new-neuland.html"&gt;7590&lt;/a&gt;). I thus had to find a new way to get my IP.&lt;/p&gt;
&lt;p&gt;There are plenty of websites returning the IP upon a simple connection by curl:&lt;/p&gt;
&lt;pre class="literal-block"&gt;curl icanhazip.com
curl ifconfig.me
curl ipecho.net/plain
curl ifconfig.co
curl ipinfo.io/ip
curl -s checkip.dyndns.org | sed -r 's#(.*: )([0-9.]*)(&amp;lt;.*)#\2#'&lt;/pre&gt;
&lt;p&gt;There's also at least one DNS server offering this service:&lt;/p&gt;
&lt;pre class="literal-block"&gt;dig +short myip.opendns.com @resolver1.opendns.com&lt;/pre&gt;
&lt;p&gt;But I would very much prefer a local solution as before. And it turns out that this solution exists: The package &lt;code class="docutils literal"&gt;miniupnpc&lt;/code&gt; “enables applications to access the services provided by an UPnP ‘Internet Gateway Device’ present on the network. In UPnP terminology, MiniUPnPc is a UPnP Control Point.”&lt;/p&gt;
&lt;p&gt;This package contains a command that retrieves the external IP from current Fritz!Boxes:&lt;/p&gt;
&lt;pre class="literal-block"&gt;cobra at blackvelvet in ~
↪ external-ip
85.212.90.227&lt;/pre&gt;
&lt;p&gt;Bingo!&lt;/p&gt;</description><category>archlinux</category><category>linux</category><category>web</category><guid>https://cobra.pdes-net.org/posts/i-can-haz-ip.html</guid><pubDate>Sat, 22 May 2021 16:31:40 GMT</pubDate></item><item><title>Better annotations</title><link>https://cobra.pdes-net.org/posts/better-annotations.html</link><dc:creator>Cobra</dc:creator><description>&lt;p&gt;A significant part of my daily work consists of critically reading drafts of publications or project proposals. I usually place hand-written comments on a printout of the respective document and discuss them with the author in my office, but that isn't such a good idea in the time of SARS-CoV-2. We hold these discussions now in video meetings, with the document in question being looked at together by sharing someones screen showing an annotated pdf. Now, I'm using evince to annotate pdfs, and didn't like the fact that all annotations seem to come from ‘Unknown’. In principle, that can be changed by editing the author in the annotation's properties, but I certainly would not have enjoyed doing that for each of the 80+ comments I had made for the present manuscript.&lt;/p&gt;
&lt;p&gt;Alas, the &lt;a class="reference external" href="https://help.gnome.org/users/evince/stable/annotation-properties.html.en"&gt;official help&lt;/a&gt; told me that setting a different default author would not be possible. And that seemed final, since it came from the most authoritative source – the developers themselves. But I finally found a surprisingly simple solution in the place where, at this time, I had expected it least: the &lt;a class="reference external" href="https://wiki.archlinux.org/index.php/GNOME/Document_viewer#Annotation_handling"&gt;ArchWiki.&lt;/a&gt;. Shouldn't the developers know that evince looks into /etc/passwd? In any case, a simple&lt;/p&gt;
&lt;pre class="literal-block"&gt;usermod -c “Deus ex machina” cobra&lt;/pre&gt;
&lt;p&gt;ensured that my comments would be now easily distinguishable from those of the other coauthors.&lt;/p&gt;</description><category>archlinux</category><category>linux</category><category>presentations</category><guid>https://cobra.pdes-net.org/posts/better-annotations.html</guid><pubDate>Mon, 29 Mar 2021 15:57:52 GMT</pubDate></item><item><title>Missing my notifications</title><link>https://cobra.pdes-net.org/posts/missing-my-notifications.html</link><dc:creator>Cobra</dc:creator><description>&lt;p&gt;It took quite some time until I realized that I don't get notifications anymore on any of my Arch-based installations, but when aarchup didn't chime up even after days, I've finally noticed that there must be something wrong.&lt;/p&gt;
&lt;p&gt;The culprit is the new autostart file coming with xfce4-notifyd 0.6.2:&lt;/p&gt;
&lt;pre class="literal-block"&gt;[Desktop Entry]
Type=Application
Name=Xfce Notification Daemon
Exec=/usr/lib/xfce4/notifyd/xfce4-notifyd
Icon=org.xfce.notification
OnlyShowIn=XFCE;&lt;/pre&gt;
&lt;p&gt;Only show in XFCE? As OpenBox user, I feel seriously excluded and discriminated. Well, actually, we can just delete this line in a user context and thus continue as before:&lt;/p&gt;
&lt;pre class="literal-block"&gt;cp /etc/xdg/autostart/xfce4-notifyd.desktop /home/cobra/.config/autostart/
vim /home/cobra/.config/autostart/xfce4-notifyd.desktop
G dd ZZ&lt;/pre&gt;
&lt;p&gt;😉&lt;/p&gt;</description><category>archlinux</category><guid>https://cobra.pdes-net.org/posts/missing-my-notifications.html</guid><pubDate>Sat, 17 Oct 2020 12:43:50 GMT</pubDate></item></channel></rss>