[00:00] some of your hardware *may* stop to work properly (i.e. bad/incomplete drivers, not permanent) if you're moving away from -oem. so i'd recommend having the talk about why you ended up with the oem installation in the first place. [00:01] I'm new to linux. [00:01] I just downloaded the .iso file from Ubuntu website, made a live usb using Balena etcher. [00:01] And installed it. [00:02] okay, i didn't know that would branch into -oem automatically based on the hardware, but that must be what happened then. [00:02] is it a very new laptop, like fro the past <1 year? [00:02] is it a very new laptop, like from the past <1 year? [00:02] 2021 [00:03] I bought it in 2021 [00:03] now i, too, am convinced enigma9o7's approach is fine [00:04] but don't skip the part about understanding how to get into grub menu+ [00:04] okay [00:04] (sorry enigma9o7 ;-) ) [00:05] which version is better? oem or generic? and why? [00:05] did you read or try to read the wiki page explaining what the oem kernel is? [00:05] No. I'll read it now. [00:07] if you don't know, OEM = Original Equipment Manufacturer. It means the company which put together the computer you were sold. [00:07] I see === chalcedony is now known as Sunrise === Guest3307 is now known as thepurptea [00:13] I'll reboot now and see if the problem is solved. === vorteckz_ is now known as vorteckz [00:47] * jetchisel [01:24] i just installed Ubuntu on my Dell XPS 13 9340 and have screen problems, just as I had with LM22. Ive read its the Kernel 6.8.0 - 40 [01:24] Ive read there are no problems with 6.8.0 - 36 [01:25] every time I type ore move the mouse the screen get s garbeled [01:26] But i dont have a clue how to get that -36 kernel installed [01:28] hi [01:28] Hi [01:28] webchat38: hi, which ubuntu version did you install? [01:28] last version [01:29] 24.04 noble [01:30] can you link to where you read that this is specific to 6.8.0 - 40 but does not occur on -36? [01:33] ubuntuforums,org/showthread.php?t=2499152&p=14198603 [01:33] sorry , copying from my win machine [01:33] i'm sorry you apparently had to type this [01:35] there is version -43, i assume that's in ubuntu-proposed: linux-image-6.8.0-43-generic_6.8.0-43.43_amd64.deb [01:36] it's not usually a good idea to downgrade to an earlier kernel patchlevel, since you will often loose security patches nad other bug fixes [01:36] any clue how I can install it? Im new [01:40] the following are still on archive mirrors https://bpa.st/XD6A [01:41] when you run this in a terminal, what does it print? apt policy linux-image* |& nc termbin.com 9999 [01:45] Sorry my screen is so garbled its almost impossible [01:45] terminal open , is there an easy way to copy like control-c b? [01:46] if you're using a graphical terminal emulator, so the gnome terminal, then you can just ctrl-shift-c and ctrl-shift-v [01:47] or mark text with your mouse, then it immediately goes into the 'mouse clipboard' and you can paste from there by pressing your mouse wheel [01:48] bbze [01:48] to share more than one line of output here, please use https://bpa.st [01:49] ttps://termbin.com/bbze [01:49] you can try switching the ubuntu system to a text only display, a tty, by pressing ctrl-alt-F4 (ctrl-alt-f2 or -F3 to get back) [01:50] https://termbin.com/bbze [01:50] there, you won't be able to copy + paste, but maybe the screen is no longer distroted [01:50] screen is still crazy sorry [01:50] flashing and rgb [01:53] that model only should have camera issues.. [01:53] try this: sudo apt update && sudo apt install linux-oem-24.04 [01:56] working updating [01:57] progress [01:57] you should read up on how to bring up the grub menu and select the kernel to boot from there [01:58] okay thanks, going to read about grub [02:02] you just configured your computer to not only track the default ubuntu kernel for 24.04 LTS (which it was already configured to) but also to track the ubuntu -oem kernel - more info on this here: https://wiki.ubuntu.com/Kernel/OEMKernel . OEM = Original Equipment Manufacturer. It means the company which put together the computer you were sold. [02:02] this means you will always have two different current kernel variants installed side by side now, until you change that: the -generic kernel and the -oem kernel [02:03] grub, the ubuntu bootloader, will automatically boot the kernel with the higher version number. i think this will be the -oem kernel now. [02:08] the oem linux version is 6.8.0-1010-oem whereas generic is 6.8.0-40.40. So the OEM should be the higher version, and should get booted automatically. I don't know whether this different kernel variant will not be affected by this issue, but there is a chance it will not be. [03:20] hey guys [03:20] so whenever i try to play a synth on lmms, it also comes with this weird static sound? [03:20] i'm on ubuntu studio [03:20] and this happens after upgrading to 24.04 [03:22] nvm [03:22] just switched from pulseaudio to sdl [04:01] hello, Ive upgraded to the new LTS but my Stable Diffusion now broken [04:01] "/home/user/StableDiffusion/stable-diffusion-webui-forge/venv/bin/python3" -m pip install torch==2.0.1+rocm5.4.2 torchvision==0.15.2+rocm5.4.2 --index-url https://download.pytorch.org/whl/rocm5.4.2 [04:01] Error code: 1 [04:02] seems it wont install that version of torch or torchvision from that url [04:07] did you go from 22.04 to 24.04 ? [04:08] not sure what from but to the latest lts [04:09] ive tried substituting urls https://download.pytorch.org/whl/torch/ [04:10] and https://download.pytorch.org/whl/torchvision/ [04:10] as they open in a browser and show files, [04:21] but i get Looking in indexes: https://download.pytorch.org/whl/torch/ [04:21] ERROR: Could not find a version that satisfies the requirement torchvision==0.15.2+rocm5.4.2 (from versions: none) [04:21] ERROR: No matching distribution found for torchvision==0.15.2+rocm5.4.2 [04:32] pip install torchvision==0.15.2+rocm5.4.2 --index-url https://download.pytorch.org/whl/torchvision/ --break-system-packages [04:32] Defaulting to user installation because normal site-packages is not writeable [04:32] WARNING: Skipping /usr/lib/python3.12/dist-packages/argcomplete-3.1.4.dist-info due to invalid metadata entry 'name' [04:32] Looking in indexes: https://download.pytorch.org/whl/torchvision/ [04:32] ERROR: Could not find a version that satisfies the requirement torchvision==0.15.2+rocm5.4.2 (from versions: none) [04:32] ERROR: No matching distribution found for torchvision==0.15.2+rocm5.4.2 [04:42] i think the problem might be something to do with https://download.pytorch.org/whl/rocm5.4.2 [04:42] This XML file does not appear to have any style information associated with it. The document tree is shown below. [04:44] because i can see what look to me like the same version of torch from https://download.pytorch.org/whl/torch as required [04:44] for example can download https://download.pytorch.org/whl/rocm5.4.2/torch-2.0.1%2Brocm5.4.2-cp311-cp311-linux_x86_64.whl [04:45] but trying to open this in browser has a problem https://download.pytorch.org/whl/rocm5.4.2/ [04:48] oh works with this final / [04:49] maybe the webui forge program has missed the final / from the url and that breaks it being able to download the packiages it needs [04:56] ok now when i put the following in terminal i get a 'no module named pip' message [04:56] "/home/user/StableDiffusion/stable-diffusion-webui-forge/venv/bin/python3" -m pip install torch==2.0.1+rocm5.4.2 torchvision==0.15.2+rocm5.4.2 --index-url https://download.pytorch.org/whl/rocm5.4.2/ [04:56] even though i had pip before, and i just reinstalled it [04:57] pip --version [04:57] pip 24.0 from /usr/lib/python3/dist-packages/pip (python 3.12) === GenericPlayer127 is now known as GenericPlayer [05:20] well i dunno what to do. cant run WebUI Forge because its wanting torch and torchvision with rocm5.4.2 and theyre not installing [05:37] howcome theres over 1000 users in this channel but no-one seems to be here? [05:45] Will90: Quite a few people keep their clients connected at all times because otherwise they miss messages. [05:45] If somsone knows the answer to your question and sees it, they'll say something. Sometimes things take patience though. [05:45] sudo apt install torch==2.0.1+rocm5.4.2 torchvision==0.15.2+rocm5.4.2 [05:45] Reading package lists... Done [05:45] Building dependency tree... Done [05:45] Reading state information... Done [05:45] E: Unable to locate package torch= [05:45] E: Unable to locate package torchvision= [05:49] Will90: you want single =, not double [05:53] thx . how do i get them to install in here? "/home/user/StableDiffusion/stable-diffusion-webui-forge/venv/bin/python3" [05:58] sudo apt install torch=2.0.1+rocm5.4.2 torchvision=0.15.2+rocm5.4.2 [05:58] Reading package lists... Done [05:58] Building dependency tree... Done [05:58] Reading state information... Done [05:58] E: Unable to locate package torch [05:58] E: Unable to locate package torchvision [06:20] bye for now === Z7509 is now known as Z750 === Amaranth8 is now known as Amaranth === tribaal_ is now known as tribaal === Hobbyboy|BNC is now known as Hobbyboy [07:34] Hello Boy ! [07:37] anotheryou hi [07:37] hi and bye :) got to go [07:37] fuck off [07:51] That escalated quickly. [08:04] Good day to all. Help me fix this... [08:04] https://paste.linux.chat/?1f8896f13fe4843b#3veL4tVLqaZSKj8vWYxzVMknTVmAWyadPH3P7u8mQZaw [08:04] I've compiled from source also, but still no joy. Thanks in advance. [08:18] https://docs.ceph.com/en/reef/cephadm/install/#cephadm-install-curl [08:19] This is the recommended way to deplpy ceph [08:19] Or of course the Canonical way [08:25] ravage: Thanks. I'll try https://docs.ceph.com/en/reef/cephadm/install/#cephadm-install-curl === five6184803392 is now known as five618480339 [09:01] osse: right? haha [10:07] hello === TechBeardNC_ is now known as TechBeardNC === TheCaptain8983 is now known as TheCaptain898 === Guest30 is now known as Drakis === toffe0 is now known as toffe [13:27] Hi all [13:49] ok [13:50] 2404 wayland with intel graphics crashes every time I remove laptop from dock and sometimes when undocked. [14:02] ztane: what does "crashes" mean exactly? does it stop updating the video output, does the video turn black, does it get garbled - still changing looks or not? [14:03] have you tried ctrl-alt-f5 + ctrl-alt-del, - does it reboot then? [14:03] does it still respond to !sysrq [14:03] !sysrq [14:03] In an emergency, you may be able to shutdown cleanly and reboot by holding down Alt+PrintScreen and typing slowly, in succession, S, U and B. For an explanation, see http://en.wikipedia.org/wiki/Magic_SysRq_key === lubuntu is now known as jun [15:58] Hello. Has anyone ever encountered an issue with google chrome where it stutters, lags, or freezes for a few seconds then starts responding? [16:00] hi [16:06] xrandr: does it also happen with any of the web browsers ubuntu provides? [16:06] tomreyn: yeah, it seems to happen with firefox as well. Occasionally, the whole PC will freeze then unlock [16:06] something seems...off [16:07] I am going to try a reboot, brb [16:11] and back [16:11] tomreyn: I'm gonna keep an eye on it and report back in when it happens again [16:11] there were some updates pending, maybe they helped the issue [16:13] maybe have a look at your logs when it happenes again [16:13] or have a lok at your logs when it last happened? [16:14] journalctl -b-1 -e would bring you to the end of the latest kernel session. supposedly, not too long before is when you decided to reboot due to instability. [16:15] journalctl -kb-1 -e to just inspect kernel messages [16:16] I used to have my win boot available for me in the grub menu but after a grub-update it's gone. Could someone help me get it back? =) [16:21] ironically the solution was to run grub-update === Sidewyz1 is now known as Sidewyz [17:20] I have been asked to set up hot spot on remote system. I am using rdp to get in. I open system app and it immediately tries to scan wifi and pops up "System policy prevents wifi scan". I put in sudo password and it just keeps asking. I am stuck. I can't get out. What do I do? [17:25] GrandPa-G, at first glance, could be a polkit issue [17:28] ioria, ok, I guessed that, but what do I do and how do I fix it? [17:30] GrandPa-G, https://askubuntu.com/questions/1291512/authentication-required-system-policy-prevents-wifi-scans-in-focalfossa ; the last post seems interesting [18:15] tomreyn: crashes means: goes to text mode (cursor in upper left corner), 2 seconds, then I get graphical login screen, when I log in then that's a new session [18:17] ztane: this means either gnome-shell or gdm or the display server is crashing, you'll have details in your logs [18:24] GNOME Shell crashed with signal 6, javascript traceback seems to be in tiling assistant which I seem to trigger accidentally all the time. Installed 24.04 in a new computer on Saturday and totally lost (old had and still has 22.04 and X :D) [18:26] probably related: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/2064037 though mine is Intel... [18:26] -ubottu:#ubuntu- Launchpad bug 2064037 in gnome-shell-extension-tiling-assistant (Ubuntu) "gnome-shell crashes with SIGSEGV in tilingWindowManager.js:99" [Undecided, Confirmed] [18:35] Folks how can I install nvidia 555.58.02 in ubuntu 24? [18:36] Its not officially supported by Ubuntu yet. You would have to add the graphics ppa or nvidia's repo. [18:36] Don't use nvidia's .run script tho, that is harder to update and undo, etc. [18:37] enigma9o7: im helping a work friend I myself run arch, can you give me a link so I can help me buddy? [18:38] sudo add-apt-repository ppa:graphics-drivers/ppa [18:38] sudo apt update [18:38] enigma9o7: thanks a lot [18:39] sudo apt install nvidia-graphics-drivers-555 [18:39] !nvidia [18:39] Drivers for Nvidia graphics cards: (A) No gaming/CAD/CUDA needed or legacy hardware? Use "nouveau" (open source, lacks many features). (B) Otherwise, "nvidia" (proprietary driver, fully featured). Install using "ubuntu-drivers" CLI or apt - not from nvidia.com. Driver series, hardware support (release notes): https://www.nvidia.com/en-us/drivers/unix/ - Latest drivers !PPA: https://pad.lv/ppa/graphics-drivers [18:39] vfbsilva: https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa first result on google when typing in "nvidia ubuntu ppa" [18:39] errr i mean sudo apt install nvidia-driver-555 [19:00] vfbsilva: https://ubuntuhandbook.org/index.php/2024/08/install-nvidia-555-ubuntu/ === ericus5 is now known as ericus [19:43] Running Ubuntu server 24.04 I began getting errors: ata3: link is slow to respond, please be patient (ready=0) and this went on until the entire screen was filled with these messages. I read something on stack which said if the computer is working I could just leave it alone. That did not work. Next reboot there were similar messages and a "start job" for one drive which never seemed to complete. Next I know I'm at "you are in emergency mode" prompt [19:43] followed by the cloud-init stuff and then back to endless ata3: softreset failed error messages [19:46] gmachine24: sounds like you have a failing harddrive [19:46] so... should I disconnect the three internal drives and see if I can boot normally and go from there? [19:47] gmachine24: I don't know your system setup... so I have no idea what that will do [19:48] an ssd 250gb drive with the os and three spinning drives to store data [19:48] is there something I can/should do at this emergency prompt? [19:49] If the HDDs are not required for running the system, yes, shutdown, remove the drive's power and data cables, power on [19:49] ok [19:49] thank you [19:50] it is also possible that you will be in rescue mode again. if you added that drive to /etc/fstab [19:50] and did not set it optional [19:52] you're talking about the ssd drive - yeah, it's in the fstab file [19:53] The failing drive [19:53] well they're all in the fstab file [19:53] Then you will need to fix that to get a successful boot [19:53] With the drive removed [19:55] alright i can do that with by live booting from a usb stick - or is there a better way [19:56] also check the bios drive listing to see what is connected there [19:56] you can also try that from the rescue mode [19:56] ok [19:56] but sure. a usb session also works [20:00] gmachine24: chances are the failing drive is one of the spinners, not the SSD [20:01] gmachine24: failing drive or drives, plural [20:01] yeah i agree [20:05] gmachine24: you can try, not mounting any, namely remove them from /etc/fstab and then do a SMART check on each independently, you could likely achieve the same thing by simply doing a LiveUSB boot, that way nothing is mounted at all, and then run a SMART check on the spinners, now, if smarttools doesn't come with the LIveUSB, you can install it with WiFi, and smarttools will work, for that live session only === kwiatekstas1 is now known as kwiatekstas === kwiatekstas1 is now known as kwiatekstas [20:10] ok, thank you bprompt and everyone. I was able to edit the fstab file and comment out the data/spinning drives - a reboot has me at the normal tty1 command prompt. So at least there's that. I do check these drives regularly but I think I know - if it's a spinning drive that is the problem - I think I know which one. I will set up a live boot stick and run smartmontools from there - as it seems if I reattach the drives and try to boot again I will [20:10] likely get those same error messages. [20:11] bprompt, you think I can do the smartmontools check from the command line where I am now without needing the live boot? [20:12] If you install the tool then sure [20:13] OK - I'm sure it's on the server but I think I'll do the live stick because I could just run into endless errors again [20:14] Is there a separate live install version of ubuntu desktop or can i just run the standard ISO burned to a usb dfive [20:15] gmachine24: hmmm why you need a separate? I mean, yes, you can just burn the standard ISO and run it live [20:16] I do not believe there is a seperate live installed usb. If you want to install it on a usb drive, use the regular installer and install it there. Or if you want to run live without persistance, you can certainly do so when burned to a usb drive or even dvdr. [20:16] errr written to a usb drive or burned to a dvr. [20:16] dvdr. damnit. [20:16] thanks. i've run numerous versions of linux - some like fedora have a live version and i'm getting to be of the age when I do not want to trust my memory, if you get my drift [20:17] i [20:17] ioria [20:18] gmachine24: hmmm you can get the standard ISO and likely create a "persistent storage" for it, what does that mean? well, it means that in the LiveUSB session all configurations and installations are kept, and not lost on reboot, that means you can add codecs or smartmontools and who knows what, and on the next LiveUSB session, they'll all be there, and you can use them without having to reinstall anything [20:19] right. i've seen that option on the software i use to burn the iso [20:20] gmachine24: yeap, that's what persistent storage is for, to keep the session changes [20:22] I'm at a Fedora desktop, I don't think their media writer has that option but I know Rufus (Windows) does. [20:24] gmachine24: had a funny episode once, was going to run a recovery on a laptop, so I created an ISO with persistent storage on my machine, added video codecs and player and so on, once I ran the liveUSB on the other laptop, everything was installed, but the video player was looking for my machine's soundcard's, it worked after a few clicks though =) [20:24] lol well I switched to the torrent download and it whizzed past the regular download [20:24] gmachine24: sorry, maybe I missed it by why do you need persistent storage on your flash drive? [20:24] that's cool bprompt it's great to learn new stuff [20:24] use a 2nd usb for storage [20:25] i'm not sure i do leftyfb i think bprompt was just offering that as an option in case i had to download something like smartmontools [20:25] you don't need persistent to run that [20:25] gmachine24: yeap, is just an option, but is not a must just for those quick checks [20:26] agreed but it's not a bad option to have in case i need something else [20:26] gmachine24: you can just use dd to write the iso to your flash drive [20:26] that's how i usually do it [20:26] dd always works [20:27] gmachine24: you can btw, always just get the "parted magic" ISO, it comes with a bunch of recovery tools right out of the box [20:28] that won't help reinstall his OS onto a new drive [20:28] i have the system rescue download but i don't think i have parted magic [20:29] at this point leftyfb the ssd drive with the os seems fine there might be problems with one or more of the three spinning data disks which are the ones I'm going to check [20:41] if I do a iw list for my wifi usb dongle, what tells me if the device support it as a hot spot? [20:42] If AP is in it, that means your Wifi devices support hotspot mode. [20:43] you're looking for "managed" to determine if the chipset supports station mode [20:44] GrandPa-G: iw list|grep -A10 "Supported interface modes [20:49] leftyfb, and in that section, I have managed so I should be good to go, correct? [20:49] GrandPa-G: do you also have AP? [20:50] leftyfb, no, sounds like bad news, huh? [20:52] I don't think it'll work [20:52] GrandPa-G: can we see a picture of your dongle? I mean, surely is around at google or yahoo images, right? [20:52] bprompt: maybe an output of lsusb or lspci might be better than a picture of a device [20:53] leftyfb: well, we know is a dongle, we dunno what model or make, just extra info [20:54] I am remote and it is acting up so it may take a few minutes. [20:54] again, output of lsusb or lspci is a lot more productive than a picture of a device [20:54] even a model# written on the outside isn't usually as helpful [20:55] Realtek Semiconductor Corp. RTL8192EU 802.11b/g/n WLAN Adapter [20:55] any help? [20:56] GrandPa-G: hmm maybe leftyfb doesn't, but I'd like a picture of it :) [20:57] we have the chipset model#, that's all that's needed. I don't see how a picture of the outside of a usb adapter is going to help in any way [20:57] GrandPa-G: so far I'm finding on google that the RTL8192EU only supports station/client mode, not AP [20:57] bprompt, I can't get the picture anyway, remote [20:58] hm, ok, maybe it does [20:58] GrandPa-G: i meant as in from google or yahoo images [20:58] GrandPa-G: is this a desktop or server? [21:00] as last resort one can check out the RTL8192eu-dkms https://launchpad.net/~kelebek333/+archive/ubuntu/kablosuz/+index?field.series_filter=noble .. but no hope for AP mode [21:00] leftyfb, desktop [21:01] GrandPa-G: try https://askubuntu.com/questions/630220/is-it-possible-to-run-rtl8188eu-in-ap-mode [21:01] I know it's a different chipset, but maybe worth a try [21:02] GrandPa-G: what release of ubuntu? [21:03] leftyfb, 22.04 [21:10] leftyfb, I am trying the link [21:17] leftyfb, unfortunately that link at the end is now dead. [21:19] GrandPa-G: what are referring to as a dead link? [21:23] at the end of the link leftyfb gave, there are steps to get a new driver. That refers to a website for software that points to a site that no longer exists. [21:30] GrandPa-G: there is https://github.com/Mange/rtl8192eu-linux-driver?tab=readme-ov-file#using-as-ap [21:33] does anyone see any problems with this dongle for ap mode? https://a.co/d/8aD4Wou [21:44] GrandPa-G: yes, lots of issues, most importantly, those suckers get really hot underload [21:45] trying to run openssh-server on ubuntu 24.04 (even tried to reinstall it with a purge in between) but it only seem to start for tcp6 but not tcp to listen at port 22, how come? [21:46] that tcp6 probably also covers v4 [21:46] Apachez: it's started. It's using a socket now so it will only listen when it needs to [21:47] Apachez: what issue are you having with it? [21:47] Apachez: https://discourse.ubuntu.com/t/sshd-now-uses-socket-based-activation-ubuntu-22-10-and-later/30189 [21:50] Hello. My computer is arp request my routher 2000/s what is happening [21:52] webchat96: take a moment, then try again... what you asked makes absolutely no sense [21:52] on what ubuntu, webchat96 ? and what is doing arp requests? [21:52] wireshark? [21:53] kali? [21:53] tcp and wireshark showing 200/s arp request [21:54] leftyfb: issue I got is that Im changing sshd_config and then restart with "systemctl restart ssh" but it seems like it ignores whats written in /etc/ssh/sshd_config [21:54] i dont think its getting a response [21:54] I tried to change port for example [21:54] Apachez: please see the link I posted [21:54] and then when client connets to it there is no ssh banner in return [21:54] it explains your exact issue [21:54] webchat96: what caused you to need to run wireshark? [21:55] learning purpose. at the moment its the same as looking at tcpdump for me [21:56] webchat96: where are you running wireshark? [21:56] ubuntu on a rasberry pi. is that what you mean? [21:58] webchat96: can you pastebin what you're seeing? [22:00] https://imgur.com/a/NDygEnf [22:00] im on a separate computer [22:01] webchat96: is 10.12.234.67 the ip of your pi? [22:01] correct i believe so [22:02] it is the source [22:04] webchat96: I could be wrong, but I'm pretty sure this is the result of whatever you're trying to do with wireshare or some other tool doing network scans [22:05] i did try a arp scan [22:05] i restarted the computer and it still going on [22:05] just restarted again and it seems normal so far [22:05] thank you regardless === pragmatic_enigma is now known as pragmaticenigma [22:07] !offtopoic [22:08] Komu: can we help you with something? [22:08] so you did an arp scan, which made wireshark register packets directed to all ip addresses in your LAN. you have wireshark setup to do name resolution and because it was showing this packet dump, it would ask the router about all the ip addresses in your LAN. [22:09] leftyfb: i try to find the ubuntu.offtopic channel via bot [22:10] Komu: /join #ubuntu-offtopic [22:11] i restarted then i started getting like 100packets/s so i was confused [22:11] whoever came up with these undocumented openssh-server changes should be fired and have their permissions revoked [22:11] im still aloof on what youre explaining thank you anyways [22:11] Apachez, how about sharing your conf? or rant away [22:12] = ignore [22:14] I removed openssh-server completely with "apt-get remove openssh-server --purge" I then readded it with "apt-get install openssh-server" I cant still login using ssh to this ubuntu 24.04 box using ssh. When from remote host doing "telnet 22" I get a tcp handshake but no ssh banner in return [22:14] which gives? [22:16] Apachez: first, why bother with telnet to an openssh server? [22:17] Apachez: what does /etc/ssh/sshd_config and/or /etc/systemd/system/ssh.socket.d/addresses.conf say for the listening port? [22:21] because telnet will show the cleartext traffic [22:21] the sshd_config is default due to reinstalled openssh-server [22:21] why do you need that? [22:21] to verify that the ssh banners is returned [22:21] I could use netcat for that [22:22] Apachez: why not use ssh to connect to the ssh server? [22:22] when no ssh banner is returned it means something is malfunctioning with the ssh server [22:22] because nothing happens when using ssh client [22:22] ssh username@ just nothing [22:23] after a while "Connection closed by port 22" [22:23] so using telnet/netcat towards this port I can verify I get a tcp handshake [22:23] Apachez: egrep "^ListenAddress|^Port" /etc/ssh/sshd_config /etc/systemd/system/ssh.socket.d/addresses.conf [22:23] but no banner is returned which is probably why the ssh-client dont start its authentication [22:23] I attempted to disable that ssh.socket [22:24] how did you attempt it? Please give the result of the command I gave you [22:24] I can verify that "systemctl stop ssh" and "systemctl start ssh" successfully starts/stops the sshd process verified with "netstat -atunp | grep 22" [22:24] grep: /etc/systemd/system/ssh.socket.d/addresses.conf: No such file or directory [22:28] sudo ufw allow OpenSSH [22:28] ufw isn't enabled by default [22:31] Apachez: lsof -i :22 [22:31] sorry, with sudo [22:32] finally [22:32] finally what? [22:32] tried to restart everything again with purge [22:32] now it works WITH ssh.socket [22:35] basically 1) remove openssh-server with "apt-get remove openssh-server --purge" 2) make sure no sshd is running with "ps auxwww | grep -i ssh" and "netstat -atunp | grep 22" 3) reinstall with "apt-get install openssh-server" 4) verify that sshd.server is not blocked in systemd generator 5) systemctl daemon-reload systemctl enable --now ssh.socket systemctl enable --now ssh.service [22:35] will see how things behaves next time I reboot the box [22:35] most of that isn't necessary [22:35] yeah I know but to be sure [22:35] so it has the default config now [22:35] my best guess is that the sshd process somehow got hung so when stopping/restarting it then it didnt actually restart [22:35] none of that is necessary to just install ssh on a new server and connect [22:36] oerheks: yeah Im thinking at least the default config should work? ;) [22:36] then I can try to apply my changes to sshd_config and see that a "systemctl restart ssh" works as expected [22:37] if you're still using ssh.socket, you can make changes to sshd_config but then you need to run sudo systemctl daemon-reload and then restart sshd [22:38] yup [22:38] thanks