[02:45] <Drecondius> 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] <Drecondius> it's not detecting the wifi adapter and I don't know how to pull the info up without loading a desktop version
[06:53] <Chr15P_1968> 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] <Hamidreza> 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] <monaco> Chr15P_1968: https://vineetcic.medium.com/how-to-set-grub-password-in-ubuntu-18-03-password-protect-boot-loader-ecb5db184054
[06:57] <Chr15P_1968> Awesome, thanx @monaco. Will give it a bash.
[07:23] <Hamidreza> I would appreciate if someone help me: https://paste.ubuntu.com/p/cjdT5RNzN5/
[07:48] <Hamidreza> is there anybody to help me?
[07:50] <Chr15P_1968> 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] <utkarsh2102> Hamidreza: wdym? you can't find the parameters in /etc/sysctl.conf?
[07:52] <utkarsh2102> or just that file? :)
[07:55] <Hamidreza> utkarsh2102, Is there any refrence for this file?
[07:56] <utkarsh2102> Hamidreza: there's a man page
[07:56] <Hamidreza> utkarsh2102, it doesnt have all parameters
[07:57] <Hamidreza> ex: I want to know this parameter "vm.zone_reclaim_mode" works on ubuntu 20 r not?
[07:57] <Hamidreza> and which varibale I can set for new kernel version
[07:59] <utkarsh2102> hm, try using -a/--all flag?
[08:00] <utkarsh2102> -a/--all: Display all values currently available.
[08:28] <Hamidreza> utkarsh2102, Yes
[08:29] <Hamidreza> but it doesnt show all
[08:51] <utkarsh2102> huh, weird. OK, I'll TAL once I'm on system again.
[08:52] <utkarsh2102> well, I'll mostly google up, which I'm guessing you'd have done?
[10:58] <Chr15P_1968> Hamidreza  sudo cat /proc/sys/vm/zone_reclaim_mode
[10:58] <Chr15P_1968> mine is set to 0 after a fresh install
[15:28] <swcdx> 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] <Skyrider> Is it possible that systemd can "read" part of the console logs and restart when it detects a specific part of text?
[15:29] <rbasak> swcdx: mc?
[15:30] <swcdx> rbasak: I don't understand your reply
[15:30] <rbasak> swcdx: sorry. Try the package called "mc"
[15:30] <rbasak> http://www.midnight-commander.org
[15:30] <teward> Skyrider: I don't think SystemD has the functionality to actively parse logs and restart on a specific text item
[15:31] <Skyrider> Any idea what might have that function?
[15:31] <rbasak> I think most people would write a script to achieve that. It seems like a really ugly hack though.
[15:31] <rbasak> https://xyproblem.info/
[15:32] <Skyrider> 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] <swcdx> thanks rbasak, I will check it out.
[15:40] <rbasak> Skyrider: so adjust the bot to either crash on that message, or add a watchdog function and use systemd's watchdog facility?
[15:42] <teward> Skyrider: either write a management script for it, or alter the code of the bot and such
[15:42] <teward> rbasak: systemd watchdog might not work, because bots are still 'online' from a process perspective
[15:42] <teward> but dead to Discord
[15:42] <teward> had the same issue testing a few Discord bot frameworks
[15:43] <teward> 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] <teward> the *GOOD* discord bots and frameworks will attempt to autoreconnect, or just die after failing to connect a certain number of times
[16:12] <swcdx> 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] <leftyfb> Skyrider: you could probably accomplish that with fail2ban
[17:41] <Skyrider> leftyfb... fail2ban? how O_o
[17:42] <leftyfb> 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] <leftyfb> 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] <Skyrider> That's pretty smart :o
[17:45] <leftyfb> there's also something as simple as https://unix.stackexchange.com/a/12077
[17:46] <leftyfb> also https://unix.stackexchange.com/a/12137
[19:53] <Skyrider> leftyfb: Thanks for the suggestion. I ended up using a sh script with regex.
[19:54] <Skyrider> Monitors the systemctl logs and acts on a specific textl ine.