-
user vs root
This sounds more like a screen locker thing than a power thing. I don't user xfce so I can't confirm, but see if you can find some setting to disable screen locking, maybe in lightdm settings (if xfce is still using lightdm that is) A quck search gave this, maybe you can find some useful info in there.
-
Network config for an IoT wifi server
Well, the armbian minimal images use networkd, not networkmanager so nmcli won't work, but some things could probably be done with netplan cli. Armbian networking: static IP, Wi-Fi & NetplanConfigure Armbian networking on single-board computers with Netplan, systemd-networkd and NetworkManager, including static IP addresses and DHCP examples.I am not a huge fan of netplan, but that is just my opinion. Glad you got it figured out.
-
Network config for an IoT wifi server
Since you don't want bridging (internet or other lan), all that has to be done is to setup a wifi hotspot/access point and a dhcp server that hands out ip addresses when connected to, hence the link I posted. Static ip on the server and dhcp handles ip for all the clients. Or you could ofc just configure every client manually with a static ip and the same subnet and only setup the wifi part. Search the internet on how to setup a wifi access point but simply ignore the parts about bridging since you want this to be a confined wifi lan. IIRC there is even a way to setup the device as a hotspot with armbian-config. (I remember you could in the old armbian-config at least, I assume it is still possible with the new, but have not actually checked)
-
Network config for an IoT wifi server
https://linuxconfig.org/what-is-dhcp-and-how-to-configure-dhcp-server-in-linux
- BOOTSIZE build param has no effect!
-
BOOTSIZE build param has no effect!
Question to @Igor Will this be the "default" build going forward for armbian or is this something that is only achieved through extra configs during build? (BOOTFS_TYPE=ext4 BOOTSIZE=512 UEFISIZE=256) This does not look "traditional" to me, isn't traditional two partitions? Traditional to me is efi in either /boot/efi or /efi and /boot directory located on root partition. I ask because this is not going to work with the backup-script (shrink-backup) I maintain that has "support" for armbian, so if this is going to be standard, I need to rethink things. I have never seen this setup on anything, be it sbc, desktop or server.
-
Lessons Learned
Cmon Werner, you know what it, or if it's now they mean. The post with the wall-of-text got closed. Even though linking to the caveman project was pretty genius. 😁 @defcom5-rockchip I also noticed it was an AI when I just pointed something out in another post and IT came back and thanked me, even though it was disclosed that an AI was used to "analyze" my response, I have zero interest interacting with that. I don't think Armbian has an AI policy (maybe they should), but it should be common sense not to let an AI roam free and post on forums or issue trackers. If you use an AI, then READ what it spits out, analyze it yourself and then type the response manually on the forum. If it's a language barrier, type YOUR response to the AI in your native language and let it translate. The point is that nobody wants to have a conversation with an AI on a forum or issue tracker.
-
/var/log constantly full = at /dev/zram1
1. If written by AI, it should be disclosed more openly than hidden in the commits IMHO. (this is written by claude) 2. By using this, the storage gets written to 1440 times per day, ie once per minute via the systemd timer. (If storage is on an SD-card the longevity of that storage is significantly shortened, you might as well just disable the ramlog completely) 3. After a very quick glance it looks like logs will be deleted without archiving too. For example, if the rotation fails, the logs are still truncated making it impossible to debug using logs in case of a write failure. It also looks like it will --vacuum-size with JOURNAL_VACUUM_SIZE=20M, that is a very small size imho, so not a lot to look back at after it vacuums. /var/log/journal is excluded? (disclaimer: I only took a very quick glance, so I could be wrong in my analysis) The better option is to do what is described in this thread, increase the size of the ramlog by editing /etc/default/armbian-ramlog and reboot (or reloading configs & restarting the relevant systemd service), or just disable ramlog to write directly to disk. Just my two cents.
-
wlan configuration - SSID containing a backslash does not work
See if quoting the password inside /etc/netplan/armbian.yaml (or if it's inside /etc/netplan/30-wifis-dhcp.yaml) works. That looks strange to me (wpa_supplicant), P"yadayada" instead of quoting the whole sting.
-
wlan configuration - SSID containing a backslash does not work
What does the command 'sudo netplan --debug generate' return?
-
The password input field appears briefly and immediately disappears again.
@aschaenz I wouldn't do that if I were you. You open up a whole bunch of security issues adding that rule. The solution above your last post is way better, ie fall back on the old setuid helper and when newer kernel arrives, unmask again. sudo systemctl mask polkit-agent-helper.socket sudo dpkg-statoverride --update --add root root 4755 /usr/lib/polkit-1/polkit-agent-helper-1 sudo systemctl reset-failed 'polkit-agent-helper@*' If you don't believe me, ask an AI what security implications adding the rule you use imposes.
-
Headless armbian minimal OS installation from armbian imager still expects SSH login to complete first time configuration
Not sure what you mean by "It keeps falling back to the one set through armbian config profile." Are you saying running 'sudo armbian-config' does not change the stuff? Maybe you find this useful for creating "clones": https://github.com/UnconnectedBedna/shrink-backup You can create a backup, write that image to an sd-card, put the sd-card in a sd-card reader, plug it into a usb (on a system that can read the linux filesystem) and edit the files for wifi and static ip (for minimal images, netplan uses networkd according to documentation). Then plug in that sd-card to the device on the new location and boot. Information on what files to edit can be found here: https://docs.armbian.com/user-guide/networking/
-
Headless armbian minimal OS installation from armbian imager still expects SSH login to complete first time configuration
Configure your dhcp server (your router) to handle these things instead of doing it on the device. Use the mac address for the wifi (and wired if you want that to also be static) and set static ip on the router instead. Obviously use different addresses for wifi and lan. As others have mentioned, don't use *.*.*.255 since that is a broadcast address.
- Workaround for slow Linux img download in image build using docker?
-
Nvme optimization settings (zram, ram log)
Is it actually zram and not zswap you are using? They are not the same thing and should not be running simultaneously, zswap will take president over zram. And isn't it a partition you want? Where is that partition located? If zram: Make sure you are actually using zram before doing any of this, dmesg should probably tell you: 'sudo dmesg | grep zram', or 'zramctl' should tell you if it is in use, if not it will return nothing. If you are, did you try to blacklist the module? "echo 'blacklist zram' >> /etc/modprobe.d/blacklist.conf" Or mask the service? 'sudo systemctl mask systemd-zram.service' (or whatever the service is called, check with 'systemctl --type swap') I agree with that it should work with your config, but if it doesn't, a blacklist of the module should make it impossible for the kernel to load it after a reboot. If zswap: 'sudo dmesg | grep zswap' or 'cat /sys/module/zswap/parameters/enabled' (Y or N if it's enabled or not) If it's zswap you want to disable, it IS the kernel parameter 'zswap.enabled=0' But you don't have to disable this to use a "classic" partition, you can just mkswap & swapon as usual. (and swapoff if there is anything you want to remove) https://chrisdown.name/2026/03/24/zswap-vs-zram-when-to-use-what.html
bedna
Members
-
Joined
-
Last visited