/srv/irclogs.ubuntu.com/2022/11/16/#ubuntu.txt

lenswipei uninstalled and reinstalled firefox to fix an issue with it not seeing my camera00:12
lenswipenow i can't open firefox00:12
lenswipeit says it's not connected to gnome00:12
lenswipehow do i list the plugs a snap has?00:14
shivayahi 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:34
EriC^^shivaya: did any other packages get uninstalled with it?00:35
shivayanope00:36
shivayadpkg -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 there00:36
EriC^^shivaya: what does 'dpkg -S /path/to/files' give on the other system?00:37
shivayaEriC^^: ah nice flag for dpkg! iptables-persistent apparently has those files, not 'netfilter-persistent'00:39
EriC^^aha00:40
shivayaEriC^^: yup I can confirm, if I reinstall iptables-persistent those files are back, thanks!00:40
EriC^^shivaya: great, no problem!00:40
shivayaa bit confusing with 2 packages and the path actually referencing netfilter-persistent, not iptables-persistent00:40
powp0wpowis it possible I can get any help writing an nmcli script around here? :)00:46
matsamanit's possible, if you state the problem00:49
powp0wpowmatsaman: I'm trying to write a script that finds what device is on a connection and then setting the IP based on that00:59
powp0wpowBecause it seems certain devices cannot have network config, but a port can01:00
powp0wpowfor ubuntu 20.04 btw01:01
yrdsbDoes chromeos flex use kde01:17
arraybolt3[m]No.01:18
yrdsbWhat de chromeos flex use then01:18
arraybolt3I dunno, I think it's probably some in-house DE made by Google. However, ChromeOS Flex is off-topic for this channel.01:19
yrdsbSo is there a ubuntu offtopic01:20
arraybolt3yrdsb: There is, though personally I think your question might go better in #linux or similar.01:21
yrdsbI am banned from there01:21
yrdsbWhat ubuntu flavour is most like chromeos01:23
arraybolt3lol 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:24
yrdsbBut I want a distor exactly like chromeos01:25
yrdsbSince I want to get used to it01:26
WaVI 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:28
matsamanpowp0wpow: probably parse the 'ip' command01:47
powp0wpowmatsaman: yeah but it doesn't provide any info on what device it actually is, while "nmcli -t" gives more info I'm looking for01:57
matsamanwell use that then =)01:58
rodybigHey 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:32
rodybigScratch that last bit. That's only a potential issue if I'm doing the reverse: building on 20.04 and running it on 18.0402:33
arraybolt3Assuming that Ubuntu 18.04 has the needed dependencies available and installed, yes, it will work.02:33
arraybolt3Really 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:33
rodybigIs it frowned upon? Or standard practice to do this?02:34
arraybolt3Well 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
arraybolt3Er, scratch that, I said something wrong.02:34
arraybolt3I 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 Ubuntu02:35
rodybigSo 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
rodybigBut there isn't enough RAM/Disk/CPU on node 1 to actually build this binary in reasonable time02:35
rodybigSo I plan to build it on node 2 (running 20.04) and use it on node 102:36
rodybigAnd I can't update node 1 or 2 since it's a shared server.02:36
arraybolt3So 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
rodybigPerfect, thanks!02:36
arraybolt3The 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.02:40
SauvinOK, folks, Kubuntu 20.04 here, most recent update wiped out ~/.bashrc and ~/.profile. What gives?03:33
leftyfbSauvin: I doubt that verymuch. I'm pretty sure it was something else you did03:50
SauvinThe only other thing I did was install updated VPN software.03:50
leftyfbwhich VPN software?03:51
SauvinPIA.03:51
leftyfbI would probably reach out to them03:53
SauvinOh, I got the files back from backup. Still... wtf!?03:53
=== kostkon_ is now known as kostkon
tommy-ayo07:34
tommy-ayo ayo07:34
tommy-im in school rn07:34
tommy-on a school computer07:34
tommy-GUUUYS07:35
tommy-please talk to me07:35
tommy-i beg07:35
tommy-uwu07:35
applecuckooUh, hello?07:35
applecuckooIf you have need help, ask away.07:35
Unit193Specifically, if you need help with your Ubuntu install as this is the Ubuntu support chat.07:36
applecuckooWelp, he left.07:36
=== arraybolt3_ is now known as arraybolt3
kattupoochican possible factory reset ubuntu. I already tried dconf reset -f / not working proper. any other simple commands available08:04
arraybolt3Create 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:05
kattupoochican possible factory reset ubuntu. I already tried dconf reset -f / not working proper. any other simple commands available08:16
oerheksi believe it is; dconf reset -f /org/gnome/  # and logout/login again08:21
silv3r_m00nhi there08:21
silv3r_m00nis 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 minutes08:22
SteelRosesilv3r_m00n: nope...I update my laptop a few minutes ago... all fine.08:22
oerhekssilv3r_m00n, maybe that linode server is updating packages itself? wait a minute and try again?08:22
SteelRosesilv3r_m00n: where are you based?08:23
silv3r_m00nlinode is usa (newark) and my laptop here in india08:23
silv3r_m00nsomething is not right somewhere08:24
silv3r_m00nit cant tak 5 hours to upgrade on linode08:24
SteelRosesilv3r_m00n: did you update your laptop in India just fine?08:24
SteelRosesilv3r_m00n: in that case, change the mirrors in Linode and try again08:24
silv3r_m00nlaptop is also terribly slow, showing several hours remaining me on 300 mbps optic08:24
silv3r_m00nlinode using us.archive.ubuntu.com i dont think there is much to change08:25
SteelRosesilv3r_m00n: change mirrors everywhere then :-)08:25
SteelRosesilv3r_m00n: change it to Canada, for example...08:25
SteelRoseit's not that far away08:25
silv3r_m00nis it possible to interrupt and cancel the do-release-upgrade process ?08:26
silv3r_m00nthe linode is for one of my customer running a php crm app08:27
arraybolt3I'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:27
silv3r_m00nno, reinstall is not an option08:28
silv3r_m00nlarge database application of my client08:28
ravageim sure you did a snapshot before you started the upgrade08:28
silv3r_m00ni need to make sure my machine does not sleep off... the linode ssh will break and upgrade would be botched08:29
silv3r_m00nravage: no :(08:29
arraybolt3What flavor of Ubuntu are you using?08:29
arraybolt3I might be able to help you find a setting to avoid it going to sleep.08:29
silv3r_m00non linode, its just ubuntu, on my acer laptop its kubuntu08:29
arraybolt3On the Acer laptop. Nice. Click the battery icon.08:29
arraybolt3Then 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_m00nyes i disabled sleep08:30
tarel2gcc-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?  lost08:30
arraybolt3silv3r_m00n: Oh OK.08:30
silv3r_m00nyes, i will play some video in vlc player, that will prevent the sleep08:30
silv3r_m00nwill also open a few youtube videos08:30
oerhekstarel2, yes https://launchpad.net/ubuntu/+source/gcc-arm-none-eabi08:32
oerheksmake sure you have ' universe'  enabled08:32
tarel2It seem I do but when  I put gcc I don't see anything come up08:34
tarel2Can I type sudo apt install gcc-arm-none-eabi and get the correct stuff?08:36
=== Guest99 is now known as Guest999
tarel2gcc-arm-none-eabi , it says I have the newest  version08:47
tarel2How do I find it ?08:47
ravagetarel2: https://packages.ubuntu.com/jammy/amd64/gcc-arm-none-eabi/filelist08:50
tarel2wow thanks08:50
Guest41Hello, 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:28
zfs_ubuntu I am doing zfs (with 2 disks, mirror) on ubuntu server 20.04.5 with this guide:09:48
zfs_ubuntuhttps://openzfs.github.io/openzfs-docs/Getting%20Started/Ubuntu/Ubuntu%2020.04%20Root%20on%20ZFS.html09:48
lotuspsychjeGuest41: could you share your dmesg in a paste, maybe volunteers can notice something unusual09:48
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_ubuntuWhat should I do?09:49
Guest41lotuspsychje, https://termbin.com/7w5b09:53
=== mv is now known as vimart
vimartMorning all09:56
lotuspsychjeGuest41: not sure if related yet, but there seems to be a lot going on in your dmesg, a lot of acpi errors and warnings09:57
lotuspsychjeguest4109:58
lotuspsychjeGuest41: was this a clean install or upgrade towards 22.04?09:58
Guest41It was a clean install, bought the notebook with windows 10 and installed 22.04 the first day09:59
vimartProblem with firefox, opera etc >09:59
vimarterror: cannot communicate with server: Post "http://localhost/v2/snapctl": dial unix /run/snapd-snap.socket: connect: connection refused09:59
vimartERROR: not connected to the gnome-3-28-1804 content interface.09:59
Guest41I 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
vimartAny solution?10:00
lotuspsychjeGuest41: did the repair guys mention firmware/bios updates too?10:00
Guest41lotuspsychje nope it was just a keyboard replacement and that was the only thing listed on the invoice10:03
Guest41but I have the notebook back for a week now and I immediately noticed something is wrong with the battery10:03
Guest41I will check the BIOS as that's the only thing that could be software related, thanks for help10:04
lotuspsychjeGuest41: that would be real odd, just a kb replace influences battery10:04
lotuspsychjeGuest41: could you try something, creating a new user and see if your battery drains there aswell, to rule out userspace problems?10:07
lotuspsychjeGuest41: im also seeing a lot of snap audit warnings in your dmesg, perhaps ogra could advice on those10:09
Guest41I will try that, also found some powertop utility which might see which process is draining the battery most10:09
Guest41that's probably a snap complaining I have to restart firefox to install updates, it's driving me crazy10:11
Guest41the whole firefox in snap is really weird experience to be honest10:11
Guest41gnome extensions doesn't work anymore and it won't remember open tabs when I restart it10:12
lotuspsychjethere's a current bug on those being worked on10:12
lotuspsychjeGuest41: bug #174107410: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/174107410:13
lotuspsychjeGuest41: can you pastebin systemd-analyze blame too plz10:15
Guest41lotuspsychje, https://termbin.com/nnvp10:19
=== tmroland_ is now known as tmroland
lotuspsychjeGuest41: looks like a long list to me, what about systemd-analyze critical-chain10:20
Guest41https://termbin.com/299v10:21
lotuspsychjethat looks good Guest41 timings not to bad10:23
lotuspsychjeGuest41: 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/202110:24
Guest41thank 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 anyway10:26
Guest41have a nice day!10:26
=== Mibixy is now known as Mibix
chris_99Hi, 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:41
cartdrigeif 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.10:44
ogralotuspsychje, 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 here11:19
=== lys is now known as rosalind
oerhekslotuspsychje, if that guest comes back, xps 13 9305 needs a bios update11:25
babarali cncxv,v.v11:34
babarali  xnd xv xc vnvvf f cxnbn bn,mn,.11:34
=== elastic_dog is now known as Guest279
lotuspsychjethank you ogra oerheks +111:55
arraybolt3How 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 I12:31
arraybolt3ran said script using nohup?12:31
lubuntuhdd has "no volumes" how to solve this in linux?12:41
tyklingwhy is there a timelimit on entering the password for console logins?12:42
tyklingI guarantee whoever implemented that never had to enter a long password over ipmi12:43
arraybolt3tykling: 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
lubuntusudo mkfs.vfat /dev/sda12:44
lubuntumkfs.fat 3.0.26 (2014-03-07)12:44
lubuntumkfs.vfat: Device partition expected, not making filesystem on entire device '/dev/sda' (use -I to override)12:44
arraybolt3lubuntu: Oh dear. Was there important data on this system?12:44
arraybolt3*on this drive, I mean?12:44
lubuntuNo12:44
tyklingarraybolt3: but if that is a threat model then the terminal should also auto logout users after 1 minute12:44
arraybolt3lubuntu: Ah, OK. The first step should be to partition it with parted or fdisk, then format the partition with mkfs.12:45
lubuntuarraybolt3: can you help12:45
lubuntu?12:45
arraybolt3lubuntu: Yep, that's what I'm trying to do.12:45
arraybolt3lubuntu: Are you 100% sure that /dev/sda is the device that you need to format?12:45
lubuntuarraybolt3: yes12:45
arraybolt3Alright, then start with "sudo parted /dev/sda".12:46
arraybolt3Now how big is this drive? Is it an external hard drive or a USB flash drive?12:46
oerhekstry sda112:46
lubuntuarraybolt3: sudo fdisk /dev/sda12:46
lubuntuDevice contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel12:46
lubuntuBuilding a new DOS disklabel with disk identifier 0x0cd406b1.12:46
lubuntuChanges will remain in memory only, until you decide to write them.12:46
lubuntuAfter that, of course, the previous content won't be recoverable.12:46
lubuntuWarning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)12:46
arraybolt3oerheks: We're partitioning right now, not formatting.12:46
arraybolt3lubuntu: 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
arraybolt3lubuntu: The mute should go away in about 60 seconds.12:47
arraybolt3Sorry about that.12:47
lubuntuarraybolt3: ok sorry for that12:47
arraybolt3lubuntu: No problem.12:48
arraybolt3lubuntu: OK, is this an HDD or a USB flash drive?12:48
arraybolt3(That will decide which command we run next.)12:48
lubuntuarraybolt3: an HDD12:48
arraybolt3Alright, run "mklabel gpt".12:48
arraybolt3Next, "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:49
lubuntuarraybolt3: see https://paste2.org/3xOPNmXc12:52
arraybolt3Oh that's weird. It looks like the partition table changes aren't sticking.12:53
arraybolt3Do you have some sort of write-protect feature on the HDD?12:53
lubuntuhmmm...dunno12:53
arraybolt3lubuntu: Hmm. Start with "sudo parted /dev/sda", that's the tool I usually use for partitioning.12:54
lubuntuarraybolt3: ok started that one12:56
arraybolt3Alright, let's do "mklabel gpt" next.12:56
lubuntuarrybolt3: ok done12:59
arraybolt3OK, next "mkpart". This command will ask you questions, share what questions it asks and I'll provide the responses.12:59
lubuntuarrybolt3: (parted) mkpart13:00
lubuntuWarning: /dev/sda contains GPT signatures, indicating that13:00
lubuntuit has a GPT table.  However, it does not have a valid fake13:00
lubuntumsdos partition table, as it should.  Perhaps it was13:00
lubuntucorrupted -- possibly by a program that doesn't understand13:00
lubuntuGPT partition tables.  Or perhaps you deleted the GPT table,13:00
arraybolt3lubuntu: Yeah that's bad. I think your HDD may be either write-protected or damaged.13:01
arraybolt3lubuntu: What happened to this HDD just before this started happening?13:03
lubuntuarraybolt3: well the boot manager was gone13:03
arraybolt3Right, but I mean, did you drop it/step on it/knock it over/otherwise cause physical shock to it?13:04
lubuntuarraybolt3: no not at all13:04
arraybolt3Weird. 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:05
arraybolt3*a badblocks test, I mean13:06
lubuntuarraybolt3: ok lets do a badblock test. should I say no to Is this a gpt partition table?13:06
arraybolt3Uh... well we just made a gpt partition table so I'd answer Yes.13:07
lubuntuarraybolt3:Yes/No? yes13:08
lubuntuError: Both the primary and backup GPT tables are corrupt.13:08
lubuntuTry making a fresh table, and using Parted's rescue feature13:08
lubuntuto recover partitions.13:08
arraybolt3If that dropped you back to a (parted) prompt, just run "quit".13:08
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:09
arraybolt3lubuntu: OK, one moment while I build the badblocks test line...13:10
arraybolt3er, test command...13:10
arraybolt3lubuntu: Alright, be very careful not to make typos with the next command:13:13
arraybolt3sudo badblocks -b 16384 -c 512 -e 1 -s -p 1 -t random -w /dev/sda13:13
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
arraybolt3For a breakdown of that miserably complicated line:13:14
arraybolt3sudo 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:15
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:16
arraybolt3Basically 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."13:17
BluesKajHi all14:05
joonevermind 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:10
lotuspsychjejoo: are you talking about firefox from the repos, or the firefox snap?14:13
joolotuspsychje: 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
leftyfbjoo: 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:13
jooi am runninng ubuntu 22.04, i installed it with apt-get install firefox14:14
leftyfbjoo: ( cat /etc/os-release ; apt-cache policy firefox ; snap info firefox ) | nc termbin.com 999914:14
joohttps://termbin.com/0ln814:16
cartdrigeyou can try to move the folder .mozilla to .mozilla-old and restart it maybe (configuration/cache folder)14:16
joocant restart firefox... no way to close it... tried activity list, killall and pressing force quit on the "firefox browser not responding popups"14:16
leftyfbjoo: firefox is installed by default. Why did you bother "installing" it from apt?14:17
jooleftyfb: 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
jooso it was already installed as a snap then14:17
leftyfbjoo: reboot, then run firefox from a terminal. When/if it "crashes", please pastebin the error message that shows in the terminal14:18
jooleftyfb: 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 helpful14:19
leftyfbjoo: 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 issue14:20
leftyfbno "wrapper"14:20
jooallright, so it cannot be killed ?14:20
leftyfbjoo: I bet if you run it in a terminal and it "crashes" , you'll be able to kill it just by hitting ctrl+c14:21
jooprobably, 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 days14:24
oerheksnormally i would purge and reinstall firefox. or do a memtest86 run, as you said it could be bad ram.14:26
oerheksalso, you have 106 installed, 107 is available.14:27
cartdrigeWhere can i find the extensions list of all known video file type on Ubuntu OS? like .avi .mpg etc14:28
cartdrigemime types, they name it i think.14:29
oerheksi think our wiki has no such list, this is just a part of all available https://wiki.documentfoundation.org/Media_Support/Linux/Video_Tests14:31
leftyfbcartdrige: /usr/share/applications/gnome-mimeapps.list14:33
oerheksoh nice, leftyfb .. that is after installing restricted extras ?14:33
leftyfbthere's also ~/.config/mimeapps.list for custom associations14:34
leftyfboerheks: I assume the latter is what gets updated14:34
cartdrigethank you oerheks, leftyfb.14:35
flafBonjour à 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 | flaf14:39
ubottuflaf: 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
flafoops... bad chan... Sorry.14:39
alocercouple 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:41
greenracerI'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:43
phonixgeistHey 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
phonixgeistany ideas what could it be?14:59
jhutchinsThe Roman Colluseum is still standing, and it's concrete is still sound.  Kauffman Stadium has deteriorated too far to save.15:16
jhutchinsSorry, wrong channel.15:17
jhutchins(Obviously)15:17
bittin_hello15:42
=== ubuntu is now known as Guest9948
ashafqPlease help: linux-oem-5.17-tools-5.17.0-1021 : Depends: linux-tools-common but it is not installed16:58
ashafqAnd when I run `sudo apt --fix-broken install` tries to remove linux-tools-common and install linux-tools-common (that is not a typo)16:59
mearvkYo17:00
mearvkAnyone an expert with Thunderbird17:00
mearvkI send some CashApp at you17:00
mearvkQuick and easy questin17:01
mearvk$2017:01
leftyfbmearvk: 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 it17:01
mearvkI got the 22.04 Ubuntu17:02
mearvkI got an email server17:02
mearvkIts POP and IMAP17:02
mearvkCourier17:02
mearvkThunderbird can't seem to do the pull cycle17:02
ashafqhttp://paste.debian.net/1260919/ here are the error logs17:03
leftyfbmearvk: pull cycle?17:03
ashafqOh yes, this is Ubuntu 22.0417:03
mearvkYeah to read the email17:03
mearvkIt sends email17:04
mearvkBut won't read the server for stored email17:04
leftyfbmearvk: did you try setting your "IMAP server directory" in the account settings?17:05
mearvkMaildir I think17:06
mearvkWhat is it17:06
leftyfbmearvk: it's whatever your server is configured fort17:06
leftyfbfor*17:06
ashafqnvm, 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-common17:07
=== nteodosi is now known as nteodosio
mearvkHmm17:13
mearvkStill no luck17:13
leftyfbmearvk: you should look through your courier imap logs.17:14
leftyfbmearvk: https://www.courier-mta.org/authlib/README.authdebug.html17:15
jhutchinsmearvk: You should seriously consider using a better email client.17:18
jhutchinsmearvk: Everything I know about Thunderbird comes from having to rescue people who lost access to their mail.17:20
leftyfbjhutchins: that's not helpful17:21
jhutchinsleftyfb: Suggesting a more functional client is indeed helpful.17:24
jhutchinsleftyfb: Since the mail is stored on the server, they should be able to read it with a functional app.17:24
jhutchinsEven alpine is a better choice.17:24
jhutchinsleftyfb: Isn't you who's always suggesting that people solve their problems by buying new hardware?17:24
leftyfbjhutchins: 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:26
jhutchinsSome people have problems, some people don't.17:28
jhutchinsThe only constant I've seen is Thunderbird.17:28
mearvkHmm17:31
mearvkCan you PM me hutchins17:31
leftyfbmearvk: 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 jhutchins17:32
mearvkSo no17:32
mearvkI'm looking for a informed person not a different software17:32
leftyfbmearvk: 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
leftyfbmearvk: did you look through your server logs?17:33
jhutchinsmearvk: I'm afraid that the solutions I've found have been as capricious as the errors.17:34
jhutchinsmearvk: To be fair, if the problems were consistent they'd be a lot easier to pin down and fix.17:34
mearvkI'm really sure the server is set up correctly17:34
mearvkHaha!17:34
jhutchinsA lot of distributions are defaulting the Evolution, which I think integrates well with the Gnome desktop.17:35
leftyfbmearvk: 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 having17:36
jhutchinsmearvk: 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:36
leftyfbjhutchins: mearvk has given no indication that this ever worked which would be the only way caching would come into play as a possible issue17:37
leftyfbunfortunately, I have to step away for about 30 minutes17:38
leftyfbmearvk: 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 location17:39
mearvkGreat17:42
mearvkI will check17:42
mearvkMy firewall isn't letting the SMTP server out18:24
mearvkI find18:24
mearvkUFW says the port is not blocked18:24
mearvkNow what?18:25
leftyfbmearvk: confgure your firewall the way you want?18:25
leftyfbmearvk: is it your "firewall" or is it your ISP blocking it? Most ISP's will block port 2518:25
diverdudehello19:07
diverdudeI 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:09
diverdudeanyone here_19:11
diverdude?19:11
akosshyes19:11
akosshDo you use some magic software, or how did you try?19:12
diverdudei just use the built in in network manager19:12
akosshso you need to create an access point, a dhcp server, enable IP routing, and NAT19:14
akosshI do not know, how many of these are handled by network manager19:14
akosshDoes your phone get an IP address?19:15
akosshIf yes, and you can ping the AP from the phone, then only IP routing and NAT are missing19:16
diverdudeakossh, 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:21
akosshYes, probably that is the easiest19:22
akosshOr you can use static IP addresses, if you can set it up on the phone as well19:22
akosshI never tried this from the networkmanager GUI19:23
akosshWhen I have to make a hotspot, I start the things separately19:23
akosshmy setup is hostapd + dnsmasq + iptables19:23
akosshAnd configuration from the command line.19:24
atcxcontrollerroute add <lan nic subnet> mask <lan subnet mask> <wan nic ip> ?19:24
akosshThis could work to enable IP routing: sudo sysctl -w net.ipv4.ip_forward=119:25
diverdudeakossh, 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
akosshFor NAT, I use these:19:26
akosshsudo iptables -P FORWARD ACCEPT19:26
akosshsudo iptables --table nat -A POSTROUTING -o NIC-TOWARDS-INTERNET -j MASQUERADE19:26
akosshdiverdude: for DHCP you have to bind it to your "hotspot" interface19:27
diverdudeok, i quickly tried: sudo sysctl -w net.ipv4.ip_forward=1   but network is still not being forwarded19:28
diverdudeakossh, ok, how do i set up the dhcp?19:29
akosshsudo dnsmasq -I lo -z -a <lan interface ip> -F <first ip to offer>,<last ip to offer>,<network mask>19:29
akosshI use this for dhcp server19:29
diverdudevery interesting19:30
diverdudelan interface ip <--- is this the ip which the AP will have?19:31
akosshdiverdude: yes19:32
akosshAnd that will be the default gateway on the phone, if it accepts it from dhcp19:32
diverdudecould 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.019:34
akosshFirst ip to offer should be different from the lan interface ip19:36
akosshOtherwise it is good19:36
diverdudeaha ok19:37
akosshBut you also have to set up the lan interface first to use static IP assignment with 192.168.10.1 / 2419:37
akosshthen you can start the dhcp server19:37
diverdudeso maybe like this: 192.168.10.1, 192.168.10.2,192.168.10.100, 255.255.255.019:38
akosshdiverdude: yes, that would work19:38
diverdudeOk, how do I set up the lan interface first to use static IP assignment with 192.168.10.1 / 24 ?19:38
akosshdiverdude: when you create your hotspot with networkmanager, there should be a tab for it in the GUI19:40
=== archivist958 is now known as levente
diverdudeakossh, hmm no. I can only set SSID and pwd19:42
akosshThen on the connection information page, you can check what address is used by the hotspot19:44
akosshSo if the DHCP server is not started by networkmanager, you can start your own19:45
akosshThe same page where it shows the QR code19:45
diverdudeakossh, i only have this available: https://ibb.co/wMYZQpV19:50
akosshI tried creating a hotspot using networkmanager now, it looks like it starts a DHCP server as well19:52
diverdudeohh19:53
diverdudehmm, how do you see that_19:53
diverdude?19:53
akosshMy phone successfully optained an IP address, so I guess, the DHCP server must work.19:53
diverdudeah right19:54
diverdudeso just the NAS needs doing19:54
akosshdiverdude: NAT, (possibly firewall), and enabling IP routing.19:55
akosshMight be some of those are also handled by networkmanager19:55
akosshfirst check  # cat /proc/sys/net/ipv4/ip_forward in the terminal19:56
akosshif it gives 1, then IPv4 routing is enabled19:56
diverdudecat /proc/sys/net/ipv4/ip_forward    returns 119:56
akosshI see some firewall rules are also added by nm in my case19:58
diverdudei have disabled firewall btw19:58
diverdudeto make it easier19:58
akosshbut nothing in the "nat" table19:59
diverdudehow do i see that_19:59
diverdude?19:59
akosshin my case: # iptables -t filter -L and # iptables -t nat -L are the 2 commands to list the contents of the filter and nat tables20:00
akosshBut might be it is different on ubuntu20:01
diverdudeiptables -t filter -L     gives this>  https://dpaste.org/66vHA20:02
diverdudeand iptables -t nat -L      https://dpaste.org/aDEfy20:03
diverdudewhat do you think_20:05
diverdude?20:05
diverdudeakossh, are you here?20:07
akosshdiverdude: yes20:09
akosshI did some experiments, only NAT is missing20:10
akosshIf I manually add the rule for NAT, it is working20:10
diverdudeakossh, ahh ok, awesome20:10
diverdudeso 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 MASQUERADE20:11
akosshYes, in my case these 2 are the only commands required, after creating the hotspot in networkmanager20:12
diverdudeok i will try that20:12
akosshdo not forget to replace the NIC-TOWARDS-INTERNET with your WAN interface20:12
diverdudeyeah20:13
akosshAnd keep in mind, that the first command sets the default policy for FORWARDING to ACCEPT20:13
akosshit will ACCEPT any routed traffic from any interface to any other interface20:13
diverdudei will shortly disconnect and reconnect20:14
akosshdiverdude: after adding the nat rule, your nat table should now have 2 lines with MASQUERADE target20:17
akossh1 was already there for docker20:17
diverdude1akossh, 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:18
akosshdiverdude1: not all NIC-s support AP mode, but most of them do20:19
akosshafter adding the nat rule, your nat table should now have 2 lines with MASQUERADE target20:19
akossh1 was already there for docker20:20
diverdude1akossh, but i have this one: https://www.alfa.com.tw/products/awus036ach?variant=36473965871176   shouldnt that be able to run as AP?20:21
akosshdiverdude1: try # iw list20:21
akosshand look for Supported interface modes20:22
diverdude1is that a CLI command for linux?20:22
akosshyes20:22
akosshit should list all the capabilities of all your wifi interfaces20:23
diverdude1dang, thats a long list: https://dpaste.org/nr9ph   What am I looking for there_20:24
diverdude1?20:24
akosshfrom line 2620:24
akosshand for the other one, from line 53220:25
diverdude1Both has AP20:26
diverdude1so shouldnt i be able to make AP from either_20:26
akosshThen both could be used20:26
diverdude1?20:26
diverdude1hmmm weird that i cannot make from my https://www.alfa.com.tw/products/awus036ach?variant=36473965871176   NIC then20:27
akosshYes, you can use either20:27
jhutchinsWEll, at least there aren't hardware limits.20:27
jhutchinsNext we need the drier to support it.20:27
diverdude1I found a forum where they recommended to use this driver, so thats what i have done: https://github.com/aircrack-ng/rtl8812au.git20:28
akosshdiverdude1: if the GUI only lets you choose one of them as AP, you can choose the other one to use as client.20:29
diverdude1and 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 internet20:29
jhutchinsdiverdude1: That's pretty easy, it's called split forwarding.  You route the local addresses directly and the internet through your gateway.20:30
diverdude1akossh, hmm but when i click "Turn on Wi-fi hotspot" then all i can enter is SSID and pwd.... i cannot select the NIC20:31
jhutchinsdiverdude1: Something that's often done on a VPN.20:31
jhutchinsdiverdude1: You may have to bypass the GUI.20:31
akosshdiverdude1: you can later edit the connection details20:31
diverdude1jhutchins, 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 AP20:31
akosshand after editing you can disable the AP and reenable it20:33
akosshJust the NM GUI is a little unintuitive20:33
diverdudesorry, got diconnected20:34
=== realivanjx8 is now known as realivanjx
akosshyou can reenable the saved AP configuration from the same place, where you can connect to a hidden network20:35
diverdudeakossh, but i rally only have these options: https://ibb.co/nrTZDNh20:37
akosshKnown Wi-Fi Network20:38
akosshThere you probably can edit your Hotspot20:39
akosshThen use the Connect to hidden network option to activate it20:40
akosshBut take it with a grain of salt, I have a bit different GUI, since I am not on Ubuntu right now.20:41
akosshI suspect, the Turn On Wi-Fi hotspot option always creates a new one.20:43
diverdudeakossh, arg...got disconnected again20:44
akosshdid you see what I wrote?20:44
diverdudeakossh, but no...my AP was not listed in the Known Wi-Fi Network list20:45
diverdudeakossh, no i think i missed it unfortunately20:45
akosshok, than it is diffenrent20:45
diverdudewhat is different20:45
akosshI have an older GUI, with more options, where I can edit20:45
diverdudeohhh sounds nice20:45
diverdudewhich GUI is that_20:46
diverdude?20:46
akosshhttps://i.stack.imgur.com/fIx60.png20:47
akosshit is similar to this, with more options if I select Hotspot from the "Mode" dropdown list20:48
diverdudei only have that for wired connection20:48
connermsg NickServ IDENTIFY conner20:51
akosshdiverdude: i have to go to sleep soon.20:52
akosshSo the gist is, that it looks to me, that everything is OK with the simple automatic setup except the NAT setup is missing.20:53
diverdudeakossh, yeah that part makes sense..... my only missing piece is that i cannot make AP with the NIC i want :/20:54
diverdudewhich is pretty weird20:56
diverdudeHello, can anyone help me understand why i cannot set up my AWUS036ACH NIC as AP in ubuntu 22.04?21:01
oerheksi bet the driver does not allow you to?21:05
rob0diverdude: the most common way to do an AP in Linux is with the mac80211 kernel driver and hostapd(8) software.21:17
rob0Check the hostapd documentation to see if your NIC is supported.21:18
diverduderob0, do you have a link where i can check?21:24
jpmhI 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:32
jpmhOK - 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 version21:40
rob0diverdude, it appears to be RTL8812AU, and this driver supports it: https://github.com/morrownr/8812au-2021062922:10
rob0Confusing document. It says it's hostapd-compatible but not supporting mac80211.22:11
rob0And it says Master mode works, "see FAQ", with no mention of Master mode in the FAQ.22:11
Jeremy31Did someone use rtl8812au-dkms?22:11
rob0^^ I didn't get there yet, but that could be a better driver22:12
jhutchinsJeremy31: I'm sure somebody did.  Are you trying to get a realtek interface to work?22:12
jhutchinsJeremy31: Nevermind, missed some scrollback.22:13
rob0diverdude, 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:16
=== trogloditas_ is now known as sinvet
Jeremy31This one is supposed to work https://github.com/aircrack-ng/rtl8812au22:24
=== trogloditas_ is now known as sinvet
=== kgiii_ is now known as kgiii
=== justache is now known as justGrit

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!