[00:55] <kiflalover> 1 or 2 cores on a vps? How much of a difference will it make?
[00:58] <leftyfb> kiflalover: I think you want #ubuntu-offtopic
[01:54] <ArtfulDodger> Hi! On my server, I can see "Timeout before authentication for XXX" entries in auth.log due to bots trying to login. If I understand well, this happens when the SSH client has not logged in successfully in a certain duration (which can be changed via LoginGraceTime). However password auth is disabled so an invlid pubkey immediately closes the SSH session. How do these bots manage to keep the session open until
[01:54] <ArtfulDodger> the timeout triggers?
[01:55] <rbox> ArtfulDodger: step 1 open connection step 2 get asked for key step 3 do nothing
[01:57] <sbraz> ArtfulDodger: yeah it's pretty annoying, i had to lower LoginGraceTime and increase the value of MaxStartups otherwise i'd run into "error: beginning MaxStartups throttling"
[01:57] <sbraz> and some of my legitimate connection attempts got dropped
[01:59] <ArtfulDodger> rbox, OK but why do they keep the session open if they're asked for a key and thus cannot test a random password to get a chance to login?
[01:59] <ArtfulDodger> SHouldn't they close the connection asap and test another target where password login is permitted?
[02:00] <rbox> who knwos what stupid things the bot is coded to do
[02:00] <sbraz> they just don't answer the authentication request i assume
[02:00] <rbox> ArtfulDodger: you're also assuming it can only do 1 t hing at a time
[02:01] <sbraz> it does say timeout *before* authentication
[02:02] <ArtfulDodger> sbraz, I'm pretty unaware about this. Does a "Timeout before auth...." for a client also affects connection attempts from other clients?
[02:04] <ArtfulDodger> rbox, yeah they can do many things at a time, but time is precious, while your CPU remains that connection open which a SSH server that does not accept password auth, it's not trying to connect on a server that does accept passwords...
[02:05] <rbox> having an idle connection does not require cpu time
[02:05] <sbraz> ArtfulDodger: it did in my case because i was receiving many different authentication attempts without fail2ban kicking in, like 10+ users/connection attempts within a second
[02:05] <sbraz> https://man7.org/linux/man-pages/man5/sshd_config.5.html see MaxStartups here
[02:06] <sbraz> if you don't see the "MaxStartups throttling" mesage in your logs, you're fine
[02:12] <ArtfulDodger> sbraz, no such message in the log *for the moment*
[02:12] <ArtfulDodger> Anyway when password auth is disabled, can we safely decrease *a lot* LoginGraceTime (say to 3 seconds). In 3 seconds most legitimate connections would have time to provide a valid key and login, even on from a shitty Internet connections, no?
[02:14] <morgan-dell2204> In the gui, can I ask it to search for a filename RECURSIVELY (that means into all the directories, right?
[02:16] <sbraz> ArtfulDodger: i'd start with 30 seconds or 10 maybe? are these bots really bothering you? do you have a fail2ban daemon running?
[02:19] <ksy> morgan-dell2204: maybe you could try to use AngrySearch
[02:19] <ArtfulDodger> sbraz, no I'm not that annoyed. I initially configured fail2ban using a tuto but apparently it does not trigger. Since I'm not often on site I'm afraid to make a mistake in the fail2ban config and to ban myself with no way to recover =)
[02:20] <rbox> i once set up port knocking to open the ssh port temporarily
[02:20] <rbox> is that still a thing?
[02:20] <rbox> lol
[02:22] <sbraz> ArtfulDodger: in /etc/fail2ban/jail.local add a [DEFAULT] section with ignoreip = <your ip> # and you'll never ban yourself
[02:27] <morgan-dell2204> ksy so no but there is something called angrysearch. Is that .. what is that and how do I get it? Activities doesnt know it. (Oh I would love to have a seat at the ubuntu user interface table.)
[02:27] <matsaman> search rage
[02:27] <morgan-dell2204> on the web or activities matsaman?
[02:28] <morgan-dell2204> answered my own question by trying it
[02:28] <ArtfulDodger> yes sbraz ... actually I am realizing that I had put my config into /etc/fail2ban/jail.d/custom.conf ... shoudl it be /etc/fail2ban/jail.local?
[02:29] <sbraz> yeah
[02:29] <morgan-dell2204> OK separate question: Is my "finder" "explorer" called nautilus -- How would I know that? Know for myself not "believing" someone.
[02:30] <rbox> morgan-dell2204: look at ps
[02:31] <morgan-dell2204> reading https://itsfoss.com/angrysearch/ --- oh rbox, I am assuming that;'s bash
[02:32] <morgan-dell2204> rbox, nope that's not going to find me "some file with the word directory (cast independent) in the filename".
[02:33] <matsaman> morgan-dell2204: 'xwininfo'
[02:33] <matsaman> unless you're using wayland and that doesn't work anymore, lawl
[02:33] <matsaman> ps aux | egrep -i 'files|nautilus'
[02:33] <matsaman> killall it, and if it disappears, that's what it was
[02:34] <rbox> you asked how to know if youa re using nautilius
[02:36] <wad> Hi guys. Once again, I'm trying to do weird things. My laptop is dual-boot: Windows 11 and Ubuntu 22.04. My home directory under Ubuntu is on an external 1TB USB SSD, in a LUKS-encrypted partition. Works great!
[02:37] <wad> What I'd like to do is figure out how to run get my wsl (under Windows 11) to be able to mount that same LUKS-encrypted partition.
[02:38] <wad> My question for you guys: Do you know of any channels where people play with wsl? Who might have some ideas? I've made some progress, but I would like some ideas.
[02:39] <rbox> step 1 dont use wsl step 3 profit
[02:40] <arraybolt3> wad: This sounds easy enough. Can you pass through the USB device to the WSL environment?
[02:40] <wad> Oh, I'm trying hard to not use wsl. Sadly, my employer requires that I run Rippling on my computer. That only runs under Windows.
[02:40] <arraybolt3> wad: If you can get it to show up under /dev, it should just be a matter of running cryptsetup just right and then mounting the directory to /mnt.
[02:40] <Bashing-om> !wsl | wad
[02:41] <arraybolt3> Bashing-om: He's trying to get a USB drive connected to a running WSL system so that he can unlock the LUKS partition and then mount it.
[02:41] <Bashing-om> wad: Ouch - we no longer have a dedicated WSL channel ?
[02:41] <wad> (I looked in #wsl, nobody there.)
[02:42] <arraybolt3> Ubuntu in WSL is an officially recognized form of Ubuntu so I think this is the right channel.
[02:42] <arraybolt3> wad: https://devblogs.microsoft.com/commandline/connecting-usb-devices-to-wsl/
[02:42] <wad> Okay, thanks for the confirmation. :) Oh, checking that link...
[02:42] <arraybolt3> wad: Oh holy smoke that looks complicated.
[02:42] <wad> I'm actually running hexchat inside of wsl right now.
[02:42] <sbraz> lol
[02:43] <arraybolt3> wad: Here's some more official looking documentation on the same thing:
[02:43] <arraybolt3> https://learn.microsoft.com/en-us/windows/wsl/connect-usb
[02:43] <wad> I know, I really hate windows. I'm having to setup my laptop to waste massive CPU cycles to run this massive wrapper around my tight little producive efficient linux. >_< So gross.
[02:43] <sbraz> does it waste that much cpu though?
[02:43] <sbraz> the performance is supposed to be good
[02:44] <wad> I'm used to bare-metal linux. Super spoiled.
[02:44] <wad> I did add a 32GB stick of RAM, so at least I'm not memory-starved.
[02:45]  * wad reads links
[02:45] <arraybolt3> wad: Please back up your drive before trying this USB/IP stunt. I've had USB devices connected over USB/IP just spontaneously disconnect, which would be bad for your data and filesystem.
[02:46] <wad> Good tip.
[02:46] <arraybolt3> (I used to use USB/IP to allow me to connect a mouse and keyboard over Ethernet, worked great except for the random disconnects.)
[02:46] <wad> I actually got this running a few weeks ago, by running Ubuntu under VirtualBox, and mounting the USB drive inside the Ubuntu VM, as my user's home directory.
[02:47] <arraybolt3> Is there a reason that stopped working?
[02:47] <wad> But running Ubuntu in VirtualBox SUCKED, it was so slow.
[02:47] <arraybolt3> Oh... you could run Ubuntu Server in VirtualBox instead?
[02:47] <arraybolt3> (Also did you give the VM more than one CPU core?)
[02:47] <wad> No matter what I did, I couldn't get networking to anything close to decent, and CPUs were just hoarked. So slow.
[02:47] <matsaman> Ubuntu desktop by default leans pretty hard on graphics acceleration
[02:47] <matsaman> can be tricky to get going in a guest
[02:47] <wad> Yeah, I have it 8 cores, the most that VirtualBox was wanting to let me give.
[02:47] <wad> s/have/gave/
[02:47] <arraybolt3> That's true. Maybe Lubuntu would have been more smooth inside there, or even Kubuntu.
[02:47] <matsaman> but also, virtualizing hardware is always going to make your experience worse
[02:48] <wad> Maybe. Just using Chrome was like slogging through honey.
[02:48] <wad> Yep.
[02:48] <matsaman> for any OS, worse
[02:48] <matsaman> VirtualBox is a toy most of the time
[02:48] <wad> I'm hoping I can get something useful going with a wsl setup.
[02:49] <matsaman> mmm, wouldn't bet on it
[02:49] <matsaman> why do you need two different OSes?
[02:49] <arraybolt3> This may be a really silly idea, but if you must run Windows software but prefer Linux, you *might* try running Ubuntu on your hardware and then putting Windows in a virt-manager VM.
[02:49] <matsaman> that is a good idea =)
[02:49] <arraybolt3> matsaman: Ubuntu user who's forced by their workplace to run Windows-only software.
[02:49] <wad> Hmm.
[02:50] <matsaman> mmm, if it's actually enforced? Sorry I would definitely recommend another job
[02:50] <matsaman> usually it's not enforced, IME
[02:50] <wad> The thing is, this is my employer's laptop. For compliance reasons, they it must be a "managed device".
[02:50] <arraybolt3> Oh shoot. Alright then nevermind.
[02:50]  * matsaman rolls eyes
[02:50] <matsaman> I guarantee you, your employer is not up to enforcing that
[02:50] <wad> They want to be able to make sure that Windows is running antivirus, and that they can remotely install updates, wipe the hard drive, lock me out, that sort of stuff.
[02:50] <matsaman> but if you're honorable, good for you
[02:51] <arraybolt3> (I saw a guy in here the other day trying to do forensic analysis on a laptop that an employee had installed Ubuntu on without permission. They worked for a bank.)
[02:51] <matsaman> never have been a fan of allowing other people to lock me out of an OS
[02:51] <matsaman> plus if it's not encrypted, it's not even possible
[02:51] <arraybolt3> (So some people can and do enforce this.)
[02:51] <matsaman> arraybolt3: because he gave the laptop to them =P
[02:51] <wad> They are required to install a rootkit on everyone's laptops. The rootkits don't work on linux, because Linux is actually a secure OS, and doesn't put up with that shit.
[02:51] <matsaman> it's really easy to take an image of a Windows or any other OS, and put it back before you get an audit
[02:52] <matsaman> but I s'pose it's also easy to just use another computer
[02:52] <matsaman> =P
[02:52] <arraybolt3> wad: If wsl doesn't work, I have some ideas for making VBox more bearable.
[02:53] <wad> What we actually need is a flavor of Ubuntu (or whatever distro) that allows for a superroot account, which is remotely accessed by the owner of the device, and not the user.
[02:53] <wad> Then stuff like Rippling can integrate with that Ubuntu distro, and employees can use Linux as their desktop environment.
[02:53] <matsaman> that would take moments to setup, but
[02:54] <wad> There is literally nothing that my company does that needs Windows, but all the engineers run it, because of this compliance requirement.
[02:54] <matsaman> again, if the system isn't encrypted, a person with physical access will basically always be able to gain access
[02:54] <matsaman> wad: mmm, that's pretty dumb
[02:54] <wad> True.
[02:54] <matsaman> that's how MS does it, though
[02:54] <matsaman> mostly through exchange
[02:54] <matsaman> oh you gotta use exchange
[02:54] <arraybolt3> matsaman: No guarantee that the laptop isn't encrypted though. A coworker of mine once had a laptop that his enterprise had encrypted.
[02:54] <matsaman> so you all gotta use outlook
[02:54] <wad> I believe that OSX has a superroot account.
[02:54] <matsaman> _only_ outlook
[02:55] <matsaman> arraybolt3: not unless you check, sure
[02:55] <matsaman> it _can be done_
[02:55] <wad> Of course, Microsoft is up to its monopolistic practices. Trying to get everyone on Windows.
[02:55] <matsaman> but I'd say roughly 0.0000001% of companies actually do it, instead relying on the honor system
[02:57] <knusbaum> Hey, everyone. I can't seem to find the impish repo anymore. I have an old server I need to update. I just get 404's Anyone know where the impish mirrors are these days?
[02:57] <wad> I've actually already done a bunch of this stuff with usbipd. But it's giving me weird errors.
[02:57] <arraybolt3> knusbaum: Impish is EOL, the proper solution would be to upgrade the server.
[02:57] <arraybolt3> !eolupgrades
[02:57] <arraybolt3> knusbaum: That being said, if you *must* regain access to the Impish repos, there is a way to do that. Just be aware that you won't get any security updates doing this.
[02:58] <arraybolt3> *doing this meaning continuing to use the Impish repos without upgrading
[02:58] <knusbaum> arraybolt3, Yes, I would like to upgrade, however it looks like it won't let me unless I'm fully upgraded?
[02:58] <arraybolt3> knusbaum: The EOLUpgrades page linked above should help you get around that. It will have you switch to the oldreleases repo so that you can upgrade.
[02:58] <knusbaum> # do-release-upgrade -> "Your Ubuntu release is not supported anymore\n\nPlease install all available updates for your release before upgrading."
[02:59] <knusbaum> arraybolt3, ahh, neat. Thanks.
[02:59] <knusbaum> That's exactly what I was looking for.
[03:00] <wad> Want to know something funny? So far the most annoying thing with Windows is that I can't move and resize windows with my mouse anymore. I have to find the exact pixel, and click and drag. So used to WIN+right-click, etc.
[03:00] <wad> I guess WIN+middle-click. My fingers know.
[03:01] <matsaman> think I lost my sense of humor about Windows a few decades ago
[03:02] <arraybolt3> I'm one of those funny people who really liked Windows Vista, 8, and 8.1, and thought 7 and 10 weren't all that awesome... I mean 7 was OK, but 10 was a disaster.
[03:02] <arraybolt3> I have yet to try 11...
[03:03] <wad> It's the same as 10.
[03:03] <wad> I use Windows for playing computer games. It's fine for that.
[03:03] <knusbaum> I've drawn the line at 10. I don't think I'll ever try 11.
[03:03] <wad> But for productive work.... I abandoned Windows in 2006.
[03:04] <knusbaum> And yeah, I've only used it for games since ~2012
[03:04] <matsaman> no subtle change in UI is going to make Windows usable
[03:04] <wad> Until you get a new computer for games, and new computers only come with 11..... lol
[03:05] <matsaman> well
[03:05] <matsaman> most new computers
[03:05] <matsaman> sold to consumers
[03:05] <matsaman> sure
[03:05] <matsaman> you don't usually really save money by buying a computer without Windows, though
[03:06] <wad> I've been building my own desktop systems since... uh... the early 1990s.
[03:06] <wad> No, since the late 1980s!
[03:06]  * wad <-------------------- old as dirt
[03:10] <knusbaum> I haven't bought a new computer for games in more than 10 years. I just keep replacing parts on the old one.
[03:10] <knusbaum> There's nothing left of the original.
[03:11] <matsaman> if I didn't live with people I would play no games =P
[03:11] <matsaman> which is too bad, because Hollow Knight was legitimately engrossing
[03:11] <matsaman> but that's one game
[03:12] <wad> Try the Dyson Sphere Program. It's in early access, but it's wickedly addicting.
[03:15] <wad> Hmm. So these instructions say to install a specific version of `linux-tools`. That seems odd. I usually want the latest version by default...
[03:15] <wad> sudo apt install linux-tools-5.4.0-77-generi
[03:16] <wad> Ah, this worked: apt install linux-tools-generic
[03:25] <cry0xen> arraybolt3 for me xp was the last windows version. it did its job with flying colors. 7 was okay. felt new and modern. could tweak here and there and it worked well. however 8, 8.1 10 11 these are not windows at all. I felt these OS are something given to the end users to prepare them a console like device which microsoft soon will bring forth
[03:27] <wad> Ha, yeah, I feel the same. It was like they were trying to merge tablet computing with desktop computing.
[03:27] <cry0xen> metro was just dreadful. I think the version S was the future microsoft envisioned for desktop however the failure led ms to believe the consumer wasnt ready yet
[03:28] <wad> Hey, I got my USB drive to be recognized under Ubuntu wsl! `lsusb` shows it. Nothing useful in `cat /proc/partitions` though.
[03:28] <wad> gparted doesn't show it either.
[03:30] <cry0xen> just installed this --->  https://www.paragon-software.com/home/ntfs-linux-professional/  who knows what i broke just now
[03:41] <wad> Hmm, I can see the USB drive in `lsusb`, but I don't see it in `cat /proc/partitions`, or `fdisk -l`. Any ideas on what might be missing?
[03:41] <wad> It's like I need to tell the kernel to rescan.
[03:41] <wad> Let me try exiting wsl.
[03:42] <wad> Oops, that will exit this chat client... brb
[03:47] <wad> Okay, I rebooted everything, and told Windows to attach the USB drive to Ubuntu under wsl, and I verify that it can see it with `lsusb`, but Ubuntu still doesn't see any partitions on it. I'm pretty sure they are there...
[03:49] <cry0xen> Nothing broke. i am safe. I am going to dual boot windows 10 and ubuntu. what will be the best file system for my 2tb  data storage drive? exFAT? NTFS? Btrfs? ext4?
[03:49] <wad> Oh, interesting! When I have the "Disk Management" open in Windows, and I tell usbipd to attach the drive to Ubuntu, it vanishes from "Disk Management". And when I detach it, it comes back. The partitions are there.... Linux just can't see them for some reason.
[03:49] <wad> cry0xen, I always suggest ext4.
[03:49] <wad> Oh, wait, you need to access it from Windows too?
[03:50] <cry0xen> yeah. i have ssd dedicated for os
[03:53] <wad> If it's only going to be used for Linux, ext4. Not sure what Windows likes best these days, though. Sorry, not very helpful.
[03:53] <cry0xen> i was reading about file system and more i read confused the more i became. exfat was open source by ms in 2019. so may be it works better and paragon gave ntfs driver which was added to 5.15 kernal ...
[03:54] <wad> I'm asking this in @windows, cry0xen .
[03:54] <cry0xen> btw wad if you are having trouble with disk management or partition on windows, use paragon or minitool
[03:55] <wad> Oh, I'll try them out, thanks!
[03:55] <cry0xen> i may help with few windows specific problems feel free to PM me
[03:56] <wad> Oh, those are for Windows.
[03:56] <wad> I'm trying to get a system to run wsl, and mount a USB drive. :)
[06:07] <arraybolt3> This may be a silly question, but Google is failing me here at least to begin with. If I RAID1 two drives together with mdadm, and one fails, can mdadm figure out which drive failed?
[06:07] <arraybolt3> The reason I ask is because I'm thinking of doing this setup, but from what I've read a RAID1 array is a perfect mirror. If one drive starts going bad, the other will have the right data, but I don't know if the system will be able to auto-detect which drive is bad.
[06:10] <arraybolt3> (Note that I'm assuming the drive failure isn't catastrophic like I/O errors or sudden disappearance, but silent data corruption. I've seen that happen before I think.)
[06:12] <arraybolt3> Gah, nevermind, found my answer. Nope, RAID1 won't work here.
[06:20] <cry0xen> Sorry to ask again... What will be the best file system for my 2TB data storage drive? exFAT? NTFS? ext4? Something else?
[06:20] <cry0xen> I need to dual boot win10 and ubuntu, the disk will not store any OS.
[06:21] <arraybolt3> cry0xen: Does this drive need to be accessible from Windows as well?
[06:22] <cry0xen> yes. both linux and windows. read as well as write permission
[06:23] <cry0xen> proprietary software :\
[06:24] <arraybolt3> OK, one moment...
[06:25] <arraybolt3> cry0xen: What version of Ubuntu are you using?
[06:25] <cry0xen> xubuntu 22.04
[06:25] <murmel> zfs is almost ready on windows :3
[06:26] <cry0xen> it read and write on ntfs but i think there may be a problem with application
[06:27] <Apachez> murmel: but not btrfs?
[06:27] <Apachez> and what happend to the "killer fs" reiserfs? ;)
[06:27] <murmel> Apachez: it's not a priority
[06:27] <arraybolt3> cry0xen: I'm leaning towards NTFS here, but I don't know how well it will perform.
[06:28] <arraybolt3> I'm pretty sure that Xubuntu 22.04 has in-kernel NTFS support, though.
[06:28] <arraybolt3> It might be tricky to repair an NTFS filesystem in the event of an unclean shutdown, unless you want to use Windows. So... hmm...
[06:28] <murmel> yeah ntfs is for now the best bet, just make sure to disable fast boot in windows
[06:29] <cry0xen> arraybolt can you check ntfs and deluge(flatpak) on your free time? like my deluge dont even show them now. before it didnot follow like "move download location" & "open download folder"
[06:30] <arraybolt3> cry0xen: Flatpak... that sounds like your problem. It's a containerization system kind of like Snap, and I bet you it's where the problem is.
[06:31] <arraybolt3> cry0xen: Can you access the NTFS disk from other software?
[06:31] <arraybolt3> (Without needing to be root?)
[06:31] <cry0xen> thunar work just fine
[06:32] <murmel> cry0xen: did you give it permission to access the drive?
[06:33] <cry0xen> gave permission to what. it worked fine from the start
[06:33] <Bashing-om> arraybolt3: We getting that repairability too : https://www.theregister.com/2022/11/01/linux_exfat_repair_drives/
[06:33] <arraybolt3> Bashing-om: That's exFAT, not NTFS :)
[06:34] <cry0xen> ntfs support only came from 2 place first tuxera 2006 and recently paragon
[06:34] <cry0xen> paragon patch was added to 5.15
[06:35] <murmel> yes, but the tools are still missing
[06:35] <arraybolt3> Yeah, the missing tools are the problem. I guess then I would lean towards exFAT instead. It probably won't have all of the ick of Windows permissions and whatnot mixed in with it.
[06:36] <cry0xen> that obvious. its still proprietary. both sources are reverse engineered the way to ntfs
[06:36] <murmel> what about the fuse driver, i mean it's not _that_ bad
[06:36] <cry0xen> exfat fuse?
[06:36] <murmel> ntfs
[06:37] <arraybolt3> murmel: The problem with the ntfs stuff is that, like you mention, the tools aren't there. There isn't a good "fsck.ntfs" that I know of, that would allow you to fix a messed-up NTFS partition without having to use a Windows chkdsk, which could be mighty annoying in some situations, and might not even be an option in the future if cry0xen stops using Windows.
[06:37] <cry0xen> oh u mean tuxera... ntfs-3g. paragon is still better
[06:38] <cry0xen> btw tuxera just released another version 6 days ago
[06:40] <cry0xen> i have been using linux for a month, first week was horrible however i am in love with it now. i want to go full blown lubuntu with partial tiling openbox however i am getting clusterf**k with windows software.
[06:42] <cry0xen> these were made specifically for my agency and theres no alternative options for them. even on mac.
[06:43] <murmel> arraybolt3: I agree, but even now ntfs is still the better fs in comparison to exfat :S (from the fs perspective, not tools)
[06:49] <cry0xen> another thing, what file system people generally use on linux desktop? not the os partition? for data and regular stuff... ext4?
[06:51] <murmel> cry0xen: in the debian/ubuntu world, most just use ext4
[06:54] <cry0xen> can windows read or write ext4?
[06:56] <murmel> cry0xen: you would need to pay for that
[06:57] <murmel> but no idea about the quality
[07:07] <alkisg> Meh Linux swapping is seriously broken. 6 of 16 GB RAM free, 4 of 8 GB swap in use. Why is it using swap when it has free memory?!
[07:07] <alkisg> And then a `swapoff -a` takes 15 minutes, with my PC lagging incredibly much during all that time.
[07:07] <alkisg> ==> question, I'm considering completely disabling swap. Has anyone tried it on the desktop? Should I expect random hangs?
[07:14] <murmel> alkisg: I run most of my desktops without swap, but at the same time, never had that issue. I assume you can first try to change the swappiness
[07:15] <lotuspsychj3> alkisg: maybe this can help a bit too; https://www.geeksforgeeks.org/how-to-permanently-disable-swap-in-linux/
[07:15] <lotuspsychj3> i think we also need seperate this case between spinners & ssd's
[07:16] <alkisg> lotuspsychj3: thanks, but disabling swap is the easy part, just commenting out an fstab entry,
[07:17] <alkisg> murmel: I'm thinking I shouldn't try to play with the knobs if the linux devs haven't managed to get reasonable defaults... I'll try completely without swap for a while
[07:17] <alkisg> Thanks, if anyone else has tried "without swap" and saw hangs and crashes, please tell me about it!
[07:18] <murmel> alkisg: well, everybody uses their system differently, that's why there is no good "default"
[07:19] <murmel> for example, every time I looked at swap, it was never used, but have a higher ram utilization than you ;)
[07:19] <alkisg> I think there's something fundamentaly broken there; pagecache shouldn't end up in swap and malloc() should be able to get from pagecache directly...
[07:20] <alkisg> I don't think playing a bit with the knobs will fix the underlying bugs
[07:22] <alkisg> I hope a few years later we'll be reading in phoronix "major bug with linux swap discovered and fixed after 20 years!" :D
[07:24] <lotuspsychj3> alkisg: a few threads around on this topic;https://askubuntu.com/questions/157793/why-is-swap-being-used-even-though-i-have-plenty-of-free-ram
[07:26] <alkisg> lotuspsychj3: I do not see anything in there that explains the question though
[07:29] <lotuspsychj3> alkisg: seems like the swapfaq has been updated on 2022 too; https://help.ubuntu.com/community/SwapFaq
[07:31] <alkisg> lotuspsychj3: thanks, I did spend around 50 hours in the past reading the kernel mailing lists on swap issues,
[07:31] <alkisg> let's wait to see if someone has feedback on my question, i.e. "did someone use their desktops without swaps, and saw hangs or not", as this will help me see what to expect from this change.
[07:34] <murmel> alkisg: I mean it really depends on how much ram you use at a time, hangs etc mostly happen when you run out of ram (without swap) as the kernel tries to free up some
[07:34] <murmel> but nowadays, with oomd, it should theoretically happen before you run out of ram
[07:37] <alkisg> murmel: I mean, I never had less than 6 GB free RAM, and I had all that lag; my problem wasn't OOM, it was "swapping without any reason at all", and "15 minutes to swapoff, with incredible lagging"
[07:38] <alkisg> I understand all the issues that related to actual out of memory conditions, but mine wasn't one, I had plenty of free ram. And it's easily reproducible by just moving hundends of GB around the disk; these fill up the page cache but don't actually fill up the RAM in use
[07:39] <alkisg> It's like some bug makes "cp" or "mv" use swap while they should never do that, pagecache shouldn't end up in swap, it should get dropped instead
[07:40] <alkisg> I'm certain we won't be able to solve that issue here, I was really only looking for "my experience without swap is... xxx"
[07:42] <cry0xen> arraybolt3: you were right. installed deluge using ppa and it works smooth as butter
[07:46] <murmel> alkisg: are we talking hdd or ssd?
[07:46] <murmel> cry0xen: so what was the issue?
[07:46] <alkisg> murmel: hdd. Sure it would be 10 times faster with ssd, but the problem would still be there...
[07:47] <alkisg> (i.e. I didn't want the disk swap to be used at all, so the device shouldn't matter...)
[08:29] <alkisg> Hmm, many pages on the net wrongly state that "swappiness=1 means minimal swapping", while it actually means "prefer to evict file backed mappings first, anonymous pages second": https://github.com/torvalds/linux/blob/master/mm/vmscan.c#L4935
[08:29] <alkisg> That does sound like what I want, let's see... :)
[08:55] <alkisg> Yup, amazing improvement, I can `unsquashfs 100gb` while updating a clearlinux VM and surf at the same time now! This knob worked fine! RAM: 11 GB in use out of 16 GB, swap: just 10 MB in use :)
[08:59] <Potffin> hi
[09:01] <poisone> hi
[10:21] <xx> alkisg: my experience without swap on a machine with 128GB RAM is that it's fine to completely remove all swap files and partitions
[10:21] <xx> *fine
[10:21] <alkisg> Thank you xx! :)
[11:27] <camille> hi
[12:48] <hedin> Hey, I have installed 22.10 on a asus tuf gaming x670e wifi am5 motherboard... I use the onboard wifi and it works fine, until I connect my bluetooth headset...
[12:48] <hedin> I have created a BZ on kernel.org on the issue, but I'm not completely sure if it's a kernel or ubuntu issue.
[12:48] <hedin> https://bugzilla.kernel.org/show_bug.cgi?id=216668
[12:49] -ubottu:#ubuntu- bugzilla.kernel.org bug 216668 in Other "MT7921K high latency when bluetooth headset is used" [Normal, New]
[12:50] <lotuspsychj3> hedin: if you experience it on ubuntu, best to file it via ubuntu-bug
[12:51] <lotuspsychj3> hedin: maybe pastebin the output after journalctl -f and connect your BT device when the errors arise, so volunteers can take a look for you
[12:54] <hedin> lotuspsychj3, thanks, I have updated the bz with sudo journalctl -f output
[12:58] <lotuspsychj3> hedin: you still got other kernel versions in your list to test?
[12:59] <hedin> I've tested on 5.19 and 6.0.1,3,5
[12:59] <lotuspsychj3> and you can reproduce on them?
[12:59] <hedin> the system does not boot on 5.15, proberbly because it's the new am5 platform... I'm not sure what the oldest kernel is, that I can boot
[13:00] <hedin> lotuspsychj3, correct
[13:00] <hedin> it's the same issue on all versions I've successfully booted on
[13:00] <lotuspsychj3> hedin: wich ubuntu release/kernel was the last you got your BT working?
[13:00] <hedin> the 5.19 was specifically 5.19.0-21-generic
[13:01] <hedin> BT works, but it introduces extreme latency on the wifi, I'm using the onboard for both
[13:01] <lotuspsychj3> i see
[13:02] <lotuspsychj3> hedin: could you share your full dmesg in a paste plz?
[13:02] <hedin> I only got ubuntu 22.10 to boot on the hardware (fedora etc. have too old install kernels)
[13:03] <lotuspsychj3> !paste
[13:03] <hedin> https://paste.centos.org/view/8d69be6b
[13:04] <hedin> arh... I can use dpaste next time
[13:05] <lotuspsychj3> !info linux-image-generic kinetic
[13:09] <lotuspsychj3> hedin: your dmesg pastes a lot of these, Bluetooth: hci0: SCO packet for unknown connection handle 3584
[13:10] <lotuspsychj3> hedin: what i would do, is boot back into your 22.10 default kernel, 5.19 and file a new bug with 'ubuntu-bug linux' then add your story there
[13:11] <lotuspsychj3> hedin: if indeed it turns out being a bug across several kernels, you can link the upstream bug to your ubuntu bug
[13:15] <lotuspsychj3> hedin: you might also want to check on bug #1975444 if its your case/reproducable
[13:15] -ubottu:#ubuntu- Bug 1975444 in linux (Ubuntu) "mt7921e wifi fails to resume after suspend" [Undecided, Incomplete] https://launchpad.net/bugs/1975444
[13:16] <hedin> I don't think it's the same bug, because my computer is a workstation and I have never used sleep/hypernation
[13:17] <lotuspsychj3> allrighty
[13:18] <BluesKaj> Hi all
[13:20] <lotuspsychj3> hedin: then i would advice to file a new bug described above, on kernel 5.19 ,not on 6
[13:24] <Jeremy31> Looks like the device isn't present in btusb source code,  New USB device found, idVendor=0e8d, idProduct=0608
[13:25] <lotuspsychj3> hedin: ^
[13:25] <Jeremy31> It might be covered under the generic Mediatek bluetooth entry if the flags are correct
[13:26] <Jeremy31> { USB_VENDOR_AND_INTERFACE_INFO(0x0e8d, 0xe0, 0x01, 0x01),
[13:44] <zanshin> alrjkfgnase o[;rigj q;or'gihw [p/2
[14:18] <nunya> I would like to be able to drag and drop from desktop to an open app like Firefox. How does one accomplish that in Ubuntu 22.04?
[14:18] <cosmic> hello. is it necessary download the dkms package of nvidia aldongside the drivers?
[14:20] <ravage> cosmic, no need to download anything manually. open "additional drivers" select the nvidia driver
[14:20] <lotuspsychje> nunya: drag and drop what exactly?
[14:21] <cosmic> yeah but after updating ubuntu i am automatically switched to wayland and nvidia is not working
[14:22] <nunya> lotuspsychje: any file, an html file for example. drag and drop from graphical desktop to an open app via ubuntu dock.
[14:22] <ravage> cosmic, so is your problem nvidia or wayland?
 i dont know with wayland the drivers are not working
[14:23] <cosmic> i have rtx3050 which supports optimus
[14:23] <ravage> cosmic, how did you check that? is the module loaded?
[14:24] <cosmic> yeah
[14:24] <nunya> Ubuntu 22.04, Wayland.
[14:24] <ravage> cosmic, what is the output of "nvidia-smi"
[14:24] <cosmic> 'nvidia-dkms-515', this is the package i had to install to make the driver work again but i dont now is this
[14:25] <cosmic> ravage, i am not in ubuntu right now
[14:26] <cosmic> i will be reinstalling it in a moment
[14:26] <ravage> ok
[14:26] <ravage> then please come back when you have a supported system running
[14:26] <cosmic> yeah
[14:26] <cosmic> it all happened after i update the system
[14:27] <cosmic> everything worked fine just before the first update after install
[14:27] <leftyfb> cosmic: reinstall ubuntu, if you continue to have problems, we'll be happy to help
[14:28] <cosmic> ravage, by the way what is this package nvidia-dkms-515?
[14:28] <ravage> cosmic, https://wiki.ubuntuusers.de/DKMS/
[14:28] <cosmic> i matched it and it the same version as the nvidia drivers are
[14:28] <ravage> oh sorry
[14:28] <ravage> https://help.ubuntu.com/community/DKMS
[14:29] <leftyfb> cosmic: apt-cache show nvidia-dkms-515  # will give you a description of the package
[14:29] <ravage> long story short: it rebuilds your nvidia kernel module after a kernel update
[14:29] <cosmic> also i forgot one more thing. the problem resolved if i select nouvou and then the recommended driver from the drivers menu.
[14:30] <leftyfb> cosmic: reinstall ubuntu, if you continue to have problems, we'll be happy to help
[14:30] <leftyfb> cosmic: there's no point in troubleshooting a system that doesn't exist
[14:30] <cosmic> yeah sure, i knew
[14:30] <cosmic>  i am downloading the image
[14:31] <puspa> hey
[14:31] <cosmic> it will take some time so thats why i am continue here and asked these questions so that i have already know a little bit after ubuntu being installed
[14:33] <nunya> puspa: Hey, do you have a question?
[14:36] <nunya> I just found that I can drag n drop a file into an open app if not fullscreen. This is not via the app's dock icon as I had wished though.
[14:40] <hedin> When I click "report a bug" I get this page: https://help.ubuntu.com/community/ReportingBugs which doesn't allow me to create a bug... please provide me a link where I can create a bug report
[14:40] <leftyfb> !bug | hedin
[14:41] <tomreyn> hedin: where did you click on "report a bug"?
[14:41] <hedin> what's the package name  for bluetooth being buggy ?
[14:41] <leftyfb> hedin: the link provided tells you how to file a big
[14:41] <hedin> https://bugs.launchpad.net/ubuntu
[14:42] <hedin> $ ubuntu-bug doesn't have "bluetooth" or "wifi" as an option
[14:42] <leftyfb> hedin: because neither of those are package names
[14:42] <tomreyn> hedin: basically, what leftyfb says. also, you can always report a bug from your ubuntu installation using: ubuntu-bug <source-package>
[14:42] <leftyfb> hedin: try gnome-bluetooth or bluez (depending if you have either of them installed)
[14:43] <hedin> I'm on 22.10
[14:45] <tomreyn> yes, running    ubuntu-bug bluetooth     on the affected system should work
[14:48] <hedin_> that was an alternative way of making a bz... :)
[14:48] <hedin_> https://bugs.launchpad.net/ubuntu/+bug/1995798
[14:48] -ubottu:#ubuntu- Launchpad bug 1995798 in Ubuntu "MT7921K high latency when bluetooth headset is used" [Undecided, New]
[14:55] <ravage> running an unsupported kernel will make the progress of this report difficult
[14:56] <ravage> but he is gone anyway
[15:10] <hedin> I updated the https://bugs.launchpad.net/ubuntu/+bug/1995798 with dmesg from latest ubuntu kernel
[15:11] -ubottu:#ubuntu- Launchpad bug 1995798 in Ubuntu "MT7921K high latency when bluetooth headset is used" [Undecided, New]
[15:31] <Jeremy31> hedin: I am not seeing any upstream commits for the MT7921 driver involving bluetooth coexistence
[15:34] <hedin> Jeremy31, okay, does that mean that it's wifi or bluetooth ?
[15:38] <Jeremy31> hedin: The coexistence coding is usually in the wifi module
[16:25] <hedin> Jeremy31, what's the best way to make awareness of this issue, to the appropiate develpoper(s) ?
[16:25] <leftyfb> hedin: you did it.
[16:26] <Jeremy31> You would likely need to file a bug for the newest upstream kernel @ https://bugzilla.kernel.org/
[16:27] <Jeremy31> And you already did that
[16:38] <hedin> Jeremy31, okay, thanks for the help :)
[16:38] <hedin> Jeremy31, can you add your findings to the kernel.org bz ?
[16:40] <Jeremy31> hedin: doesn't bother me, hopefully the Mediatek devs get involved.  I replaced one of those chips with an Intel because the wifi had limited TX power
[16:48] <alkisg> Is there a tool for storing and verifying SHA256SUMS in subfolders, so that I avoid writing a shell script that uses the sha256sum binary?
[16:52] <lubuntu> google
[16:56] <MonoL> I just tried to change my shell to fish
[16:56] <MonoL> I failed
[16:56] <MonoL> sudo chsh -s /usr/local/bin/fish
[16:56] <MonoL> chsh: Warning: /usr/local/bin/fish does not exist
[16:56] <MonoL> :(
[16:57] <MonoL> idk where I installed fish
[16:57] <AlexC> whereis fish
[16:57] <AlexC> will help
[16:57] <MonoL> fish: /usr/bin/fish /etc/fish /usr/share/fish /usr/share/man/man1/fish.1.gz
[16:57] <AlexC> thereyougo
[16:58] <MonoL> shall I just use /usr/bin/fish?
[16:58] <AlexC> yes
[16:58] <MonoL> coll
[16:58] <MonoL> cool
[16:58] <MonoL> chsh: PAM: Authentication failure
[16:59] <MonoL> :(
[16:59] <AlexC> man chsh
[16:59] <AlexC> :)
[16:59] <BrassPin88> don't give up, there's probably an easy solve hiding somewhere.
[17:00] <AlexC> you need to specify the user in the end
[17:00] <lorn1975> i think linux burned my speakers on my iMac2013
[17:00] <MonoL> oh#
[17:01] <MonoL> sudo chsh -s /usr/bin/fish #user?
[17:01] <AlexC> indeed
[17:01] <MonoL> space user?
[17:01] <MonoL> chsh: PAM: Authentication failure
[17:02] <MonoL> What the hell kind of password does it want
[17:02] <ioria> alkisg, not sure i get you, maybe something like 'nautilus-gtkhash ' ?
[17:04] <alkisg> ioria: yes but to save the results in files like the SHA256SUMS there: https://cdimage.ubuntu.com/ubuntu-mate/releases/20.04.5/release/
[17:04] <ioria> i see
[17:05] <MonoL> oh do I need to put my user in the file path
[17:05] <blackhawk> using wget in recursive mode, how can I use the cookies of my browser ?
[17:20] <MonoL> Is changing shell some kind of security concern?
[17:24] <xx> it shouldn't need sudo
[17:25] <xx> MonoL: if you're having trouble with these sorts of things, then fish is not really the shell for you yet
[17:30] <tomreyn> blackhawk: this will depend on the browser and possibly on the ubuntu version you're using.
[17:31] <jhutchins> MonoL: Perhaps mastering bash would be a good first step.
[17:39] <blackhawk> browser is chrome, os is ubuntu 20.04
[17:44] <tomreyn> blackhawk: there seem to be browser extensions which can create a cookies.txt file which can be used by wget, at least such extensions exist for firefox. maybe some exist for chrome as well? did you try a web search for any?
[17:56] <blackhawk> there is one such but i am afraid of chrome webstore extensions stealing confidential information
[17:59] <tomreyn> fortunately oyu're not using a proprietary web browser by the worlds leading online ad revenue company.
[18:01] <blackhawk> damn, never thought that, google IS essentially an ad bussiness. I am stupid to be using chrome !
[18:01] <MonoL> I dont think I'll ever master bash
[18:01] <MonoL> There's just to much to it
[18:02] <MonoL> I just wanted to try fish for the lols
[18:02] <MonoL> Doesn't matter I suppose
[18:02] <MonoL> Bash is cool
[18:10] <olle> Urgh, why can't I edit the google doc now...
[18:11] <olle> Can add pic, but can't add text ><
[18:13] <olle> oh related to my spoof software that deals with disney+, works fine when disabled
[18:45] <Non-ICE> why is ubuntu giving me such a hard time running my python scripts?
[18:46] <kostkon> !details
[18:54] <Non-ICE> -bash: ./irc_brain_bot.py: /usr/bin/python3^M: bad interpreter: No such file or directory
[18:54] <xx> that ^M makes me think it has windows-style line endings
[18:55] <mrkubax10> try using dos2unix
[18:55] <tomreyn> and the /usr/bin/python3^M interpreter really won't exist
[18:56] <tomreyn> fromdos ./irc_brain_bot.py && ./irc_brain_bot.py
[19:10] <Non-ICE> thx guys that was it, windows carriage reeturns
[20:02] <lorn1975> something has to be done about current audio driver on Ubuntu it ruined my iMac 2013 speakers
[20:03] <rbox> lorn1975: we'll get right on it!
[20:04] <lorn1975> please do!
[20:04] <lorn1975> it is not funny i have no audio now
[20:04] <rbox> its quite hilarious actually
[20:04] <lorn1975> You think?
[20:05] <rbox> yes, you saying that is the stupidest thing i have ever heard... therefore... quite funny
[20:05] <lorn1975> if your hardware break in Ubuntu would that be hilarious
[20:06] <lorn1975> i already reinstalled the driver went backward to Foca Fossa Ubuntu from Jelly Fish no audio
[20:06] <rob0> well, it's not in the intended spirit of this channel to laugh at anyone in distress
[20:06] <rbox> what "driver" did you "reinstall"?
[20:07] <lorn1975> i was talking to people here they suggested i reinstall the driver i dont remember which but that did not help
[20:07] <rob0> I think it's unlikely that a Linux device driver ruined speakers.
[20:08] <lorn1975> what happens when system boots up i hear the audio but its not external its somewhere inside the computer not outside
[20:08] <lorn1975> after it boots no audio at all
[20:09] <lorn1975> that happened after using Ubuntu on my iMac 2013 and listening to Youtube for about a month
[20:09] <lorn1975> then i did the update and no audio
[20:10] <lorn1975> i thought its due to update so i installed Foca Fossa (went backwards from Jelly) still no audio
[20:12] <rob0> do you dual boot the imac into the original OS?
[20:13] <lorn1975> no
[20:13] <lorn1975> i installed Ubuntu as Standalone
[20:13] <Non-ICE> why are you suing a 9 year old puter?
[20:13] <Non-ICE> using*
[20:13] <lorn1975> it was cheap to buy
[20:14] <lorn1975> i bought it brand new for 380$ about 2 month ago
[20:14] <Non-ICE> jk, im still on my 2009 X58 Xeon 5690 OC 4GHz 6 cores
[20:15] <lorn1975> and obviously MacOS Monterey runs real slow on iMac 2013
[20:16] <jhutchins> lorn1975: It sounds like your on-board speaker is working, but not your audio system.
[20:16] <jhutchins> lorn1975: Do you get actual audio, or just beeps?
[20:16] <lorn1975> no beeps
[20:16] <lorn1975> just at boot up i hear audio somewhere inside but it doesnt come out
[20:17] <lorn1975> no beeps nothing and then Youtube has no audio at all
[20:17] <jhutchins> lorn1975: You said you were getting sound that was "not external".  What kind of sound?
[20:18] <lorn1975> Ubuntu boot up sound
[20:18] <lorn1975> but its somewhere deep inside the computer
[20:18] <lorn1975> like a music
[20:19] <jhutchins> Ok, that's your on-board speaker.
[20:19] <jhutchins> 1) add yourself to the 'audio' group (log out & in again)  2) unmute and raise channels w/ alsamixer (also try muting
[20:19] <jhutchins>              some & toggle jack sense if available)  3) <pulseaudio> or other daemon stopped?  4) speakers on?  5) does "aplay
[20:19] <jhutchins>              /usr/share/sounds/alsa/Noise.wav" work for root?  6) purge any installed <oss4> packages to remove ALSA blacklist.
[20:20] <lorn1975> jhutchins please be more slower than that
[20:20] <lorn1975> what is the first step
[20:21] <lorn1975> how do i add myself to the audio group
[20:22] <alkisg> murmel, lotuspsychje, the bestest solution I've found for my pagecache issues was to prefix all my cp/rsync etc commands with nocache: https://manpages.ubuntu.com/nocache
[20:22] <alkisg> Now I'm able to copy huge directories without any lags at all in the desktop programs
[20:22] <lorn1975> jhutchins
[20:23] <jhutchins> lorn1975: Start by opening a console and runnig the "groups" command.  See if it lists "audio".
[20:26] <lorn1975> how do i unmute in alsamixer what is the key
[20:27] <rbox> i mean... it says "F1:  Help"... and then in there it clearly says...
[20:27] <n9nu> M
[20:27] <n9nu> m sri
[20:27] <jhutchins> lorn1975: alsamixer is a console program.  Open a console and run alsamixer.  Look around, follow the help prompts.
[20:28] <lorn1975> n9nu thank you
[20:28] <n9nu> yup yup
[20:29] <n9nu> ALSA - Another Lame Sound App
[20:29] <n9nu> j/k - heh  i use it a lot
[20:29] <jhutchins> n9nu: A sound app older than reliable GUIs on Linux.
[20:29] <n9nu> LOL
[20:29] <n9nu> remember open sound
[20:30] <lorn1975> i hear the audio at boot up but its very quite its somewhere far
[20:30] <n9nu> OSS
[20:30] <jhutchins> That's the oss listed above.  Actually still in development, pulseaudio owes a lot to it.
[20:30] <n9nu> thats true yeah
[20:30] <jhutchins> lorn1975: Again, that's the on-board speaker.
[20:31] <jhutchins> lorn1975: Any idea what audio chipset you might have ?  sudo lspci?
[20:31] <n9nu> oh those cmall cylinders
[20:32] <n9nu> either Intel or Nvidia  :)
[20:32] <n9nu> a wid guess
[20:32] <n9nu> wild
[20:33] <lorn1975> Audi device Interl Corporation 7 Series/C216 Chipset Famioly High definition Audo controller rev 04
[20:33] <lorn1975> i have audio
[20:33] <lorn1975> LOL
[20:33] <lorn1975> i have audio
[20:33] <n9nu> a desktop eh
[20:33] <lorn1975> i have audio
[20:34] <lorn1975> i have audio
[20:34] <lorn1975> Youtube working
[20:34] <lorn1975> i unmuted in alsamixer
[20:34] <lorn1975> i have audio
[20:34] <lorn1975> Youtube working
[20:34] <lorn1975> LOL
[20:34] <n9nu> oh dear....nvidia open-source-driver is working!!!! holy crap
[20:34] <lorn1975> thanks everyone
[20:35] <BlueSmoke> is this a good pace to get help with non booting Ubuntu drive
[20:35] <jhutchins> BlueSmoke: As good as any.
[20:35] <jhutchins> BlueSmoke: What did you try to do?  How did you try to do it?  What did you expect to happen?  What happened instead?
[20:36] <n9nu> windows dual boot?
[20:36] <BlueSmoke> can you plz scroll up I posted info
[20:36] <BlueSmoke> just ubuntu ext4
[20:37] <n9nu> filesystem issue?
[20:37] <n9nu> grub issue?
[20:37] <n9nu> can u run a usb key with the distro on it to repair?
[20:38] <BlueSmoke> i made a bootable stick
[20:38] <n9nu> ok....this the first attempt to install?
[20:39] <BlueSmoke> I posted what I did so far but its scrolled up
[20:39] <n9nu> oh....
[20:39] <n9nu>  14:29:47 --> BlueSmoke (~BlueSmoke@2a00:23c6:9820:9901:dc6b:f094:9a67:3ded) has joined #ubuntu
[20:39] <n9nu> thats all i got
[20:39] <n9nu> and afterer
[20:39] <BlueSmoke> before that
[20:40] <n9nu> ah ok..so  u got dumped earlier
[20:40] <n9nu> ok
[20:40] <BlueSmoke> I wasnt sure if it kicked me for posting to much or if it was inactive
[20:41] <n9nu> dunno...its not in my past history
[20:41] <BlueSmoke> ok maybe it didnt post i'll try again
[20:41] <n9nu> ii only allow x amt of logging
[20:41] <tomreyn> !irclogs
[20:42] <BlueSmoke> Hi I was using Ubuntu 20.04 my browser made the systenm go unresposive, under load while testing some used ram,
[20:42] <BlueSmoke> I had to reboot, on reboot, I got error: unknown filesystem.
[20:42] <BlueSmoke> Entering rescue mode...
[20:42] <BlueSmoke> grub rescue>
[20:43] <BlueSmoke> error: unknown filesystem.
[20:43] <BlueSmoke> Entering rescue mode...
[20:43] <BlueSmoke> grub rescue> ls
[20:43] <BlueSmoke> (hd0) (hd0,msdos5) (hd0,msdos1)
[20:43] <BlueSmoke> grub rescue> ls (hd0,msdos1)
[20:43] <BlueSmoke> (hd0,msdos1): Filesystem is unknown
[20:43] <tomreyn> !paste | BlueSmoke
[20:43] <n9nu> oh...testing bum memory perhaps
[20:44] <n9nu> sounds like that memory didnt agree with ur mobo
[20:44] <jhutchins> BlueSmoke: I would say your test successfully detected failed RAM.
[20:45] <tomreyn> broken ram can lead to broken file system
[20:45] <n9nu> yeah...yank it out and run memtest+ from usb stick
[20:45] <BlueSmoke> https://dpaste.com/FYNRECV7R
[20:45] <n9nu> or cd/etc
[20:45] <BlueSmoke> it didnt send made me do this
[20:46] <n9nu> reseat it then memtest
[20:46] <n9nu> DDR4?
[20:47] <n9nu> im outside chicago - i can lend ya whatever ya need lol
[20:47] <BlueSmoke> i'M  back on my original ram now and only worried aabout getting the data back
[20:47] <n9nu> well  fsck
[20:48] <tomreyn> that's where your backups will be useful
[20:48] <n9nu> file system check
[20:48] <n9nu> i always partition my m2 into 3 partitions
[20:48] <n9nu> one for /backup and another for /archive
[20:49] <n9nu> in addition to the other linux parts
[20:49] <BlueSmoke> I was stupid have a prt backu p from couple of moths ago but need the newly added stuff
[20:49] <n9nu> ok...lemme give u a link
[20:50] <BlueSmoke> even if I coud mount it some how nd read it or try to fix it somehow
[20:51] <tomreyn> just fixing the file system *may* work. but there is a chance that data in files is no longer correct, either.
[20:51] <BlueSmoke> it might be the browser logging might of trashed some stuff
[20:51] <n9nu> i have a image that will diagnose your entire systemm
[20:51] <n9nu> just for linux
[20:51] <n9nu> partitions and all
[20:52] <n9nu> ok
[20:52] <n9nu> its called '
[20:52] <n9nu> file:///media/n9nu/Ventoy/boot-repair-disk-64bit.iso
[20:52] <n9nu> oops lo
[20:53] <n9nu> boot-repair-disk
[20:53] <n9nu> google it
[20:53] <BlueSmoke> I think I saw that today was it yanna or somthing
[20:53] <tomreyn> BlueSmoke: your best option is probably to boot off an ubuntu installation / live usb (same or higher version than the installed ubuntu), and to run a file system check against all the file systems on your internal disk from there.
[20:53] <n9nu> ubuntu based even
[20:54] <n9nu> http://www.ubuntu.com/getubuntu/releasenotes?os=lubuntu&ver=18.04.4&lang=${LANG}
[20:55] <MonoL> Anyone know the shortcut for the menu in the bottom left corner?
[20:55] <BlueSmoke> I wanted to see if there was any way to mount it or try ro read it before letting anything try to fix it in case it trashes it
[20:55] <n9nu> windows key
[20:55] <BlueSmoke> I saw somthing about mounting it read only and loopbacks but never done it
[20:55] <MonoL> The show applications dots in the bottom left corner?
[20:55] <n9nu> no this will NOT
[20:56] <MonoL> The windows key doesn't take me to the app draw view
[20:56] <MonoL> That's like select desktop mode or something
[20:56] <n9nu> u shoud be able to hit the Windows key to bring it up
[20:57] <n9nu> oh
[20:57] <n9nu> u want the menu to show?
[20:58] <tomreyn> BlueSmoke: you'll still need a bootable system that's compatible to your installed ubuntu release to do so.
[20:59] <MonoL> Yeah I think I just worked it out
[20:59] <MonoL> hold the windows key and press a
[20:59] <n9nu> where u in window config momde
[21:00] <n9nu> ah ok
[21:00] <BlueSmoke> yes I made a ubuntu 20.04  usb stick
[21:00] <n9nu> i shouldnt assume everyone runs plasma
[21:00] <tomreyn> MonoL: correct, it's super+a
[21:01] <n9nu> good....boot with that and choose advanced/expert moe
[21:01] <MonoL> And just worked out if i hold the windows key and alt then the arrows change desktop left and right
[21:01] <MonoL> Today is a good day
[21:01] <n9nu> yeah the default keys
[21:01] <BlueSmoke> when it boots it has try ubuntu and loads up the desktop
[21:02] <n9nu> you dont have to format the partitions you have your DATA on
[21:02] <tomreyn> MonoL: https://help.ubuntu.com/22.10/ubuntu-help/shell-keyboard-shortcuts.html.en
[21:02] <MonoL> Wish I could swipe up on my screen with my finger to go to show applications
[21:02] <n9nu> u can
[21:03] <n9nu> if u set it up
[21:03] <MonoL> I don't have a touch screen :(
[21:03] <n9nu> oh wait...there i go agn....ur prob not using plasma
[21:03] <n9nu> well then  lol
[21:04] <n9nu> u can touch it....justt wont do anything eh
[21:04] <tomreyn> BlueSmoke: good you can now open a terminal window (ctrl-alt-t) and then either try mounting the file system read-only or dump a copy of it to a file or run a file system check on it
[21:04] <MonoL> thanks tomreyn! Bookmarked!
[21:05] <n9nu> yeah if its locked with a desktop open
[21:05] <MonoL> Can I change my default terminal to cool retro term?
[21:05] <tomreyn> BlueSmoke: first of all you'll want to find out how to refer to the installed disk and partitions (from this system you're running now). the lsblk command may help there.
[21:05] <n9nu> Ya got CTRL+ALT+F1-6
[21:06] <n9nu> sure....what desktop?
[21:06] <n9nu> gnome?
[21:06] <n9nu> i never used it
[21:06] <n9nu> heh...my bad
[21:06] <BlueSmoke> hi
[21:07] <artem> Привет
[21:07] <BlueSmoke> I put info in the sujested past thing  https://dpaste.com/BJKAKYFCJ
[21:07] <tomreyn> !ru | artem
[21:07] <n9nu> u have a 2nd PC with linux up and running BlueSmoke]\
[21:08] <n9nu> advice to ALL (we heard it a zillion times): Backup, backup and backup
[21:09] <n9nu> store in diff places
[21:09] <n9nu> use 8" floppy disks too
[21:10] <n9nu> https://ualinux.com/en/ubuntu-rescuepack
[21:11] <n9nu> https://www.linuxandubuntu.com/home/top-5-linux-system-rescue-cds
[21:11] <tomreyn> n9nu: please don't dump random links in here.
[21:11] <BlueSmoke> I can change the drive and reeboot it not a second at he moment
[21:11] <n9nu> no...rescue cd's
[21:12] <n9nu> iages
[21:12] <n9nu> images
[21:13] <tomreyn> BlueSmoke: unless you want to create an image of the installed disk you won't need another drive, the usb stick i assumer you booted from should suffice to try to repair your installation.
[21:13] <n9nu> Ultimate Boot CD allows u to test each individual component
[21:13] <n9nu> agreed
[21:13] <Liowenex> Use Ubuntu Live CD
[21:13] <Liowenex> Add persistence space
[21:14] <Liowenex> Then install the tools you need.
[21:14] <tomreyn> that's also not needed for a one-time recovery.
[21:15] <BlueSmoke> ive got this 18.04 im on now and the dive is plugged in  but I also made a 20.04 the same verson on usb ets tiy tru ubuntu
[21:15] <n9nu> use what u have installed
[21:15] <n9nu> on ur drive
[21:16] <BlueSmoke> I'm on a real install of 18.04 now
[21:17] <n9nu> use the 18.04 usb key
[21:17] <tomreyn> BlueSmoke: the broken ubuntu installation is which ubuntu version?
[21:17] <BlueSmoke> but just made the 20.04 usb but not sure how to make it persistant or do I have to install i t to another stick from there
[21:18] <n9nu> its 18.04 tomreyn
[21:18] <BlueSmoke> no 18.04 is a properinstall on hdd
[21:18] <n9nu> yes
[21:18] <n9nu> is that the messed up one?
[21:19] <BlueSmoke> the usb I just burned is the 20.04
[21:19] <tomreyn> BlueSmoke: can you answer my question, though?
[21:19] <n9nu> 18.04 = on hard drive
[21:19] <BlueSmoke> the messed up drive is in as plugged in too
[21:19] <n9nu> 22.04 = on usb?
[21:19] <n9nu> ok
[21:20] <BlueSmoke> yes 18.04 im using how as a working system
[21:20] <BlueSmoke> not 22.04 20.04
[21:20] <n9nu> i recommend removing the 22.04 usb key as u dont have that version installed
[21:20] <tomreyn> i only see different version numbers listed without context, can't follow. good luck.
[21:20] <BlueSmoke> same thats on the mseed up drive
[21:21] <n9nu> download (if u can)  an older 18.04 image to send to usb key
[21:21] <n9nu> and usse that
[21:23] <n9nu> using an oem version that is newer than what tu have on there (the drive) to use as a rescue disc could lead to overwriting things
[21:23] <BlueSmoke> ok the system that messed up was 20.04 ssd  Im now using a hdd proper install 18.04   and downloaded and burned burned a 20.04 to usb in case I need to use that
[21:24] <n9nu> so...its either a generic/dediicated rescue image or the same oem ubuntu image 18.04
[21:24] <n9nu> oh...so we have it reversed
[21:24] <n9nu> 20.04 = messeed up
[21:25] <n9nu> hdd = 18.04
[21:25] <n9nu> both in pc
[21:25] <BlueSmoke> yes
[21:25] <n9nu> so 18.04 is in live mode at present?
[21:26] <n9nu> as in ur in the desktop
[21:26] <BlueSmoke> yes full nomal install I'm using now
[21:26] <BlueSmoke> 18.04
[21:26] <n9nu> ok..now this is more clear
[21:27] <n9nu> u can use the 18.04 to do some basic file system checks
[21:27] <BlueSmoke> as I had this already working I plugged this in when the other 20.04 messed up
[21:27] <n9nu> and partition checks with 'gparted'
[21:27] <n9nu> understood
[21:28] <n9nu> both 18 & 22 have same diagnostic tools
[21:28] <BlueSmoke> did you read this ? https://dpaste.com/BJKAKYFCJ
[21:28] <MonoL> my cool retro term died
[21:28] <n9nu> lemme look
[21:29] <BlueSmoke> its a list of what it say for the messed up 20.04
[21:29] <arraybolt3> BlueSmoke: Looks like that filesystem needs an fsck.
[21:29] <n9nu> i see
[21:29] <n9nu> win 95 eh
[21:30] <BlueSmoke> duno what the w95 is
[21:30] <arraybolt3> BlueSmoke: So how far are you into fixing this?
[21:31] <n9nu> u need to unmount the suspected bad fie system b4 using fsck
[21:31] <arraybolt3> BlueSmoke: Do you already have a live USB on you?
[21:31] <BlueSmoke> not far tried a few thins if you read the d paste
[21:32] <n9nu> he has 2 drives one w/ 22.4 (messed uP) and good install of 18.04 on other drive
[21:32] <BlueSmoke> I tried to mout it  and use loop somthing but wasnt sure how it all worked was hoping to try to read it of back it up befor doing anything that could write to it and mess it up more
[21:33] <arraybolt3> BlueSmoke: OK, stop. You don't need to use loop devices or anything. This should be simple and easy. Just boot into 18.04, and do not mount the 20.04 disk.
[21:33] <n9nu> this command as root: fsck /dev/sdxx  will check the sdxx drive
[21:33] <BlueSmoke> no 20.04 messed up
[21:34] <BlueSmoke> thats how I am now in the 19.04 talk to you and the 20.04 messed up drive is connected
[21:34] <arraybolt3> BlueSmoke: OK, so you are booted into 18.04 already?
[21:34] <BlueSmoke> 18.04*
[21:35] <BlueSmoke> yes
[21:35] <n9nu> yeah...with 22.04 on his 2nd drive
[21:35] <BlueSmoke> I havnt got 22.04
[21:35] <arraybolt3> BlueSmoke: OK. We should proceed carefully, a damaged drive is a dangerous thing to work with. Please do not run any commands unless you are specifically told to, otherwise you may damage your data beyond repair.
[21:35] <arraybolt3> (Don't worry, I read the dpaste, I knew what you guys meant.)
[21:35] <BlueSmoke> only messed up 20.04
[21:35] <BlueSmoke> and 20.04 on usb stick if needed
[21:36] <BlueSmoke> and using 18.04 now
[21:36] <n9nu> good boy
[21:36] <arraybolt3> BlueSmoke: OK, can you please run the following command and paste the link it spits out into the chat: "lsblk -f | nc termbin.com 9999"
[21:37] <BlueSmoke> thats why I wanted to try what I can befor just letting thing blidly try to fix it
[21:37] <arraybolt3> BlueSmoke: We will try to get a backup first. Just start with that command above, that will help me see the drives in your system.
[21:37] <arraybolt3> (That way I can give accurate advice rather than just taking blind guesses.)
[21:38] <n9nu> ur drives will look like:  /dev/sda, dev/sdb,, etc
[21:39] <n9nu> if they are not nvme \
[21:43] <BlueSmoke> the drive I have in the system now that messed up is a dd cone on the real one
[21:44] <n9nu> a dd clone?
[21:44] <arraybolt3> BlueSmoke: Very good.
[21:44] <BlueSmoke> yes
[21:45] <BlueSmoke> but its an ssd so dont want top hit it too many times with a dd
[21:45] <arraybolt3> BlueSmoke: OK can you do "df -BM | nc termbin.com 9999" or similar so I can figure out what I'm looking at? The output from lsblk was mostly helpful but a bit confusing.
[21:45] <n9nu> gotta love direct dump
[21:45] <arraybolt3> (That will show me mounted drive sizes.)
[21:45] <morgan-dell2204> My camera works in messenger but not in cheese. In 20.04 it worked on all. What can I do to fix this??
[21:46] <arraybolt3> morgan-dell2204: On 22.04? I think there's a known bug in Cheese in Ubuntu 22.04.
[21:46] <n9nu> there is...consult the 04 dox
[21:47] <morgan-dell2204> can I put the old one back? Is there another utility I can use to take a photo ir video from my webcam using ubuntu?
[21:47] <morgan-dell2204> thanks n9nu
[21:47] <n9nu> oh yeah...another app? u bet
[21:48] <n9nu> want some filenames
[21:49] <n9nu> OBS Studio, Webcamoid
[21:51] <n9nu> i should say i use debian, however, ubuntu is directly from debian and has same apps
[21:51] <n9nu> 98%
[21:51] <BlueSmoke>   oh one comes up with a extended partition I think
[21:52] <arraybolt3> BlueSmoke: OK I think I figured out which partition is the main 20.04 partition. It looks unmounted, so I think the next command to run would be "fsck /dev/sda5".
[21:52] <n9nu> :)
[21:52] <arraybolt3> (The extended partition is, I believe, normal. I've seen Ubuntu automatically install itself into an extended partition before.)
[21:53] <arraybolt3> BlueSmoke: (You might need "sudo" in front of that last command, like "sudo fsck /dev/sda5".)
[21:54] <n9nu> he have tune2fs ?
[21:54] <arraybolt3> n9nu: I think tune2fs is likely useless and possible detrimental in this scenario.
[21:55] <n9nu> cpy
[21:55] <arraybolt3> *possibly, gah I can't spell sometimes
[21:55] <n9nu> heh
[21:55] <n9nu> long day here
[21:55] <n9nu> fsck should auto run too at boot attempt
[21:56] <n9nu> if it gets that far
[21:58] <tomreyn> morgan-dell2204: check the settings in cheese - it's possible that you may need to re-selct the correct webcam. also, you could try logging out and logging into the 'Ubuntu on Xorg' session, where cheese may still work fine. another pplication which can access and record fro the webcam is vlc. if you want to debug this further, you'll need to look into how to get "video for linux" (V4L) working with wayland and your very camera model on Ubuntu
[21:58] <tomreyn> 22.04.
[21:58] <n9nu> if its just the / partition thats messed up and his other parts okay, then why not just upgrade and not format those parts
[21:59] <arraybolt3> n9nu: It looks like the 20.04 drive has all of the data on /.
[21:59] <n9nu> doh
[21:59] <arraybolt3> (I see other data partitions on the other drive but those aren't guaranteed to have all of this data.)
[22:00] <n9nu> gotchya...
[22:00] <tomreyn> morgan-dell2204: correction: "v4l2", not "v4l". see also the v4l2-ctl commands on https://linuxconfig.org/how-to-test-webcam-on-ubuntu-22-04-jammy-jellyfish
[22:00] <arraybolt3> Most Ubuntu installations put everything on /, it makes things a lot easier in some ways, and ext4 is *usually* resistant against faults. This happens to be one of the times it wasn't so resistant...
[22:00] <n9nu> i always part mine x 2 in addition to the required parts
[22:01] <n9nu> yeah...bummer...i miss the 1996 Linux days lol
[22:07] <BlueSmoke> brb if I can get back here on the 20.04 usb
[22:10] <n9nu> is it just me or is every freaking d/l mirror for everything hosed
[22:10] <arraybolt3> n9nu: Ubuntu mirrors?
[22:10] <arraybolt3> For me us.archive.ubuntu.com is working well.
[22:10] <n9nu> 2.5Gbit FTTH and all i can pull is 20MB/s
[22:10] <n9nu> neg
[22:11] <n9nu> lemme reset the ol ont
[22:11] <arraybolt3> n9nu: Is that the speed of your Internet subscription or your network adapter?
[22:11] <arraybolt3> You probably already know this, but a fast adapter won't do much with a slow subscription.
[22:11] <n9nu> i have 10gbit NIC's
[22:11] <n9nu> connection is 2.5
[22:11] <arraybolt3> Oh wow.
[22:11] <n9nu> oh i know lol
[22:12] <n9nu> i work at FermiLAB
[22:12] <n9nu> but am at home
[22:12] <arraybolt3> Lots of people use the mirrors, maybe everyone's doing an update right now.
[22:12] <n9nu> lets see a spedtest
[22:12] <n9nu> hmm
[22:14] <n9nu> https://www.speedtest.net/result/13905236689
[22:14] <n9nu> depressing
[22:15] <arraybolt3> n9nu: Spoiled. I get 16 MBit/s on a good day, sometimes 32 MBit/s.
[22:15] <arraybolt3> :P
[22:15] <n9nu> oh my
[22:16] <n9nu> wait....u in US?
[22:16] <arraybolt3> Yep.
[22:16] <n9nu> i am spoiled.....arnt I
[22:16] <n9nu> lol
[22:16] <n9nu> u should see wHat i can pull in at fnal
[22:16] <n9nu> omg x 100000000
[22:17] <arraybolt3> Well I live out in the middle of the woods with a 4G hotspot as my connection. But this is getting offtopic.
[22:17] <n9nu> yeah..;oh ok nnow i get it
[22:23] <n9nu> souceforge is one that needs a major pipe replacement
[22:36] <n9nu> @scistar86 @metronetfiber my internet is very slow in Northern Illinois. Is there an issue? Download speeds at only 55 KB/sec.
[22:36] <n9nu> LOL oh dear
[22:39] <Jeremy31> n9nu: please join #ubuntu-discuss or #ubuntu-offtopic
[22:39] <n9nu> my bad jeremy
[22:42] <BlueSmoke> Hi I'm back
[22:43] <n9nu> working?
[22:44] <BlueSmoke> I'm on the dd copy of 20.04 messed up drive now
[22:44] <BlueSmoke> thanks for the suportand help
[22:45] <BlueSmoke> what happened to the other guy
[22:45] <n9nu> glad ya got things working
[22:45] <arraybolt3> BlueSmoke: Here I am!
[22:45] <n9nu> prob relaxing
[22:45] <n9nu> lol
[22:45] <arraybolt3> BlueSmoke: Everything working right?
[22:45] <BlueSmoke> me too I'll do a resyc after this
[22:46] <n9nu> clonezilla too
[22:46] <n9nu> remember the ol Norton Ghost
[22:46] <BlueSmoke> yes the fsck did it long list of trasshed stuff curupted superbloks and everything
[22:47] <arraybolt3> Ugh. How much data were you able to rescue?
[22:47] <BlueSmoke> I saw somthing called foxclone any idea if its ok or any good ?
[22:47] <arraybolt3> No clue.
[22:48] <oerheks> for trouble drives, ddrescue
[22:48] <arraybolt3> +1 ^^
[22:48] <BlueSmoke> well its all come back up it seemes dunno what might be chopped up lol
[22:49] <n9nu> clonezilla, ddrescue gparted-live - excellent
[22:49] <BlueSmoke> I saw ddrescue but I have used dd before so I went with that as there was no physical problem
[22:49] <arraybolt3> That seems good! Maybe it actually fixed everything then. I would verify that the data is good, then copy the files directly to a reliable drive and then install Ubuntu 20.04 from scratch, restoring your data afterwards.
[22:49] <arraybolt3> (Then keep that backup for later in case anything else goes bad, and keep your data regularly backed up!)
[22:50] <n9nu> and place a copy off site
[22:50] <n9nu> multiple if u really care
[22:51] <BlueSmoke> oh I should see what it says now
[22:52] <BlueSmoke> would of it of checked sda1 as well once it done the fix
[22:54] <BlueSmoke> sda      8:0    0 232.9G  0 disk
[22:54] <BlueSmoke> ├─sda1   8:1    0   512M  0 part /boot/efi
[22:54] <BlueSmoke> ├─sda2   8:2    0     1K  0 part
[22:54] <BlueSmoke> └─sda5   8:5    0 232.4G  0 part /
[22:54] <BlueSmoke> thats different
[22:55] <tomreyn> !paste | BlueSmoke
[23:05] <MonoL> I can't find the back tick on my keyboard
[23:05] <MonoL> :(
[23:08] <rbox> MonoL: and how does that make you feel?
[23:11] <MonoL> '`ike I wanna cry
[23:11] <Jeremy31> backtick isn't Shift + 1?
[23:13] <MonoL> !
[23:13] <MonoL> ¬
[23:13] <MonoL> ! == shift+1
[23:13] <MonoL> ¬ == shift+esc
[23:19] <rdr> hello i am on ubuntu 8.04 and found a bug
[23:20] <arraybolt3> rdr: 8.04? Like actualy 8.04, or 18.04?
[23:21] <rdr> yes 8.04, i need help making a time machine to get back to 2008 to save our timeline
[23:21] <rdr> lol sorry just a joke, hope everyone is doing good
[23:21] <rdr> is there an ubuntu chat channel?
[23:22] <ravage> !chat
[23:22] <rdr> thanks ravage
[23:37] <morgan-dell2204> tomreyn,  thanks for the info. Will check later.
[23:42] <MonoL> Oh did I trigger the bot somehow?
[23:42] <MonoL> ubottu pm'd me lel