[00:00] <guiverc> thanks for reporting issue cryptonector, we'll look when we can
[00:00] <cryptonector> you work for Canonical?
[00:01] <jeremy31> cryptonector: Most of us do not work for Canonical, but are volunteers
[00:11] <cryptonector> doing modprobe iwlmvm got it to load that driver, but still, no link, hmm
[00:12] <cryptonector> https://ubuntu.com/kernel/lifecycle is more up to date
[00:21] <cryptonector> I'm not really a Linux expert at all.  I see that the initramfs gets updated when I install various pkgs, so I assume I don't have to further update it.  I can modprobe in all the modules that load in the original install except a handful like the drm_* modules (fine) and things like nvme_common (hmm) and snd_sof_{probes,utils) and spi_intel and spi_intel_pci, and a few others
[00:21] <cryptonector> but why wouldn't they all just load normally at boot time?
[00:23] <cryptonector> also, supposing you have drivers loaded, what must one do to get ip link to see the wifi?
[00:28] <cryptonector> could the problem be secure boot?
[00:32] <cryptonector> alright, I'll reinstall with install media
[01:09] <jscript> yay i got msys2 installing in docker wine :D
[01:20] <jscript> tho it seems to hang at   `Installing component MSYS2`   could just be a large install tho ...
[01:28] <leftyfb> !wine | jscript
[01:31] <unknowndev> hi!!
[01:31] <unknowndev> que hora q é o jogo do mengão?
[01:31] <rbox> english
[01:31] <leftyfb> !pt | unknowndev
[01:32] <unknowndev> when is the mengão's game?
[01:32] <leftyfb> unknowndev: no
[01:32] <leftyfb> !support | unknowndev
[01:45] <jscript> msys2-base-x86_64-latest.sfx.exe appears to work tho
[01:59] <jscript> unfortunately the binaries dont seem to start
[01:59] <leftyfb> jscript: as pointed out multiple times now, you should ask for support with Windows applications installed on wine in #winehq
[02:19] <senoraraton> I'm trying to add my user to sudoers.d so that I have sudo without password on my server.  Currently in the sudoers.d dir is a file named senoraraton with the contents: "senoraraton ALL=(ALL:ALL) NOPASSWD: ALL"  The include directive is at the end of the sudoers file. I can sudo ls, but if I run say visudo, it says permission defined.... Anyone have any idea what is going on?\
[02:19] <senoraraton> *denied
[02:22] <leftyfb> senoraraton ALL=(ALL) NOPASSWD: ALL
[02:22] <senoraraton> Yes it has a newline at the end of it.  I had it that way, and it also was not working.
[02:22] <leftyfb> it works
[02:22] <leftyfb> you need to log out and back in for it to take affect
[02:23] <senoraraton> I used exit, and I also disconnected and reconnect with ssh
[02:23] <senoraraton> It does not work.
[02:24] <leftyfb> I have almost 15k examples of it working
[02:24] <senoraraton> senoraraton@ip-172-26-7-120:~$ visudo
[02:24] <senoraraton> visudo: /etc/sudoers: Permission denied
[02:24] <senoraraton> I can give you the ssh login, if you want to see it for yourself...
[02:24] <leftyfb> senoraraton: type: sudo su
[02:24] <senoraraton> sudo su works, so does sudo ls, but visudo nor sudo kubeadm init work
[02:25] <leftyfb> you know you need to run "sudo visudo" right?
[02:25] <senoraraton> Why would I need to run sudo visudo, I am sudo, I can run all commands as sudo.
[02:26] <leftyfb> you're currently logged in as root?
[02:26] <senoraraton> No I'm logged in as my user
[02:26] <leftyfb> then you are not root
[02:26] <leftyfb> you need sudo
[02:26] <senoraraton> But I have passwordless sudo enabled....
[02:26] <enigma9o7> sudo is not a user, you cannot "be" sudo.  you can be a sudoer.
[02:26] <senoraraton> So just randomly some commands I can't run, because #reasons?
[02:26] <enigma9o7> then you dont have to enter your password, but still gotta type sudo
[02:26] <leftyfb> great, run your commands with sudo and it won't ask you for the password
[02:27] <leftyfb> well, at least they are patient and understanding
[02:50] <esv> :D
[05:32] <numpy> what is the root password for Ubuntu? i.e, what should I put at `su -` ?
[05:40] <enigma9o7> hmmmm maybe just don't use su -?  i think that's asking for the root password.
[05:40] <enigma9o7> try `sudo -i` instead, then you can use your password (assuming you're a sudoer, which by default the main user is)
[05:41] <enigma9o7> by default there is no password for root account, thus root accoutn disabled, thus you can't su to it
[05:41] <enigma9o7> i think....
[05:42] <enigma9o7> however, if you really really want (even tho you no good reason for it) you can use sudo to create a password for root, then can login/su as root.
[05:53] <numpy> To install a package, I use `sudo apt update && sudo apt install --yes <package_name>`. Now if the network is slow, the first sudo call would time out by the time `sudo apt update` finishes exec-ing. So, the `sudo apt install` part will prompt for a password and block.
[05:53] <enigma9o7> Bummer.
[05:54] <numpy> So, I wanted to `su -` and then `apt update && apt install --yes <package_name>`
[05:54] <enigma9o7> So yeah, several workarounds for that.
[05:54] <enigma9o7> `sudo -i` would work for that
[05:54] <enigma9o7> other options include changing the timeout from when you have to enter sudo password again, or disabling sudo password requirement for apt.
[05:57] <numpy> how to disable password requirement for apt? link?
[06:04] <enigma9o7> run `sudo visudo` and add a line, the syntax is like `$USER ALL=(ALL) NOPASSWD: ALL`
[06:05] <enigma9o7> if you do it that exact way, replace $USER for your actual username, then sudo will never ask you for a password
[06:12] <enigma9o7> awww i think i just figured it out so it works only for apt too, and you left.  but just in case, i think its `%sudo ALL=(root) NOPASSWD: /usr/bin/apt *`
[09:12] <hwpplayer1> hi there !
[09:15] <hwpplayer1> I run Ubuntu 22.04 LTS with Ubuntu Pro. I installed Ubuntu 2 days ago. I have only one jack input and I have a headphone set which has a headphone and a microphone. But Ubuntu can not detect microphone and headphone. I configured it told like here https://www.youtube.com/watch?v=dYkzX1lyTNk but I can't record my voice.
[09:18] <StyXman> is there a channel specific for snap?
[09:19] <alocer> hwpplayer1: You can use `pavucontrol` with a nice GUI to see what is happening in your system. I highly advise you to use it.
[09:19] <hwpplayer1> #snapcraft StyXman
[09:19] <StyXman> pavucontrol is very good
[09:19] <StyXman> hwpplayer1: tx
[09:19] <hwpplayer1> I tried pavucontrol with my friends but nothing changed
[09:20] <hwpplayer1> https://devicetests.com/ubuntu-22-04-headset-microphone what do you think about this article alocer ?
[09:20] <hwpplayer1> you're welcome StyXman
[09:22] <hwpplayer1> I need to reboot
[11:45] <student> excell
[13:21] <BluesKaj> Hi all
[13:23] <chilversc> Has there been an official announcement on the kernel version for 24.04 yet?
[13:24] <lotuspsychje> !next | chilversc
[13:24] <chilversc> thanks
[15:06] <imbezol> i have an NFS server that i've run for years and years. it was very performant for all kinds of tasks from media to mv drives to git repos to backups etc. i recently upgraded it from ubuntu 18.04 to 20.04. upon doing that i notice there's a large delay accessing filesystem metadata. sshing to it can take 30 seconds after logging in. changing to a directory i haven't been in recently can take 30 seconds.
[15:06] <imbezol> any ideas what could cause this?
[15:06] <imbezol> i tried upgrading to 22.04 and the problem persists
[15:06] <imbezol> to be clear, this delay happens even locally.. not just over NFS
[15:07] <imbezol> i'm seeing this delay with both the root volume which is ext4 on lvm on ssd, and also the large md raid volume i have, with no lvm, but still ext3
[15:07] <imbezol> *ext4
[15:09] <ikonia> imbezol: get some i/o tools on there, and see there is a wait on anything
[15:09] <ikonia> imbezol: also look how much ram is being used as cache
[15:09] <ikonia> imbezol: there is also the possibiliy of a hardware failure, which can often cause delay on IO operations similar to what you're seeing
[15:10] <ikonia> (especially on a system with a raid volume that is doing constant consistency checks)
[15:10] <imbezol> the system doesn't do much and has 32 gigs of ram.. currently reporting 4 out of 32 in use, with 29 gigs in cache at the moment
[15:11] <ikonia> have a look at some io operations
[15:11] <ikonia> see if there is a wait on anything
[15:11] <imbezol> it uses an LSI SAS 2008 card flashed in IT mode for all drives. it could be a driver change with the newer kernel
[15:12] <ikonia> very possible, check the versions with the kernels
[15:12] <ikonia> again though, getting some IO operation stats, is something I'd be looking at
[15:12] <ikonia> I'd also check the hardware on the card, raid is busy even when idle, if something is failing that busy work is slow or causes a lock
[15:13] <ikonia> upgrade may not be a problem, the reboot after upgrade can often be a finish push on failing hardware
[15:13] <ikonia> (not that I'm saying this is a hardware problem)
[15:13] <imbezol> for io stats.. what would you suggest for a tool and what i'd be looking for? when i do file operations and haven't logged in for a half hour or something it seems very slow to fetch metadata. it can take almost 30 seconds to log in as my user as it tries to read the home dir. but once i'm in i can read / write with good performance
[15:14] <ikonia> depends how deep you want to go, I'd start with iostat form the sysstat package
[15:14] <imbezol> or i have a directory at /backups/<system_name>/ etc... when i first change into that dir it takes 30 seconds to load it... then it's fast to work inside it
[15:15] <imbezol> i was even thinking maybe a change to the ext4 code.. i'm not sure
[15:15] <ikonia> that's normally because it's cached the stucture
[15:15] <ikonia> nah, unlikely
[15:15] <ikonia> you could see how much inode usage you have too
[15:15] <ikonia> as a bit of an edge case
[15:15] <ikonia> but I'd do a basic look at io operations as a starting point to look for some easy symptoms
[15:15] <ikonia> and a hardware check on the disks
[15:15] <ikonia> start with the easy low hanging stuff
[15:15] <ikonia> also what's the syslog telling you ?
[15:16] <imbezol> the two filesystems (/ and /largedrive) are reporting 5% and 1% usage
[15:16] <ikonia> imbezol: 5% and 1% node usage ?
[15:16] <ikonia> inode
[15:16] <imbezol> yeah
[15:16] <ikonia> nice,
[15:17] <imbezol> syslog does have some weirdness.. but i've seen this with several systems running 6.5 kernels.. and i don't think i saw it at ubuntu 20.04 which also had this issue. i get UBSAN messages about my nvidia card and my chelsio network card
[15:18] <imbezol> seems to be more of a warning and doing some googling very common
[15:18] <imbezol> https://www.kernel.org/doc/html/v4.19/dev-tools/ubsan.html
[15:18] <ikonia> I'd hae to research the messages, but doesn't seem related to storage at a glance
[15:18] <imbezol> no, i don't think so
[15:20] <SuperLag> Is it possible to enable RDP to a desktop from an SSH session?
[15:20] <imbezol> running iostat, looking at the %iowait column, and then SSHing in from another terminal... took 10 seconds to connect.. %iowait sat around 6.5% the whole time
[15:20] <imbezol> normally sits at 0%
[15:20] <ikonia> SuperLag: as in turn on the rdp service ?
[15:21] <ikonia> imbezol: what is your iostat frequencey
[15:21] <imbezol> 1 second
[15:22] <ikonia> ~6% is nothing
[15:22] <ikonia> what's the tps column saying
[15:22] <imbezol> with the system idle tho... it should be able the homedir instantly.. not wait 10 seconds
[15:22] <ikonia> (by one second I assume you're running iostat 1)
[15:22] <imbezol> iostat 1, yes.. and as soon as i do the SSH it spikes from 0% to 6.5%, stays there for 10 seconds, then the login succeeds
[15:23] <imbezol> drops back to 0%
[15:23] <ikonia> imbezol: that suggests there is a wait rather than performance
[15:23] <imbezol> so the io request is not coming back for some reason
[15:23] <ikonia> if it's stuck at %6.5 for 10 seconds, that means it's normally waiting on operation rather than can't operate at the performance
[15:23] <imbezol> that does kind of point to the raid card
[15:24] <imbezol> or driver for it
[15:24] <ikonia> imbezol: in a lazy way, it does, but there is an easy test
[15:24] <ikonia> can you boot it without the raid card ?
[15:24] <ikonia> or can you use the lsi tools to health check it
[15:24] <imbezol> i could connect the system drive directly to the mobo controller, yeah.. just leave the capacity drives on the raid card
[15:25] <ikonia> if you fsck a device on the raid card (or something equally as busy) what happens to the iostat outputs
[15:25] <ikonia> (try a frequency of 5 rather than 1 it's normally more useful)
[15:25] <ikonia> or something like 3 - 5 seconds
[15:25] <ikonia> one is normally 'too quick'
[15:25] <ikonia> (although certainly valuable)
[15:26] <ikonia> and wait maybe 5 counts before doing anything
[15:26] <ikonia> there used to be an lsi tools package that was useful
[15:27] <ikonia> it's been a while since I used it though
[15:34] <wad> Hey folks. Any of you guys know a good way to launch my terminal program automatically when I login to the desktop?
[16:12] <zetheroo1> Whenever I run 'sudo gcore <pid of running process>' my entire system starts freezing up after a few seconds and then becomes totally unusable.
[16:13] <zetheroo1> I'm guessing that's not normal. What am I doing wrong?
[16:39] <ikonia> zetheroo1: what is the process you're dumping
[16:41] <zetheroo1> ikonia: scand - it's an ESET Endpoint AV process.
[16:47] <ikonia> is the AV acting as a passthrough/virtal device
[16:47] <ikonia> as the device will hang while the dump is being processed
[16:50] <zetheroo1> I really don't know. Support just told me to get a core dump of the process. How long does it usually take until it's finished? Or does it just continue until it's manually stopped?
[16:51] <ikonia> depends I guess
[16:51] <ikonia> why do you need a core dump of something like that ?
[16:53] <ogra> a core dump usually dumps your apps whole ram to disk ... if the app is actually swapping this definitely has quite some IO impact that can cause stutter/hangs ...
[17:01] <zetheroo1> Basically EEA (or rather the Web Access Protection service) is creating high CPU usage whenever a website is loaded in Chrome. The same site will take 1.5sec to load with EEA disabled, and 6.5sec with EEA enabled.
[17:02] <zetheroo1> So they are trying to troubleshoot the problem and asked me to make a core dump of the scand process as the problem occurs. Problem is that doing this locks up the system completely.
[17:02] <zetheroo1> Anyhow, I sent them all the other data they requested so hopefully that's enough.
[17:10] <ikonia> would you not be better stracing it real time
[17:11] <ikonia> the dump doesn't seem a good point as there is no promise you'll trap the error in that moment in time dump
[17:13] <ikonia> zetheroo1: a I being dumb ? the website says it's designed for windows
[17:13] <ikonia> (I'd never heard of the product so looked it up)
[17:19] <TomyWork> uh, any idea why just installing net-tools would make the networkd-dispatcher service from systemd-networkd exit with status 1, about 4 seconds later? the package was installed manually by a coworker (they apparently needed netstat). I checked the journal, bash history and a bunch of log files, but I can't figure out why that service would fail at that exact time, without leaving any error message in the log that's not just systemd reporting that it
[17:19] <TomyWork> exited with status 1
[17:26] <ikonia> TomyWork: did installing net-tools remove something
[17:26] <ikonia> use journalctl to see what's happening
[17:27] <TomyWork> I think systemd was restarted or something
[17:27] <TomyWork> but it doesnt say why
[17:28] <ikonia> that normally suggests a daemon config change
[17:28] <TomyWork> but that shouldn't crash any services, right?
[17:28] <TomyWork> or even touch them
[17:28] <ikonia> depends what's happened to the config
[17:29] <ikonia> use journalctl to check the journal and get some idea what's happening
[17:29] <ikonia> or look at the exec statement of the service from systemd and execute it
[17:29] <TomyWork> well, the package doesnt come with a postinst, so it wasn't the package
[17:30] <ikonia> it could still have caused it as apt could have removed or reconfigured a package because of a dependency (for example)
[17:30] <TomyWork> dependencies - nope, not according to term.log
[17:31] <TomyWork> 51 minutes earlier, there was what looks like unattended-upgrades doing its thing
[17:31] <TomyWork> ah nope, it's an "apt-get upgrade -y", called manually
[17:32] <TomyWork> according to term.log, that went through smoothly and the net-tools install didn't pick up any leftover actions from that
[17:33] <zetheroo1> ikonia: ok, I'll try out strace instead. There is EEA for Linux as well. :)
[17:33] <TomyWork> ah whatever, i'll ask that coworker about it tomorrow, thanks :)
[17:33] <ikonia> zetheroo1: I just found it, it's a different product totally than the one I was reading
[17:33] <ikonia> TomyWork: check journalctl
[17:34] <TomyWork> I did and told you about what I saw above
[17:34] <TomyWork> and you responded to it ^^
[17:34] <ikonia> where ?
[17:34] <zetheroo1> ikonia: 👍
[17:35] <TomyWork> ikonia, ~8 minutes ago
 I think systemd was restarted or something
[17:35] <ikonia> that's not what journalctl says
[17:35] <ikonia> it gives output and debug
[17:37] <TomyWork> oh, you want me to post it
[17:37] <TomyWork> you didnt say that :)
[17:37] <TomyWork> anyway, not today. like I said I'm gonna quiz the coworker first, before spending any more time on this
[17:38] <TomyWork> thanks for your help
[18:02] <MrMobius> I installed Ubuntu on one drive then installed a new drive and put Ubuntu on that. I get the choice of which drive to boot from now. Does the startup on either drive check for another drive?
[18:17] <johnfg> Hi folks.
[18:18] <ecapi> !discuss | johnfg
[18:18] <johnfg> Quick question: should sssd.conf go in /etc/sssd, or /etc/sssd/conf.d?
[18:20] <kaleido> i typically put anything not out of the box into .d directories, if that makes sense
[18:22] <johnfg> kaleido: Reading the man page a bit closer, I think this main sssd.conf file should go in /etc/sssd, and any other snippets, "not out of the box", into conf.d.
[18:56] <wtfankeer> .
[18:56] <wtfankeer> ю
[19:59] <elias_a> After upgrading to 23.10 for some reason command gnome-control-center opens Apps application. Assuming the problem is in 23.10 I reverted back to 22.04. The problem persists. I have kept my /home in the installation processes as I am used to. What could cause this strange behaviour?
[20:04] <elias_a> I also checked the behaviour with live media and the problem is not present then.
[20:22] <ecapi> !discuss | ChanServ
[20:24] <elias_a> ecapi: Who are you adressing?
[20:24] <ecapi> ChanServ, he keep messaging me when i join
[20:26] <elias_a> ecapi: AFAIK ChanServ is a bot. :)
[20:28] <elias_a> And as we are using Libera Chat network it is a feature of Libera, not this channel.
[20:55] <g105b> Hello ubuntites, I'm stuck with a silly issue and I hope someone knows the answer... Basically, when I open images in different applications, the colours are extremely different. See this screenshot: https://i.imgur.com/LgaPMIb.png
[20:57] <g105b> In my example, Chrome and Image Viewer show the green as very dull, almost brown. But nautilus shows the preview thumbnail correctly, and firefox shows the colours as they were designed.
[20:58] <g105b> I understand that web browsers might be all over the place, but the main issue for me is opening the same PNG image in Inkscape vs Gimp come out differently, so I don't know which one to trust.
[21:05] <elias_a> g105b: I have no answers (yet) - only more questions. Which Ubuntu version?
[21:09] <g105b> elias_a: 22.04 LTS
[21:10] <g105b> I just fixed it in Inkscape by searching the settings for "Colour management" and then ticking the box "Get colour profile from monitor"... but I didn't change that myself, so something has changed on the system to make certain applications look all horrible.
[21:10] <g105b> I can't find the setting in Chrome, but that's the application that looks the worst.
[21:13] <elias_a> g105b: Could it be that the apps that show colours wrong are installed as snaps?
[21:15] <elias_a> I am not good with colours but thinking back the days when one of my jobs was to calibrate displays I remember it was a must the calibration was done on OS level, not application level.
[21:15] <g105b> elias_a: Good call, but I've already disabled snaps because of other annoying issues.
[21:15] <elias_a> g105b: Nuff said - way to go. :)
[21:17] <elias_a> g105b: Sorry - I have no clue. A tricky one and IMHO not at all a simple one...
[21:17] <g105b> I'm not sure who's befitting from .EXEs on Linux, but they're still getting pedalled as the next new thing...
[21:23] <masber> hi, I am using ubuntu 23.10, how do I know if I am using ALSA, pulseaudio, pipeaudio or media-sound/sndio ?
[21:26] <JanC> g105b: did you set a colour profile for your monitor(s) in the Gnome settings?
[21:28] <g105b> JanC: No, but checking now I only have one option - "Automatic"
[21:55] <telgareith> can I stress-ng CPU and RAM at the same time?
[21:55] <telgareith> with different stress-ng commands
[22:34] <Kadigan> telgareith: by all means, throw however much it'll take at it ;)
[22:35] <Kadigan> If you're asking HOW to do that, I could suggest screen, or multiple terminal windows.
[22:36] <mountainDewRocks> hello friends!
[22:42] <mountainDewRocks> I recently installed ubuntu 22.04 LTS on an SSD. I have had it freeze up on me twice in the past day. `systemctl status` shows the state is degraded with one failed unit. Not being a linux guru, I don't really know what that means. Any ideas on if this is related, what could be causing it, or how to resolve the issue?
[22:43] <Kadigan> Define "freeze up" please.
[22:44] <mountainDewRocks> It becomes completely unresponsive to any and all inputs excluding holding down the power button. I let it sit overnight last night to see if it would become responsive again, but it did not
[22:49] <Kadigan> You can use systemctl to read kernel buffer logs from previous sessions. Try `journalctl -o short-precise -k -b -1` to see the previous boot's log (-2 for 2 boots ago, -3 for...), perhaps there's something at the end of the log that might give a clue.
[22:51] <mountainDewRocks> There's a bunch of kernels saying *BAD*gran_size - I assume that's problematic?
[22:52] <mountainDewRocks> There's also a mttr_cleanup: can not find optimal value
[23:02] <gregoryac> Anybody in here. New to Lubuntu
[23:03] <mountainDewRocks> ok it looks like the root directory became read-only at some point
[23:04] <gregoryac> upon fresh install, how do you access an internet browser?
[23:04] <Kadigan> That would indicate an issue with the disk, or the partition. You'll often find the filesystem configured to re-mount itself in read-only mode when a failure occurs.
[23:05] <Kadigan> mountainDewRocks: do you have `smartctl`?
[23:05] <mountainDewRocks> I do
[23:05] <Kadigan> Do you know which device the disk is?
[23:05] <gregoryac> How do I access a browser?
[23:05] <Kadigan> (as in, which /dev/* handle it is)
[23:06] <mountainDewRocks> Yes, sda2
[23:06] <Kadigan> If yes, `smartctl -a /dev/sda2` and see if there's anything that might indicate an issue with the disk.
[23:06] <Kadigan> Huh, I changed that mid-typing, and never removed the "If yes" part :D
[23:07] <Kadigan> gregoryac: you should have a web browser somewhere in there; click the 9 dots and see if you recognise one.
[23:08] <gregoryac> Oh I guess a browser auto installs upon updating
[23:08] <gregoryac> Thanks Kadigan
[23:09] <gregoryac> Mine isnt showing as a 9 dots though, it loos like a bird
[23:10] <mountainDewRocks> It says it passed: https://pastebin.com/JHLh0LfJ
[23:11] <mountainDewRocks> rebooting gets me stuck at initramfs, so going through that process now....
[23:13] <mountainDewRocks> I rebooted
[23:13] <mountainDewRocks> I was stuck at the initramfs
[23:14] <mountainDewRocks> then I ran fsck.ext4 /dev/sda2
[23:14] <mountainDewRocks> Now /dev/sda2 is writable
[23:26] <Kadigan> mountainDewRocks: yeah, but that only resolves the symptom, not the underlying problem
[23:26] <Kadigan> If your fs is in ro mode, something caused it to go into ro mode.
[23:27] <Kadigan> And that something is likely a hardware failure, because "read only filesystem", "system hangs", and *probably* "long system-wide freezes during save operations" are a dead give-away for a disk failure.
[23:28] <Kadigan> That's why I had you look at smartctl, but you should probably look at the data table it spit out.
[23:31] <en1gma> with ubuntu 22.04 "try ubuntu" can the hotspot be isolated from the lan internet? im in ubuntu 24.04 and am going to dl the 22.04 if it can but i dont want to waste my time working my backwards to 18.04 if it cant. its either 18.04 or 20.04 i think that can do this
[23:32] <Kadigan> mountainDewRocks: Any value above 0 for "Uncorrectable Errors" or "Fail Counts" immediately make the device suspect.
[23:32] <en1gma> i still want the pc to be able connect to the phones through the hotspot and i want same pc to have net but i dont want the phones to have net through the lan
[23:33] <en1gma> over the hotspot
[23:33] <Kadigan> en1gma: can you elaborate on how your networking is set up? I can't quite picture it.
[23:34] <mountainDewRocks> Yeah, smartctl didn't come up with anything suspect, but I guess I'll try a different drive anyhow.
[23:34] <en1gma> 2 phones are connect to pc through the mb onboard wifi card (hotspot) same pc is connect to modem by lan cord
[23:34] <en1gma> i dont want phones to use the pc lan connection at all
[23:35] <en1gma> i want pc to still have lan net though while maintaining the hotspot so i can communicate with the phones
[23:35] <en1gma> one of the versions of ubuntu live usb let you do this i just cant remember which one
[23:36] <Kadigan> Technically any Ubuntu, or any sensible Linux, can do this, as long as you know how to disable packet forwarding.
[23:36] <Kadigan> (it would essentially break the link between the LAN and the AP)
[23:36] <en1gma> with windows 11 i had to create a loopback interface and its a pain and it dont work right
[23:37] <en1gma> so just firewall rules script?
[23:37] <Kadigan> Not sure what you mean, since a "loopback" interface is essentially 127/8 and is always present (must always exist) for any IP-based networking.
[23:38] <Kadigan> en1gma: I assume your "hotspot" program creates this forwarding rule, because it shouldn't be there by default (i.e. by default, Linux does *not* do forwarding)
[23:39] <en1gma> yea basically i just booted into this live enviroment and created the hotspot in networking and plugged in my lan cable and everything is connected. thats the problem :)
[23:39] <Kadigan> Do `sysctl net.ipv4.ip_forward` or `cat /proc/sys/net/ipv4/ip_forward`
[23:39] <en1gma> i did uncheck the tics for make this connection available to others on the lan connection
[23:39] <en1gma> k 1 sec
[23:40] <en1gma> net.ipv4.ip_forward = 1
[23:40] <en1gma> "1" reported for cat /proc/sys/net/ipv4/ip_forward
[23:41] <Kadigan> try `sysctl -w net.ipv4.ip_forward=0` or `echo 0 > /cat /proc/sys/net/ipv4/ip_forward`
[23:41] <Kadigan> ugh
[23:41] <Kadigan>  xD /cat
[23:41] <Kadigan> `echo 0  /proc/sys/net/ipv4/ip_forward`
[23:41] <Kadigan> obv
[23:41] <Kadigan> ugh xD
[23:41] <Kadigan> It's 1 AM :D
[23:41] <en1gma> did the command and gonna check. 1 min
[23:41] <Kadigan> `echo 0 > /proc/sys/net/ipv4/ip_forward`
[23:42] <Kadigan> THERE.
[23:42] <Kadigan> I did it, mom!
[23:43] <en1gma> dude. i think i love you. that was so simple and yet perfect
[23:43] <en1gma> thank-you so much!
[23:43] <Kadigan> Yeah, just keep in mind that it can be switched back on just as easily
[23:43] <en1gma> im taking a picture of that command and never losing it.
[23:43] <Kadigan> and whatever AP software you're using will probably do it "for you". ;]
[23:44] <en1gma> those checks for make this connection available to others need to do that command
[23:44] <en1gma> im just using the ubuntu software for the AP
[23:44] <Kadigan> You could also do a firewall rule that would block all packet forwarding from the AP into the LAN, but the default firewall in Ubuntu is ufw and I don't know ufw.
[23:44] <en1gma> cant even select what security i want. it picks wpa
[23:45] <en1gma> i need to be able to communicate with the phones over that hotspot from the pc built-in wifi card that is the hotspot
[23:45] <en1gma> so i think that first command will work. i havent tried it yet but i think it will
[23:45] <Kadigan> Also IIRC you were using a live boot, so unless you persist it, you'll need to enter it each time anyway.
[23:46] <en1gma> that one liner i will gladly enter it. you wont believe the setup i had before.
[23:46] <Kadigan> You COULD just purchase a cheap router tho'.
[23:46] <en1gma> a standalone router with not net but wifi.
[23:47] <Kadigan> Yeah.
[23:47] <en1gma> i did that but i had to use it a switch
[23:47] <Kadigan> Connect the PC to the WiFi, should be able to talk to the phones on the same WiFi.
[23:47] <Kadigan> The cheapest router should be able to do it, really.
[23:47] <Kadigan> We're not talking permanent phat pipe Internet access here.
[23:48] <en1gma> i used the router with no net to link both the phones and pc over its wifi but i had to leave internet each time as i didnt have the lan cord to my modem like i do now
[23:48] <Kadigan> And it'd be zero-configuration after the initial setup, and the defaults could work just as well really.
[23:48] <en1gma> i could do the same think again but i lose internet when i switch to that router with wifi. i trying to keep net and phones all connected but phones without net
[23:48] <Kadigan> (though I'd recommend you set aside IP allocations for each phone by MAC address, so that each would always get the same predictable IP)
[23:49] <Kadigan> Ah, the router probably also gives you a default gateway...
[23:49] <en1gma> i had em set as static ips but i still would lose net on pc when i switch to that wifi connection to the router to talk to the phones
[23:49] <en1gma> im running "ADB" to shell into the phones
[23:49] <en1gma> "Wireless ADB" i mena
[23:49] <en1gma> mean*
[23:50] <Kadigan> You'd have to configure the router to not send a gateway, or configure a gateway with higher default priority *I think*. The latter would still need entering into non-persistent live sessions however.
[23:50] <en1gma> so it has to be a wifi connection and i figure i would gain a lan cable to goto modem (instead of wireless like i was) but i lose the router
[23:51] <en1gma> well i will probably do a dual boot ubuntu again now that i know its that easy to fix that problem
[23:51] <en1gma> just wanted to test before i went all in again :)
[23:51] <Kadigan> It's even easier, actually.
[23:51] <Kadigan> As long as the AP doesn't enable IP forwarding each time it sets it up, which it might, a simple sysctl.conf entry should do.
[23:51] <cryptonector> if I have installed linux-image-6.1.0-1026-oem, how do I make it the kernel I'll boot?
[23:52] <en1gma> yes but wireshark :) i was going to put it on the router and use a lan cable to the router and it do the adb
[23:52] <en1gma> but i thought man idk about adb on the router
[23:52] <en1gma> wireshark on router is usually not that great either
[23:53] <en1gma> even with dd-wrt/openwrt
[23:53] <Kadigan> Huh
[23:53] <en1gma> :) it gets complicated.
[23:53] <Kadigan> en1gma: you can use the `nogateway` option in dhcpcd.conf for an interface (like wl0)
[23:53] <Kadigan> - which should prevent you from losing Internet when you connect to anything through it.
[23:54] <en1gma> i thinking
[23:54] <en1gma> oh you mean the AP on the pc or in the router?
[23:54] <Kadigan> On the PC.
[23:54] <en1gma> ohhh
[23:54] <en1gma> i thought you were talking on the rotuer
[23:55] <Kadigan> Essentially telling the PC "never use this interface as a gateway to other networks"
[23:55] <en1gma> the phones have static ip addresses though
[23:55] <Kadigan> Doesn't matter.
[23:55] <Kadigan> As long as `nogateway` is specified for the WiFi interface, your PC's WiFi should never be used as the default gateway.
[23:56] <Kadigan> Just remember that you set it next time you lose cable internet and need to use WiFi to connect. xDD
[23:56] <en1gma> thats what i want. to absolutely make sure they dont connect to the net
[23:56] <Kadigan> This has nothing to do with the phones. It would only prevent your PC from trying to use the WiFi router as the main connection
[23:56] <en1gma> if they connect it messes up my software on the phones and i have to factory reset and uninstall all the bloat and settings each time
[23:56] <Kadigan> (which is the reason you're "losing Internet" when you connect to it)
[23:57] <Kadigan> This should resolve that pesky issue, allowing you to connect to both.
[23:57] <en1gma> im going to copy this whole conversation so i can review and think on it later. so you are thinking just that dhcp.conf file on ubuntu can fix that?
[23:57] <Kadigan> dhcpcd.conf, specifically /etc/dhcpcd.conf
[23:58] <Kadigan> And if that's not used (I don't know if it is), then find the equivalent.
[23:58] <Kadigan> Just remember to configure the correct network interface.
[23:58] <en1gma> yep yep. i messed around with it before and ip firewall rules too but i get lost in the firewall rules. iptables and dhcpd i can relate too a little bit
[23:58] <Kadigan> And have fun. :D
[23:59] <en1gma> thanks for that great info!
[23:59] <en1gma> heck yea its a blast.
[23:59] <en1gma> wish i would have came here earlier instead of wasting 2 days on guides on windows 11 that didnt even work
[23:59] <Kadigan> Yeah, general networking under Windows isn't the most fortunate of things in the world.