[00:12] i uninstalled and reinstalled firefox to fix an issue with it not seeing my camera [00:12] now i can't open firefox [00:12] it says it's not connected to gnome [00:14] how do i list the plugs a snap has? [00:34] 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] shivaya: did any other packages get uninstalled with it? [00:36] nope [00:36] 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] shivaya: what does 'dpkg -S /path/to/files' give on the other system? [00:39] EriC^^: ah nice flag for dpkg! iptables-persistent apparently has those files, not 'netfilter-persistent' [00:40] aha [00:40] EriC^^: yup I can confirm, if I reinstall iptables-persistent those files are back, thanks! [00:40] shivaya: great, no problem! [00:40] a bit confusing with 2 packages and the path actually referencing netfilter-persistent, not iptables-persistent [00:46] is it possible I can get any help writing an nmcli script around here? :) [00:49] it's possible, if you state the problem [00:59] 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] Because it seems certain devices cannot have network config, but a port can [01:01] for ubuntu 20.04 btw [01:17] Does chromeos flex use kde [01:18] No. [01:18] What de chromeos flex use then [01:19] 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] So is there a ubuntu offtopic [01:21] yrdsb: There is, though personally I think your question might go better in #linux or similar. [01:21] I am banned from there [01:23] What ubuntu flavour is most like chromeos [01:24] 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] But I want a distor exactly like chromeos [01:26] Since I want to get used to it [01:28] 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] powp0wpow: probably parse the 'ip' command [01:57] 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] well use that then =) [02:32] 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] 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] Assuming that Ubuntu 18.04 has the needed dependencies available and installed, yes, it will work. [02:33] 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] Is it frowned upon? Or standard practice to do this? [02:34] 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] (I personally do it - my IRC client is build from WeeChat source code.) [02:34] Er, scratch that, I said something wrong. [02:35] 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] *versions of Ubuntu [02:35] 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] But there isn't enough RAM/Disk/CPU on node 1 to actually build this binary in reasonable time [02:36] So I plan to build it on node 2 (running 20.04) and use it on node 1 [02:36] And I can't update node 1 or 2 since it's a shared server. [02:36] 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] Perfect, thanks! [02:40] 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] OK, folks, Kubuntu 20.04 here, most recent update wiped out ~/.bashrc and ~/.profile. What gives? [03:50] Sauvin: I doubt that verymuch. I'm pretty sure it was something else you did [03:50] The only other thing I did was install updated VPN software. [03:51] which VPN software? [03:51] PIA. [03:53] I would probably reach out to them [03:53] Oh, I got the files back from backup. Still... wtf!? === kostkon_ is now known as kostkon [07:34] ayo [07:34] ayo ayo [07:34] im in school rn [07:34] on a school computer [07:35] GUUUYS [07:35] please talk to me [07:35] i beg [07:35] uwu [07:35] Uh, hello? [07:35] If you have need help, ask away. [07:36] Specifically, if you need help with your Ubuntu install as this is the Ubuntu support chat. [07:36] Welp, he left. === arraybolt3_ is now known as arraybolt3 [08:04] can possible factory reset ubuntu. I already tried dconf reset -f / not working proper. any other simple commands available [08:05] 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] (If that's not what you're looking for, you may be left with reinstalling Ubuntu from scratch.) [08:16] can possible factory reset ubuntu. I already tried dconf reset -f / not working proper. any other simple commands available [08:21] i believe it is; dconf reset -f /org/gnome/ # and logout/login again [08:21] hi there [08:22] 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] silv3r_m00n: nope...I update my laptop a few minutes ago... all fine. [08:22] silv3r_m00n, maybe that linode server is updating packages itself? wait a minute and try again? [08:23] silv3r_m00n: where are you based? [08:23] linode is usa (newark) and my laptop here in india [08:24] something is not right somewhere [08:24] it cant tak 5 hours to upgrade on linode [08:24] silv3r_m00n: did you update your laptop in India just fine? [08:24] silv3r_m00n: in that case, change the mirrors in Linode and try again [08:24] laptop is also terribly slow, showing several hours remaining me on 300 mbps optic [08:25] linode using us.archive.ubuntu.com i dont think there is much to change [08:25] silv3r_m00n: change mirrors everywhere then :-) [08:25] silv3r_m00n: change it to Canada, for example... [08:25] it's not that far away [08:26] is it possible to interrupt and cancel the do-release-upgrade process ? [08:27] the linode is for one of my customer running a php crm app [08:27] 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] (read: Unless you're ready to rebuild the whole thing, don't interrupt it.) [08:28] no, reinstall is not an option [08:28] large database application of my client [08:28] im sure you did a snapshot before you started the upgrade [08:29] i need to make sure my machine does not sleep off... the linode ssh will break and upgrade would be botched [08:29] ravage: no :( [08:29] What flavor of Ubuntu are you using? [08:29] I might be able to help you find a setting to avoid it going to sleep. [08:29] on linode, its just ubuntu, on my acer laptop its kubuntu [08:29] On the Acer laptop. Nice. Click the battery icon. [08:30] 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] yes i disabled sleep [08:30] 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] silv3r_m00n: Oh OK. [08:30] yes, i will play some video in vlc player, that will prevent the sleep [08:30] will also open a few youtube videos [08:32] tarel2, yes https://launchpad.net/ubuntu/+source/gcc-arm-none-eabi [08:32] make sure you have ' universe' enabled [08:34] It seem I do but when  I put gcc I don't see anything come up [08:36] Can I type sudo apt install gcc-arm-none-eabi and get the correct stuff? === Guest99 is now known as Guest999 [08:47] gcc-arm-none-eabi , it says I have the newest  version [08:47] How do I find it ? [08:50] tarel2: https://packages.ubuntu.com/jammy/amd64/gcc-arm-none-eabi/filelist [08:50] wow thanks [09:28] 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]  I am doing zfs (with 2 disks, mirror) on ubuntu server 20.04.5 with this guide: [09:48] https://openzfs.github.io/openzfs-docs/Getting%20Started/Ubuntu/Ubuntu%2020.04%20Root%20on%20ZFS.html [09:48] Guest41: could you share your dmesg in a paste, maybe volunteers can notice something unusual [09:49]  before the first reboot I need to do: "zpool export -a", but I am getting "cannot export 'rpool': pool is busy". [09:49] What should I do? [09:53] lotuspsychje, https://termbin.com/7w5b === mv is now known as vimart [09:56] Morning all [09:57] 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] guest41 [09:58] Guest41: was this a clean install or upgrade towards 22.04? [09:59] It was a clean install, bought the notebook with windows 10 and installed 22.04 the first day [09:59] Problem with firefox, opera etc > [09:59] error: cannot communicate with server: Post "http://localhost/v2/snapctl": dial unix /run/snapd-snap.socket: connect: connection refused [09:59] ERROR: not connected to the gnome-3-28-1804 content interface. [10:00] 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] Any solution? [10:00] Guest41: did the repair guys mention firmware/bios updates too? [10:03] lotuspsychje nope it was just a keyboard replacement and that was the only thing listed on the invoice [10:03] but I have the notebook back for a week now and I immediately noticed something is wrong with the battery [10:04] I will check the BIOS as that's the only thing that could be software related, thanks for help [10:04] Guest41: that would be real odd, just a kb replace influences battery [10:07] Guest41: could you try something, creating a new user and see if your battery drains there aswell, to rule out userspace problems? [10:09] Guest41: im also seeing a lot of snap audit warnings in your dmesg, perhaps ogra could advice on those [10:09] I will try that, also found some powertop utility which might see which process is draining the battery most [10:11] that's probably a snap complaining I have to restart firefox to install updates, it's driving me crazy [10:11] the whole firefox in snap is really weird experience to be honest [10:12] gnome extensions doesn't work anymore and it won't remember open tabs when I restart it [10:12] there's a current bug on those being worked on [10:13] 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] Guest41: can you pastebin systemd-analyze blame too plz [10:19] lotuspsychje, https://termbin.com/nnvp === tmroland_ is now known as tmroland [10:20] Guest41: looks like a long list to me, what about systemd-analyze critical-chain [10:21] https://termbin.com/299v [10:23] that looks good Guest41 timings not to bad [10:24] 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] 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] have a nice day! === Mibixy is now known as Mibix [10:41] 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] 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] 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 === lys is now known as rosalind [11:25] lotuspsychje, if that guest comes back, xps 13 9305 needs a bios update [11:34] cncxv,v.v [11:34] xnd xv xc vnvvf f cxnbn bn,mn,. === elastic_dog is now known as Guest279 [11:55] thank you ogra oerheks +1 [12:31] 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] ran said script using nohup? [12:41] hdd has "no volumes" how to solve this in linux? [12:42] why is there a timelimit on entering the password for console logins? [12:43] I guarantee whoever implemented that never had to enter a long password over ipmi [12:44] 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] sudo mkfs.vfat /dev/sda [12:44] mkfs.fat 3.0.26 (2014-03-07) [12:44] mkfs.vfat: Device partition expected, not making filesystem on entire device '/dev/sda' (use -I to override) [12:44] lubuntu: Oh dear. Was there important data on this system? [12:44] *on this drive, I mean? [12:44] No [12:44] arraybolt3: but if that is a threat model then the terminal should also auto logout users after 1 minute [12:45] lubuntu: Ah, OK. The first step should be to partition it with parted or fdisk, then format the partition with mkfs. [12:45] arraybolt3: can you help [12:45] ? [12:45] lubuntu: Yep, that's what I'm trying to do. [12:45] lubuntu: Are you 100% sure that /dev/sda is the device that you need to format? [12:45] arraybolt3: yes [12:46] Alright, then start with "sudo parted /dev/sda". [12:46] Now how big is this drive? Is it an external hard drive or a USB flash drive? [12:46] try sda1 [12:46] arraybolt3: sudo fdisk /dev/sda [12:46] Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel [12:46] Building a new DOS disklabel with disk identifier 0x0cd406b1. [12:46] Changes will remain in memory only, until you decide to write them. [12:46] After that, of course, the previous content won't be recoverable. [12:46] Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite) [12:46] oerheks: We're partitioning right now, not formatting. [12:47] 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] lubuntu: The mute should go away in about 60 seconds. [12:47] Sorry about that. [12:47] arraybolt3: ok sorry for that [12:48] lubuntu: No problem. [12:48] lubuntu: OK, is this an HDD or a USB flash drive? [12:48] (That will decide which command we run next.) [12:48] arraybolt3: an HDD [12:48] Alright, run "mklabel gpt". [12:49] 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] arraybolt3: see https://paste2.org/3xOPNmXc [12:53] Oh that's weird. It looks like the partition table changes aren't sticking. [12:53] Do you have some sort of write-protect feature on the HDD? [12:53] hmmm...dunno [12:54] lubuntu: Hmm. Start with "sudo parted /dev/sda", that's the tool I usually use for partitioning. [12:56] arraybolt3: ok started that one [12:56] Alright, let's do "mklabel gpt" next. [12:59] arrybolt3: ok done [12:59] OK, next "mkpart". This command will ask you questions, share what questions it asks and I'll provide the responses. [13:00] arrybolt3: (parted) mkpart [13:00] Warning: /dev/sda contains GPT signatures, indicating that [13:00] it has a GPT table. However, it does not have a valid fake [13:00] msdos partition table, as it should. Perhaps it was [13:00] corrupted -- possibly by a program that doesn't understand [13:00] GPT partition tables. Or perhaps you deleted the GPT table, [13:01] lubuntu: Yeah that's bad. I think your HDD may be either write-protected or damaged. [13:03] lubuntu: What happened to this HDD just before this started happening? [13:03] arraybolt3: well the boot manager was gone [13:04] Right, but I mean, did you drop it/step on it/knock it over/otherwise cause physical shock to it? [13:04] arraybolt3: no not at all [13:05] 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] *a badblocks test, I mean [13:06] arraybolt3: ok lets do a badblock test. should I say no to Is this a gpt partition table? [13:07] Uh... well we just made a gpt partition table so I'd answer Yes. [13:08] arraybolt3:Yes/No? yes [13:08] Error: Both the primary and backup GPT tables are corrupt. [13:08] Try making a fresh table, and using Parted's rescue feature [13:08] to recover partitions. [13:08] If that dropped you back to a (parted) prompt, just run "quit". [13:09] (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] lubuntu: OK, one moment while I build the badblocks test line... [13:10] er, test command... [13:13] lubuntu: Alright, be very careful not to make typos with the next command: [13:13] sudo badblocks -b 16384 -c 512 -e 1 -s -p 1 -t random -w /dev/sda [13:14] (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] For a breakdown of that miserably complicated line: [13:15] 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] "-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] "-w" - Destructive read-write test. "/dev/sda" - The drive to test. [13:17] 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] Hi all [14:10] 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] joo: are you talking about firefox from the repos, or the firefox snap? [14:13] 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] 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] i am runninng ubuntu 22.04, i installed it with apt-get install firefox [14:14] joo: ( cat /etc/os-release ; apt-cache policy firefox ; snap info firefox ) | nc termbin.com 9999 [14:16] https://termbin.com/0ln8 [14:16] you can try to move the folder .mozilla to .mozilla-old and restart it maybe (configuration/cache folder) [14:16] 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] joo: firefox is installed by default. Why did you bother "installing" it from apt? [14:17] 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] so it was already installed as a snap then [14:18] joo: reboot, then run firefox from a terminal. When/if it "crashes", please pastebin the error message that shows in the terminal [14:19] 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] 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] no "wrapper" [14:20] allright, so it cannot be killed ? [14:21] 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] 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] normally i would purge and reinstall firefox. or do a memtest86 run, as you said it could be bad ram. [14:27] also, you have 106 installed, 107 is available. [14:28] Where can i find the extensions list of all known video file type on Ubuntu OS? like .avi .mpg etc [14:29] mime types, they name it i think. [14:31] 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] cartdrige: /usr/share/applications/gnome-mimeapps.list [14:33] oh nice, leftyfb .. that is after installing restricted extras ? [14:34] there's also ~/.config/mimeapps.list for custom associations [14:34] oerheks: I assume the latter is what gets updated [14:35] thank you oerheks, leftyfb. [14:39] 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 mais je voulais savoir s'il y avait une commande générique. [14:39] !fr | flaf [14:39] flaf: Nous sommes desoles mais ce canal est en anglais uniquement. Si vous avez besoin d'aide ou voulez discuter en français, veuillez taper /join #ubuntu-fr ou /join #ubuntu-qc. Merci. [14:39] oops... bad chan... Sorry. [14:41] 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] 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] 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] any ideas what could it be? [15:16] The Roman Colluseum is still standing, and it's concrete is still sound. Kauffman Stadium has deteriorated too far to save. [15:17] Sorry, wrong channel. [15:17] (Obviously) [15:42] hello === ubuntu is now known as Guest9948 [16:58] Please help: linux-oem-5.17-tools-5.17.0-1021 : Depends: linux-tools-common but it is not installed [16:59] 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] Yo [17:00] Anyone an expert with Thunderbird [17:00] I send some CashApp at you [17:01] Quick and easy questin [17:01] $20 [17:01] 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] I got the 22.04 Ubuntu [17:02] I got an email server [17:02] Its POP and IMAP [17:02] Courier [17:02] Thunderbird can't seem to do the pull cycle [17:03] http://paste.debian.net/1260919/ here are the error logs [17:03] mearvk: pull cycle? [17:03] Oh yes, this is Ubuntu 22.04 [17:03] Yeah to read the email [17:04] It sends email [17:04] But won't read the server for stored email [17:05] mearvk: did you try setting your "IMAP server directory" in the account settings? [17:06] Maildir I think [17:06] What is it [17:06] mearvk: it's whatever your server is configured fort [17:06] for* [17:07] 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 === nteodosi is now known as nteodosio [17:13] Hmm [17:13] Still no luck [17:14] mearvk: you should look through your courier imap logs. [17:15] mearvk: https://www.courier-mta.org/authlib/README.authdebug.html [17:18] mearvk: You should seriously consider using a better email client. [17:20] mearvk: Everything I know about Thunderbird comes from having to rescue people who lost access to their mail. [17:21] jhutchins: that's not helpful [17:24] leftyfb: Suggesting a more functional client is indeed helpful. [17:24] leftyfb: Since the mail is stored on the server, they should be able to read it with a functional app. [17:24] Even alpine is a better choice. [17:24] leftyfb: Isn't you who's always suggesting that people solve their problems by buying new hardware? [17:26] 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] Some people have problems, some people don't. [17:28] The only constant I've seen is Thunderbird. [17:31] Hmm [17:31] Can you PM me hutchins [17:32] 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] So no [17:32] I'm looking for a informed person not a different software [17:33] 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] mearvk: did you look through your server logs? [17:34] mearvk: I'm afraid that the solutions I've found have been as capricious as the errors. [17:34] mearvk: To be fair, if the problems were consistent they'd be a lot easier to pin down and fix. [17:34] I'm really sure the server is set up correctly [17:34] Haha! [17:35] A lot of distributions are defaulting the Evolution, which I think integrates well with the Gnome desktop. [17:36] 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] 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] 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] unfortunately, I have to step away for about 30 minutes [17:39] 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] Great [17:42] I will check [18:24] My firewall isn't letting the SMTP server out [18:24] I find [18:24] UFW says the port is not blocked [18:25] Now what? [18:25] mearvk: confgure your firewall the way you want? [18:25] mearvk: is it your "firewall" or is it your ISP blocking it? Most ISP's will block port 25 [19:07] hello [19:09] 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] ? [19:11] anyone here_ [19:11] ? [19:11] yes [19:12] Do you use some magic software, or how did you try? [19:12] i just use the built in in network manager [19:14] so you need to create an access point, a dhcp server, enable IP routing, and NAT [19:14] I do not know, how many of these are handled by network manager [19:15] Does your phone get an IP address? [19:16] If yes, and you can ping the AP from the phone, then only IP routing and NAT are missing [19:21] 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] ? [19:22] Yes, probably that is the easiest [19:22] Or you can use static IP addresses, if you can set it up on the phone as well [19:23] I never tried this from the networkmanager GUI [19:23] When I have to make a hotspot, I start the things separately [19:23] my setup is hostapd + dnsmasq + iptables [19:24] And configuration from the command line. [19:24] route add mask ? [19:25] This could work to enable IP routing: sudo sysctl -w net.ipv4.ip_forward=1 [19:26] 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] For NAT, I use these: [19:26] sudo iptables -P FORWARD ACCEPT [19:26] sudo iptables --table nat -A POSTROUTING -o NIC-TOWARDS-INTERNET -j MASQUERADE [19:27] diverdude: for DHCP you have to bind it to your "hotspot" interface [19:28] ok, i quickly tried: sudo sysctl -w net.ipv4.ip_forward=1 but network is still not being forwarded [19:29] akossh, ok, how do i set up the dhcp? [19:29] sudo dnsmasq -I lo -z -a -F ,, [19:29] I use this for dhcp server [19:30] very interesting [19:31] lan interface ip <--- is this the ip which the AP will have? [19:32] diverdude: yes [19:32] And that will be the default gateway on the phone, if it accepts it from dhcp [19:34] 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] First ip to offer should be different from the lan interface ip [19:36] Otherwise it is good [19:37] aha ok [19:37] But you also have to set up the lan interface first to use static IP assignment with 192.168.10.1 / 24 [19:37] then you can start the dhcp server [19:38] so maybe like this: 192.168.10.1, 192.168.10.2,192.168.10.100, 255.255.255.0 [19:38] diverdude: yes, that would work [19:38] Ok, how do I set up the lan interface first to use static IP assignment with 192.168.10.1 / 24 ? [19:40] diverdude: when you create your hotspot with networkmanager, there should be a tab for it in the GUI === archivist958 is now known as levente [19:42] akossh, hmm no. I can only set SSID and pwd [19:44] Then on the connection information page, you can check what address is used by the hotspot [19:45] So if the DHCP server is not started by networkmanager, you can start your own [19:45] The same page where it shows the QR code [19:50] akossh, i only have this available: https://ibb.co/wMYZQpV [19:52] I tried creating a hotspot using networkmanager now, it looks like it starts a DHCP server as well [19:53] ohh [19:53] hmm, how do you see that_ [19:53] ? [19:53] My phone successfully optained an IP address, so I guess, the DHCP server must work. [19:54] ah right [19:54] so just the NAS needs doing [19:55] diverdude: NAT, (possibly firewall), and enabling IP routing. [19:55] Might be some of those are also handled by networkmanager [19:56] first check # cat /proc/sys/net/ipv4/ip_forward in the terminal [19:56] if it gives 1, then IPv4 routing is enabled [19:56] cat /proc/sys/net/ipv4/ip_forward returns 1 [19:58] I see some firewall rules are also added by nm in my case [19:58] i have disabled firewall btw [19:58] to make it easier [19:59] but nothing in the "nat" table [19:59] how do i see that_ [19:59] ? [20:00] 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] But might be it is different on ubuntu [20:02] iptables -t filter -L gives this> https://dpaste.org/66vHA [20:03] and iptables -t nat -L https://dpaste.org/aDEfy [20:05] what do you think_ [20:05] ? [20:07] akossh, are you here? [20:09] diverdude: yes [20:10] I did some experiments, only NAT is missing [20:10] If I manually add the rule for NAT, it is working [20:10] akossh, ahh ok, awesome [20:11] 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] Yes, in my case these 2 are the only commands required, after creating the hotspot in networkmanager [20:12] ok i will try that [20:12] do not forget to replace the NIC-TOWARDS-INTERNET with your WAN interface [20:13] yeah [20:13] And keep in mind, that the first command sets the default policy for FORWARDING to ACCEPT [20:13] it will ACCEPT any routed traffic from any interface to any other interface [20:14] i will shortly disconnect and reconnect [20:17] diverdude: after adding the nat rule, your nat table should now have 2 lines with MASQUERADE target [20:17] 1 was already there for docker [20:18] 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] diverdude1: not all NIC-s support AP mode, but most of them do [20:19] after adding the nat rule, your nat table should now have 2 lines with MASQUERADE target [20:20] 1 was already there for docker [20:21] 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] diverdude1: try # iw list [20:22] and look for Supported interface modes [20:22] is that a CLI command for linux? [20:22] yes [20:23] it should list all the capabilities of all your wifi interfaces [20:24] dang, thats a long list: https://dpaste.org/nr9ph What am I looking for there_ [20:24] ? [20:24] from line 26 [20:25] and for the other one, from line 532 [20:26] Both has AP [20:26] so shouldnt i be able to make AP from either_ [20:26] Then both could be used [20:26] ? [20:27] hmmm weird that i cannot make from my https://www.alfa.com.tw/products/awus036ach?variant=36473965871176 NIC then [20:27] Yes, you can use either [20:27] WEll, at least there aren't hardware limits. [20:27] Next we need the drier to support it. [20:28] 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] 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] 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] diverdude1: That's pretty easy, it's called split forwarding. You route the local addresses directly and the internet through your gateway. [20:31] 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] diverdude1: Something that's often done on a VPN. [20:31] diverdude1: You may have to bypass the GUI. [20:31] diverdude1: you can later edit the connection details [20:31] 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] and after editing you can disable the AP and reenable it [20:33] Just the NM GUI is a little unintuitive [20:34] sorry, got diconnected === realivanjx8 is now known as realivanjx [20:35] you can reenable the saved AP configuration from the same place, where you can connect to a hidden network [20:37] akossh, but i rally only have these options: https://ibb.co/nrTZDNh [20:38] Known Wi-Fi Network [20:39] There you probably can edit your Hotspot [20:40] Then use the Connect to hidden network option to activate it [20:41] But take it with a grain of salt, I have a bit different GUI, since I am not on Ubuntu right now. [20:43] I suspect, the Turn On Wi-Fi hotspot option always creates a new one. [20:44] akossh, arg...got disconnected again [20:44] did you see what I wrote? [20:45] akossh, but no...my AP was not listed in the Known Wi-Fi Network list [20:45] akossh, no i think i missed it unfortunately [20:45] ok, than it is diffenrent [20:45] what is different [20:45] I have an older GUI, with more options, where I can edit [20:45] ohhh sounds nice [20:46] which GUI is that_ [20:46] ? [20:47] https://i.stack.imgur.com/fIx60.png [20:48] it is similar to this, with more options if I select Hotspot from the "Mode" dropdown list [20:48] i only have that for wired connection [20:51] msg NickServ IDENTIFY conner [20:52] diverdude: i have to go to sleep soon. [20:53] 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] akossh, yeah that part makes sense..... my only missing piece is that i cannot make AP with the NIC i want :/ [20:56] which is pretty weird [21:01] Hello, can anyone help me understand why i cannot set up my AWUS036ACH NIC as AP in ubuntu 22.04? [21:05] i bet the driver does not allow you to? [21:17] diverdude: the most common way to do an AP in Linux is with the mac80211 kernel driver and hostapd(8) software. [21:18] Check the hostapd documentation to see if your NIC is supported. [21:24] rob0, do you have a link where i can check? [21:32] 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] 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] diverdude, it appears to be RTL8812AU, and this driver supports it: https://github.com/morrownr/8812au-20210629 [22:11] Confusing document. It says it's hostapd-compatible but not supporting mac80211. [22:11] And it says Master mode works, "see FAQ", with no mention of Master mode in the FAQ. [22:11] Did someone use rtl8812au-dkms? [22:12] ^^ I didn't get there yet, but that could be a better driver [22:12] Jeremy31: I'm sure somebody did. Are you trying to get a realtek interface to work? [22:13] Jeremy31: Nevermind, missed some scrollback. [22:16] 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. === trogloditas_ is now known as sinvet [22:24] This one is supposed to work https://github.com/aircrack-ng/rtl8812au === trogloditas_ is now known as sinvet === kgiii_ is now known as kgiii === justache is now known as justGrit