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

kiflalover1 or 2 cores on a vps? How much of a difference will it make?00:55
leftyfbkiflalover: I think you want #ubuntu-offtopic00:58
ArtfulDodgerHi! 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 until01:54
ArtfulDodgerthe timeout triggers?01:54
rboxArtfulDodger: step 1 open connection step 2 get asked for key step 3 do nothing01:55
sbrazArtfulDodger: 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
sbrazand some of my legitimate connection attempts got dropped01:57
ArtfulDodgerrbox, 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
ArtfulDodgerSHouldn't they close the connection asap and test another target where password login is permitted?01:59
rboxwho knwos what stupid things the bot is coded to do02:00
sbrazthey just don't answer the authentication request i assume02:00
rboxArtfulDodger: you're also assuming it can only do 1 t hing at a time02:00
sbrazit does say timeout *before* authentication02:01
ArtfulDodgersbraz, I'm pretty unaware about this. Does a "Timeout before auth...." for a client also affects connection attempts from other clients?02:02
ArtfulDodgerrbox, 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:04
rboxhaving an idle connection does not require cpu time02:05
sbrazArtfulDodger: it did in my case because i was receiving many different authentication attempts without fail2ban kicking in, like 10+ users/connection attempts within a second02:05
=== scoobydoo_ is now known as scoobydoo
sbrazhttps://man7.org/linux/man-pages/man5/sshd_config.5.html see MaxStartups here02:05
sbrazif you don't see the "MaxStartups throttling" mesage in your logs, you're fine02:06
ArtfulDodgersbraz, no such message in the log *for the moment*02:12
ArtfulDodgerAnyway 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:12
=== morgan-u2 is now known as morgan-dell2204
morgan-dell2204In the gui, can I ask it to search for a filename RECURSIVELY (that means into all the directories, right?02:14
sbrazArtfulDodger: i'd start with 30 seconds or 10 maybe? are these bots really bothering you? do you have a fail2ban daemon running?02:16
ksymorgan-dell2204: maybe you could try to use AngrySearch02:19
ArtfulDodgersbraz, 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:19
rboxi once set up port knocking to open the ssh port temporarily02:20
rboxis that still a thing?02:20
rboxlol02:20
sbrazArtfulDodger: in /etc/fail2ban/jail.local add a [DEFAULT] section with ignoreip = <your ip> # and you'll never ban yourself02:22
morgan-dell2204ksy 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
matsamansearch rage02:27
morgan-dell2204on the web or activities matsaman?02:27
morgan-dell2204answered my own question by trying it02:28
ArtfulDodgeryes 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:28
sbrazyeah02:29
morgan-dell2204OK separate question: Is my "finder" "explorer" called nautilus -- How would I know that? Know for myself not "believing" someone.02:29
rboxmorgan-dell2204: look at ps02:30
morgan-dell2204reading https://itsfoss.com/angrysearch/ --- oh rbox, I am assuming that;'s bash02:31
morgan-dell2204rbox, nope that's not going to find me "some file with the word directory (cast independent) in the filename".02:32
matsamanmorgan-dell2204: 'xwininfo'02:33
matsamanunless you're using wayland and that doesn't work anymore, lawl02:33
matsamanps aux | egrep -i 'files|nautilus'02:33
matsamankillall it, and if it disappears, that's what it was02:33
rboxyou asked how to know if youa re using nautilius02:34
wadHi 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:36
wadWhat 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:37
wadMy 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:38
rboxstep 1 dont use wsl step 3 profit02:39
arraybolt3wad: This sounds easy enough. Can you pass through the USB device to the WSL environment?02:40
wadOh, 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
arraybolt3wad: 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 | wad02:40
ubottuwad: Windows 10 and newer have a feature called "Windows Subsystem for Linux", which allows it to run Ubuntu (and other Linux distro) userspace programs without porting/recompliation. For installation instructions, see https://msdn.microsoft.com/en-us/commandline/wsl/install_guide02:40
arraybolt3Bashing-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-omwad: Ouch - we no longer have a dedicated WSL channel ?02:41
wad(I looked in #wsl, nobody there.)02:41
arraybolt3Ubuntu in WSL is an officially recognized form of Ubuntu so I think this is the right channel.02:42
arraybolt3wad: https://devblogs.microsoft.com/commandline/connecting-usb-devices-to-wsl/02:42
wadOkay, thanks for the confirmation. :) Oh, checking that link...02:42
arraybolt3wad: Oh holy smoke that looks complicated.02:42
wadI'm actually running hexchat inside of wsl right now.02:42
sbrazlol02:42
arraybolt3wad: Here's some more official looking documentation on the same thing:02:43
arraybolt3https://learn.microsoft.com/en-us/windows/wsl/connect-usb02:43
wadI 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
sbrazdoes it waste that much cpu though?02:43
sbrazthe performance is supposed to be good02:43
wadI'm used to bare-metal linux. Super spoiled.02:44
wadI did add a 32GB stick of RAM, so at least I'm not memory-starved.02:44
* wad reads links02:45
arraybolt3wad: 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:45
wadGood 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
wadI 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:46
arraybolt3Is there a reason that stopped working?02:47
wadBut running Ubuntu in VirtualBox SUCKED, it was so slow.02:47
arraybolt3Oh... you could run Ubuntu Server in VirtualBox instead?02:47
arraybolt3(Also did you give the VM more than one CPU core?)02:47
wadNo matter what I did, I couldn't get networking to anything close to decent, and CPUs were just hoarked. So slow.02:47
matsamanUbuntu desktop by default leans pretty hard on graphics acceleration02:47
matsamancan be tricky to get going in a guest02:47
wadYeah, I have it 8 cores, the most that VirtualBox was wanting to let me give.02:47
wads/have/gave/02:47
arraybolt3That's true. Maybe Lubuntu would have been more smooth inside there, or even Kubuntu.02:47
matsamanbut also, virtualizing hardware is always going to make your experience worse02:47
wadMaybe. Just using Chrome was like slogging through honey.02:48
wadYep.02:48
matsamanfor any OS, worse02:48
matsamanVirtualBox is a toy most of the time02:48
wadI'm hoping I can get something useful going with a wsl setup.02:48
matsamanmmm, wouldn't bet on it02:49
matsamanwhy do you need two different OSes?02:49
arraybolt3This 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
matsamanthat is a good idea =)02:49
arraybolt3matsaman: Ubuntu user who's forced by their workplace to run Windows-only software.02:49
wadHmm.02:49
matsamanmmm, if it's actually enforced? Sorry I would definitely recommend another job02:50
matsamanusually it's not enforced, IME02:50
wadThe thing is, this is my employer's laptop. For compliance reasons, they it must be a "managed device".02:50
arraybolt3Oh shoot. Alright then nevermind.02:50
* matsaman rolls eyes02:50
matsamanI guarantee you, your employer is not up to enforcing that02:50
wadThey 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
matsamanbut if you're honorable, good for you02:50
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
matsamannever have been a fan of allowing other people to lock me out of an OS02:51
matsamanplus if it's not encrypted, it's not even possible02:51
arraybolt3(So some people can and do enforce this.)02:51
matsamanarraybolt3: because he gave the laptop to them =P02:51
wadThey 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
matsamanit's really easy to take an image of a Windows or any other OS, and put it back before you get an audit02:51
matsamanbut I s'pose it's also easy to just use another computer02:52
matsaman=P02:52
arraybolt3wad: If wsl doesn't work, I have some ideas for making VBox more bearable.02:52
wadWhat 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
wadThen stuff like Rippling can integrate with that Ubuntu distro, and employees can use Linux as their desktop environment.02:53
matsamanthat would take moments to setup, but02:53
wadThere is literally nothing that my company does that needs Windows, but all the engineers run it, because of this compliance requirement.02:54
matsamanagain, if the system isn't encrypted, a person with physical access will basically always be able to gain access02:54
matsamanwad: mmm, that's pretty dumb02:54
wadTrue.02:54
matsamanthat's how MS does it, though02:54
matsamanmostly through exchange02:54
matsamanoh you gotta use exchange02:54
arraybolt3matsaman: No guarantee that the laptop isn't encrypted though. A coworker of mine once had a laptop that his enterprise had encrypted.02:54
matsamanso you all gotta use outlook02:54
wadI believe that OSX has a superroot account.02:54
matsaman_only_ outlook02:54
matsamanarraybolt3: not unless you check, sure02:55
matsamanit _can be done_02:55
wadOf course, Microsoft is up to its monopolistic practices. Trying to get everyone on Windows.02:55
matsamanbut I'd say roughly 0.0000001% of companies actually do it, instead relying on the honor system02:55
knusbaumHey, 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
wadI've actually already done a bunch of this stuff with usbipd. But it's giving me weird errors.02:57
arraybolt3knusbaum: Impish is EOL, the proper solution would be to upgrade the server.02:57
arraybolt3!eolupgrades02:57
ubottuEnd-Of-Life is when security updates and support for an Ubuntu release stop. Make sure to update Ubuntu before it goes EOL so you get updates promptly for newly-discovered security vulnerabilities. See https://help.ubuntu.com/community/EOL and https://wiki.ubuntu.com/Releases for more info. Looking to upgrade from an EOL release? See https://help.ubuntu.com/community/EOLUpgrades02:57
arraybolt3knusbaum: 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:57
arraybolt3*doing this meaning continuing to use the Impish repos without upgrading02:58
knusbaumarraybolt3, Yes, I would like to upgrade, however it looks like it won't let me unless I'm fully upgraded?02:58
arraybolt3knusbaum: 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:58
knusbaumarraybolt3, ahh, neat. Thanks.02:59
knusbaumThat's exactly what I was looking for.02:59
wadWant 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
wadI guess WIN+middle-click. My fingers know.03:00
matsamanthink I lost my sense of humor about Windows a few decades ago03:01
arraybolt3I'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
arraybolt3I have yet to try 11...03:02
wadIt's the same as 10.03:03
wadI use Windows for playing computer games. It's fine for that.03:03
knusbaumI've drawn the line at 10. I don't think I'll ever try 11.03:03
wadBut for productive work.... I abandoned Windows in 2006.03:03
knusbaumAnd yeah, I've only used it for games since ~201203:04
matsamanno subtle change in UI is going to make Windows usable03:04
wadUntil you get a new computer for games, and new computers only come with 11..... lol03:04
matsamanwell03:05
matsamanmost new computers03:05
matsamansold to consumers03:05
matsamansure03:05
matsamanyou don't usually really save money by buying a computer without Windows, though03:05
wadI've been building my own desktop systems since... uh... the early 1990s.03:06
wadNo, since the late 1980s!03:06
* wad <-------------------- old as dirt03:06
knusbaumI haven't bought a new computer for games in more than 10 years. I just keep replacing parts on the old one.03:10
knusbaumThere's nothing left of the original.03:10
matsamanif I didn't live with people I would play no games =P03:11
matsamanwhich is too bad, because Hollow Knight was legitimately engrossing03:11
matsamanbut that's one game03:11
wadTry the Dyson Sphere Program. It's in early access, but it's wickedly addicting.03:12
wadHmm. 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
wadsudo apt install linux-tools-5.4.0-77-generi03:15
wadAh, this worked: apt install linux-tools-generic03:16
cry0xenarraybolt3 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 forth03:25
wadHa, yeah, I feel the same. It was like they were trying to merge tablet computing with desktop computing.03:27
cry0xenmetro 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 yet03:27
wadHey, I got my USB drive to be recognized under Ubuntu wsl! `lsusb` shows it. Nothing useful in `cat /proc/partitions` though.03:28
wadgparted doesn't show it either.03:28
cry0xenjust installed this --->  https://www.paragon-software.com/home/ntfs-linux-professional/  who knows what i broke just now03:30
wadHmm, 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
wadIt's like I need to tell the kernel to rescan.03:41
wadLet me try exiting wsl.03:41
wadOops, that will exit this chat client... brb03:42
wadOkay, 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:47
cry0xenNothing 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
wadOh, 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
wadcry0xen, I always suggest ext4.03:49
wadOh, wait, you need to access it from Windows too?03:49
cry0xenyeah. i have ssd dedicated for os03:50
wadIf 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
cry0xeni 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:53
wadI'm asking this in @windows, cry0xen .03:54
cry0xenbtw wad if you are having trouble with disk management or partition on windows, use paragon or minitool03:54
wadOh, I'll try them out, thanks!03:55
cry0xeni may help with few windows specific problems feel free to PM me03:55
wadOh, those are for Windows.03:56
wadI'm trying to get a system to run wsl, and mount a USB drive. :)03:56
=== toolz is now known as Guest1951
=== Bocaneri is now known as Guest8611
=== BT is now known as Guest1845
=== not_phunyguy is now known as phunyguy
=== dtg01101 is now known as dtg01100
=== dza6 is now known as dza
arraybolt3This 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
=== fmirkes_ is now known as fmirkes
arraybolt3The 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:07
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:10
arraybolt3Gah, nevermind, found my answer. Nope, RAID1 won't work here.06:12
=== Abrax- is now known as Abrax
cry0xenSorry to ask again... What will be the best file system for my 2TB data storage drive? exFAT? NTFS? ext4? Something else?06:20
cry0xenI need to dual boot win10 and ubuntu, the disk will not store any OS.06:20
arraybolt3cry0xen: Does this drive need to be accessible from Windows as well?06:21
cry0xenyes. both linux and windows. read as well as write permission06:22
cry0xenproprietary software :\06:23
arraybolt3OK, one moment...06:24
arraybolt3cry0xen: What version of Ubuntu are you using?06:25
cry0xenxubuntu 22.0406:25
murmelzfs is almost ready on windows :306:25
cry0xenit read and write on ntfs but i think there may be a problem with application06:26
Apachezmurmel: but not btrfs?06:27
Apachezand what happend to the "killer fs" reiserfs? ;)06:27
murmelApachez: it's not a priority06:27
arraybolt3cry0xen: I'm leaning towards NTFS here, but I don't know how well it will perform.06:27
arraybolt3I'm pretty sure that Xubuntu 22.04 has in-kernel NTFS support, though.06:28
arraybolt3It 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
murmelyeah ntfs is for now the best bet, just make sure to disable fast boot in windows06:28
cry0xenarraybolt 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:29
arraybolt3cry0xen: 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:30
arraybolt3cry0xen: Can you access the NTFS disk from other software?06:31
arraybolt3(Without needing to be root?)06:31
cry0xenthunar work just fine06:31
murmelcry0xen: did you give it permission to access the drive?06:32
cry0xengave permission to what. it worked fine from the start06:33
Bashing-omarraybolt3: We getting that repairability too : https://www.theregister.com/2022/11/01/linux_exfat_repair_drives/06:33
arraybolt3Bashing-om: That's exFAT, not NTFS :)06:33
cry0xenntfs support only came from 2 place first tuxera 2006 and recently paragon06:34
cry0xenparagon patch was added to 5.1506:34
murmelyes, but the tools are still missing06:35
arraybolt3Yeah, 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:35
cry0xenthat obvious. its still proprietary. both sources are reverse engineered the way to ntfs06:36
murmelwhat about the fuse driver, i mean it's not _that_ bad06:36
cry0xenexfat fuse?06:36
murmelntfs06:36
=== ydnar is now known as Randy_
arraybolt3murmel: 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
cry0xenoh u mean tuxera... ntfs-3g. paragon is still better06:37
cry0xenbtw tuxera just released another version 6 days ago06:38
cry0xeni 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:40
cry0xenthese were made specifically for my agency and theres no alternative options for them. even on mac.06:42
=== anderson_ is now known as anderson
murmelarraybolt3: I agree, but even now ntfs is still the better fs in comparison to exfat :S (from the fs perspective, not tools)06:43
cry0xenanother thing, what file system people generally use on linux desktop? not the os partition? for data and regular stuff... ext4?06:49
murmelcry0xen: in the debian/ubuntu world, most just use ext406:51
cry0xencan windows read or write ext4?06:54
murmelcry0xen: you would need to pay for that06:56
murmelbut no idea about the quality06:57
alkisgMeh 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
alkisgAnd 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:07
murmelalkisg: 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 swappiness07:14
lotuspsychj3alkisg: maybe this can help a bit too; https://www.geeksforgeeks.org/how-to-permanently-disable-swap-in-linux/07:15
lotuspsychj3i think we also need seperate this case between spinners & ssd's07:15
alkisglotuspsychj3: thanks, but disabling swap is the easy part, just commenting out an fstab entry,07:16
alkisgmurmel: 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 while07:17
alkisgThanks, if anyone else has tried "without swap" and saw hangs and crashes, please tell me about it!07:17
murmelalkisg: well, everybody uses their system differently, that's why there is no good "default"07:18
murmelfor example, every time I looked at swap, it was never used, but have a higher ram utilization than you ;)07:19
alkisgI 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:19
alkisgI don't think playing a bit with the knobs will fix the underlying bugs07:20
alkisgI hope a few years later we'll be reading in phoronix "major bug with linux swap discovered and fixed after 20 years!" :D07:22
lotuspsychj3alkisg: a few threads around on this topic;https://askubuntu.com/questions/157793/why-is-swap-being-used-even-though-i-have-plenty-of-free-ram07:24
alkisglotuspsychj3: I do not see anything in there that explains the question though07:26
lotuspsychj3alkisg: seems like the swapfaq has been updated on 2022 too; https://help.ubuntu.com/community/SwapFaq07:29
alkisglotuspsychj3: thanks, I did spend around 50 hours in the past reading the kernel mailing lists on swap issues,07:31
alkisglet'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:31
murmelalkisg: 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 some07:34
murmelbut nowadays, with oomd, it should theoretically happen before you run out of ram07:34
alkisgmurmel: 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:37
alkisgI 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 use07:38
alkisgIt'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 instead07:39
alkisgI'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:40
cry0xenarraybolt3: you were right. installed deluge using ppa and it works smooth as butter07:42
=== Avago_Broadqual5 is now known as Avago_Broadqual
murmelalkisg: are we talking hdd or ssd?07:46
murmelcry0xen: so what was the issue?07:46
alkisgmurmel: hdd. Sure it would be 10 times faster with ssd, but the problem would still be there...07:46
alkisg(i.e. I didn't want the disk swap to be used at all, so the device shouldn't matter...)07:47
=== fmirkes_ is now known as fmirkes
=== N3X15_ is now known as N3X15
alkisgHmm, 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#L493508:29
alkisgThat does sound like what I want, let's see... :)08:29
=== anderson_ is now known as anderson
alkisgYup, 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:55
Potffinhi08:59
poisonehi09:01
=== scoobydoo_ is now known as scoobydoo
=== Abrax- is now known as Abrax
xxalkisg: my experience without swap on a machine with 128GB RAM is that it's fine to completely remove all swap files and partitions10:21
xx*fine10:21
alkisgThank you xx! :)10:21
camillehi11:27
=== Abrax- is now known as Abrax
=== ledeni_ is now known as ledeni
hedinHey, 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
hedinI 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
hedinhttps://bugzilla.kernel.org/show_bug.cgi?id=21666812:48
-ubottu:#ubuntu- bugzilla.kernel.org bug 216668 in Other "MT7921K high latency when bluetooth headset is used" [Normal, New]12:49
lotuspsychj3hedin: if you experience it on ubuntu, best to file it via ubuntu-bug12:50
lotuspsychj3hedin: maybe pastebin the output after journalctl -f and connect your BT device when the errors arise, so volunteers can take a look for you12:51
hedinlotuspsychj3, thanks, I have updated the bz with sudo journalctl -f output12:54
lotuspsychj3hedin: you still got other kernel versions in your list to test?12:58
hedinI've tested on 5.19 and 6.0.1,3,512:59
lotuspsychj3and you can reproduce on them?12:59
=== rumgzy is now known as Sauvin
hedinthe 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 boot12:59
hedinlotuspsychj3, correct13:00
hedinit's the same issue on all versions I've successfully booted on13:00
lotuspsychj3hedin: wich ubuntu release/kernel was the last you got your BT working?13:00
hedinthe 5.19 was specifically 5.19.0-21-generic13:00
hedinBT works, but it introduces extreme latency on the wifi, I'm using the onboard for both13:01
lotuspsychj3i see13:01
lotuspsychj3hedin: could you share your full dmesg in a paste plz?13:02
hedinI only got ubuntu 22.10 to boot on the hardware (fedora etc. have too old install kernels)13:02
lotuspsychj3!paste13:03
ubottuFor posting multi-line texts into the channel, please use https://dpaste.com | To post !screenshots use https://imgur.com | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.13:03
hedinhttps://paste.centos.org/view/8d69be6b13:03
hedinarh... I can use dpaste next time13:04
lotuspsychj3!info linux-image-generic kinetic13:05
ubottulinux-image-generic (5.19.0.23.22, kinetic): Generic Linux kernel image. In component main, is optional. Built by linux-meta. Size 3 kB / 20 kB. (Only available for amd64, armhf, arm64, powerpc, ppc64el, s390x.)13:05
lotuspsychj3hedin: your dmesg pastes a lot of these, Bluetooth: hci0: SCO packet for unknown connection handle 358413:09
lotuspsychj3hedin: 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 there13:10
lotuspsychj3hedin: if indeed it turns out being a bug across several kernels, you can link the upstream bug to your ubuntu bug13:11
lotuspsychj3hedin: you might also want to check on bug #1975444 if its your case/reproducable13:15
-ubottu:#ubuntu- Bug 1975444 in linux (Ubuntu) "mt7921e wifi fails to resume after suspend" [Undecided, Incomplete] https://launchpad.net/bugs/197544413:15
hedinI don't think it's the same bug, because my computer is a workstation and I have never used sleep/hypernation13:16
lotuspsychj3allrighty13:17
BluesKajHi all13:18
lotuspsychj3hedin: then i would advice to file a new bug described above, on kernel 5.19 ,not on 613:20
Jeremy31Looks like the device isn't present in btusb source code,  New USB device found, idVendor=0e8d, idProduct=060813:24
lotuspsychj3hedin: ^13:25
Jeremy31It might be covered under the generic Mediatek bluetooth entry if the flags are correct13:25
Jeremy31{ USB_VENDOR_AND_INTERFACE_INFO(0x0e8d, 0xe0, 0x01, 0x01),13:26
=== saline_retry_ is now known as auk
zanshinalrjkfgnase o[;rigj q;or'gihw [p/213:44
nunyaI 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
cosmichello. is it necessary download the dkms package of nvidia aldongside the drivers?14:18
ravagecosmic, no need to download anything manually. open "additional drivers" select the nvidia driver14:20
lotuspsychjenunya: drag and drop what exactly?14:20
cosmicyeah but after updating ubuntu i am automatically switched to wayland and nvidia is not working14:21
nunyalotuspsychje: any file, an html file for example. drag and drop from graphical desktop to an open app via ubuntu dock.14:22
ravagecosmic, so is your problem nvidia or wayland?14:22
cosmic<ravage> i dont know with wayland the drivers are not working14:23
cosmici have rtx3050 which supports optimus14:23
ravagecosmic, how did you check that? is the module loaded?14:23
cosmicyeah14:24
nunyaUbuntu 22.04, Wayland.14:24
ravagecosmic, 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 this14:24
cosmicravage, i am not in ubuntu right now14:25
cosmici will be reinstalling it in a moment14:26
ravageok14:26
ravagethen please come back when you have a supported system running14:26
cosmicyeah14:26
cosmicit all happened after i update the system14:26
cosmiceverything worked fine just before the first update after install14:27
leftyfbcosmic: reinstall ubuntu, if you continue to have problems, we'll be happy to help14:27
cosmicravage, by the way what is this package nvidia-dkms-515?14:28
ravagecosmic, https://wiki.ubuntuusers.de/DKMS/14:28
cosmici matched it and it the same version as the nvidia drivers are14:28
ravageoh sorry14:28
ravagehttps://help.ubuntu.com/community/DKMS14:28
leftyfbcosmic: apt-cache show nvidia-dkms-515  # will give you a description of the package14:29
ravagelong story short: it rebuilds your nvidia kernel module after a kernel update14:29
cosmicalso i forgot one more thing. the problem resolved if i select nouvou and then the recommended driver from the drivers menu.14:29
leftyfbcosmic: reinstall ubuntu, if you continue to have problems, we'll be happy to help14:30
leftyfbcosmic: there's no point in troubleshooting a system that doesn't exist14:30
cosmicyeah sure, i knew14:30
cosmic i am downloading the image14:30
=== janne__ is now known as JanneKro
puspahey14:31
cosmicit 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 installed14:31
nunyapuspa: Hey, do you have a question?14:33
nunyaI 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:36
=== Abrax- is now known as Abrax
hedinWhen 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 report14:40
leftyfb!bug | hedin14:40
ubottuhedin: If you find a bug in Ubuntu or any of its official !flavors, please report it using the command « ubuntu-bug <package> » - See https://help.ubuntu.com/community/ReportingBugs for other ways to report bugs.14:40
=== tomreyn_ is now known as tomreyn
tomreynhedin: where did you click on "report a bug"?14:41
hedinwhat's the package name  for bluetooth being buggy ?14:41
leftyfbhedin: the link provided tells you how to file a big14:41
hedinhttps://bugs.launchpad.net/ubuntu14:41
hedin$ ubuntu-bug doesn't have "bluetooth" or "wifi" as an option14:42
leftyfbhedin: because neither of those are package names14:42
tomreynhedin: basically, what leftyfb says. also, you can always report a bug from your ubuntu installation using: ubuntu-bug <source-package>14:42
leftyfbhedin: try gnome-bluetooth or bluez (depending if you have either of them installed)14:42
hedinI'm on 22.1014:43
tomreynyes, running    ubuntu-bug bluetooth     on the affected system should work14:45
hedin_that was an alternative way of making a bz... :)14:48
hedin_https://bugs.launchpad.net/ubuntu/+bug/199579814:48
-ubottu:#ubuntu- Launchpad bug 1995798 in Ubuntu "MT7921K high latency when bluetooth headset is used" [Undecided, New]14:48
=== pizzaiolo is now known as pizza
ravagerunning an unsupported kernel will make the progress of this report difficult14:55
ravagebut he is gone anyway14:56
hedinI updated the https://bugs.launchpad.net/ubuntu/+bug/1995798 with dmesg from latest ubuntu kernel15:10
-ubottu:#ubuntu- Launchpad bug 1995798 in Ubuntu "MT7921K high latency when bluetooth headset is used" [Undecided, New]15:11
Jeremy31hedin: I am not seeing any upstream commits for the MT7921 driver involving bluetooth coexistence15:31
=== gacuxz1 is now known as gacuxz
hedinJeremy31, okay, does that mean that it's wifi or bluetooth ?15:34
Jeremy31hedin: The coexistence coding is usually in the wifi module15:38
=== dtg01101 is now known as dtg01100
=== realivanjx0 is now known as realivanjx
=== Jubes97 is now known as Jubes9
=== EriC^^_ is now known as EriC^^
=== beaver is now known as pong
hedinJeremy31, what's the best way to make awareness of this issue, to the appropiate develpoper(s) ?16:25
leftyfbhedin: you did it.16:25
Jeremy31You would likely need to file a bug for the newest upstream kernel @ https://bugzilla.kernel.org/16:26
Jeremy31And you already did that16:27
hedinJeremy31, okay, thanks for the help :)16:38
hedinJeremy31, can you add your findings to the kernel.org bz ?16:38
Jeremy31hedin: 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 power16:40
alkisgIs there a tool for storing and verifying SHA256SUMS in subfolders, so that I avoid writing a shell script that uses the sha256sum binary?16:48
lubuntugoogle16:52
MonoLI just tried to change my shell to fish16:56
MonoLI failed16:56
MonoLsudo chsh -s /usr/local/bin/fish16:56
MonoLchsh: Warning: /usr/local/bin/fish does not exist16:56
MonoL:(16:56
MonoLidk where I installed fish16:57
AlexCwhereis fish16:57
AlexCwill help16:57
MonoLfish: /usr/bin/fish /etc/fish /usr/share/fish /usr/share/man/man1/fish.1.gz16:57
AlexCthereyougo16:57
MonoLshall I just use /usr/bin/fish?16:58
AlexCyes16:58
MonoLcoll16:58
MonoLcool16:58
MonoLchsh: PAM: Authentication failure16:58
MonoL:(16:59
AlexCman chsh16:59
AlexC:)16:59
BrassPin88don't give up, there's probably an easy solve hiding somewhere.16:59
AlexCyou need to specify the user in the end17:00
lorn1975i think linux burned my speakers on my iMac201317:00
MonoLoh#17:00
MonoLsudo chsh -s /usr/bin/fish #user?17:01
AlexCindeed17:01
MonoLspace user?17:01
MonoLchsh: PAM: Authentication failure17:01
MonoLWhat the hell kind of password does it want17:02
ioriaalkisg, not sure i get you, maybe something like 'nautilus-gtkhash ' ?17:02
alkisgioria: 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
ioriai see17:04
MonoLoh do I need to put my user in the file path17:05
blackhawkusing wget in recursive mode, how can I use the cookies of my browser ?17:05
MonoLIs changing shell some kind of security concern?17:20
xxit shouldn't need sudo17:24
xxMonoL: if you're having trouble with these sorts of things, then fish is not really the shell for you yet17:25
tomreynblackhawk: this will depend on the browser and possibly on the ubuntu version you're using.17:30
jhutchinsMonoL: Perhaps mastering bash would be a good first step.17:31
blackhawkbrowser is chrome, os is ubuntu 20.0417:39
=== dtg01101 is now known as dtg01100
=== realivanjx1 is now known as realivanjx
tomreynblackhawk: 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:44
blackhawkthere is one such but i am afraid of chrome webstore extensions stealing confidential information17:56
tomreynfortunately oyu're not using a proprietary web browser by the worlds leading online ad revenue company.17:59
blackhawkdamn, never thought that, google IS essentially an ad bussiness. I am stupid to be using chrome !18:01
MonoLI dont think I'll ever master bash18:01
MonoLThere's just to much to it18:01
MonoLI just wanted to try fish for the lols18:02
MonoLDoesn't matter I suppose18:02
MonoLBash is cool18:02
olleUrgh, why can't I edit the google doc now...18:10
olleCan add pic, but can't add text ><18:11
olleoh related to my spoof software that deals with disney+, works fine when disabled18:13
Non-ICEwhy is ubuntu giving me such a hard time running my python scripts?18:45
kostkon!details18:46
ubottuPlease elaborate; your question or issue may not seem clear or detailed enough for people to help you. Please give more detailed information; for example, we might need errors, steps, relevant configuration files, Ubuntu version, and hardware information. Use a !pastebin to avoid flooding the channel.18:46
Non-ICE-bash: ./irc_brain_bot.py: /usr/bin/python3^M: bad interpreter: No such file or directory18:54
xxthat ^M makes me think it has windows-style line endings18:54
mrkubax10try using dos2unix18:55
tomreynand the /usr/bin/python3^M interpreter really won't exist18:55
tomreynfromdos ./irc_brain_bot.py && ./irc_brain_bot.py18:56
Non-ICEthx guys that was it, windows carriage reeturns19:10
=== jazzy2 is now known as jazzy
=== dtg01101 is now known as dtg01100
=== realivanjx5 is now known as realivanjx
lorn1975something has to be done about current audio driver on Ubuntu it ruined my iMac 2013 speakers20:02
rboxlorn1975: we'll get right on it!20:03
lorn1975please do!20:04
lorn1975it is not funny i have no audio now20:04
rboxits quite hilarious actually20:04
lorn1975You think?20:04
rboxyes, you saying that is the stupidest thing i have ever heard... therefore... quite funny20:05
lorn1975if your hardware break in Ubuntu would that be hilarious20:05
lorn1975i already reinstalled the driver went backward to Foca Fossa Ubuntu from Jelly Fish no audio20:06
rob0well, it's not in the intended spirit of this channel to laugh at anyone in distress20:06
rboxwhat "driver" did you "reinstall"?20:06
lorn1975i was talking to people here they suggested i reinstall the driver i dont remember which but that did not help20:07
rob0I think it's unlikely that a Linux device driver ruined speakers.20:07
lorn1975what happens when system boots up i hear the audio but its not external its somewhere inside the computer not outside20:08
lorn1975after it boots no audio at all20:08
lorn1975that happened after using Ubuntu on my iMac 2013 and listening to Youtube for about a month20:09
lorn1975then i did the update and no audio20:09
lorn1975i thought its due to update so i installed Foca Fossa (went backwards from Jelly) still no audio20:10
rob0do you dual boot the imac into the original OS?20:12
lorn1975no20:13
lorn1975i installed Ubuntu as Standalone20:13
Non-ICEwhy are you suing a 9 year old puter?20:13
Non-ICEusing*20:13
lorn1975it was cheap to buy20:13
lorn1975i bought it brand new for 380$ about 2 month ago20:14
Non-ICEjk, im still on my 2009 X58 Xeon 5690 OC 4GHz 6 cores20:14
lorn1975and obviously MacOS Monterey runs real slow on iMac 201320:15
jhutchinslorn1975: It sounds like your on-board speaker is working, but not your audio system.20:16
jhutchinslorn1975: Do you get actual audio, or just beeps?20:16
lorn1975no beeps20:16
lorn1975just at boot up i hear audio somewhere inside but it doesnt come out20:16
lorn1975no beeps nothing and then Youtube has no audio at all20:17
jhutchinslorn1975: You said you were getting sound that was "not external".  What kind of sound?20:17
lorn1975Ubuntu boot up sound20:18
lorn1975but its somewhere deep inside the computer20:18
lorn1975like a music20:18
jhutchinsOk, that's your on-board speaker.20:19
jhutchins1) add yourself to the 'audio' group (log out & in again)  2) unmute and raise channels w/ alsamixer (also try muting20:19
jhutchins             some & toggle jack sense if available)  3) <pulseaudio> or other daemon stopped?  4) speakers on?  5) does "aplay20:19
jhutchins             /usr/share/sounds/alsa/Noise.wav" work for root?  6) purge any installed <oss4> packages to remove ALSA blacklist.20:19
lorn1975jhutchins please be more slower than that20:20
lorn1975what is the first step20:20
lorn1975how do i add myself to the audio group20:21
alkisgmurmel, 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/nocache20:22
alkisgNow I'm able to copy huge directories without any lags at all in the desktop programs20:22
lorn1975jhutchins20:22
jhutchinslorn1975: Start by opening a console and runnig the "groups" command.  See if it lists "audio".20:23
lorn1975how do i unmute in alsamixer what is the key20:26
rboxi mean... it says "F1:  Help"... and then in there it clearly says...20:27
n9nuM20:27
n9num sri20:27
jhutchinslorn1975: alsamixer is a console program.  Open a console and run alsamixer.  Look around, follow the help prompts.20:27
lorn1975n9nu thank you20:28
n9nuyup yup20:28
n9nuALSA - Another Lame Sound App20:29
n9nuj/k - heh  i use it a lot20:29
jhutchinsn9nu: A sound app older than reliable GUIs on Linux.20:29
n9nuLOL20:29
n9nuremember open sound20:29
lorn1975i hear the audio at boot up but its very quite its somewhere far20:30
n9nuOSS20:30
jhutchinsThat's the oss listed above.  Actually still in development, pulseaudio owes a lot to it.20:30
n9nuthats true yeah20:30
jhutchinslorn1975: Again, that's the on-board speaker.20:30
jhutchinslorn1975: Any idea what audio chipset you might have ?  sudo lspci?20:31
n9nuoh those cmall cylinders20:31
n9nueither Intel or Nvidia  :)20:32
n9nua wid guess20:32
n9nuwild20:32
lorn1975Audi device Interl Corporation 7 Series/C216 Chipset Famioly High definition Audo controller rev 0420:33
lorn1975i have audio20:33
lorn1975LOL20:33
lorn1975i have audio20:33
n9nua desktop eh20:33
lorn1975i have audio20:33
lorn1975i have audio20:34
lorn1975Youtube working20:34
lorn1975i unmuted in alsamixer20:34
lorn1975i have audio20:34
lorn1975Youtube working20:34
lorn1975LOL20:34
n9nuoh dear....nvidia open-source-driver is working!!!! holy crap20:34
lorn1975thanks everyone20:34
BlueSmokeis this a good pace to get help with non booting Ubuntu drive20:35
jhutchinsBlueSmoke: As good as any.20:35
jhutchinsBlueSmoke: What did you try to do?  How did you try to do it?  What did you expect to happen?  What happened instead?20:35
n9nuwindows dual boot?20:36
BlueSmokecan you plz scroll up I posted info20:36
BlueSmokejust ubuntu ext420:36
n9nufilesystem issue?20:37
n9nugrub issue?20:37
n9nucan u run a usb key with the distro on it to repair?20:37
BlueSmokei made a bootable stick20:38
n9nuok....this the first attempt to install?20:38
BlueSmokeI posted what I did so far but its scrolled up20:39
n9nuoh....20:39
n9nu 14:29:47 --> BlueSmoke (~BlueSmoke@2a00:23c6:9820:9901:dc6b:f094:9a67:3ded) has joined #ubuntu20:39
n9nuthats all i got20:39
n9nuand afterer20:39
BlueSmokebefore that20:39
n9nuah ok..so  u got dumped earlier20:40
n9nuok20:40
BlueSmokeI wasnt sure if it kicked me for posting to much or if it was inactive20:40
n9nudunno...its not in my past history20:41
BlueSmokeok maybe it didnt post i'll try again20:41
n9nuii only allow x amt of logging20:41
tomreyn!irclogs20:41
ubottuOfficial channel logs can be found at https://irclogs.ubuntu.com/ . LoCo channels are now logged there too. Meetingology logs at https://ubottu.com/meetingology/logs/20:41
BlueSmokeHi I was using Ubuntu 20.04 my browser made the systenm go unresposive, under load while testing some used ram,20:42
BlueSmokeI had to reboot, on reboot, I got error: unknown filesystem.20:42
BlueSmokeEntering rescue mode...20:42
BlueSmokegrub rescue>20:42
BlueSmokeerror: unknown filesystem.20:43
BlueSmokeEntering rescue mode...20:43
BlueSmokegrub rescue> ls20:43
BlueSmoke(hd0) (hd0,msdos5) (hd0,msdos1)20:43
BlueSmokegrub rescue> ls (hd0,msdos1)20:43
BlueSmoke(hd0,msdos1): Filesystem is unknown20:43
tomreyn!paste | BlueSmoke20:43
ubottuBlueSmoke: For posting multi-line texts into the channel, please use https://dpaste.com | To post !screenshots use https://imgur.com | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.20:43
n9nuoh...testing bum memory perhaps20:43
n9nusounds like that memory didnt agree with ur mobo20:44
jhutchinsBlueSmoke: I would say your test successfully detected failed RAM.20:44
tomreynbroken ram can lead to broken file system20:45
n9nuyeah...yank it out and run memtest+ from usb stick20:45
BlueSmokehttps://dpaste.com/FYNRECV7R20:45
n9nuor cd/etc20:45
BlueSmokeit didnt send made me do this20:45
n9nureseat it then memtest20:46
n9nuDDR4?20:46
n9nuim outside chicago - i can lend ya whatever ya need lol20:47
BlueSmokei'M  back on my original ram now and only worried aabout getting the data back20:47
n9nuwell  fsck20:47
tomreynthat's where your backups will be useful20:48
n9nufile system check20:48
n9nui always partition my m2 into 3 partitions20:48
n9nuone for /backup and another for /archive20:48
n9nuin addition to the other linux parts20:49
BlueSmokeI was stupid have a prt backu p from couple of moths ago but need the newly added stuff20:49
n9nuok...lemme give u a link20:49
BlueSmokeeven if I coud mount it some how nd read it or try to fix it somehow20:50
tomreynjust fixing the file system *may* work. but there is a chance that data in files is no longer correct, either.20:51
BlueSmokeit might be the browser logging might of trashed some stuff20:51
n9nui have a image that will diagnose your entire systemm20:51
n9nujust for linux20:51
n9nupartitions and all20:51
n9nuok20:52
n9nuits called '20:52
n9nufile:///media/n9nu/Ventoy/boot-repair-disk-64bit.iso20:52
n9nuoops lo20:52
n9nuboot-repair-disk20:53
n9nugoogle it20:53
BlueSmokeI think I saw that today was it yanna or somthing20:53
tomreynBlueSmoke: 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
n9nuubuntu based even20:53
n9nuhttp://www.ubuntu.com/getubuntu/releasenotes?os=lubuntu&ver=18.04.4&lang=${LANG}20:54
MonoLAnyone know the shortcut for the menu in the bottom left corner?20:55
BlueSmokeI 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 it20:55
n9nuwindows key20:55
BlueSmokeI saw somthing about mounting it read only and loopbacks but never done it20:55
MonoLThe show applications dots in the bottom left corner?20:55
n9nuno this will NOT20:55
MonoLThe windows key doesn't take me to the app draw view20:56
MonoLThat's like select desktop mode or something20:56
n9nuu shoud be able to hit the Windows key to bring it up20:56
n9nuoh20:57
n9nuu want the menu to show?20:57
tomreynBlueSmoke: you'll still need a bootable system that's compatible to your installed ubuntu release to do so.20:58
MonoLYeah I think I just worked it out20:59
MonoLhold the windows key and press a20:59
n9nuwhere u in window config momde20:59
n9nuah ok21:00
BlueSmokeyes I made a ubuntu 20.04  usb stick21:00
n9nui shouldnt assume everyone runs plasma21:00
tomreynMonoL: correct, it's super+a21:00
n9nugood....boot with that and choose advanced/expert moe21:01
MonoLAnd just worked out if i hold the windows key and alt then the arrows change desktop left and right21:01
MonoLToday is a good day21:01
n9nuyeah the default keys21:01
BlueSmokewhen it boots it has try ubuntu and loads up the desktop21:01
n9nuyou dont have to format the partitions you have your DATA on21:02
tomreynMonoL: https://help.ubuntu.com/22.10/ubuntu-help/shell-keyboard-shortcuts.html.en21:02
MonoLWish I could swipe up on my screen with my finger to go to show applications21:02
n9nuu can21:02
n9nuif u set it up21:03
MonoLI don't have a touch screen :(21:03
n9nuoh wait...there i go agn....ur prob not using plasma21:03
n9nuwell then  lol21:03
n9nuu can touch it....justt wont do anything eh21:04
tomreynBlueSmoke: 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 it21:04
MonoLthanks tomreyn! Bookmarked!21:04
n9nuyeah if its locked with a desktop open21:05
MonoLCan I change my default terminal to cool retro term?21:05
tomreynBlueSmoke: 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
n9nuYa got CTRL+ALT+F1-621:05
n9nusure....what desktop?21:06
n9nugnome?21:06
n9nui never used it21:06
n9nuheh...my bad21:06
BlueSmokehi21:06
artemПривет21:07
BlueSmokeI put info in the sujested past thing  https://dpaste.com/BJKAKYFCJ21:07
tomreyn!ru | artem21:07
ubottuartem: Пожалуйста наберите /join #ubuntu-ru для получения помощи на русском языке. | Pozhalujsta naberite /join #ubuntu-ru dlya polucheniya pomoshi na russkom yazyke.21:07
n9nuu have a 2nd PC with linux up and running BlueSmoke]\21:07
n9nuadvice to ALL (we heard it a zillion times): Backup, backup and backup21:08
n9nustore in diff places21:09
n9nuuse 8" floppy disks too21:09
n9nuhttps://ualinux.com/en/ubuntu-rescuepack21:10
n9nuhttps://www.linuxandubuntu.com/home/top-5-linux-system-rescue-cds21:11
tomreynn9nu: please don't dump random links in here.21:11
BlueSmokeI can change the drive and reeboot it not a second at he moment21:11
n9nuno...rescue cd's21:11
n9nuiages21:12
n9nuimages21:12
tomreynBlueSmoke: 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
n9nuUltimate Boot CD allows u to test each individual component21:13
n9nuagreed21:13
LiowenexUse Ubuntu Live CD21:13
LiowenexAdd persistence space21:13
LiowenexThen install the tools you need.21:14
tomreynthat's also not needed for a one-time recovery.21:14
BlueSmokeive 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 ubuntu21:15
n9nuuse what u have installed21:15
n9nuon ur drive21:15
BlueSmokeI'm on a real install of 18.04 now21:16
n9nuuse the 18.04 usb key21:17
tomreynBlueSmoke: the broken ubuntu installation is which ubuntu version?21:17
BlueSmokebut 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 there21:17
n9nuits 18.04 tomreyn21:18
BlueSmokeno 18.04 is a properinstall on hdd21:18
n9nuyes21:18
n9nuis that the messed up one?21:18
BlueSmokethe usb I just burned is the 20.0421:19
tomreynBlueSmoke: can you answer my question, though?21:19
n9nu18.04 = on hard drive21:19
BlueSmokethe messed up drive is in as plugged in too21:19
n9nu22.04 = on usb?21:19
n9nuok21:19
BlueSmokeyes 18.04 im using how as a working system21:20
BlueSmokenot 22.04 20.0421:20
n9nui recommend removing the 22.04 usb key as u dont have that version installed21:20
tomreyni only see different version numbers listed without context, can't follow. good luck.21:20
BlueSmokesame thats on the mseed up drive21:20
n9nudownload (if u can)  an older 18.04 image to send to usb key21:21
n9nuand usse that21:21
n9nuusing an oem version that is newer than what tu have on there (the drive) to use as a rescue disc could lead to overwriting things21:23
BlueSmokeok 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 that21:23
n9nuso...its either a generic/dediicated rescue image or the same oem ubuntu image 18.0421:24
n9nuoh...so we have it reversed21:24
n9nu20.04 = messeed up21:24
n9nuhdd = 18.0421:25
n9nuboth in pc21:25
BlueSmokeyes21:25
n9nuso 18.04 is in live mode at present?21:25
n9nuas in ur in the desktop21:26
BlueSmokeyes full nomal install I'm using now21:26
BlueSmoke18.0421:26
n9nuok..now this is more clear21:26
n9nuu can use the 18.04 to do some basic file system checks21:27
BlueSmokeas I had this already working I plugged this in when the other 20.04 messed up21:27
n9nuand partition checks with 'gparted'21:27
n9nuunderstood21:27
n9nuboth 18 & 22 have same diagnostic tools21:28
BlueSmokedid you read this ? https://dpaste.com/BJKAKYFCJ21:28
MonoLmy cool retro term died21:28
n9nulemme look21:28
BlueSmokeits a list of what it say for the messed up 20.0421:29
arraybolt3BlueSmoke: Looks like that filesystem needs an fsck.21:29
n9nui see21:29
n9nuwin 95 eh21:29
BlueSmokeduno what the w95 is21:30
arraybolt3BlueSmoke: So how far are you into fixing this?21:30
n9nuu need to unmount the suspected bad fie system b4 using fsck21:31
arraybolt3BlueSmoke: Do you already have a live USB on you?21:31
BlueSmokenot far tried a few thins if you read the d paste21:31
n9nuhe has 2 drives one w/ 22.4 (messed uP) and good install of 18.04 on other drive21:32
BlueSmokeI 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 more21:32
arraybolt3BlueSmoke: 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
n9nuthis command as root: fsck /dev/sdxx  will check the sdxx drive21:33
BlueSmokeno 20.04 messed up21:33
BlueSmokethats how I am now in the 19.04 talk to you and the 20.04 messed up drive is connected21:34
=== greknod16536680 is now known as greknod1653668
arraybolt3BlueSmoke: OK, so you are booted into 18.04 already?21:34
BlueSmoke18.04*21:34
BlueSmokeyes21:35
n9nuyeah...with 22.04 on his 2nd drive21:35
BlueSmokeI havnt got 22.0421:35
arraybolt3BlueSmoke: 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
BlueSmokeonly messed up 20.0421:35
BlueSmokeand 20.04 on usb stick if needed21:35
BlueSmokeand using 18.04 now21:36
n9nugood boy21:36
arraybolt3BlueSmoke: 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:36
BlueSmokethats why I wanted to try what I can befor just letting thing blidly try to fix it21:37
arraybolt3BlueSmoke: 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:37
n9nuur drives will look like:  /dev/sda, dev/sdb,, etc21:38
n9nuif they are not nvme \21:39
BlueSmokethe drive I have in the system now that messed up is a dd cone on the real one21:43
n9nua dd clone?21:44
arraybolt3BlueSmoke: Very good.21:44
BlueSmokeyes21:44
BlueSmokebut its an ssd so dont want top hit it too many times with a dd21:45
arraybolt3BlueSmoke: 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
n9nugotta love direct dump21:45
arraybolt3(That will show me mounted drive sizes.)21:45
morgan-dell2204My camera works in messenger but not in cheese. In 20.04 it worked on all. What can I do to fix this??21:45
arraybolt3morgan-dell2204: On 22.04? I think there's a known bug in Cheese in Ubuntu 22.04.21:46
n9nuthere is...consult the 04 dox21:46
morgan-dell2204can 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-dell2204thanks n9nu21:47
=== realivanjx7 is now known as realivanjx
n9nuoh yeah...another app? u bet21:47
n9nuwant some filenames21:48
n9nuOBS Studio, Webcamoid21:49
n9nui should say i use debian, however, ubuntu is directly from debian and has same apps21:51
n9nu98%21:51
BlueSmoke  oh one comes up with a extended partition I think21:51
arraybolt3BlueSmoke: 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:52
arraybolt3BlueSmoke: (You might need "sudo" in front of that last command, like "sudo fsck /dev/sda5".)21:53
n9nuhe have tune2fs ?21:54
arraybolt3n9nu: I think tune2fs is likely useless and possible detrimental in this scenario.21:54
n9nucpy21:55
arraybolt3*possibly, gah I can't spell sometimes21:55
n9nuheh21:55
n9nulong day here21:55
n9nufsck should auto run too at boot attempt21:55
n9nuif it gets that far21:56
tomreynmorgan-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 Ubuntu21:58
tomreyn22.04.21:58
n9nuif its just the / partition thats messed up and his other parts okay, then why not just upgrade and not format those parts21:58
arraybolt3n9nu: It looks like the 20.04 drive has all of the data on /.21:59
n9nudoh21:59
arraybolt3(I see other data partitions on the other drive but those aren't guaranteed to have all of this data.)21:59
n9nugotchya...22:00
tomreynmorgan-dell2204: correction: "v4l2", not "v4l". see also the v4l2-ctl commands on https://linuxconfig.org/how-to-test-webcam-on-ubuntu-22-04-jammy-jellyfish22:00
arraybolt3Most 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
n9nui always part mine x 2 in addition to the required parts22:00
n9nuyeah...bummer...i miss the 1996 Linux days lol22:01
BlueSmokebrb if I can get back here on the 20.04 usb22:07
n9nuis it just me or is every freaking d/l mirror for everything hosed22:10
arraybolt3n9nu: Ubuntu mirrors?22:10
arraybolt3For me us.archive.ubuntu.com is working well.22:10
n9nu2.5Gbit FTTH and all i can pull is 20MB/s22:10
n9nuneg22:10
n9nulemme reset the ol ont22:11
arraybolt3n9nu: Is that the speed of your Internet subscription or your network adapter?22:11
arraybolt3You probably already know this, but a fast adapter won't do much with a slow subscription.22:11
n9nui have 10gbit NIC's22:11
n9nuconnection is 2.522:11
arraybolt3Oh wow.22:11
n9nuoh i know lol22:11
n9nui work at FermiLAB22:12
n9nubut am at home22:12
arraybolt3Lots of people use the mirrors, maybe everyone's doing an update right now.22:12
n9nulets see a spedtest22:12
n9nuhmm22:12
n9nuhttps://www.speedtest.net/result/1390523668922:14
n9nudepressing22:14
arraybolt3n9nu: Spoiled. I get 16 MBit/s on a good day, sometimes 32 MBit/s.22:15
arraybolt3:P22:15
n9nuoh my22:15
n9nuwait....u in US?22:16
arraybolt3Yep.22:16
n9nui am spoiled.....arnt I22:16
n9nulol22:16
n9nuu should see wHat i can pull in at fnal22:16
n9nuomg x 10000000022:16
arraybolt3Well I live out in the middle of the woods with a 4G hotspot as my connection. But this is getting offtopic.22:17
n9nuyeah..;oh ok nnow i get it22:17
n9nusouceforge is one that needs a major pipe replacement22:23
n9nu@scistar86 @metronetfiber my internet is very slow in Northern Illinois. Is there an issue? Download speeds at only 55 KB/sec.22:36
n9nuLOL oh dear22:36
Jeremy31n9nu: please join #ubuntu-discuss or #ubuntu-offtopic22:39
n9numy bad jeremy22:39
BlueSmokeHi I'm back22:42
n9nuworking?22:43
BlueSmokeI'm on the dd copy of 20.04 messed up drive now22:44
BlueSmokethanks for the suportand help22:44
BlueSmokewhat happened to the other guy22:45
n9nuglad ya got things working22:45
arraybolt3BlueSmoke: Here I am!22:45
n9nuprob relaxing22:45
n9nulol22:45
arraybolt3BlueSmoke: Everything working right?22:45
BlueSmokeme too I'll do a resyc after this22:45
n9nuclonezilla too22:46
n9nuremember the ol Norton Ghost22:46
BlueSmokeyes the fsck did it long list of trasshed stuff curupted superbloks and everything22:46
arraybolt3Ugh. How much data were you able to rescue?22:47
BlueSmokeI saw somthing called foxclone any idea if its ok or any good ?22:47
arraybolt3No clue.22:47
oerheksfor trouble drives, ddrescue22:48
arraybolt3+1 ^^22:48
BlueSmokewell its all come back up it seemes dunno what might be chopped up lol22:48
n9nuclonezilla, ddrescue gparted-live - excellent22:49
BlueSmokeI saw ddrescue but I have used dd before so I went with that as there was no physical problem22:49
arraybolt3That 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:49
n9nuand place a copy off site22:50
n9numultiple if u really care22:50
BlueSmokeoh I should see what it says now22:51
BlueSmokewould of it of checked sda1 as well once it done the fix22:52
BlueSmokesda      8:0    0 232.9G  0 disk22:54
BlueSmoke├─sda1   8:1    0   512M  0 part /boot/efi22:54
BlueSmoke├─sda2   8:2    0     1K  0 part22:54
BlueSmoke└─sda5   8:5    0 232.4G  0 part /22:54
BlueSmokethats different22:54
tomreyn!paste | BlueSmoke22:55
ubottuBlueSmoke: For posting multi-line texts into the channel, please use https://dpaste.com | To post !screenshots use https://imgur.com | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.22:55
MonoLI can't find the back tick on my keyboard23:05
MonoL:(23:05
=== brkkk_ is now known as brkk_
rboxMonoL: and how does that make you feel?23:08
MonoL'`ike I wanna cry23:11
Jeremy31backtick isn't Shift + 1?23:11
MonoL!23:13
MonoL¬23:13
MonoL! == shift+123:13
MonoL¬ == shift+esc23:13
rdrhello i am on ubuntu 8.04 and found a bug23:19
arraybolt3rdr: 8.04? Like actualy 8.04, or 18.04?23:20
rdryes 8.04, i need help making a time machine to get back to 2008 to save our timeline23:21
rdrlol sorry just a joke, hope everyone is doing good23:21
rdris there an ubuntu chat channel?23:21
ravage!chat23:22
ubottu#ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please register with NickServ (see /msg ubottu !register) and use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks!23:22
rdrthanks ravage23:22
morgan-dell2204tomreyn,  thanks for the info. Will check later.23:37
=== ubuntu is now known as Guest3279
MonoLOh did I trigger the bot somehow?23:42
MonoLubottu pm'd me lel23:42
=== realivanjx9 is now known as realivanjx

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