[02:45] I'm trying to install the 20.04 server on a lenovo edge 2. Is it possible to use an oem installation from one of the desktop versions to install server on it so I have wifi? [02:46] it's not detecting the wifi adapter and I don't know how to pull the info up without loading a desktop version === de-facto_ is now known as de-facto [06:53] Good day. Im struggling to password protect Grub menus only on 20.04. All attempts so far require you to enter the grub password when rebooting, I just need the menus to be password protected. Can someone point me to a guide that can help achieve this please. [06:55] Hi guys, I was using ubuntu 16 and now I'm using ubuntu 20 , on ubuntu 16 I have some kernel tuning parameters in sysctl.conf, How can I check them and correct them for ubuntu20 and new kernel version? [06:55] Chr15P_1968: https://vineetcic.medium.com/how-to-set-grub-password-in-ubuntu-18-03-password-protect-boot-loader-ecb5db184054 [06:57] Awesome, thanx @monaco. Will give it a bash. [07:23] I would appreciate if someone help me: https://paste.ubuntu.com/p/cjdT5RNzN5/ [07:48] is there anybody to help me? [07:50] 20.04 doesnt have the file /boot/grub/menu.lst. Looks like the guide in the link will also require you to enter your password when you boot the VM. I just need to protect the grub menu entries, ie when you want to edit the menu entry a password will be required. [07:52] Hamidreza: wdym? you can't find the parameters in /etc/sysctl.conf? [07:52] or just that file? :) [07:55] utkarsh2102, Is there any refrence for this file? [07:56] Hamidreza: there's a man page [07:56] utkarsh2102, it doesnt have all parameters [07:57] ex: I want to know this parameter "vm.zone_reclaim_mode" works on ubuntu 20 r not? [07:57] and which varibale I can set for new kernel version [07:59] hm, try using -a/--all flag? [08:00] -a/--all: Display all values currently available. [08:28] utkarsh2102, Yes [08:29] but it doesnt show all [08:51] huh, weird. OK, I'll TAL once I'm on system again. [08:52] well, I'll mostly google up, which I'm guessing you'd have done? [10:58] Hamidreza sudo cat /proc/sys/vm/zone_reclaim_mode [10:58] mine is set to 0 after a fresh install [15:28] Hello, I will be organizing files and folders in ubuntu server. Is there a terminal program for windows or ubuntu desktop that let’s me use GUI interface to move/copy/paste files around? I am trying to save myself the amounts of typing I will have to do in the CLI. Any other suggestions or programs is appreciated. TIA [15:29] Is it possible that systemd can "read" part of the console logs and restart when it detects a specific part of text? [15:29] swcdx: mc? [15:30] rbasak: I don't understand your reply [15:30] swcdx: sorry. Try the package called "mc" [15:30] http://www.midnight-commander.org [15:30] Skyrider: I don't think SystemD has the functionality to actively parse logs and restart on a specific text item [15:31] Any idea what might have that function? [15:31] I think most people would write a script to achieve that. It seems like a really ugly hack though. [15:31] https://xyproblem.info/ [15:32] Ya, I know.. but if a discord bot is shutting down because of "Shard ID 0 heartbeat blocked for more than", its refusing to restart as it's still online [15:37] thanks rbasak, I will check it out. [15:40] Skyrider: so adjust the bot to either crash on that message, or add a watchdog function and use systemd's watchdog facility? [15:42] Skyrider: either write a management script for it, or alter the code of the bot and such [15:42] rbasak: systemd watchdog might not work, because bots are still 'online' from a process perspective [15:42] but dead to Discord [15:42] had the same issue testing a few Discord bot frameworks [15:43] Skyrider: both options are "Bad", unless the bot can trigger its own restart mechanism on such disconnects you're pretty out of options there unless you manually restart the bot as you seem to be doing [15:44] the *GOOD* discord bots and frameworks will attempt to autoreconnect, or just die after failing to connect a certain number of times [16:12] rbasak: Thank you, you are saving me a lot of typing my friend. WiSh ther was somehting easier but better than typing. I will work with it to figure it out. [17:12] Skyrider: you could probably accomplish that with fail2ban [17:41] leftyfb... fail2ban? how O_o [17:42] Skyrider: create a filter to read the log and look for the string you want, then create an action to restart whatever you want [17:43] I know fail2ban isn't meant to do this, but it's basically just a service to read a log, look for a thing and do a thing when you find a pattern in said log [17:44] That's pretty smart :o [17:45] there's also something as simple as https://unix.stackexchange.com/a/12077 [17:46] also https://unix.stackexchange.com/a/12137 [19:53] leftyfb: Thanks for the suggestion. I ended up using a sh script with regex. [19:54] Monitors the systemctl logs and acts on a specific textl ine.