[00:46] <Guest7> is multipass basically ubuntu's version of docker?
[00:56] <noarb> is there a way to view my local machine's /var/mail/<user> in thunderbirD? I tried adding "other account" and it says the spool file can't be found.
[01:01] <tomreyn> Guest7: there's docker(.io) in ubuntu, too
[01:02] <noarb> I only have a few messages at /var/mail/root. I use thunderbird for regular internet email, but I was hoping to just have a local account side by side those accounts, too
[01:03] <Guest7> i see but it seems like they are pretty much the same?
[01:03] <leftyfb> noarb: make an alias for root pointing email to your user
[01:03] <leftyfb> Guest7: what are you trying to accomplish?
[01:09] <noarb> leftyfb: do you mean at the MTA or MUA level?
[01:09] <noarb> is it just permissions with thunderbird and root?
[01:10] <leftyfb> noarb: https://askubuntu.com/a/199453/1151311
[01:12] <noarb> thanks for the link, I was using that answer in my earlier attempts. I'll try adjusting some fields to see if I can get it to work. Now I'm getting spool file can't be found from my regular user, and the only local mail on the system is roots
[01:12] <noarb> I'm not even interested in sending from this account right now, I would just like to see messages in my regular workflow when they appear
[01:18] <Guest7> i am just trying to understand what it is
[01:19] <Guest7> another question i have is where is the DNS configuration located on ubuntu? I don
[01:19] <Guest7> 't see /etc/bind
[01:20] <leftyfb> Guest7: multipass is used to spin up vm's, typically kvm vm's, but it does support other hypervisors, and utilize cloud-init to customize their network and such
[01:21] <Guest7> so it is an actual virtual machine but happens to work with k8s?
[01:21] <leftyfb> Guest7: as for DNS, ubuntu does not need a DNS server by default. If you're referring to the client resolver, it uses systemd-resolved for a client resolver
[01:22] <Guest7> what directory is that in?
[01:22] <tomreyn> https://github.com/canonical/multipass
[01:22] <leftyfb> Guest7: multipass is not a VM, it's a tool used to orchestrate spinning up VM's across many hypervisors
[01:22] <pycurious> is there a way to record the terminal output in an animation of the bootup process of ubuntu?
[01:22] <pycurious> preferably including the bios screen?
[01:23] <leftyfb> Guest7: back to DNS, what are you looking to configure exactly? Which nameserver is configured? You typically set that either via your DHCP server (router) or if you want to hard code it, use your network settings
[01:23] <tomreyn> pycurious: run it in a vm, use your preferred video capture software
[01:24] <Guest7> i just want to know where dns config is stored, the file and the directory where it is
[01:24] <leftyfb> pycurious: including the BIOS screen, no, not on bare metal. Not unless you use something out of band like pikvm
[01:26] <leftyfb> Guest7: systemd-resolve --status , you can add |grep "DNS Servers" to get a list of configured nameservers from you network setting
[01:26] <Guest7> yes but in which file and directory can i configure all of that stuff?
[01:27] <leftyfb> Guest7: you configure your nameserver in /etc/netplan/*.cfg
[01:27] <Guest7> ok let me check it out
[01:27] <leftyfb> Guest7: unless you are on a desktop, then you use the built in GUI network manager
[01:28] <Guest7> the only file i have in there is 01-network-manager-all.yml
[01:28] <leftyfb> Guest7: use the built in network manager
[01:28] <Guest7> and unfortunately i am not on an ubuntu OS with a GUI
[01:29] <leftyfb> Guest7: please past the out of this here:   cat /etc/os-release | nc termbin.com 9999
[01:30] <Guest7> https://termbin.com/2xbo
[01:30] <tomreyn> !20.10 | Guest7
[01:31] <leftyfb> Guest7: why do you have a 01-network-manager-all.yml if you're not running a GUI?
[01:31] <Guest7> nothing it is blank
[01:32] <leftyfb> Guest7: that file is only created when you have ubuntu desktop installed
[01:32] <Guest7> interetsing
[01:32] <leftyfb> Guest7: either way, you'll need to upgrade, your release is unsupported
[01:33] <leftyfb> Guest7: and your network settings should then be in /etc/netplan.
[01:35] <Guest7> yes you seem to be rightr
[01:44] <pycurious> tomreyn: thanks
[01:46] <Guest7> thank you for the answers but i have another question
[01:46] <Guest7> is it possible to trigger a kernel panic on purpose?
[01:46] <Guest7> if so, why would you do it?
[01:46] <leftyfb> Guest7: why would you want to do such a thing?
[01:47] <leftyfb> Guest7: this is more a google question. I see no reason anyone here would help to accomplish such a thing
[01:47] <Guest7> just wondering for educational purposes
[01:48] <genii-core> Guest7: https://unix.stackexchange.com/questions/66197/how-to-cause-kernel-panic-with-a-single-command
[01:49] <Guest7> wow that is wild
[01:50] <genii-core> Now you can check if all 3 lights on your keyboard blink on and off repeatedly
[01:52] <Guest7> the reason why you would want to do it is to capture a core dump?
[01:53] <leftyfb> Guest7: the core dump is only used to troubleshoot the issue that caused the kernel panic, which you never want to happen
[01:53] <SnoopJ> I think it's perhaps being too general to say this kind of troubleshooting is the only use of having a core dump in-hand.
[01:54] <SnoopJ> but I can't really think of what others there might be other than "I need to look at a core dump from this kernel right now" ?
[01:54] <leftyfb> SnoopJ: there's other, less crashy ways to get all the same information from your system for other purposes
[01:54] <SnoopJ> leftyfb, "the same information" being a core dump?
[01:54] <genii-core> I guess you could use it as some sort of state capture mechanism
[01:55] <leftyfb> all of that information should be in lsof and /proc/
[01:55] <SnoopJ> what if the information you want is the literal layout
[01:55] <leftyfb> layout?
[01:56] <SnoopJ> of kernel memory
[01:57] <SnoopJ> I mean, I get what you're saying, if you want [some particular information] then there is probably a better way to get it than crashing your system...
[01:57] <leftyfb> Guest7: there's no reason for you to purposely generate a kernel panic. If, some day you become a kernel developer, then you'll already know how to do such a thing if you have to
[01:57] <Guest7> gotcha makes sense
[04:26] <xb> like never say 'allegiance' again.
[04:27] <xb> Heron Stiff.
[04:32] <tomreyn> xb: this is the third time in a few days that you're posting off-topic here. please stop.
[04:33] <xb> tomreyn: my apologies
[04:52] <xb> my desktop files have disappeared. when i upgraded from Ubuntu 18.04 to UB 20. Any advice?
[04:56] <matsaman> xb: what's in ~/Desktop/ ?
[04:56] <tomreyn> you may not have apt:gnome-shell-extension-desktop-icons installed
[04:57] <tomreyn> i'm assuming "UB 20" stands for "Ubuntu 20.04 LTS"?
[04:58] <tomreyn> xb: ^
[04:58] <xb> yes. yes it does. I'm trying the gnome desktop shell install now
[05:37] <xb> thank you Mr. TomReyn that was the correct diagnosis.
[05:39] <tomreyn> you're welcome
[05:46]  * TJ- shares a spoonful of porridge with tomreyn  as a reward :)
[06:03] <tomreyn> TJ-: Yum! Err, I mean, APT!
[06:04]  * TJ- awards tomreyn the comedy crown
[06:25] <guiverc> :)
[08:58] <funabash1> Hi where can i find the dhcp client config ?
[09:01] <alkisg> funabash1: by default ubuntu uses network-manager; what are you using?
[09:09] <funabash1> alkisg: its by default i have  a fresh installation. but i want to add some lines in dhcp config. cant find it
[09:09] <funabash1> alkisg: to be more specific i want to add dhcp options
[09:12] <alkisg> funabash1: network-manager has it own internal dhcp client implementation
[09:12] <alkisg> It doesn't use isc-dhcp unless you specify it in its configuration file
[09:13] <alkisg> Its full documentation is at https://developer-old.gnome.org/NetworkManager/stable/NetworkManager.conf.html
[09:23] <Guest11> Can someone please point me on how to create a dkms .deb package in ubuntu?
[09:26] <alkisg> Guest11: run `apt source rtl8812au-dkms` and then study! Or download it from https://packages.ubuntu.com/impish/rtl8812au-dkms
[10:02] <ice99> !paste
[10:03] <ice99> !pasteinit
[10:03] <ice99> !pastebinit
[11:23] <Razva> Hey! How can I set Chrome to use the middle click? On Windows I was closing tabs when clicking on them and scrolling up/down when keeping it pressed.
[11:24] <matsaman> Razva: with a mouse?
[11:24] <Razva> G502
[11:24] <Razva> I already installed Piper
[11:24] <matsaman> so yes a mouse
[11:24] <Razva> the button is mapped as "middle click"
[11:25] <Razva> Yes, with a Mouse.
[11:25] <matsaman> middle mouse button click?
[11:25] <Razva> yup
[11:25] <matsaman> it didn't just work without piper?
[11:26] <lotuspsychje> chrome is not really a supported app, test on chromium browser instead
[11:26] <Razva> nope, fresh install
[11:26] <Razva> ok let me try that as well
[11:26] <Guest11> Can someone please point me list of commands need to run for creating a dkms .deb package in ubuntu?
[11:26] <Razva> nope, chromium does the same
[11:27] <Razva> firefox does the same
[11:27] <Razva> solved
[11:27] <Razva> somehow Piper unmapped the button
[11:27]  * Razva facepalms
[11:29] <Razva> Ok, next issue (with any browser) would be the fact that in Windows I was pressing middle click and scrolling down faster. Any way to do the same on Ubuntu?
[11:30] <lotuspsychje> Guest11: alkisg already pointed you to a solution
[11:31] <matsaman> Razva: so it's doing middle click scrolling, but not as fast?
[11:31] <Razva> it's not doing any scrolling
[11:31] <Guest11> lotuspsychje: Sorry I lost the n/w connection.. I might have missed it.. Could you please point me again..
[11:32] <lotuspsychje> Guest11: <alkisg> Guest11: run `apt source rtl8812au-dkms` and then study! Or download it from https://packages.ubuntu.com/impish/rtl8812au-dkms
[11:32] <Razva> I press it and move the mouse up/down but nothing is happening
[11:32] <Guest11> lotuspsychje: Thanks
[11:33] <matsaman> Razva: in Firefox?
[11:33] <Razva> Firefox and Chromium
[11:35] <matsaman> Razva: hrmm, maybe this: https://askubuntu.com/questions/28150/chrome-chromium-middle-mouse-button-for-scroll-linux-mac#answer-868173
[11:38] <Razva> The Device ID would be 2? https://paste.debian.net/1207984/
[11:40] <Razva> https://www.irccloud.com/pastebin/7yo4o7rK/
[11:41] <matsaman> Razva: hrmm, think I'd try 9 first
[11:42] <Razva> YEEEEE
[11:42] <matsaman> that a good or bad yee?
[11:44] <Razva> a good one
[11:44] <matsaman> coo
[11:45] <Razva> I'm noting this down as I have a feeling it'll be necessary for any DE and/or distro
[11:46] <matsaman> could be
[11:46] <matsaman> I don't remember ever having a problem doing that, "autoscrolling", as it's called, but
[11:46] <matsaman> I've been using laptops a lot for the past handful of years
[11:46] <matsaman> and Firefox, occasionally chromium, not really chrome
[11:47] <ripper> hi everybody
[11:49] <ripper> i have a problem by connection thorw wireguard on my system
[11:49] <ripper> when i try to connect by this sudo systemctl start wg-quick@London
[11:50] <ripper> i get errors
[11:51] <ripper> i use lubuntu 20.4
[11:52] <ripper> error:   Job for wg-quick@London.service failed because the control process exited with error code.
[11:52] <ripper> See "systemctl status wg-quick@London.service" and "journalctl -xe" for details.
[11:53] <ripper> by using this command journalctl -xe
[11:53] <ripper> the resualts are :
[11:55] <ripper> excuse me
[11:56] <ripper> by using this command : systemctl status wg-quick@London.service
[12:03] <rapha> hi all
[12:04] <rapha> out of around a dozen ubuntu server VMs, i have a single one that doesn't honor external (ACPI from virt-manager) requests to shut down and power off. what might be the reason for that?
[12:05] <TurboTech> Wow just found out that Tradingview and Think or Swim were available in the Software Repos.
[12:06] <matsaman> finally you can exploit the workers on Linux, too =)
[12:06] <xb> my apologies again that was a line from way way back.
[12:07] <ripper> https://pastebin.com/m13eyRwD
[12:08] <ripper> what should i do to solve it? please help me
[12:09] <ripper> looks the problem is in resolvconf
[12:13] <rapha> perhaps ask in #wireguard?
[12:13] <ripper> ok
[12:13] <ripper> but it think the problem comes with my operating system not the wireguard protocol
[12:14] <BluesKaj> Hi folks
[12:14] <ripper> hi
[12:19] <rapha> well what does `ip a` say?
[12:19] <rapha> and does wireguard even have a tun interface, like openvpn?
[12:24] <ripper> rapha:  don't know
[12:24] <ripper> i have no idea about it
[12:25] <ripper> i think doesn't have because i sat it up like a service
[12:25] <ripper> i used to work
[12:25] <ripper> it used to work*
[12:26] <ripper> but nowadays it doesn't connect
[12:27] <ripper> i just control it by these commands
[12:27] <ripper> sudo systemctl start wg-quick@London
[12:27] <ripper> sudo systemctl stop wg-quick@London
[12:28] <ripper> nothing is changed on my network manager
[12:28] <rapha> what's also strange is that the if should be named "tun.London". i for one have never seen such a thing, but happy to receive some edification here.
[12:29] <ripper> iwhere is the strange?
[12:30] <ripper> tun.london ?
[12:31] <ripper> friends i have problem by connecting to wireguard protocol
[12:31] <ripper> by using this command :   sudo systemctl start wg-quick@London
[12:31] <ripper> i get errors
[12:32] <ripper> https://pastebin.com/m13eyRwD
[12:32] <ripper> May you help me please?
[12:45] <BluesKaj> ripper, join #wireguard chat, you might receive answers there much sooner than here
[12:47] <ripper> BluesKaj: ok
[12:59] <wrench_84> Hello all =)
[12:59] <matsaman> hi
[12:59] <matsaman> 6
[13:01] <wrench_84> I have unexpected error when run sudo apt-key add - like gpg: symbol lookup error: gpg: undefined symbol: sqlite3_errstr. Do you know something about it ? libsqlite3-dev and sqlite3 already installed
[13:02] <wrench_84> ah yes, ubuntu 20.04
[13:11] <goddard> how can i install nvidia drivers only for compute and not anything else?
[13:11] <goddard> my main GPU is AMD
[13:11] <goddard> my other GPUs are only for compute
[13:11] <goddard> and its Nvidia
[13:24] <Guest97> my partitions don't accept edit
[13:24] <goddard> hey
[13:24] <Guest97> what should i do please
[13:25] <goddard> Guest97: use the disks program and change mount options
[13:25] <goddard> that is the easiest way
[13:25] <Guest97> they're all unmounted by default.. but when i click them they immediately mounted
[13:26] <Guest97> but i can't edit or rename ot delete files within
[13:26] <goddard> So use the disks program
[13:26] <goddard> then edit the mount options
[13:27] <zteam> Hi again, I have a problem with Ubuntu 21.04 which occured after a (partially) failed update from Ubuntu 20.10, after running for over 8 hours Gnome-shell starts to consume more than 50% of one of my cpu cores, how can I find out what is causing this?
[13:28] <goddard> use htop to find the program with the most CPU usage
[13:29] <zteam> goddard, thanks, but the program is gnome-shell itself (according to Gnome System Monitor)
[13:29] <goddard> zteam: try to reinstall gnome shell
[13:32] <Guest97> i don't know how to do that with my partition program i dont' see options
[13:32] <goddard> its in the hamburger menu
[13:32] <goddard> when you click on the drive
[13:32] <goddard> it should be in the window toolbar
[13:32] <goddard> at the top
[13:33] <goddard> on the right hand side
[13:33] <Guest97> KDE partition manager
[13:33] <goddard> nah gnome disks
[13:33] <goddard> dont know about kde partition manager
[13:44] <zteam> goddard, I tried to reconfigure it with dpkg now, hopefully that settles things down a bit
[13:46] <zteam> Guest97, are you sure you have the necesseary permsissions to modify the files ?
[13:47] <Guest97> zteam i'm note sure, but each file owner details show my username
[13:49] <zteam> Guest97, right click the file or folder you are trying to modify and check whetever you have permssion to read and write to it
[13:50] <Guest97> zteam: owner can view and modify
[13:51] <Guest11> I created a simple .deb package as per https://ubuntuforums.org/showthread.php?t=910717 .. I need to print some text as a banner while installing the newly created .deb package, does DEBIAN/control supports this?
[13:52] <zteam> Guest97, Does it show that? (even if it's rare you can actually own files without having write permissions for it)
[13:52] <leftyfb> Guest11: try #ubuntu-devel
[13:54] <Guest97> zteam: yes i right clicked properties: (user- group- other) under permession > Can View & Modify
[13:54] <Guest97> all files withing that partition says so
[13:58] <zteam> Guest97, then you need to to alter the mount settings for that partition go to Disks Utitlty -> Select your  Disk -> and partition and click on wheel meny-> and select "edit mount settings"
[13:59] <Guest97> there's faded (grayed out) menu option (Edit mount point) when i right click on the partition on KDE Manager -
[13:59] <Guest97> should i unmount it first?
[14:00] <Guest97> or it's not the option we want
[14:01] <zteam> Guest97, it sounds like the right option... Did KDE Parition Manager ask you for any password then you started it?
[14:01] <Guest97> yes
[14:01] <Guest97> it asked for my username password
[14:02] <zteam> Guest97, okey, I have never used that tool myself, but it sounds like you need to unmount the partition first
[14:03] <Guest97> unmounted
[14:03] <Guest97> btw it's ntfs if that'sof any importance
[14:04] <Guest97> i clicked edit mount point
[14:04] <Guest97> in the options there's " read only" which is unchecked by default
[14:04] <goddard> run ntfs fix
[14:05] <goddard> ntfsfix is the command
[14:05] <Guest97> will it harm my files?
[14:05] <goddard> no
[14:05] <goddard> just fixes ntfs drives that weren't shut down cleanly by windows
[14:06] <Guest97> should i do this with the partitions mounted or unmounted?
[14:06] <goddard> it will tell you
[14:06] <Guest97> ok
[14:06] <emis> HELO
[14:07] <zteam> Guest97, No it wont't it it will only do a basic check to make sure the NTFS-filesystem is correct :-)
[14:08] <Guest97> https://pastebin.com/Q3z5EV6b
[14:08] <goddard> you gotta tell it which drive
[14:08] <goddard> lsblk
[14:08] <goddard> shows your drives
[14:08] <goddard> it will be /dev/sda or something like that
[14:09] <goddard> unless it is nvme
[14:11] <Guest97> https://pastebin.com/Kpd4HXEy
[14:11] <Guest97> i tried chkdsk as it says
[14:11] <zteam> Guest97, as goddard says you need to tell it the device name (you can probably view this very easyily from Kde Partion Manager
[14:11] <Guest97> command not found.
[14:12] <zteam> Guest97, There is no Linux version of CheckDisk available, so if it wants you to run CheckDisk it means the Windows version from inside Windows
[14:13] <Guest97> i have no windows :x
[14:15] <zteam> Guest97, try sudo ntsfix -d /dev/sda3
[14:18] <Guest97> https://pastebin.com/fENiMqWQ
[14:18] <goddard> it looks like it worked
[14:18] <goddard> see if you can use it
[14:18] <Guest97> i tried to edit and delete a file.. nothing happened
[14:20] <goddard> something always happens
[14:21] <Guest97> T-T
[14:21] <zteam> Guest97, ntfsfix can only do basic checking of a NTFS-volume the only way to work around that is either to 1. get an installation media with windows and run chkdsk /p C: (assuming that is the right letter) or 2. Copy all your files to anotther partition and to recreate the parition that you can't modify the files on
[14:22] <Guest97> there's no easy ways to do fixes on linux
[14:23] <goddard> ntfsfix has always worked for me
[14:23] <goddard> the gnome disks to set mount options
[14:23] <Guest97> my system also crashed about 5 times in 2 days.. usually when i try to logout from my user or customizing my UI
[14:23] <zteam> Guest97, however I'm confused, ntfsfix is clearly telling you to the filesystem is dirty becuase windows didn't shutdown properly, so the question is what happened to your Windows partition?
[14:23] <Guest97> i'm starting to think that something went wrong when i installed kubuntu
[14:23] <goddard> and if you dont have windows installed you should just make the disk an ext4 drive any way
[14:23] <goddard> ntfs always causes problems in my experience
[14:24] <zteam> goddard, this is a good point if he doesn't intend to use that files on Windows in the future
[14:24] <Guest97> i couldn't change the partition extension because it'll make me lose the files
[14:25] <goddard> Guest97: ya you gotta move them some place else temporarily
[14:25] <goddard> usb 3 drive maybe
[14:25] <Guest97> so they'll remain only readable until i do move them somewhere else?
[14:25] <Guest97> even with the free space on the partitions?
[14:26] <goddard> if you can read them now then yeah
[14:26] <Guest97> i can red them but i can't modify them
[14:26] <goddard> its your computer and nothing will happen unless you do it
[14:26] <BluesKaj> goddard, "always" is too absolute, i use NTFS on my outboard media drive without any issues
[14:27] <goddard> BluesKaj: ok
[14:27] <goddard> in my experience it is best to do things the Linux way when you move out of Windows land
[14:28] <Guest97> is my sudo permssions different from root permssions?
[14:28] <Guest97> i want to try something
[14:29] <goddard> kind of but not really it depends
[14:29] <goddard> look at the man page for -i
[14:29] <goddard> it details some differences
[14:29] <zteam> Guest97 sudo just means "perform this command only as root"
[14:30] <Guest97> ok i've (rootfs) folder which is owned by root ok?
[14:30] <Guest97> inside rootfs foler there's media folder
[14:30] <SnoopJ> (or some other user, if you specify -u)
[14:30] <Guest97> media folder has my username inside
[14:30] <Guest97> inside my username there's my 2 partitions
[14:30] <Guest97> mounted
[14:30] <Guest97> and their owner is me
[14:31] <zteam> Guest97, yes, (make sure these has read and write permissions as well
[14:31] <Guest97> media?
[14:32] <zteam> Guest97, the folders inside media
[14:32] <Guest97> my username folder is owned by root not my username
[14:32] <Guest97> media folder is owned by root too
[14:33] <Guest97> group root
[14:33] <zteam> Guest97, does other has read and write permissions there ?
[14:34] <Guest97> all options in permissions are grayed out
[14:34] <Guest97> for my username folder
[14:36] <zteam> sudo chmoud o+rwx /media/directory
[14:36] <zteam> Guest97, sudo chmod o+rwx /media/directory
[14:37] <zteam> Guest97, (replace directory with name of the folder inside media)
[14:37] <ivaat> apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7EA0A9C3F273FCD8 results to gpg: keyserver receive failed: Server indicated a failure
[14:38] <zteam> ivaat, try "sudo apt clean" && apt update
[14:38] <Guest97> still can't modify
[14:39] <ivaat> zteam: yea the apt update is part of script already
[14:40] <ivaat> and how this should help... did not help
[14:41] <zteam> Guest97, nope, Linux is not very happy to touch any NTFS-volume if it finds any defect
[14:41] <Guest97> can i run the chkdsk utility from inside linux?
[14:42] <Guest97> it it will help?
[14:43] <zteam> ivaat, cleanings apts cache can actually help,since the key can be retrived from a possible corrupt cache (and no I can't now what's inside your scripts)
[14:43] <ivaat> i am trying to retrive key from keyserver.. not cache
[14:44] <ivaat> "Server indicated a failure"
[14:46] <zteam> ivaat, missed that part sorry
[14:46] <ivaat> np
[14:48] <zteam> Guest97, get a usb-drive with Windows-instalation-ISO you can grab that directly from Microsoft, CheckDisk can only be run from Windows there is no way around that
[14:49] <Guest97> that or an external hard drive... ?
[14:49] <Guest97> those only 2 methods
[14:51] <zteam> Guest97, storing the files tempoarirly on another drive and formating the faulty NTFS-filesystem obviosly works as well yes.
[14:51] <Guest97> ok i will try with my usb drive first with windows 10
[14:51] <Guest97> i mean windows 7
[14:52] <zteam> Guest97, either should be fine, from there just go to the recovery command prompt and run chkdsk /p C:
[14:53] <Guest97> do you know to burn a windows 7 iso file in linux?
[14:59] <zteam> Guest97, Try this, the instructions are for Windows 10, but it possibly works for Windows 7 as well https://www.omgubuntu.co.uk/2017/06/create-bootable-windows-10-usb-ubuntu
[14:59] <Guest97> ok thank you
[14:59] <Guest97> i will try now
[15:02] <goddard> whats the default gnome shell font used?
[15:02] <zteam> Guest97, No problem :-)
[15:04] <tarzeau_> goddard: cantarell?
[15:04] <Mekaneck>  Cantarell
[15:04] <goddard> it appears the AMD open driver has font rendering issues in gnome shell at high refresh rates
[15:05] <goddard> makes it look all blurry and "rainbowy".. yes that is a technical term
[15:05] <tarzeau_> the AMD open driver doesn't know a thing about fonts
[15:05] <goddard> knowing a thing about a thing doesn't mean it can't effect a thing
[15:05] <tarzeau_> so it must be whatever software gui toolkit or font toolkit renders them
[15:06] <tarzeau_> easy to find out, so if it's gtk font rendering cause you trouble. try with qt applications if it's the same effect. and can you provide screenshots of the font renderings?
[15:07] <Mekaneck> Guest97: you know Windows 7 isn't supported anymore....
[15:08] <cbreak> burning CDs? :O
[15:09] <Guest97> Mekaneck, yes but i'm not installing it.. i will burn it to usb for the sole pupose of running chkdsk command
[15:10] <ivaat> anyone can hit how i can get fsck.mode=skip into this solution: https://help.ubuntu.com/community/LiveCDCustomization
[15:10] <Mekaneck> not getting it on how you would do that since windows doesn't do live sessions Guest97... anyway, we're offtopic here
[15:12] <Guest97> i can't do live sessions like linux??
[15:12] <Mekaneck> with windows? No
[15:12] <Guest97> do i have to install it alongside ubuntu for this to work??
[15:12] <goddard> Guest97: everything I have told you should of already be a solution
[15:13] <ivaat> hint*
[15:13] <Mekaneck> Guest97: this is not a windows support channel so
[15:13] <Guest97> goddard: i will try this from recovery windows 7 to run cmd
[15:13] <goddard> if your drive is failing then you might need custom software to salvage your data
[15:13] <goddard> you shouldn't need windows but if thats what you wanna do
[15:14] <Guest97> zteam so far told me i have 2 options, this or buy a new DIsk and move data to it..
[15:17] <goddard> your problem is how your drive is mounted
[15:17] <goddard> ntfsfix should solve the issue
[15:18] <zteam> goddard, he can't fix an NTFS-drive with serious corruption from Windows, there is no Linux equivalent to CheckDisk ntfsfix is not a full-blown replacement for CheckDisk that'
[15:18] <Guest97> i ran ntfsfix command and that's what returned
[15:18] <Guest97> Mounting volume... OK
[15:18] <Guest97> Processing of $MFT and $MFTMirr completed successfully.
[15:18] <Guest97> Checking the alternate boot sector... OK
[15:18] <Guest97> NTFS volume version is 3.1.
[15:18] <Guest97> NTFS partition /dev/sda3 was processed successfully.
[15:18] <goddard> yeah
[15:18] <goddard> how is the drive mounted?
[15:19] <goddard> fstab
[15:19] <zteam> goddard, that's why I told him to grab a Windows iso
[15:22] <zteam> Guest97, just for curiousity you can try to run sudo dmesg -wH
[15:23] <superboot> I am getting started with containers using systemd-nspawn. I'm working on getting private networking setup. Most guides use sytemd.networkd for this. Ubuntu Server comes with Netplan. What is ubuntu community's recommended configuration (arrangement)?
[15:23] <Guest97> no specifc partition?
[15:25] <zteam> Guest97, from terminal, and then to mount the ntfs volume again, this should show any complains Ubuntu has about the NTFS-volume (it can't fix anything, but it let us see, if Ubuntu has any complains about the fileystem
[15:26] <Guest97> where i can see if there's a problem in the output?
[15:26] <superboot> My main goal is to have a clone of the running system started up in a container, but with a new static IP address.
[15:26] <zteam> Guest97, it will print all errors in the same window as you enter the command :-)
[15:27] <Guest97> there's hella a looot of lines
[15:27] <Guest97> colored
[15:27] <Guest97> so much lines to check
[15:28] <zteam> Guest97, right.... we could make that easier....
[15:29] <zteam> guest press ctrl+c instead run sudo dmesg -wH | grep /dev/sda3
[15:29] <Guest97> with sda3 mounted?
[15:30] <zteam> Guest97, unmount and run the command again then remount
[15:31] <Guest97> konsole freezes?
[15:32] <Guest97> type Xrtil +C?
[15:33] <zteam> Guest97, opens a new console then, and run sudo dmesg -wH | grep /dev/sda3 from there instead
[15:34] <Guest97> how long should the command take?
[15:35] <Guest97> cursor just sticks to the left of the console
[15:35] <Guest97> with no output
[15:35] <zteam> Guest97, even after you mount the faulty drive? :-O
[15:36] <Guest97> i haven't mounted the drive yet...
[15:36] <Guest97> it's still unounted
[15:36] <Guest97> it's a partition*
[15:37] <Guest97> i mounted
[15:37] <Guest97> and rand the command...
[15:37] <Guest97> still the same
[15:38] <zteam> Guest97, dmesg runs until we cancel it, it just prints events from the systemlog, the idea is to see any errors happening, it only shows events made after the dmesg is ran not before
[15:41] <zteam> Guest97, did you run the command after you mounted the drive, if that's the case it cant see it ? :-)
[15:41] <Guest97> should i unmount again? rune the command and then remount?
[15:42] <zteam> Guest97, unmount the drive, run the command let it run in the background, and mount the drive, hopefully it will show you something useful
[15:42] <zteam> :-)
[15:43] <Guest97> null
[15:43] <Guest97> :(
[15:43] <Guest97> btw usb is ready
[15:44] <zteam> Guest97,weird... we can try sudo dmesg -wH | grep mount
[15:45] <Guest97> ok there's output
[15:45] <zteam> Guest97, paste it on pastebin please
[15:45] <Guest97> ok
[15:47] <Guest97> https://privatebin.net/?819da867102e3a92#6kMbZjjvpvfkTD49tYuhD2z99NKABhNyoiPqQy7EL5q7
[15:53] <zteam> Guest97, really weird, it shows no complains about the filesystem... I would still just boot up Windows install and run CheckDisk from that...
[15:53] <Guest97> zteam ok i will boot into the usb now
[15:54] <Guest97> brb
[15:54] <zteam> Guest97, yes go ahead :-)
[16:12] <ivaat> anyone can hit how i can get fsck.mode=skip into this solution: https://help.ubuntu.com/community/LiveCDCustomization
[16:20] <pycode> i accidentally closed the chat last time, i asked what virtualization system i should use to run windows 10 "without pain" (<--- asking too much?) :D
[16:20] <pycode> i need to run few platforms that require win
[16:20] <pycode> i tried with wine but i had some problems
[16:20] <pycode> what tool can i use? virtualbox?
[16:21] <tomreyn> !irclogs
[16:22] <pycode> omg i think is better to ask the quesiton again.. :D many many many logs
[16:22] <pycode> :D
[16:22] <SnoopJ> you could use virtualbox for that sure
[16:22] <tomreyn> virt-manager or gnome-boxes or virtualbox (upstream packages, not those in ubuntu)
[16:23] <pycode> found
[16:23] <pycode> virt-manager
[16:23] <pycode> https://irclogs.ubuntu.com/2021/08/14/%23ubuntu.txt
[16:24] <pycode> ravage told me to use that tool
[16:24] <Guest528> zteam
[16:25] <pycode> i cant find gnome-boxes
[16:25] <pycode> on software manager
[16:26] <tomreyn> pycode: virt-manager isn't the greatest user interface, but it does get updated, and builds a proper KVM instance. virtualbox has a more intuitive user interface but fewer options and is from oracle. gnome-boxes has a nice user interface and does kvm as well, but with fewer options and i'm not sure it will get updates (a gnome project)
[16:27] <tomreyn> the apt package gnome-boxes is present on all supported ubuntu releases in the universe section
[16:27] <pycode> boxes Updated
[16:27] <pycode> June 7, 2021
[16:27] <tomreyn> !universe
[16:28] <tomreyn> yes, gnome-boxes actually does seem to get pretty regular updates upstream
[16:29] <pycode> i will go with it but...one more question, what happen if i install win 10, i suppose i have to buy a license, and i do not know how they can work on a virtual system. i mean, if i remove it and install again i need to buy another key?
[16:30] <tomreyn> pycode: you may imagine that we don't do windows licensing consultation on #ubuntu as a standard service
[16:30] <zteam> Guest528, yes, I'm here again :-)
[16:30] <pycode> ahaha :) tomreyn yes i can understand
[16:30] <pycode> ahahah
[16:31] <Guest528> zteam: thank you sir! it worked! i just ran chkdsk on bot partitions and it solved the problem.. <3
[16:31] <Guest528> thank you
[16:32] <tomreyn> ivaat: you'd need to integrate it with both syslinux (gfxboot) and grub by editing their respective configuration files.
[16:32] <tomreyn> ivaat: this guide is old, though, i'm not even sure it's still current
[16:32] <tomreyn> give it a try, though
[16:32] <ivaat> tomreyn: but with 20.04 there seems not to be grub.cfg under extracted iso
[16:33] <zteam> Guest528, Told you ;-) ntfsfix can fix small issues, but it was never meant to be a full replacement to CheckDisk :-)
[16:33] <tomreyn> ivaat: hmm, i woudn't know why that is
[16:34] <Guest528> zteam: yes thank you.. windows indeed has some powerful tools..
[16:34] <TJ-> ivaat: are you extracting the el-torito boot images?
[16:36] <ravage> I just said that i use virt-manager :D
[16:36] <zteam> Guest528, well, Windows has the most powerful tools for managing its own filesystem ;-) Linux has powerul-tools for almost all common filesystems except NTFS :D
[16:37] <ivaat> TJ-: el-torito? i have done "Extract the CD .iso contents" and "Extract the Desktop system" according to https://help.ubuntu.com/community/LiveCDCustomization
[16:37] <zteam> Well time to eat :-)
[16:37] <TJ-> ivaat: GRUB is the EFI boot loader. There's an EFI-SP stored as an El-torito header
[16:37] <Guest528> bon appetite and thank you very much for your time zteam
[16:38] <ivaat> TJ-: so i should do the EFI part of instructions as well?
[16:40] <enyc> zteam: interestingly, linux 5.15 or so will have paragon NTFS driver included, much faster and better aiui
[16:41] <TJ-> ivaat: looking at that guide, and the section on re-assembling, the "sudo mkisofs ..." command isn't including an EFI-SP bootloader in the el-torito section, so would only boot in BIOS mode
[16:44] <zteam> enyc, isn't that the driver they already use in Linux kernel?, it would be awesome if Paragon did provide there own version of CheckDisk for us as well :D
[16:45] <enyc> zteam: no,   ntfs-3g  is different project entirely
[16:47] <HighAdConsultan> Hey, does anyone know how to limit cpu usage of a process to 75%? in ubuntu vps
[16:47] <TJ-> !info dumpet | ivaat you can use this tool to extract the El-Torito headers
[16:47] <ivaat> TJ-: alright i will try
[16:49] <zteam> enyc, that much I actually knew... but ntfs-3g was orginally a fuse-driver, I thought the kernel already did use something different than NTFS-3G :D
[16:50] <siwica> It seems Ubuntu is switching Kernels quite
[16:50] <TJ-> ivaat: "dumpedt --dumpdisks --iso file.iso" will create file.iso.0, file.iso.1 - check their sizes. Larger will be the EFI-SP vfat file-system. Then do e.g. "sudo losetup --find --show file.iso.1" and with the resulting loopdev, "sudo mkdir /mnt/efisp;  mount /dev/loopX /mnt/efisp; find /mnt/efisp"
[16:50] <TJ-> ivaat: typo!! dumpedt == dumpet
[16:51] <siwica> It seems Ubuntu is switching Kernels on 20.04. quite often. I had 5.11 installed, then Ubuntu downgraded me to 5.4, now back to 5.11. I think I was also on 5.8 for some time... Why is this?
[16:58] <enyc> siwica: it depends on the ubuntu release/version
[16:58] <enyc> siwica: they maintain a 5.4LTS kernel
[16:58] <enyc> siwica: there is also a "hwe" hardware-enablement kernel series too
[16:59] <enyc> siwica: the HWe series changed from 5.8 to 5.11 etc  Ithink
[17:22] <siwica> enyc: I am just on the normal 20.04 LTS version. And I don't understand why my kernel versions jump so much. Especially why they occasionally get downgraded by a lot.
[17:24] <siwica> How do I know if I am on the hwe series? Is ubuntu performing some sort of hardware check and put me on this series if I am on otherwise unsupported hw?
[17:25] <rbasak> siwica: HWE series is automatic from the 20.04.2 installer IIRC.
[17:25] <rbasak> If you use the original 20.04(.0) installer you won't be on it.
[17:25] <rbasak> There are metapackages that identify what you're on.
[17:26] <siwica> Ok, apparently I am on "Ubuntu 20.04.2 LTS" according to /etc/lsb-release
[17:26] <rbasak> https://wiki.ubuntu.com/Kernel/RollingLTSEnablementStack
[17:26] <rbasak> That doesn't tell you what installer you used
[17:26] <siwica> Thanks. I will have a read!
[17:26] <ioria> siwica, cat /var/log/installer/media-info
[17:27] <rbasak> Look for "hwe" in your installed package list.
[17:27] <rbasak> I'm going from that wiki doc
[17:27] <siwica> ioria: "Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)"
[17:28] <rbasak> siwica: you might also be interested in https://wiki.ubuntu.com/Kernel/StableReleaseCadence
[17:28] <rbasak> Kernel fixes are so frequent that they are released on a schedule instead of ad-hoc like most other fixes
[17:29] <siwica> rbasak: Thank you, I will have a look.
[17:30] <siwica> What bothers me is that, some kernel updates seem to require me to manually re-install all nvidia-related stuff.
[17:30] <siwica> Otherwise I would not really care all that much.
[17:30] <rbasak> I don't have much experience of that side of things (I don't own their hardware).
[17:31] <tomreyn> how did you install "all nvidia-stuff" initially?
[17:31] <siwica> rbasak: Probably for the best (when it comes to drivers...) :)
[17:31] <rbasak> Yeah that's why I prefer hardware that has in-tree drivers :)
[17:31] <siwica> tomreyn: I think I used that ubuntu tool that's dedicated for installing 3rd party drivers. Forgot its name though.
[17:32] <tomreyn> siwica: if you'd liek to read yet more - i tried to sum up HWE vs GA vs LTSE at https://gist.github.com/tomreyn/8d7675840d7bc7389b32e4d8887ca449
[17:32] <tomreyn> okay, i had expected the ubuntu-drivers utility to handle those kernel changes automatically
[17:33] <siwica> tomreyn: Alright, I'll also add that to my reading list. :) Thanks!
[17:34] <siwica> tomreyn: Seems not to always work for me. I find myself doing "sudo apt purge nvidia-*" every two months or so.
[17:35] <rbasak> tomreyn: nice writeup! Fancy integrating that into wiki.ubuntu.com? It is a wiki - feel free to edit. You shouldn't feel blocked by "offical-ness".
[17:41] <tomreyn> rbasak: i was under the impression that the wiki is being deprecated.
[17:41] <tomreyn> and i've not yet fully convinced myself that community. is the place to put things. i won't mind putting a copy to one of the two
[17:42] <tomreyn> siwica: hmm, maybe file a bug on this, if you can recreate the situation. i don't think this is how it's meant to be. but then, yes, nvidia drivers...
[17:44] <siwica> tomreyn: I'll pay somewhat closer attention the next time this happens. I've somehow accepted that's the way it sometimes is, but it surely is not ideal.
[17:45] <siwica> If I upgrade the kernel but the nvidia drivers don't update accordingly I sometimes end up in situations where I see the login-screen but cant move the mouse pointer. Then only removing xorg.conf and manually re-installing the nvidia stuff seems to work.
[17:46] <tomreyn> siwica: The X team may not even be aware this happens, so a bug report will be useful, I think, also if they are aware.
[17:46] <siwica> *If Ubuntu upgrades the kernel
[17:46] <TJ-> siwica: nvidia drivers not "updating" translates to "dkms build of nvidia module source failing"... you can easily check for that situation BEFORE rebooting with "dkms status"
[17:47] <TJ-> siwica: for each kernel version it should report the module as 'installed'
[17:48] <siwica> I actually just got put on 5.11 again (was on 5.4) before and did not reboot yet. So it might aswell happen today :)
[17:49] <TJ-> siwica: check what "dkms status" reports then :)
[17:50] <siwica> It only mentions v4l2loopback (for all recent kernel versions including the new one) right now.
[17:51] <TJ-> tomreyn: nvidia still does use dkms doesn't it? I cannot think how else it would manage it
[17:51] <UserUS> how in the hell do you enable dhcp on ubuntu-server
[17:51] <TJ-> siwica: check the directories where the module sources are put "ls -latr /usr/src/"
[17:51] <tomreyn> TJ-: i think so. but i don't use it either
[17:51] <UserUS> every guide says install dhcp but how can you without internet
[17:51] <TJ-> UserUS: with the systemd.network file's [Network] DHCP=yes
[17:52] <TJ-> UserUS: or if you're using netplan (/etc/netplan/*.yaml) then adding its dhcp: ... directive
[17:52] <UserUS> under netplan it has one labeled "installation" with literally nothing in it
[17:52] <UserUS> you have anything on the systemd one?
[17:53] <noarb> is it possible to direct GRUB to prefer one monitor over the other in a dual monitor setup? Currently it displays on a second, rotated monitor
[17:53] <TJ-> UserUS: -server uses systemd-networkd which expects configuration files in /etc/systemd/network/  --- or runtime-only configs (as generated by netplan) in /run/systemd/network/
[17:54] <TJ-> UserUS: see https://netplan.io/examples/
[17:54] <UserUS> neither of those exist
[17:55] <UserUS> actually the network folder one exists but has nothing in it
[17:56] <TJ-> UserUS: right, that is expected if you've not created them!
[17:57] <alzgh> I'm on Ubuntu focal. There are some commands which don't have manuals, but are standard, AFAIK. Like `shopt` . How can I install their mans, if there is any?
[17:57] <TJ-> I don't like netplan getting in the way so I remove it and write the static configs to /etc/systemd/network/
[17:57] <siwica> UserUS: Can't you just configure a static IP/Gateway/... if internet access is the problem?
[17:57] <TJ-> alzgh: that's a shell-built-in. See "man bash"
[17:57] <siwica> at least temporarily
[17:58] <TJ-> alzgh: or do "help shopt"
[17:58] <alzgh> got it, thanks TJ-
[17:58] <TJ-> UserUS: the first basic DHCP example at netplan.io should get you started
[17:59] <UserUS> this is the stupidest shit that it doesn't come with dhcp. I would but nothing's setup right to even add a static to it, it doesn't have any files required
[17:59] <TJ-> UserUS: As I said, it DOES have DHCP client waiting, but you've got to configure it.
[17:59] <UserUS> It does not, it uses files to do so which are not present
[18:00] <TJ-> UserUS: it's a server - you, as the admin, are expected to /configure/ it
[18:00] <UserUS> yeah no, no admin thinks having to manually configure something is above and behond
[18:01] <UserUS> the fact it asks about it during setup and that doesn't even work but just messes up the config is even better
[18:01] <TJ-> UserUS: which installer image did you use? because it should have written a netplan yaml file. It sounds like something broke. or cloud-init is broken
[18:02] <UserUS> the one from their website
[18:03] <UserUS> I added it and dhcp4 is set to tru but it doesn't grab one
[18:04] <TJ-> UserUS: did you apply the netplan config?  is there a DHCPv4 server on the link it is connected to?
[18:04] <UserUS> I did but it did nothing
[18:04] <UserUS> Yes
[18:05] <TJ-> UserUS: check if netplan actually generated the systemd-networkd config: "ls -latr /run/systemd/network/" - you should see a .network file there
[18:06] <TJ-> UserUS: if you see a file there, do "cat /run/systemd/network/<filename>" and pastebin the content so we can check it looks correct
[18:06] <TJ-> UserUS: oh, and first, ensure the networkd service is running! "systemctl status systemd-networkd"
[18:07] <siwica> TJ-: /usr/src includes a directory `nvidia-470.57.02`. This however was not updated when I just updated from 5.4 to 5.11
[18:07] <TJ-> siwica: that won't update, but it is what dkms uses to build the nvidia module
[18:08] <TJ-> siwica: try this: "sudo dkms install nvidia/470.57.02"
[18:08] <TJ-> siwica: oh and that directory does include source files and a dkms.conf doesn't it!?
[18:09] <siwica> TJ-: I haven't rebooted after the kernel update yet.  The graphic card works without `dkms status` mentioning antything about nvidia though.
[18:09] <siwica> TJ-: It includes source files but NO dkms.conf
[18:10] <TJ-> siwica: which suggests it is using the nouveau module. Try this to check which module: "lspci -nnk -d ::0300"
[18:10] <siwica> TJ-: I explicitely disabled the nouveau module
[18:11] <siwica> nvidia stuff is working (otherwise `nvidia-smi` does not show anything, etc.)
[18:11] <TJ-> siwica: well not sure where the existing module is being found then
[18:11] <siwica> yeah, me neither.
[18:11] <TJ-> siwica: "modinfo nvidia | head" will show the path
[18:12] <UserUS> TJ: it's only got 5 lines, the name, under network dhcp=ipv4, link localaddressing ipv4 and route metric=100 and usemtu=true
[18:12] <TJ-> UserUS: good, so it was created, so we know netplan did its job. Is the systemd-networkd service running?
[18:13] <UserUS> yes
[18:13] <TJ-> UserUS: then DHPC server isn't giving out a lease it seems
[18:14] <TJ-> UserUS: we could enable debug-level logging and then restart networkd and see what it logs - that would reveal what networkd is seeing/nnot seeing
[18:14]  * enyc meows
[18:15] <lotuspsychje> siwica TJ- could have been recent 470 bugs issue aswell, we noticed a few passby of those in -announce
[18:15] <TJ-> UserUS: are you able to run a tcpdump on the DHCP server to see if it is receiving a DHCP solict from this system?
[18:17] <TJ-> UserUS: I'm also wondering if this system has an Intel I219-V Ethernet device? If so, there are known long-standing problems with thpose whereby the power-saving disables the transmit side but not the receive!
[18:17] <TJ-> UserUS: use " lspci -nn -d ::0200" to check the device
[18:18] <TJ-> lotuspsychje: I'm so glad I know longer allow nvidia devices!
[18:18] <lotuspsychje> :p
[18:20] <lotuspsychje> siwica: i saw something like bug #1938821 passby
[18:20] <UserUS> TJ: this is VM in a VCD envrionment, so there's a DHCP server and it doesn't have lscpi
[18:21] <TJ-> UserUS: what is 'VCD' ?
[18:22] <TJ-> UserUS: is it a cloud image you installed, or a full ubuntu-server install from an ISO?
[18:23] <TJ-> UserUS: well, as you have control of the DHCP server, check if it is receiving the DHCP SOLICIT from the VM guest
[18:24] <hajonnes> @Ubuntu 20.04. how do I find out what's the name of the .desktop file that is associated with the terminal? i.e. gnome terminal.
[18:25] <tarzeau_> hajonnes: dpkg -L gnome-terminal | grep desktop ?
[18:26] <tarzeau_> hajonnes: also works the other way around dpkg -S /some/file
[18:27] <hajonnes> Thanks a lot!! :)
[18:27] <hajonnes> tarzeau_, ^
[18:29] <hajonnes> tarzeau_, btw how can I figure out that the terminal is called gnome-terminal. In the about section of the menu it just said "Gnome Terminal".
[18:29] <hajonnes> I think I will use this for other apps and would like a general approach.
[18:31] <tarzeau_> hajonnes: if you look into the desktop file it becomes clear
[18:32] <tarzeau_> hajonnes: if you want to try a different terminal, try cool-retro-term for example
[18:32] <tarzeau_> what is also nice, using your own font, mono fonts work all well for terminals
[18:44] <hajonnes> tarzeau_ Thanks for the suggestions. :)
[18:54] <shinobi> I just noticed that if i boot my machine (20.04) and don't log in I don't establish a wifi connection. It's only when I login that it happens. Is that a feature?
[18:55] <SnoopJ> shinobi, I believe the typical configuration pathway will store that information per-user, so yes I believe that's expected behavior
[18:56] <tarzeau_> turning on autologin would fix it?
[18:56] <rud0lf> shinobi: if you want to change it, Edit Wi-Fi Network in Network Manager, and check on the first tab "All users can connect to this network"
[18:56] <SnoopJ> for a generous value of "fix"
[18:56] <shinobi> Snoop: Thanks, Do you know if I can set that behavior up on boot? My machine is basically a workstation/server.
[18:56] <SnoopJ> shinobi, see rud0lf's remark
[18:57] <tarzeau_> shinobi: i've got the same setup, and i'm loosing internet if the wifi signal drops (due power outage). am i alone?
[18:57] <shinobi> SnoopJ, rud0lf: Thanks!
[18:57] <tarzeau_> and should i not be alone, is there a software watchdog checking internet and rebooting if gone? something small for cron @reboot poor mans version?
[18:58] <shinobi> tarzeau: Do you just have ... for an indicator?
[18:58] <tarzeau_> shinobi: no idea, it's 1200 km far
[18:58] <shinobi> tarzeau: I'm not understanding you. Are you at the machine?
[18:59] <tarzeau_> shinobi: no, the machine is far away, and i can't check what's on the screen right now
[19:00] <shinobi> tarzeau: I just solved a similar issue. The signal would get weak, or the router would try and switch to another band and network manager would get stuck. The router would also deauth the PC from time to time causing the same ... network prompt.
[19:00] <tarzeau_> shinobi: how was your fix?
[19:00] <shinobi> The solution was to have my modem/router just be a modem and upgrade my router. That solved all my issues. (Except for this on one boot.)
[19:01] <shinobi> Now I'm pulling 100Mbs over wifi down to my basement. :)
[19:01] <shinobi> (I only have 100Mbs service)
[19:02] <tarzeau_> well i've got an instrument taking measures, and it's too far for cable (another building), so i'm trying with wifi, which is nuts
[19:03] <tarzeau_> works two weeks, and then gone, until reboot
[19:03] <shinobi> tarzeau: Do you have wifi in each building?
[19:06] <tarzeau_> one apple airport on 2nd floor, works fairly well on about 900m2
[19:06] <shinobi> shinobi: Because if you don't already have it. You could just get an access point that may have more range to hit the other wifi and penty of range to hit the wnic of the device taking readings.
[19:09] <shinobi> Tarzeau: ^^
[19:10] <shinobi> Tarzeau: I don't know how well Apply and linux play together.
[19:12] <shinobi> Rud0lf: Do you know what the expected behavior is if I have both my 2.4 and 5 networks set to "available to other users"? Does it connect to the best network at boot? Does it connect to the last one? Both are set to auto connect.
[19:12] <rud0lf> i think you can set priority
[19:12] <rud0lf> not sure if -1 is stronger or weaker than 1 tho
[19:23] <ceibal> hola
[19:24] <ceibal> ???
[19:24] <ceibal> hay alguien aca?
[19:24] <leftyfb> !es | ceibal
[19:25] <ceibal> thanks
[19:39] <ens> Hi. I'm having an issue with 20.04 where it seems that there is a failure when trying to use bluetooth firmware. I'm trying to fix the bluetooth support. I'm on a HP ZBook 15 G3.
[19:39] <ens> here is the dmesg log: https://paste.ubuntu.com/p/FkHSD8qPTV/
[19:39] <ens> "Bluetooth: hci0: Failed to send firmware data (-38)"
[19:42] <ioria> ens apt-cache policy  linux-firmware | nc termbin.com 9999
[19:43] <ens> ioria: https://termbin.com/owx6
[19:43] <ioria> ens sudo apt update && sudo apt full-upgrade
[19:45] <TJ-> ens: show us "ls -l /sys/class/bluetooth/"
[19:47] <ens> TJ-: lrwxrwxrwx 1 root root 0 Aug 17 20:33 hci0 -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.0/bluetooth/hci0
[19:47] <ens> ioria: i guess i'll give it a reboot and see if it takes the new firmware
[19:47] <ioria> yep
[19:47] <TJ-> ens: thanks, that confirms we're dealing with a USB BT module. You don't need to reboot
[19:48] <ioria> new kernel, he got 25
[19:48] <ioria> now 27, i assume
[19:48] <TJ-> ens: "sudo systemctl stop bluetooth; sudo modprobe -r btusb; sudo modprobe btusb; sudo systemctl start bluetooth" is a way to reload after adding firmware
[19:49] <ens> ah, too late. already did the deed. thanks for the info though.
[19:50] <TJ-> ioria: ens  those ACPI errors (WMI) don't look great
[19:50] <ioria> i know
[19:51] <ens> well seems to be no change since the reboot.
[19:52] <ens> yeah the ACPI stuff seems to flash up early in the boot process. perhaps i need to do a bios update?
[19:53] <ens> i have it in dual boot config so i can use hp's tool.
[19:54] <TJ-> ens: there's a VERY recent firmware update May 2021 for your PC
[19:54] <TJ-> ens: https://support.hp.com/us-en/drivers/selfservice/swdetails/hp-zbook-15-g3-mobile-workstation/8693763/swItemId/ob-273500-1
[19:56] <TJ-> ens: WOW, the changelog for that firmware is massive
[19:58] <TJ-> ens: there are also a lot of sub-device firmware updates https://support.hp.com/wps/portal/pps/Home/SWDSelfServiceStep/!ut/p/z1/jZDLDoJADEW_hq298o670SgOvqKJgrMxqAgoMmZAvt_XykTRJl20OecmLQkKSRRRnSVRlckiyu_zWtibCTh038PIXfkWGGNTY8AXbeig4An0PDY0nTHgzc0uuDOZjfoL1wC3Sfzj40sx_Oc3AKI5PiDxRJou-JXhk0hyuX29ixVbw01IqPgQq1i1ruq-TqvqUnY0aNhfd6dHJ7K1k2cNn5RUlhWF7yRdzstliKOV12N2AxpR74A!/#panel-10
[20:02] <ens> ah nice
[20:03] <ens> thanks for that. i'll go get the new firmware installed then and give it a shot.
[20:27] <ens> and so it seems that although the bios update was applied - the dmesg output still contains a littany of acpi complaints and the bluetooth does not work. hrm. i might have to get a cheap usb dongle for it perhaps.
[20:28] <TJ-> ens: Have you done a cold power off and restart?
[20:29] <TJ-> ens: sometimes warm reboots do not reset hardware correctly (ACPI's role)
[20:29] <TJ-> ens: especially you it dual-boots with Windows
[20:29] <TJ-> errr you == if
[20:29] <ens> i'll give that a shot too.
[20:40] <ens> TJ-: i think my next question should probably be for a recommendation of a good compatible cheap usb dongle. haha.
[20:41] <TJ-> ens: I think there will be a solution - just need a little more evidence. Firstly, enable kernel debug at start up. Do you know how to edit the GRUB menu entry at boot time, for a one-time change of the kernel command-line?
[20:41] <ens> yeah i can do that
[20:43] <TJ-> ens: OK, boot to GRUB menu, higlight the default entry, press 'e' to edit it. Navigate to the line starting "linux ..." and remove "quiet" and "splash" replace with "debug systemd.log_level=info nosplash" and press Ctrl+X to boot with those changes. Once booted "pastebinit <( journactl -k )" will show us the kernel log
[20:48] <ens> ah nice yes. i see there's a lot more info here. https://paste.ubuntu.com/p/q76pk2mVyS/
[20:50] <TJ-> line 1030 "Bluetooth: hci0: Found device firmware: intel/ibt-11-5.sfi"
[20:52] <TJ-> ens: let's ensure the firmware file is not corrupt. "dpkg -S intel/ibt-11-5.sfi" then "if dpkg --verify linux-firmware; then echo 'All OK'; fi "
[20:53] <TJ-> ens: that error number -38 doesn't make too much sense, unless this is a udev issue. "#define ENOSYS          38      /* Invalid system call number */"
[20:54] <ens> it echoed All OK
[20:54] <TJ-> ens: you can find that with "grep 38 /usr/include/asm-generic/errno.h"
[20:55] <TJ-> ens: so let's check the udevd log
[20:55] <TJ-> ens: "pastebinit <( journalctl -u systemd-udevd -b 0 )"
[20:55] <ens> interesting stuff. learning a lot about how to inspect these internals.
[20:57] <ens> https://paste.ubuntu.com/p/wWwJkrbTzZ/
[20:58] <goddard> did prime-run get replaced with something else or do I have to install some other package?
[21:00] <TJ-> ens: I've found similar reports, and one solution reported is to unload and reload the module,as I  suggested earlier, so lets try that
[21:01] <TJ-> ens: "sudo systemctl stop bluetooth; sudo modprobe -r btusb; sudo modprobe btusb; sudo systemctl start bluetooth"
[21:03] <ens> yeah it appears to be 'on' now and the log says it has loaded the firmware.
[21:04] <tomreyn> goddard: https://answers.launchpad.net/ubuntu/+source/nvidia-prime/+question/692775
[21:05] <ens> i was able to pair it with my bluetooth headset and play some audio through it.
[21:05] <ens> thanks TJ- i think i owe you the drink price equivalent of a cheap bluetooth usb dongle at least!
[21:05] <SnoopJ> The contents of arch's prime-run are basically exactly what's given in that launchpad thread in an executable script, with "$@" trailing the vars.
[21:06] <SnoopJ> doesn't look like Ubuntu ever shipped something like that
[21:06] <TJ-> ens: so it is a race condition. do you want to figure out a solution to slow it down?
[21:07] <ens> TJ-: that would be educational. i'm up for it.
[21:08] <TJ-> ens: I'm going to check the kernel source for the exact cause of -38 ... be a few minutes
[21:10] <HighAdConsultan> Hi! how to limit cpu usage of a process?
[21:11] <TJ-> ens: this is the function where that error originates. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/bluetooth/btintel.c#n935
[21:12] <ens> btintel_download_firmware_payload in btintel.c
[21:12] <TJ-> ens: the function btintel_secure_send() https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/bluetooth/btintel.c#n273
[21:12] <tomreyn> HighAdConsultan: please do not cross post
[21:16] <ens> TJ-: i guess it is not a matter of recompiling the kernel with some sort of sleep() in there?
[21:17] <TJ-> ens  that leads back to https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/net/bluetooth/hci_request.c#n128
[21:20] <ens> TJ-: do you think it's a good idea if i check out the source and try to trace back the function calls?
[21:23] <TJ-> ens: I'm looking for the source of that -38 because that should give a clue as to the real cause.I tend to think it is a race between the host chipset (the Intel wifi 8260) and the Bluetooth chipset - they are joined together physically
[21:25] <TJ-> ens: found it ... its the default when no other error matches, Grrrr!  https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/net/bluetooth/lib.c#n132
[21:27] <xMopx> On this page, https://ubuntu.com/security/CVE-2021-3487, what does "Needed" mean?
[21:28] <TJ-> ens: there are only two lines with -bt_to_errno() in net/bluetooth/hci_request.c
[21:29] <TJ-> ens: lines 155 and 242
[21:29] <ens> just checking them now
[21:30] <tomreyn> xMopx: https://git.launchpad.net/ubuntu-cve-tracker/tree/README#n315
[21:30] <TJ-> ens: and those are working on the variable 'err' (errorno) that in both cases is set just above by "err = wait_event_interruptible_timeout"
[21:30] <xMopx> tomreyn: thanks! howd you find that?
[21:30] <tomreyn> xMopx: there is also #ubuntu-security
[21:31] <tomreyn> xMopx: i was previously told about its exitence
[21:31] <TJ-> ens: so, either the timeout is too low, ir the device isn't ready at this point (maybe due to the iwlwifi device not having set things up on the USB interface fully at that point)
[21:31] <xMopx> hah, alright
[21:32] <TJ-> ens: so I think the solution is to delay loading of the btusb module for a second or two
[21:33] <ens> TJ-: so the device is reporting it's ready for the next bit of processing when it's not. i see.
[21:33] <ens> and then the code tries to load the firmware and gets this issue
[21:34] <TJ-> ens: looks that way. I have a delay solution for you
[21:34] <ens> TJ-: the suggestion i see is to use a systemd definition to load it after the fs gets mounted or such
[21:36] <TJ-> ens: " echo "install btusb /usr/bin/sleep 2; /usr/sbin/modprobe --ignore-install btusb" | sudo tee -a /etc/modprobe.d/btusb.conf "
[21:36] <TJ-> ens: see "man modprobe.d" for how 'install' works to execute a command in this way
[21:41] <ens> ah nice so whenever modprobe tries to install btusb it will instead run that sequence. (just read the manual)
[21:41] <ens> that's handy.
[21:43] <TJ-> ens: now you just need to do a reboot test
[21:44] <ens> well, seems to be working 100% now.
[21:44] <ens> thanks for the tour!
[21:45] <TJ-> ens: the reboot worked?
[21:45] <ens> yep. it's all chugging along fine now
[21:45] <TJ-> fantastic. We'd best remember this one for any others with the same race condition
[21:45] <TJ-> tomreyn: ^^^
[21:46] <tomreyn> TJ-: hmm?
[21:47] <TJ-> remember this race condition solution for bluetooth firmware failure loading
[21:47] <TJ-> it's a hard one to diagnose, but a simple solution
[21:48] <tomreyn> oh, thanks. i can try, but bug reports usually work better
[21:48] <TJ-> tomreyn: that's next :)
[21:48] <tomreyn> :)
[21:54] <TJ-> Bug #1940332
[21:56] <tomreyn> thanks
[22:00] <ens> really appreciate all the help TJ- .
[22:08] <goddard> tomreyn: what is this about?
[22:14] <tomreyn> goddard: what do you mean?
[22:16] <tomreyn> goddard: oh you're referring to https://answers.launchpad.net/ubuntu/+source/nvidia-prime/+question/692775 - it explains how you could create your own "prime-run" since this does not exist on Ubuntu
[22:16] <tomreyn> also alternatives
[22:33] <goddard> i gotcha
[22:33] <goddard> thanks
[22:38] <goddard> okay the prime_run thing did nothing
[22:39] <goddard> but just seting it to on-demand while the AMD card being the default video output card works
[22:39] <goddard> even though xorg is forced
[22:39] <goddard> still i can live with this
[22:40] <goddard> hopefully it is stable though
[22:40] <goddard> a lot of the details are wrong i think though
[22:41] <goddard> so odd how this works
[22:44] <cuchy> Buenas alguien en la sala que hable español ?
[22:44] <ice9> is it safe to apply this https://forum.manjaro.org/t/howto-use-wayland-with-propietary-nvidia-drivers/36130 in ubuntu and will it work?
[22:44] <SnoopJ> !es | cuchy
[22:45] <cuchy> ok SnoopJ
[22:45] <SnoopJ> lo siento :/