[00:12] <lenswipe> i uninstalled and reinstalled firefox to fix an issue with it not seeing my camera
[00:12] <lenswipe> now i can't open firefox
[00:12] <lenswipe> it says it's not connected to gnome
[00:14] <lenswipe> how do i list the plugs a snap has?
[00:34] <shivaya> hi folks, i've noticed that if I remove and re-install netfilter-persistent package on ubuntu 20.04 it stops working. scripts over at /usr/share/netfilter-persistent/plugins.d are missing. does anyone know if this package is considered defunct?
[00:35] <EriC^^> shivaya: did any other packages get uninstalled with it?
[00:36] <shivaya> nope
[00:36] <shivaya> dpkg -L netfilter-persistent does not actually show those files are there but I see on another system with same ubuntu those files are there. if I remove the files and remove and install netfilter-persistent they never get there
[00:37] <EriC^^> shivaya: what does 'dpkg -S /path/to/files' give on the other system?
[00:39] <shivaya> EriC^^: ah nice flag for dpkg! iptables-persistent apparently has those files, not 'netfilter-persistent'
[00:40] <EriC^^> aha
[00:40] <shivaya> EriC^^: yup I can confirm, if I reinstall iptables-persistent those files are back, thanks!
[00:40] <EriC^^> shivaya: great, no problem!
[00:40] <shivaya> a bit confusing with 2 packages and the path actually referencing netfilter-persistent, not iptables-persistent
[00:46] <powp0wpow> is it possible I can get any help writing an nmcli script around here? :)
[00:49] <matsaman> it's possible, if you state the problem
[00:59] <powp0wpow> matsaman: I'm trying to write a script that finds what device is on a connection and then setting the IP based on that
[01:00] <powp0wpow> Because it seems certain devices cannot have network config, but a port can
[01:01] <powp0wpow> for ubuntu 20.04 btw
[01:17] <yrdsb> Does chromeos flex use kde
[01:18] <arraybolt3[m]> No.
[01:18] <yrdsb> What de chromeos flex use then
[01:19] <arraybolt3> I dunno, I think it's probably some in-house DE made by Google. However, ChromeOS Flex is off-topic for this channel.
[01:20] <yrdsb> So is there a ubuntu offtopic
[01:21] <arraybolt3> yrdsb: There is, though personally I think your question might go better in #linux or similar.
[01:21] <yrdsb> I am banned from there
[01:23] <yrdsb> What ubuntu flavour is most like chromeos
[01:24] <arraybolt3> lol I don't really know. ChromeOS is it's whole own creature, no Ubuntu flavor is really similar to it. That being said, you can install Chrome web browser and WayDroid into normal Ubuntu and have something somewhat similar.
[01:25] <yrdsb> But I want a distor exactly like chromeos
[01:26] <yrdsb> Since I want to get used to it
[01:28] <WaV> I am not a representative of Ubuntu nor can I speak for the developers of either ChromeOS or Ubuntu, but I found this article dated last year: https://www.makeuseof.com/ubuntu-web-chrome-os-alternative/
[01:47] <matsaman> powp0wpow: probably parse the 'ip' command
[01:57] <powp0wpow> matsaman: yeah but it doesn't provide any info on what device it actually is, while "nmcli -t" gives more info I'm looking for
[01:58] <matsaman> well use that then =)
[02:32] <rodybig> Hey a very basic question. Can I build a binary on Ubuntu 18.04 and run that on 20.04? The underlying baremetal server runs the same x86 architecture. Just want to confirm if my understanding is correct that linux distro versions shouldn't create problems unless the binary depends on something specific provided by 20.04.
[02:33] <rodybig> Scratch that last bit. That's only a potential issue if I'm doing the reverse: building on 20.04 and running it on 18.04
[02:33] <arraybolt3> Assuming that Ubuntu 18.04 has the needed dependencies available and installed, yes, it will work.
[02:33] <arraybolt3> Really the corner case where things could go wrong here is if Ubuntu 20.04 has a newer version of a library, Ubuntu 18.04 has an older version, and the two are incompatible (the old and the new have a different API/ABI).
[02:34] <rodybig> Is it frowned upon? Or standard practice to do this?
[02:34] <arraybolt3> Well building software from source yourself and then using it isn't something most users do, but I don't know that it's frowned upon.
[02:34] <arraybolt3> (I personally do it - my IRC client is build from WeeChat source code.)
[02:34] <arraybolt3> Er, scratch that, I said something wrong.
[02:35] <arraybolt3> I personally build software from source myself and run it, and it works. I don't see any way how moving software between versions is problematic.
[02:35] <arraybolt3> *versions of Ubuntu
[02:35] <rodybig> So the reason I'm having to do this is because I have an app (on a K8s cluster running on node 1 which is running 18.04) which depends upon this binary.
[02:35] <rodybig> But there isn't enough RAM/Disk/CPU on node 1 to actually build this binary in reasonable time
[02:36] <rodybig> So I plan to build it on node 2 (running 20.04) and use it on node 1
[02:36] <rodybig> And I can't update node 1 or 2 since it's a shared server.
[02:36] <arraybolt3> So long as you're able to move the binary from machine to machine and get it properly installed (however that works for the softwaer in question), then assuming it works right, I see no problem here.
[02:36] <rodybig> Perfect, thanks!
[02:40] <arraybolt3> The only thing I can possibly see that could go wrong here, is if there was some sort of a bug (especially a security vuln bug) that would result from having a compiler version mismatch between the libraries the app uses and the app itself. And I don't know of any such kind of bug.
[03:33] <Sauvin> OK, folks, Kubuntu 20.04 here, most recent update wiped out ~/.bashrc and ~/.profile. What gives?
[03:50] <leftyfb> Sauvin: I doubt that verymuch. I'm pretty sure it was something else you did
[03:50] <Sauvin> The only other thing I did was install updated VPN software.
[03:51] <leftyfb> which VPN software?
[03:51] <Sauvin> PIA.
[03:53] <leftyfb> I would probably reach out to them
[03:53] <Sauvin> Oh, I got the files back from backup. Still... wtf!?
[07:34] <tommy-> ayo
[07:34] <tommy-> ayo ayo
[07:34] <tommy-> im in school rn
[07:34] <tommy-> on a school computer
[07:35] <tommy-> GUUUYS
[07:35] <tommy-> please talk to me
[07:35] <tommy-> i beg
[07:35] <tommy-> uwu
[07:35] <applecuckoo> Uh, hello?
[07:35] <applecuckoo> If you have need help, ask away.
[07:36] <Unit193> Specifically, if you need help with your Ubuntu install as this is the Ubuntu support chat.
[07:36] <applecuckoo> Welp, he left.
[08:04] <kattupoochi> can possible factory reset ubuntu. I already tried dconf reset -f / not working proper. any other simple commands available
[08:05] <arraybolt3> Create a new user and try using it instead? That should give you essentially a "factory reset" version, but with all of your apps still installed.
[08:05] <arraybolt3> (If that's not what you're looking for, you may be left with reinstalling Ubuntu from scratch.)
[08:16] <kattupoochi> can possible factory reset ubuntu. I already tried dconf reset -f / not working proper. any other simple commands available
[08:21] <oerheks> i believe it is; dconf reset -f /org/gnome/  # and logout/login again
[08:21] <silv3r_m00n> hi there
[08:22] <silv3r_m00n> is there anything wrong with ubuntu package servers ? i am upgrading ubuntu on my acer laptop, and 1 linode server the download speed is in kBs only ? and taking hours, which usually takes not more than 5 minutes
[08:22] <SteelRose> silv3r_m00n: nope...I update my laptop a few minutes ago... all fine.
[08:22] <oerheks> silv3r_m00n, maybe that linode server is updating packages itself? wait a minute and try again?
[08:23] <SteelRose> silv3r_m00n: where are you based?
[08:23] <silv3r_m00n> linode is usa (newark) and my laptop here in india
[08:24] <silv3r_m00n> something is not right somewhere
[08:24] <silv3r_m00n> it cant tak 5 hours to upgrade on linode
[08:24] <SteelRose> silv3r_m00n: did you update your laptop in India just fine?
[08:24] <SteelRose> silv3r_m00n: in that case, change the mirrors in Linode and try again
[08:24] <silv3r_m00n> laptop is also terribly slow, showing several hours remaining me on 300 mbps optic
[08:25] <silv3r_m00n> linode using us.archive.ubuntu.com i dont think there is much to change
[08:25] <SteelRose> silv3r_m00n: change mirrors everywhere then :-)
[08:25] <SteelRose> silv3r_m00n: change it to Canada, for example...
[08:25] <SteelRose> it's not that far away
[08:26] <silv3r_m00n> is it possible to interrupt and cancel the do-release-upgrade process ?
[08:27] <silv3r_m00n> the linode is for one of my customer running a php crm app
[08:27] <arraybolt3> I'd be very careful interrupting an upgrade, unless you are fully prepared to reinstall from scratch and recover the whole entire server from backups.
[08:27] <arraybolt3> (read: Unless you're ready to rebuild the whole thing, don't interrupt it.)
[08:28] <silv3r_m00n> no, reinstall is not an option
[08:28] <silv3r_m00n> large database application of my client
[08:28] <ravage> im sure you did a snapshot before you started the upgrade
[08:29] <silv3r_m00n> i need to make sure my machine does not sleep off... the linode ssh will break and upgrade would be botched
[08:29] <silv3r_m00n> ravage: no :(
[08:29] <arraybolt3> What flavor of Ubuntu are you using?
[08:29] <arraybolt3> I might be able to help you find a setting to avoid it going to sleep.
[08:29] <silv3r_m00n> on linode, its just ubuntu, on my acer laptop its kubuntu
[08:29] <arraybolt3> On the Acer laptop. Nice. Click the battery icon.
[08:30] <arraybolt3> Then there's a Settings button (looks like a couple of sliders) next to the pin button. It's up at the top.
[08:30] <silv3r_m00n> yes i disabled sleep
[08:30] <tarel2> gcc-arm-none-eabi  doe Ubuntu have that package? I'm on 22 and the pi 400 , if that helps. https://packages.ubuntu.com/bionic/devel/gcc-arm-none-eabi , find it there but does that mean all Ubuntu have it?  lost
[08:30] <arraybolt3> silv3r_m00n: Oh OK.
[08:30] <silv3r_m00n> yes, i will play some video in vlc player, that will prevent the sleep
[08:30] <silv3r_m00n> will also open a few youtube videos
[08:32] <oerheks> tarel2, yes https://launchpad.net/ubuntu/+source/gcc-arm-none-eabi
[08:32] <oerheks> make sure you have ' universe'  enabled
[08:34] <tarel2> It seem I do but when  I put gcc I don't see anything come up
[08:36] <tarel2> Can I type sudo apt install gcc-arm-none-eabi and get the correct stuff?
[08:47] <tarel2> gcc-arm-none-eabi , it says I have the newest  version
[08:47] <tarel2> How do I find it ?
[08:50] <ravage> tarel2: https://packages.ubuntu.com/jammy/amd64/gcc-arm-none-eabi/filelist
[08:50] <tarel2> wow thanks
[09:28] <Guest41> Hello, I have Dell XPS which is ~6 months old, with 22.04.1 LTS and I recently had it in the repair shop to replace the keyboard. After that, the battery drains really fast. Like I put the system into sleep with 100% battery, wake up in the morning, power it on and it's on ~70%. I'm trying to understand what is happening, any ideas?
[09:48] <zfs_ubuntu>  I am doing zfs (with 2 disks, mirror) on ubuntu server 20.04.5 with this guide:
[09:48] <zfs_ubuntu> https://openzfs.github.io/openzfs-docs/Getting%20Started/Ubuntu/Ubuntu%2020.04%20Root%20on%20ZFS.html
[09:48] <lotuspsychje> Guest41: could you share your dmesg in a paste, maybe volunteers can notice something unusual
[09:49] <zfs_ubuntu>  before the first reboot I need to do: "zpool export -a", but I am getting "cannot export 'rpool': pool is busy".
[09:49] <zfs_ubuntu> What should I do?
[09:53] <Guest41> lotuspsychje, https://termbin.com/7w5b
[09:56] <vimart> Morning all
[09:57] <lotuspsychje> Guest41: not sure if related yet, but there seems to be a lot going on in your dmesg, a lot of acpi errors and warnings
[09:58] <lotuspsychje> guest41
[09:58] <lotuspsychje> Guest41: was this a clean install or upgrade towards 22.04?
[09:59] <Guest41> It was a clean install, bought the notebook with windows 10 and installed 22.04 the first day
[09:59] <vimart> Problem with firefox, opera etc >
[09:59] <vimart> error: cannot communicate with server: Post "http://localhost/v2/snapctl": dial unix /run/snapd-snap.socket: connect: connection refused
[09:59] <vimart> ERROR: not connected to the gnome-3-28-1804 content interface.
[10:00] <Guest41> I think maybe the service guys did change some power settings in bios, since the disk is encrypted. or they did swap the battery for some old one :(
[10:00] <vimart> Any solution?
[10:00] <lotuspsychje> Guest41: did the repair guys mention firmware/bios updates too?
[10:03] <Guest41> lotuspsychje nope it was just a keyboard replacement and that was the only thing listed on the invoice
[10:03] <Guest41> but I have the notebook back for a week now and I immediately noticed something is wrong with the battery
[10:04] <Guest41> I will check the BIOS as that's the only thing that could be software related, thanks for help
[10:04] <lotuspsychje> Guest41: that would be real odd, just a kb replace influences battery
[10:07] <lotuspsychje> Guest41: could you try something, creating a new user and see if your battery drains there aswell, to rule out userspace problems?
[10:09] <lotuspsychje> Guest41: im also seeing a lot of snap audit warnings in your dmesg, perhaps ogra could advice on those
[10:09] <Guest41> I will try that, also found some powertop utility which might see which process is draining the battery most
[10:11] <Guest41> that's probably a snap complaining I have to restart firefox to install updates, it's driving me crazy
[10:11] <Guest41> the whole firefox in snap is really weird experience to be honest
[10:12] <Guest41> gnome extensions doesn't work anymore and it won't remember open tabs when I restart it
[10:12] <lotuspsychje> there's a current bug on those being worked on
[10:13] <lotuspsychje> Guest41: bug #1741074
[10:13] -ubottu:#ubuntu- Bug 1741074 in firefox (Ubuntu) "[snap] chrome-gnome-shell extension fails to detect native host connector" [High, In Progress] https://launchpad.net/bugs/1741074
[10:15] <lotuspsychje> Guest41: can you pastebin systemd-analyze blame too plz
[10:19] <Guest41> lotuspsychje, https://termbin.com/nnvp
[10:20] <lotuspsychje> Guest41: looks like a long list to me, what about systemd-analyze critical-chain
[10:21] <Guest41> https://termbin.com/299v
[10:23] <lotuspsychje> that looks good Guest41 timings not to bad
[10:24] <lotuspsychje> Guest41: another idea rising my mind to handle your acpi issues, is checking if your system has bios/firmware updates DMI: Dell Inc. XPS 13 9305/09DGPY, BIOS 1.3.0 12/14/2021
[10:26] <Guest41> thank you for all the help, I'm going to check BIOS settings now and will also check for the update, I need to go back to work anyway
[10:26] <Guest41> have a nice day!
[10:41] <chris_99> Hi, wondering if anyone can suggest how to install python3.9 on ubuntu 22.10, looks like the deadsnakes repo doesn't have a package for this version?
[10:44] <cartdrige> if there is no package you need to build it from source, but python should build easily i guess, just get the source tarball and follow the readme/install instructions. Or you might find a private apt repository pre-built for that version but it's very unsure.
[11:19] <ogra> lotuspsychje, these errors look like some systemic issue as if something is globally broken, does not look actually snap specific but more like snap is just fallout of a bigger issue here
[11:25] <oerheks> lotuspsychje, if that guest comes back, xps 13 9305 needs a bios update
[11:34] <babarali>  cncxv,v.v
[11:34] <babarali>   xnd xv xc vnvvf f cxnbn bn,mn,.
[11:55] <lotuspsychje> thank you ogra oerheks +1
[12:31] <arraybolt3> How exactly does one go about getting kexec to work reliably while using an NVIDIA card with the proprietary drivers? Is there same way to make it so that when I run "sudo systemctl kexec", it will correctly unload the NVIDIA module before executing the newer kernel? Or what if I made a script that terminated the desktop, unloaded the NVIDIA driver, then kexec'd the new kernel? Would that work if I
[12:31] <arraybolt3> ran said script using nohup?
[12:41] <lubuntu> hdd has "no volumes" how to solve this in linux?
[12:42] <tykling> why is there a timelimit on entering the password for console logins?
[12:43] <tykling> I guarantee whoever implemented that never had to enter a long password over ipmi
[12:44] <arraybolt3> tykling: Probably so someone doesn't type their password, forget to hit Enter, get called away to do something else, and then someone come behind them, hit Enter, and then be in.
[12:44] <lubuntu> sudo mkfs.vfat /dev/sda
[12:44] <lubuntu> mkfs.fat 3.0.26 (2014-03-07)
[12:44] <lubuntu> mkfs.vfat: Device partition expected, not making filesystem on entire device '/dev/sda' (use -I to override)
[12:44] <arraybolt3> lubuntu: Oh dear. Was there important data on this system?
[12:44] <arraybolt3> *on this drive, I mean?
[12:44] <lubuntu> No
[12:44] <tykling> arraybolt3: but if that is a threat model then the terminal should also auto logout users after 1 minute
[12:45] <arraybolt3> lubuntu: Ah, OK. The first step should be to partition it with parted or fdisk, then format the partition with mkfs.
[12:45] <lubuntu> arraybolt3: can you help
[12:45] <lubuntu> ?
[12:45] <arraybolt3> lubuntu: Yep, that's what I'm trying to do.
[12:45] <arraybolt3> lubuntu: Are you 100% sure that /dev/sda is the device that you need to format?
[12:45] <lubuntu> arraybolt3: yes
[12:46] <arraybolt3> Alright, then start with "sudo parted /dev/sda".
[12:46] <arraybolt3> Now how big is this drive? Is it an external hard drive or a USB flash drive?
[12:46] <oerheks> try sda1
[12:46] <lubuntu> arraybolt3: sudo fdisk /dev/sda
[12:46] <lubuntu> Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
[12:46] <lubuntu> Building a new DOS disklabel with disk identifier 0x0cd406b1.
[12:46] <lubuntu> Changes will remain in memory only, until you decide to write them.
[12:46] <lubuntu> After that, of course, the previous content won't be recoverable.
[12:46] <lubuntu> Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
[12:46] <arraybolt3> oerheks: We're partitioning right now, not formatting.
[12:47] <arraybolt3> lubuntu: Uh... please don't paste stuff directly into the chat like that, it caused an anti-flood bot to mute you. You can use http://bpa.st to work around that problem.
[12:47] <arraybolt3> lubuntu: The mute should go away in about 60 seconds.
[12:47] <arraybolt3> Sorry about that.
[12:47] <lubuntu> arraybolt3: ok sorry for that
[12:48] <arraybolt3> lubuntu: No problem.
[12:48] <arraybolt3> lubuntu: OK, is this an HDD or a USB flash drive?
[12:48] <arraybolt3> (That will decide which command we run next.)
[12:48] <lubuntu> arraybolt3: an HDD
[12:48] <arraybolt3> Alright, run "mklabel gpt".
[12:49] <arraybolt3> Next, "mkpart". You'll be asked a few questions, tell me what it asks you when you do that and I'll tell you what to respond with.
[12:52] <lubuntu> arraybolt3: see https://paste2.org/3xOPNmXc
[12:53] <arraybolt3> Oh that's weird. It looks like the partition table changes aren't sticking.
[12:53] <arraybolt3> Do you have some sort of write-protect feature on the HDD?
[12:53] <lubuntu> hmmm...dunno
[12:54] <arraybolt3> lubuntu: Hmm. Start with "sudo parted /dev/sda", that's the tool I usually use for partitioning.
[12:56] <lubuntu> arraybolt3: ok started that one
[12:56] <arraybolt3> Alright, let's do "mklabel gpt" next.
[12:59] <lubuntu> arrybolt3: ok done
[12:59] <arraybolt3> OK, next "mkpart". This command will ask you questions, share what questions it asks and I'll provide the responses.
[13:00] <lubuntu> arrybolt3: (parted) mkpart
[13:00] <lubuntu> Warning: /dev/sda contains GPT signatures, indicating that
[13:00] <lubuntu> it has a GPT table.  However, it does not have a valid fake
[13:00] <lubuntu> msdos partition table, as it should.  Perhaps it was
[13:00] <lubuntu> corrupted -- possibly by a program that doesn't understand
[13:00] <lubuntu> GPT partition tables.  Or perhaps you deleted the GPT table,
[13:01] <arraybolt3> lubuntu: Yeah that's bad. I think your HDD may be either write-protected or damaged.
[13:03] <arraybolt3> lubuntu: What happened to this HDD just before this started happening?
[13:03] <lubuntu> arraybolt3: well the boot manager was gone
[13:04] <arraybolt3> Right, but I mean, did you drop it/step on it/knock it over/otherwise cause physical shock to it?
[13:04] <lubuntu> arraybolt3: no not at all
[13:05] <arraybolt3> Weird. It's not taking a partition table, so it looks failed. We could try to run a badblocks on it, but this problem alone is probably an indicator of failure.
[13:06] <arraybolt3> *a badblocks test, I mean
[13:06] <lubuntu> arraybolt3: ok lets do a badblock test. should I say no to Is this a gpt partition table?
[13:07] <arraybolt3> Uh... well we just made a gpt partition table so I'd answer Yes.
[13:08] <lubuntu> arraybolt3:Yes/No? yes
[13:08] <lubuntu> Error: Both the primary and backup GPT tables are corrupt.
[13:08] <lubuntu> Try making a fresh table, and using Parted's rescue feature
[13:08] <lubuntu> to recover partitions.
[13:08] <arraybolt3> If that dropped you back to a (parted) prompt, just run "quit".
[13:09] <arraybolt3> (Also, while these smaller pastes might not trigger the bot to mute you, they are still somewhat annoying to some users, and you did get muted a second time, so you really should use a pastebin even for smaller stuff like that. Or alternatively you can DM me with pasted info if that's easier.)
[13:10] <arraybolt3> lubuntu: OK, one moment while I build the badblocks test line...
[13:10] <arraybolt3> er, test command...
[13:13] <arraybolt3> lubuntu: Alright, be very careful not to make typos with the next command:
[13:13] <arraybolt3> sudo badblocks -b 16384 -c 512 -e 1 -s -p 1 -t random -w /dev/sda
[13:14] <arraybolt3> (WARNING: THIS COMMAND WILL DESTROY ALL DATA ON /dev/sda, DON'T RUN IT UNLESS YOU'RE SURE THE DRIVE IS SAFE TO WIPE)
[13:14] <arraybolt3> For a breakdown of that miserably complicated line:
[13:15] <arraybolt3> sudo badblocks - run the badblocks command with admin privileges. "-b 16384" - Test blocks of 16 kilobytes each. "-c 512" - Test 512 blocks at a time.
[13:16] <arraybolt3> "-e 1" - If even one error shows up, that's enough, we know the drive has a problem. "-s" - Show progress. "-p 1" - Only do one test pass. "-t random" - Write pseudorandom data to the drive for testing.
[13:16] <arraybolt3> "-w" - Destructive read-write test. "/dev/sda" - The drive to test.
[13:17] <arraybolt3> Basically it means "Write pseudorandom garbage to the drive, then read it back from the drive and if it's the same stuff that you wrote to the drive, you know the drive is likely to be good. If something goes wrong in any of this, or if the read data doesn't match the written data, there's a problem."
[14:05] <BluesKaj> Hi all
[14:10] <joo> nevermind trying to terminate firefox with force quit or use the killall command i guess... i will just log in and out every time firefox crashes... ! :-)
[14:13] <lotuspsychje> joo: are you talking about firefox from the repos, or the firefox snap?
[14:13] <joo> lotuspsychje: i just did an apt-get install firefox, but i think it still came from snap, because they made the latest version of ubuntu do that ?
[14:13] <leftyfb> joo: if you are looking for help, please specify what version of ubuntu you are running and how you installed Firefox. Maybe running Firefox from the command line to grab error messages might help.
[14:14] <joo> i am runninng ubuntu 22.04, i installed it with apt-get install firefox
[14:14] <leftyfb> joo: ( cat /etc/os-release ; apt-cache policy firefox ; snap info firefox ) | nc termbin.com 9999
[14:16] <joo> https://termbin.com/0ln8
[14:16] <cartdrige> you can try to move the folder .mozilla to .mozilla-old and restart it maybe (configuration/cache folder)
[14:16] <joo> cant restart firefox... no way to close it... tried activity list, killall and pressing force quit on the "firefox browser not responding popups"
[14:17] <leftyfb> joo: firefox is installed by default. Why did you bother "installing" it from apt?
[14:17] <joo> leftyfb: allright my bad memory i guess, i just assumed, because i usually install firefox by apt when i install my os (which is normally debian)
[14:17] <joo> so it was already installed as a snap then
[14:18] <leftyfb> joo: reboot, then run firefox from a terminal. When/if it "crashes", please pastebin the error message that shows in the terminal
[14:19] <joo> leftyfb: it only crashes 1-2 times a week, so i would have to have a terminal dedicated to this all the time, i guess i could make a wrapper... but if there was a way to just kill it, it would be more helpful
[14:20] <leftyfb> joo: it would be more helpful to diagnose the problem. I would recommend just typing "firefox" in a terminal and leave it running till you have an issue
[14:20] <leftyfb> no "wrapper"
[14:20] <joo> allright, so it cannot be killed ?
[14:21] <leftyfb> joo: I bet if you run it in a terminal and it "crashes" , you'll be able to kill it just by hitting ctrl+c
[14:24] <joo> probably, but it is not practical for a normal user to keep a terminal open for an application that may or may not crash in a couple of days
[14:26] <oerheks> normally i would purge and reinstall firefox. or do a memtest86 run, as you said it could be bad ram.
[14:27] <oerheks> also, you have 106 installed, 107 is available.
[14:28] <cartdrige> Where can i find the extensions list of all known video file type on Ubuntu OS? like .avi .mpg etc
[14:29] <cartdrige> mime types, they name it i think.
[14:31] <oerheks> i think our wiki has no such list, this is just a part of all available https://wiki.documentfoundation.org/Media_Support/Linux/Video_Tests
[14:33] <leftyfb> cartdrige: /usr/share/applications/gnome-mimeapps.list
[14:33] <oerheks> oh nice, leftyfb .. that is after installing restricted extras ?
[14:34] <leftyfb> there's also ~/.config/mimeapps.list for custom associations
[14:34] <leftyfb> oerheks: I assume the latter is what gets updated
[14:35] <cartdrige> thank you oerheks, leftyfb.
[14:39] <flaf> Bonjour à tous. Je suis sur une Ubuntu 22.04 et lorsque je fais un « apt-get upgrade » ou même un dist-upgrade, j'ai toujours la ligne « The following packages have been kept back: [...] ». Pour mettre à jour ces packages, je peux toujours faire un « apt-get install <la liste des packages> mais je voulais savoir s'il y avait une commande générique.
[14:39] <lotuspsychje> !fr | flaf
[14:39] <flaf> oops... bad chan... Sorry.
[14:41] <alocer> couple of my users are using hp g7 fury laptop and they are having brighness issues. they can not change the brighness level except xrandr --brighness .5 command. google has failed me. anyone has any leads ?
[14:43] <greenracer> I'm using xrdp and when my session times out the Lock Screen and I go to log back in, at the bottom of the screen is says Snap Agent Sessions 2. Why does it say that below where I'd enter the password to unlock?
[14:59] <phonixgeist> Hey guys... so.. I'm getting this error on boot load for a monitor connected to HDMI... this is an hybrid (gpu) laptop... I found this on journalctl """"kernel: nvidia-modeset: ERROR: GPU:0: The requested configuration of display devices (Samsung LF27T35 (HDMI-0), VGA-0) is not supported on this GPU.""""
[14:59] <phonixgeist> any ideas what could it be?
[15:16] <jhutchins> The Roman Colluseum is still standing, and it's concrete is still sound.  Kauffman Stadium has deteriorated too far to save.
[15:17] <jhutchins> Sorry, wrong channel.
[15:17] <jhutchins> (Obviously)
[15:42] <bittin_> hello
[16:58] <ashafq> Please help: linux-oem-5.17-tools-5.17.0-1021 : Depends: linux-tools-common but it is not installed
[16:59] <ashafq> And when I run `sudo apt --fix-broken install` tries to remove linux-tools-common and install linux-tools-common (that is not a typo)
[17:00] <mearvk> Yo
[17:00] <mearvk> Anyone an expert with Thunderbird
[17:00] <mearvk> I send some CashApp at you
[17:01] <mearvk> Quick and easy questin
[17:01] <mearvk> $20
[17:01] <leftyfb> mearvk: that's not how this works. Please just ask your question. Please specify what version of ubuntu you're running and what version of Thunderbird and how you installed it
[17:02] <mearvk> I got the 22.04 Ubuntu
[17:02] <mearvk> I got an email server
[17:02] <mearvk> Its POP and IMAP
[17:02] <mearvk> Courier
[17:02] <mearvk> Thunderbird can't seem to do the pull cycle
[17:03] <ashafq> http://paste.debian.net/1260919/ here are the error logs
[17:03] <leftyfb> mearvk: pull cycle?
[17:03] <ashafq> Oh yes, this is Ubuntu 22.04
[17:03] <mearvk> Yeah to read the email
[17:04] <mearvk> It sends email
[17:04] <mearvk> But won't read the server for stored email
[17:05] <leftyfb> mearvk: did you try setting your "IMAP server directory" in the account settings?
[17:06] <mearvk> Maildir I think
[17:06] <mearvk> What is it
[17:06] <leftyfb> mearvk: it's whatever your server is configured fort
[17:06] <leftyfb> for*
[17:07] <ashafq> nvm, I think I figured it out: apt -f remove linux-oem-5.17-tools-5.17.0-1021 linux-tools-5.17.0-1021-oem linux-tools-common
[17:13] <mearvk> Hmm
[17:13] <mearvk> Still no luck
[17:14] <leftyfb> mearvk: you should look through your courier imap logs.
[17:15] <leftyfb> mearvk: https://www.courier-mta.org/authlib/README.authdebug.html
[17:18] <jhutchins> mearvk: You should seriously consider using a better email client.
[17:20] <jhutchins> mearvk: Everything I know about Thunderbird comes from having to rescue people who lost access to their mail.
[17:21] <leftyfb> jhutchins: that's not helpful
[17:24] <jhutchins> leftyfb: Suggesting a more functional client is indeed helpful.
[17:24] <jhutchins> leftyfb: Since the mail is stored on the server, they should be able to read it with a functional app.
[17:24] <jhutchins> Even alpine is a better choice.
[17:24] <jhutchins> leftyfb: Isn't you who's always suggesting that people solve their problems by buying new hardware?
[17:26] <leftyfb> jhutchins: I've been using Thunderbird for almost 20 years. I have almost consistently have 5-7 different email accounts and calendars setup in it. There's nothing wrong with it.
[17:28] <jhutchins> Some people have problems, some people don't.
[17:28] <jhutchins> The only constant I've seen is Thunderbird.
[17:31] <mearvk> Hmm
[17:31] <mearvk> Can you PM me hutchins
[17:32] <leftyfb> mearvk: that's not how help works here. But if you want jhutchins to suggest to you other email clients, which doesn't solve your problem, that's up to jhutchins
[17:32] <mearvk> So no
[17:32] <mearvk> I'm looking for a informed person not a different software
[17:33] <leftyfb> mearvk: There's lots of informed people here. As stated, I've been running Thunderbird since the beginning, almost 20 years and my own email servers for almost as long.
[17:33] <leftyfb> mearvk: did you look through your server logs?
[17:34] <jhutchins> mearvk: I'm afraid that the solutions I've found have been as capricious as the errors.
[17:34] <jhutchins> mearvk: To be fair, if the problems were consistent they'd be a lot easier to pin down and fix.
[17:34] <mearvk> I'm really sure the server is set up correctly
[17:34] <mearvk> Haha!
[17:35] <jhutchins> A lot of distributions are defaulting the Evolution, which I think integrates well with the Gnome desktop.
[17:36] <leftyfb> mearvk: I'm not saying the server is or isn't setup correctly. But the server should give you an idea of what issue the client is having
[17:36] <jhutchins> mearvk: I think local caching is frequently the problem, especially if you have multiple folders.  You can try clearling all local storage - possibly purging all traces of Thunderbird - but you will probably loose things like folder configuration, processing rules, and read message indicators.
[17:37] <leftyfb> jhutchins: mearvk has given no indication that this ever worked which would be the only way caching would come into play as a possible issue
[17:38] <leftyfb> unfortunately, I have to step away for about 30 minutes
[17:39] <leftyfb> mearvk: please look through your server logs and watch them for when the client attempts to connect and read email. It'll probably tell you your client is looking in the wrong location
[17:42] <mearvk> Great
[17:42] <mearvk> I will check
[18:24] <mearvk> My firewall isn't letting the SMTP server out
[18:24] <mearvk> I find
[18:24] <mearvk> UFW says the port is not blocked
[18:25] <mearvk> Now what?
[18:25] <leftyfb> mearvk: confgure your firewall the way you want?
[18:25] <leftyfb> mearvk: is it your "firewall" or is it your ISP blocking it? Most ISP's will block port 25
[19:07] <diverdude> hello
[19:09] <diverdude> I have 2 NICs, and both are able to connect to internet and make hotspot. But if i connect to the hotspot from my phone i am not able to browse internet via the phone. I need to somehow make internet available from one NIC that is not making AP to the one that is making AP. How do i do that)
[19:09] <diverdude> ?
[19:11] <diverdude> anyone here_
[19:11] <diverdude> ?
[19:11] <akossh> yes
[19:12] <akossh> Do you use some magic software, or how did you try?
[19:12] <diverdude> i just use the built in in network manager
[19:14] <akossh> so you need to create an access point, a dhcp server, enable IP routing, and NAT
[19:14] <akossh> I do not know, how many of these are handled by network manager
[19:15] <akossh> Does your phone get an IP address?
[19:16] <akossh> If yes, and you can ping the AP from the phone, then only IP routing and NAT are missing
[19:21] <diverdude> akossh, ok so i need to setup a dhcp on ubuntu to be able to route the traffic from the phone coming in over NIC1 over to NIC2 which is connected to the internet_
[19:21] <diverdude> ?
[19:22] <akossh> Yes, probably that is the easiest
[19:22] <akossh> Or you can use static IP addresses, if you can set it up on the phone as well
[19:23] <akossh> I never tried this from the networkmanager GUI
[19:23] <akossh> When I have to make a hotspot, I start the things separately
[19:23] <akossh> my setup is hostapd + dnsmasq + iptables
[19:24] <akossh> And configuration from the command line.
[19:24] <atcxcontroller> route add <lan nic subnet> mask <lan subnet mask> <wan nic ip> ?
[19:25] <akossh> This could work to enable IP routing: sudo sysctl -w net.ipv4.ip_forward=1
[19:26] <diverdude> akossh, how do i then make sure that the dhcp i set up on my ubuntu does not mess up the network which NIC2 is connected to?
[19:26] <akossh> For NAT, I use these:
[19:26] <akossh> sudo iptables -P FORWARD ACCEPT
[19:26] <akossh> sudo iptables --table nat -A POSTROUTING -o NIC-TOWARDS-INTERNET -j MASQUERADE
[19:27] <akossh> diverdude: for DHCP you have to bind it to your "hotspot" interface
[19:28] <diverdude> ok, i quickly tried: sudo sysctl -w net.ipv4.ip_forward=1   but network is still not being forwarded
[19:29] <diverdude> akossh, ok, how do i set up the dhcp?
[19:29] <akossh> sudo dnsmasq -I lo -z -a <lan interface ip> -F <first ip to offer>,<last ip to offer>,<network mask>
[19:29] <akossh> I use this for dhcp server
[19:30] <diverdude> very interesting
[19:31] <diverdude> lan interface ip <--- is this the ip which the AP will have?
[19:32] <akossh> diverdude: yes
[19:32] <akossh> And that will be the default gateway on the phone, if it accepts it from dhcp
[19:34] <diverdude> could i forexample set values like this: "lan interface ip", "first ip to offer", "last ip to offer", "network mask": 192.168.10.1, 192.168.10.1,192.168.10.100, 255.255.255.0
[19:36] <akossh> First ip to offer should be different from the lan interface ip
[19:36] <akossh> Otherwise it is good
[19:37] <diverdude> aha ok
[19:37] <akossh> But you also have to set up the lan interface first to use static IP assignment with 192.168.10.1 / 24
[19:37] <akossh> then you can start the dhcp server
[19:38] <diverdude> so maybe like this: 192.168.10.1, 192.168.10.2,192.168.10.100, 255.255.255.0
[19:38] <akossh> diverdude: yes, that would work
[19:38] <diverdude> Ok, how do I set up the lan interface first to use static IP assignment with 192.168.10.1 / 24 ?
[19:40] <akossh> diverdude: when you create your hotspot with networkmanager, there should be a tab for it in the GUI
[19:42] <diverdude> akossh, hmm no. I can only set SSID and pwd
[19:44] <akossh> Then on the connection information page, you can check what address is used by the hotspot
[19:45] <akossh> So if the DHCP server is not started by networkmanager, you can start your own
[19:45] <akossh> The same page where it shows the QR code
[19:50] <diverdude> akossh, i only have this available: https://ibb.co/wMYZQpV
[19:52] <akossh> I tried creating a hotspot using networkmanager now, it looks like it starts a DHCP server as well
[19:53] <diverdude> ohh
[19:53] <diverdude> hmm, how do you see that_
[19:53] <diverdude> ?
[19:53] <akossh> My phone successfully optained an IP address, so I guess, the DHCP server must work.
[19:54] <diverdude> ah right
[19:54] <diverdude> so just the NAS needs doing
[19:55] <akossh> diverdude: NAT, (possibly firewall), and enabling IP routing.
[19:55] <akossh> Might be some of those are also handled by networkmanager
[19:56] <akossh> first check  # cat /proc/sys/net/ipv4/ip_forward in the terminal
[19:56] <akossh> if it gives 1, then IPv4 routing is enabled
[19:56] <diverdude> cat /proc/sys/net/ipv4/ip_forward    returns 1
[19:58] <akossh> I see some firewall rules are also added by nm in my case
[19:58] <diverdude> i have disabled firewall btw
[19:58] <diverdude> to make it easier
[19:59] <akossh> but nothing in the "nat" table
[19:59] <diverdude> how do i see that_
[19:59] <diverdude> ?
[20:00] <akossh> in my case: # iptables -t filter -L and # iptables -t nat -L are the 2 commands to list the contents of the filter and nat tables
[20:01] <akossh> But might be it is different on ubuntu
[20:02] <diverdude> iptables -t filter -L     gives this>  https://dpaste.org/66vHA
[20:03] <diverdude> and iptables -t nat -L      https://dpaste.org/aDEfy
[20:05] <diverdude> what do you think_
[20:05] <diverdude> ?
[20:07] <diverdude> akossh, are you here?
[20:09] <akossh> diverdude: yes
[20:10] <akossh> I did some experiments, only NAT is missing
[20:10] <akossh> If I manually add the rule for NAT, it is working
[20:10] <diverdude> akossh, ahh ok, awesome
[20:11] <diverdude> so what you are saying is that if i run this its working?  sudo iptables -P FORWARD ACCEPT && sudo iptables --table nat -A POSTROUTING -o NIC-TOWARDS-INTERNET -j MASQUERADE
[20:12] <akossh> Yes, in my case these 2 are the only commands required, after creating the hotspot in networkmanager
[20:12] <diverdude> ok i will try that
[20:12] <akossh> do not forget to replace the NIC-TOWARDS-INTERNET with your WAN interface
[20:13] <diverdude> yeah
[20:13] <akossh> And keep in mind, that the first command sets the default policy for FORWARDING to ACCEPT
[20:13] <akossh> it will ACCEPT any routed traffic from any interface to any other interface
[20:14] <diverdude> i will shortly disconnect and reconnect
[20:17] <akossh> diverdude: after adding the nat rule, your nat table should now have 2 lines with MASQUERADE target
[20:17] <akossh> 1 was already there for docker
[20:18] <diverdude1> akossh, one side question first...for some reason it seems that i can only choose my builtin NIC for AP.....Shouldnt it be possible to choose any of my 2 NICs to use as AP?
[20:19] <akossh> diverdude1: not all NIC-s support AP mode, but most of them do
[20:19] <akossh> after adding the nat rule, your nat table should now have 2 lines with MASQUERADE target
[20:20] <akossh> 1 was already there for docker
[20:21] <diverdude1> akossh, but i have this one: https://www.alfa.com.tw/products/awus036ach?variant=36473965871176   shouldnt that be able to run as AP?
[20:21] <akossh> diverdude1: try # iw list
[20:22] <akossh> and look for Supported interface modes
[20:22] <diverdude1> is that a CLI command for linux?
[20:22] <akossh> yes
[20:23] <akossh> it should list all the capabilities of all your wifi interfaces
[20:24] <diverdude1> dang, thats a long list: https://dpaste.org/nr9ph   What am I looking for there_
[20:24] <diverdude1> ?
[20:24] <akossh> from line 26
[20:25] <akossh> and for the other one, from line 532
[20:26] <diverdude1> Both has AP
[20:26] <diverdude1> so shouldnt i be able to make AP from either_
[20:26] <akossh> Then both could be used
[20:26] <diverdude1> ?
[20:27] <diverdude1> hmmm weird that i cannot make from my https://www.alfa.com.tw/products/awus036ach?variant=36473965871176   NIC then
[20:27] <akossh> Yes, you can use either
[20:27] <jhutchins> WEll, at least there aren't hardware limits.
[20:27] <jhutchins> Next we need the drier to support it.
[20:28] <diverdude1> I found a forum where they recommended to use this driver, so thats what i have done: https://github.com/aircrack-ng/rtl8812au.git
[20:29] <akossh> diverdude1: if the GUI only lets you choose one of them as AP, you can choose the other one to use as client.
[20:29] <diverdude1> and btw. no i am not trying to make any kind of hack setup or something like that... I have a machine which my customer needs to be able to access from his laptop while still using internet
[20:30] <jhutchins> diverdude1: That's pretty easy, it's called split forwarding.  You route the local addresses directly and the internet through your gateway.
[20:31] <diverdude1> akossh, hmm but when i click "Turn on Wi-fi hotspot" then all i can enter is SSID and pwd.... i cannot select the NIC
[20:31] <jhutchins> diverdude1: Something that's often done on a VPN.
[20:31] <jhutchins> diverdude1: You may have to bypass the GUI.
[20:31] <akossh> diverdude1: you can later edit the connection details
[20:31] <diverdude1> jhutchins, yes thats what i have been trying to do with the help of akossh, but right now I dont understand why only my built in NIC can make an AP
[20:33] <akossh> and after editing you can disable the AP and reenable it
[20:33] <akossh> Just the NM GUI is a little unintuitive
[20:34] <diverdude> sorry, got diconnected
[20:35] <akossh> you can reenable the saved AP configuration from the same place, where you can connect to a hidden network
[20:37] <diverdude> akossh, but i rally only have these options: https://ibb.co/nrTZDNh
[20:38] <akossh> Known Wi-Fi Network
[20:39] <akossh> There you probably can edit your Hotspot
[20:40] <akossh> Then use the Connect to hidden network option to activate it
[20:41] <akossh> But take it with a grain of salt, I have a bit different GUI, since I am not on Ubuntu right now.
[20:43] <akossh> I suspect, the Turn On Wi-Fi hotspot option always creates a new one.
[20:44] <diverdude> akossh, arg...got disconnected again
[20:44] <akossh> did you see what I wrote?
[20:45] <diverdude> akossh, but no...my AP was not listed in the Known Wi-Fi Network list
[20:45] <diverdude> akossh, no i think i missed it unfortunately
[20:45] <akossh> ok, than it is diffenrent
[20:45] <diverdude> what is different
[20:45] <akossh> I have an older GUI, with more options, where I can edit
[20:45] <diverdude> ohhh sounds nice
[20:46] <diverdude> which GUI is that_
[20:46] <diverdude> ?
[20:47] <akossh> https://i.stack.imgur.com/fIx60.png
[20:48] <akossh> it is similar to this, with more options if I select Hotspot from the "Mode" dropdown list
[20:48] <diverdude> i only have that for wired connection
[20:51] <conner> msg NickServ IDENTIFY conner
[20:52] <akossh> diverdude: i have to go to sleep soon.
[20:53] <akossh> So the gist is, that it looks to me, that everything is OK with the simple automatic setup except the NAT setup is missing.
[20:54] <diverdude> akossh, yeah that part makes sense..... my only missing piece is that i cannot make AP with the NIC i want :/
[20:56] <diverdude> which is pretty weird
[21:01] <diverdude> Hello, can anyone help me understand why i cannot set up my AWUS036ACH NIC as AP in ubuntu 22.04?
[21:05] <oerheks> i bet the driver does not allow you to?
[21:17] <rob0> diverdude: the most common way to do an AP in Linux is with the mac80211 kernel driver and hostapd(8) software.
[21:18] <rob0> Check the hostapd documentation to see if your NIC is supported.
[21:24] <diverdude> rob0, do you have a link where i can check?
[21:32] <jpmh> I tested ecryptfs-migrate-home and it seems to work VERY well - the docs say that it makes backup that I can delete when all is OK - where is that backup - I don't see it anywhere?
[21:40] <jpmh> OK - I think I have discovered it - there is a new directory in /home with the userName and some sunk added on the end - that seems to be the clear version
[22:10] <rob0> diverdude, it appears to be RTL8812AU, and this driver supports it: https://github.com/morrownr/8812au-20210629
[22:11] <rob0> Confusing document. It says it's hostapd-compatible but not supporting mac80211.
[22:11] <rob0> And it says Master mode works, "see FAQ", with no mention of Master mode in the FAQ.
[22:11] <Jeremy31> Did someone use rtl8812au-dkms?
[22:12] <rob0> ^^ I didn't get there yet, but that could be a better driver
[22:12] <jhutchins> Jeremy31: I'm sure somebody did.  Are you trying to get a realtek interface to work?
[22:13] <jhutchins> Jeremy31: Nevermind, missed some scrollback.
[22:16] <rob0> diverdude, I would think getting Master mode to work on any of the several drivers might be tricky. The author of the one I posted recommends against using Realtek wifi devices.
[22:24] <Jeremy31> This one is supposed to work https://github.com/aircrack-ng/rtl8812au