Search
384 results for “NetworkManager”
-
It's always DNS, right? If someone experiencing some strange issues with ubuntu, maybe this toot is for you.
tl;dr: switch from systemd-resolved to resolvconf.
I thought, the saying from the beginning was just something from the "old days". No DNS Problems in 2024 anymore, right? But Ubuntu taught me different.
Ubuntu is using systemd-resolved since 20.04 (if I'm correct). But I was shocked, when I was looking at my uptime kuma Container on a Ubuntu 22.04 LTS Host. It was constantly failing. Sometimes 3 services at the same time, sometimes just 1 service a day. One Check suddenly failed. 60 seconds later, the next check, switched back to green again. But all fails had the same error message: "getaddrinfo ENOTFOUND domain.com". Doesn't matter if they were internal domains or external. Sometimes some of them just failed.
I thought it could be an old Firewall Applience that were running at like 120% system utilization and were serving DHCP and (with this) internal DNS. But no. Not even high latencies from that Firewall. Then I thought it might be AdGuard (in a Docker Container). So I switched to PiHole. But the problems were still the same.
Then I turned on debug logs of systemd-resolved and found out that sometimes it was switching to the secondary DNS Server for whatever reason and just attaching the search domain to the following requests:
1. AAAA of demodomain.com
--> no answer (because only A were available)
2. A of demodomain.com
--> somehow failed, systemd-resolved switched to second DNS (debug log of systemd-resolved is hard to read, not sure why it somehow failed)
3. AAAA of demodomain.com.local
--> it just attached the searchdomain of the system to the domain which now resulting in errors from all following DNS ServerAfter another round of wrong requests it suddenly get back his head. But in the meantime, uptime kuma already failed.
The solution in my case: switch "back" to resolvconf package on Ubuntu. Which comes to at least one downside: it seems to not have an interface to netplan and/or networkmanager (which leads to manual creating and managing of resolv.conf, not via DHCP, bummer). But after I switched: Everything is working fine and without any problems since days.
"We" also have an open bug report since 3 years: https://github.com/systemd/systemd/issues/21123
It's not exactly the same issue, but I think the root cause is connected somehow: it seems to be a problem of IPv6.
But a) I need (or better: want) IPv6 in my case/that network and b) WTF? How can this be a good solution to turn off IPv6 (https://github.com/systemd/systemd/issues/21123#issuecomment-2028976737)? Not to mention that we still need a solution for Post-IPv4.By the way: If you still experiencing DNS issues inside Docker Container, maybe Alpine could be another issue: https://martinheinz.dev/blog/92
#systemdresolved #ubuntu #Ubuntu2404 #uptimekuma #dns #usg #unifi #ubiquiti #adguard #pihole #netplan #networkmanager #ipv4 #ipv6 #alpine #docker #glibc #musl
-
#Linux Weekly Roundup for February 15th, 2026: #Mesa 26.0, #Ubuntu 24.04.4 LTS, #KDE Frameworks 6.23, #GNOME 49.4, #pearOS 26.2, #IPFire DBL, #KaOS 2026.02, #NetworkManager 1.56, #GNU Linux-libre 6.19, #OpenVPN 2.7, #Parrot 7.1, #Tails 7.4.2, GNOME 50 beta, #REMnux 8, #MythTV 36.0, GNU Binutils 2.46, #Vim 9.2, #GitHub Tray, and more https://9to5linux.com/9to5linux-weekly-roundup-february-15th-2026
-
#Linux Weekly Roundup for February 15th, 2026: #Mesa 26.0, #Ubuntu 24.04.4 LTS, #KDE Frameworks 6.23, #GNOME 49.4, #pearOS 26.2, #IPFire DBL, #KaOS 2026.02, #NetworkManager 1.56, #GNU Linux-libre 6.19, #OpenVPN 2.7, #Parrot 7.1, #Tails 7.4.2, GNOME 50 beta, #REMnux 8, #MythTV 36.0, GNU Binutils 2.46, #Vim 9.2, #GitHub Tray, and more https://9to5linux.com/9to5linux-weekly-roundup-february-15th-2026
-
#Linux Weekly Roundup for February 15th, 2026: #Mesa 26.0, #Ubuntu 24.04.4 LTS, #KDE Frameworks 6.23, #GNOME 49.4, #pearOS 26.2, #IPFire DBL, #KaOS 2026.02, #NetworkManager 1.56, #GNU Linux-libre 6.19, #OpenVPN 2.7, #Parrot 7.1, #Tails 7.4.2, GNOME 50 beta, #REMnux 8, #MythTV 36.0, GNU Binutils 2.46, #Vim 9.2, #GitHub Tray, and more https://9to5linux.com/9to5linux-weekly-roundup-february-15th-2026
-
#Linux Weekly Roundup for February 15th, 2026: #Mesa 26.0, #Ubuntu 24.04.4 LTS, #KDE Frameworks 6.23, #GNOME 49.4, #pearOS 26.2, #IPFire DBL, #KaOS 2026.02, #NetworkManager 1.56, #GNU Linux-libre 6.19, #OpenVPN 2.7, #Parrot 7.1, #Tails 7.4.2, GNOME 50 beta, #REMnux 8, #MythTV 36.0, GNU Binutils 2.46, #Vim 9.2, #GitHub Tray, and more https://9to5linux.com/9to5linux-weekly-roundup-february-15th-2026
-
#Linux Weekly Roundup for February 15th, 2026: #Mesa 26.0, #Ubuntu 24.04.4 LTS, #KDE Frameworks 6.23, #GNOME 49.4, #pearOS 26.2, #IPFire DBL, #KaOS 2026.02, #NetworkManager 1.56, #GNU Linux-libre 6.19, #OpenVPN 2.7, #Parrot 7.1, #Tails 7.4.2, GNOME 50 beta, #REMnux 8, #MythTV 36.0, GNU Binutils 2.46, #Vim 9.2, #GitHub Tray, and more https://9to5linux.com/9to5linux-weekly-roundup-february-15th-2026
-
So, after I met problems with iwlwifi driver and my attempts to aggregate both em0 and wlan0 interfaces to the one lagg0 interface (https://mastodon.bsd.cafe/@evgandr/115985853500057386) — looks like I found a much (MUCH!) simpler solution :drgn_happy:
I wanted to automatically switch between wired and wireless networks when I plug-in (or disconnect) my Ethernet cable. First, because I was a newbie in the FreeBSD world, I tried to search for some kind of NetworkManager. Thankfully, I didn't find any NetworkManager clone ported to the FreeBSD. I found some tries to port NetworkManager from Linux to FreeBSD but all of them are failed (not surprised, lol).
Then, I finally started to read documentation :drgn_think_science: . In the section about advanced networking I read about aggregation interfaces. And somehow I managed to aggregate both of em0 and wlan0 to the one lagg0 interface and it works well.
But, looks like (see https://mstdn.social/@erikarn/115986265106931691) it is not the way how the lagg interfaces should work. It is not intended to use wireless interfaces in the aggregate interfaces — so my tricky setup stopped working in the FreeBSD 15.0.
BUT, since we have a beautiful devd daemon, which listens for various system events and able to execute actions when event is happened — I just wrote 23 lines of shell script to learn my laptop how to switch between interfaces when the Ethernet cable (dis)connects, lol. Solution is very simple:
First, we already have /etc/devd/dhclient.conf, which starts dhclient when some interface appeared in the system. I modified it, so it calls the sPeCiAL script, each time when em0, or wlan0, or ue0 interface appeared in the system, or when em0 is disappeared:
notify 0 {
match "system" "IFNET";
match "type" "LINK_UP";
media-type "ethernet";
action "/root/bin/unfuck_network.tcsh $subsystem ifup";
};notify 0 {
match "system" "IFNET";
match "type" "LINK_DOWN";
media-type "ethernet";
action "/root/bin/unfuck_network.tcsh $subsystem ifdown";
};notify 0 {
match "system" "IFNET";
match "type" "LINK_UP";
media-type "802.11";
action "/root/bin/unfuck_network.tcsh $subsystem";
};notify 0 {
match "system" "ETHERNET";
match "type" "IFATTACH";
match "subsystem" "ue0";
action "/root/bin/unfuck_network.tcsh ue0";
};Then, the main magic happens in the /root/bin/unfuck_network.tcsh:
— When Ethernet cable is connected — it destroys the wlan0 interface and starts dhclient for em0 to talk with DHCP server.
— When Ethernet cable is disconnected — it makes all to remove route using em0 from routing table (removes em0 interface completely, flush routing table, etc — somehow em0 still stays in the routing table if interface is not destroyed; btw system will create it anyway later, in some point) and recreates the wlan0 interface.
— When wlan0 device is created — it starts dhclient for it.Script contents (for tcsh):
#!/bin/tcshswitch ( $1 )
case "em0":
if ( $2 == "ifup" ) then
service netif quietstop wlan0
service dhclient quietstart em0
else if ( $2 == "ifdown" ) then
service dhclient quietstop em0
ifconfig em0 delete
route flush
service routing restart
service netif quietstart wlan0
endif
breaksw;
case "wlan0":
service dhclient quietstart wlan0
breaksw;
case "ue0":
service dhclient quietstart ue0
breaksw;
endsw -
I digged an old Thinkpad T410 out of my pile of Thinkpads and decided to take it to the arcade as a general use laptop for the days I don't have anything more modern on me and something needs tweaking.
This specific machine had only 6 gigs of RAM, so I tried something new here. Normally I do these light but up-to-date setups with Debian and XFCE or IceWM, but since I've put Alpine into quite a few Docker containers, I wanted to see how it fares as a full installation.
For someone who has used Linux in the days when X configuration was done by hand, setting it up wasn't that hard, but there was also plenty of manual tweaking to get this thing behave somewhat like a modern era laptop would. I put XFCE on it, changed the networking to run under NetworkManager and so forth. Been quite a while when I've set something up from as scratch as this, but it was also a nice walk down the memory lane.
Anyway, the Thinkpad works great, Wifi and all. The whole installation with all the junk I need takes 1.4 gigabytes of disk space and 480 megabytes of RAM with full DE running. Pretty!
Isn't this thing glorious? ThinkLight and all!
-
Hướng dẫn dùng Raspberry Pi làm Router gia đình.
SSH vào Pi, dùng NetworkManager để tạo Access Point qua Ethernet:
sudo nmcli connection add type wifi ifname wlan0 con-name ap0 ssid "<TÊN_WIFI>" autoconnect yes
sudo nmcli connection modify ap0 802-11-wireless.mode ap 802-11-wireless.band bg
sudo nmcli connection modify ap0 wifi-sec.key-mgmt wpa-psk wifi-sec.psk "<MẬT_KHẨU>"
sudo nmcli connection modify ap0 ipv4.method shared ipv4.addresses 172.18.0.1/24
sudo nmcli connection up ap0 -
Das #VPN der #UniBonn gibt mittlerweile eine äußerst unhilfreiche 404-not-found Fehlermeldung zurück, wenn man sich unter #Linux (#openconnect cli oder #NetworkManager GUI) verbinden möchte.
Die Lösung ist (natürlich!) wie hier¹ im #ArchWiki erwähnt:
> sudo openconnect --useragent=AnyConnect unibn-vpn.uni-bonn.de
Also dem Gateway vorgaukeln, dass man der Cisco AnyConnect client ist 😑
-
#TFW you reboot your #Linode, and apparently something has changed on the host because the network interface name reported by the kernel is now different, so NetworkManager fails to configure the network and you have to waste a half hour logging into the console over lish and relearning how the fuck manually configured network interfaces are configured in NetworkManager so you can figure out what's wrong and fix it. *sigh*
-
Service:
Hin und wieder wird bei DYNDNS eine stabile Host-ID verlangt:
Linux allgemein:
man ip-token
ip token set ::3000 dev eth0
oder im NetworkManager:
https://networkmanager.pages.freedesktop.org/NetworkManager/NetworkManager/nm-settings-nmcli.html[ipv6]
addr-gen-mode=eui64
method=auto
token=::3333Damit kommt man ohne DHCPv6 aus und die Hosts müssen nicht ihre MAC-Adresse "verraten".
Wenn jemand die äquivalenten Einstellungen für andere OS oder Tools kennt, kann ja gern damit darauf antworten.
-
Hier mal wieder ein mehr oder weniger sinnvoller Distro-Vergleich: Wie viel #RAM benötigen Distros direkt nach dem Start?
Es laufen: #sway, foot und htop (zum messen). Ich habe die Distros schon so optimiert, dass möglichst wenig Hintergrunddienste und überall möglichst die gleichen Dienste laufen (NetworkManager, CUPS, sshd)#Void Linux: 288M
#antiX 26 (mit dinit): 294M
#Debian 13: 341M
#openSuse #Tumbleweed: 355M
#FunOS (Ubuntu) 25.10: 395M
#Fedora 43: 415M -
Tried the #COSMICdesktop in Fedora 44. Nice little desktop and the window tiling being easy to turn on and off is great.
I got slightly confuddled when the terminal window and text editor window merged into a combined group. That was cool, also potential for lots of typing in the wrong app 😄
Text editor stopped responding when trying to exit, it was the last app in the merged window group.
Missing a UI similar to NetworkManager in GNOME for creating an OpenVPN connection was disappointing. Nice to see a Wireguard option.
Overall I think it's shaping up really nicely, still needs more features to make it functional for my work laptop. It's largely stability issues, some additional system settings options.
-
802.1x on #Debian or #Ubuntu anybody? Manually running wpa_supplicant with password=hash:something and dhclient works for me, but it did not work adding this to /etc/network/interfaces. I always end up in default VLAN using this method.
Will one of the other methods (#systemd-networkd, #NetworkManager or #netplan support hashed passwords?)
I am just looking for a method that works.
#8021x -
CW: CW Blogpost
Too Good To #014
In today’s installment:
- #dmesg from before the machine crashed
- #Kill process ID from #pidfile
- Let #systemd retry a task
- Set #MTU on #OpenVPN connections in #Networkmanager -
This guide walks you through every method for changing the IP address on Debian 12, providing clear, step-by-step instructions.
Keep reading:👇
https://greenwebpage.com/community/how-to-change-an-ip-address-on-debian-12/#ipaddress #nmcli #nmtui #networkmanager #dhcp #manaulipaddress #debian #linuxadministration #greenwebpage
-
Setup -> I have a #RaspberryPi #RaspberryPiZero2W running #linux #pios #RaspberryPiOS #headless
Aim: I want the pi to always offer a #hotspot #wifihotspot on #boot
based on the commandnmcli device wifi hotspot ssid pizerohotspot password my_password
Is this below a bad solution ?? -> I came up with this solution in the link below using a .service but fear it shows I am clueless? Is there a better way? Thanks!
https://www.loramesh.org/subpages/pi_install.html#pi_hotspot -
I have updated my Automatic AccessPoint script.
Network at home & AccessPoint when you are out.
"AccessPopup" on the #raspberrypi so that it now works on #archlinux arm for Pi4 as well as the #Ubuntu Pi Image and #PiOS Bookworm. Will probably work on other systems but not tested yet. Needs NetworkManager but i also have a different script for the older PiOS -
#Linux Weekly Roundup for August 10th, 2025: #Debian 13, #Ubuntu 24.04.3 LTS, #LinuxMint 22.2 beta, #Mesa 25.2, Linux 6.17 RC, #NVIDIA 580 beta, #KDE Plasma 6.4.4, #Calibre 8.8, #GStreamer 1.26.5, #Tails 7.0 RC, #Audacity 3.7.5, #PeaZip 10.6, PorteuX 2.2, #HandBrake 1.10, #Darktable 5.2.1, NetworkManager 1.54, KDE Frameworks 6.17, #Amarok 3.3.1, and more https://9to5linux.com/9to5linux-weekly-roundup-august-10th-2025
-
Back by popular demand.
Part 4 of my Swift Network Manager series is now live. We move from basic URL fetching to URLRequest, HTTP methods, and headers. #Swift #SwiftUI #iOSdev #NetworkManager
https://www.youtube.com/watch?v=pzHctMLhovI&feature=youtu.be -
RE: https://linuxrocks.online/@linuxtechmore/115832436228985381
A lot has changed since v0.1.0. 🛠️
🔹 Major bug fixes
🔹 Performance improvements
🔹 New features added
If you haven't checked out hyprltm lately, now is the time. Even more features are on the way! -
Heya! I've been daily-driving it for nearly a month on my main at-home laptop (Thinkpad X260).
It's pretty great! ZFS is darn near bulletproof, and after some initial challenges of getting wifi and GUI configured, it was pretty "boring"... until I tried upgrading to 15.0, lol
Figured out how to roll back to 14.3, and I'm now waiting for 15.1 before I try again (although I believe the issues I had have now been resolved, but I'm still going to wait ;)
Package availability is amazing (better than Debian in some cases!), and most things compile without any issues, although some things that don't have very well-written Makefiles are iffy and I got stuck.
Been having fun with Dosbox-X, playing games I loved 20-30 years ago. I couldn't get the Linux version of Kerbal Space Program to run under compat_linux, but I didn't really expect it to.
#OpenBSD definitely gets my vote for noob-friendly #BSD, since it has X11 in the base install, and it configures itself, but I now have sway (Wayland) running under #FreeBSD just as if I were still on Linux, so as long as someone is willing to skim through the pertinent parts of the handbook, it's a great OS.
The only downsides to #FreeBSD vs. Linux is that S3 resume takes a little longer (8 seconds instead of 1-3 seconds), and I have occasional hiccups, which I'm sometimes not able to recover from. Loading some websites in Firefox will make everything hang for several seconds at times (even though I'm launching Firefox via
nice (1)), and there are some times that sway never quite recovers from S3 suspend, although that's rare. The good thing is that sometimes it will catch the power button and shut down cleanly, and even when it doesn't, #ZFS is so bulletproof that it just takes it all in stride.There are occasional Linuxisms that feel a bit odd, like some of my packages (the swaync notification system and the duckstation console emulator are notable examples) require #pulseaudio of all things, which sometimes eats up my CPU. That's... really weird to me. I liked how minimal
sndioon OpenBSD is.Both major BSDs have very sane syntax for the config file that governs Wifi access points, and that's very refreshing to me after using a TUI to join networks on #Debian (although it's definitely possible to uninstall #NetworkManager on Debian and use the native interface config files, but they're not as nice/simple as the BSDs').
One really fun (if a bit cartoonish) way of comparing the BSD philosophy to the Linux philosophy is to look at doas vs sudo, specifically
man doas.conf, thenman sudoers.The manpage for the sudoers file is pretty long and convoluted, as is the syntax for the file itself.
doas.confis super brief and to-the-point, and its manpage is pretty concise.I think once they add the setup tool for GUIs to the FreeBSD setup wizard, that will be a real game-changer.
P.S., I haven't really daily-driven OpenBSD in a while, but I'm planning on getting an adapter so I can power my OpenBSD Thinkpad X200t off of a power bank, instead of the very dodgy third-party battery, so I can experiment with OpenBSD some more. I know the latest version has fixed the problems I was having with Emoji support, so I think that OS deserves another look. With the little bit of experimentation I've done in the last week, I've been pleasantly surprised with even Firefox' performance on that little Core 2 Duo. The only bummer about OpenBSD to me is the lack of ZFS or any other modern filesystem, so the occasional power losses or hang-ups become much more dangerous.
Edit: minor clarifications
-
#Linux Weekly Roundup for November 23rd, 2025: #Blender 5.0, #KDE Plasma 6.5.3, #Debian Libre Live Images, #PHP 8.5, #GIMP 3.2 Release Candidate, #AlmaLinux OS 9.7, VKD3D-Proton 3.0, #openSUSE's Agama 18 installer, KDE #Slimbook VII laptop, Finnix 251, #Budgie 10.10 Developer Preview, #Calibre 8.15, #Git 2.52, #Wireshark 4.6.1, #NetworkManager 1.54.2, #OpenVPN 2.6.16, HPLIP 3.25.8, and more https://9to5linux.com/9to5linux-weekly-roundup-november-23rd-2025
-
The Linux Mint install connected to the WiFi 6 days ago but has not done so since that session.
The taskbar Wifi icon is arrows overwritten by an ‘X’
Right clicking on that icon shows Wired is cable unplugged there are no WiFi slide buttons
Clicking on network settings I see Wired but with an “X” and unplugged. A loopback connection which appears kosher and Network proxy which doesn’t help me at all.Clicking on the Network Connection I see my WiFi ModemRouter name (Config looks correct) and last used is: 6 days ago
iwconfig cmd shows:
Io. No wireless extensions
Enp0s31f6. No wireless connectionsThat’s it.
I have tried a number of suggestions from fora to enable, swith on, discover, list, etc. using various cmd but nothing was helpful. Some advised me to download an alternative network manager claiming there’s a bug in the distro, yeah, sure… without a means to connect how the hell is that possible?Anyways, if you’ve solved a similar prob, let me know. I’ll try anything at this stage.
-
Service:
Hin und wieder wird bei DYNDNS eine stabile Host-ID verlangt:
Linux allgemein:
man ip-token
ip token set ::3000 dev eth0
oder im NetworkManager:
https://networkmanager.pages.freedesktop.org/NetworkManager/NetworkManager/nm-settings-nmcli.html[ipv6]
addr-gen-mode=eui64
method=auto
token=::3333Damit kommt man ohne DHCPv6 aus und die Hosts müssen nicht ihre MAC-Adresse "verraten".
Wenn jemand die äquivalenten Einstellungen für andere OS oder Tools kennt, kann ja gern damit darauf antworten.
-
Service:
Hin und wieder wird bei DYNDNS eine stabile Host-ID verlangt:
Linux allgemein:
man ip-token
ip token set ::3000 dev eth0
oder im NetworkManager:
https://networkmanager.pages.freedesktop.org/NetworkManager/NetworkManager/nm-settings-nmcli.html[ipv6]
addr-gen-mode=eui64
method=auto
token=::3333Damit kommt man ohne DHCPv6 aus und die Hosts müssen nicht ihre MAC-Adresse "verraten".
Wenn jemand die äquivalenten Einstellungen für andere OS oder Tools kennt, kann ja gern damit darauf antworten.
-
Service:
Hin und wieder wird bei DYNDNS eine stabile Host-ID verlangt:
Linux allgemein:
man ip-token
ip token set ::3000 dev eth0
oder im NetworkManager:
https://networkmanager.pages.freedesktop.org/NetworkManager/NetworkManager/nm-settings-nmcli.html[ipv6]
addr-gen-mode=eui64
method=auto
token=::3333Damit kommt man ohne DHCPv6 aus und die Hosts müssen nicht ihre MAC-Adresse "verraten".
Wenn jemand die äquivalenten Einstellungen für andere OS oder Tools kennt, kann ja gern damit darauf antworten.
-
Service:
Hin und wieder wird bei DYNDNS eine stabile Host-ID verlangt:
Linux allgemein:
man ip-token
ip token set ::3000 dev eth0
oder im NetworkManager:
https://networkmanager.pages.freedesktop.org/NetworkManager/NetworkManager/nm-settings-nmcli.html[ipv6]
addr-gen-mode=eui64
method=auto
token=::3333Damit kommt man ohne DHCPv6 aus und die Hosts müssen nicht ihre MAC-Adresse "verraten".
Wenn jemand die äquivalenten Einstellungen für andere OS oder Tools kennt, kann ja gern damit darauf antworten.
-
::: Forgot your WiFi password? - Find that password of your connected network in Linux 📶
Open the terminal & use these commands.
Ubuntu:
ls /etc/NetworkManager/system-connections/
------
The ones using Nmcli (for example Solus):
nmcli device wifi show-password
(This way you even get a QR code) 💥
#quickies #tips #find #WiFi #Linux #Ubuntu #network #password #Solus #Nmcli #NetworkManager #hints #help #connection #terminal #QR