[00:00] thanks for reporting issue cryptonector, we'll look when we can [00:00] you work for Canonical? [00:01] cryptonector: Most of us do not work for Canonical, but are volunteers [00:11] doing modprobe iwlmvm got it to load that driver, but still, no link, hmm [00:12] https://ubuntu.com/kernel/lifecycle is more up to date [00:21] 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] but why wouldn't they all just load normally at boot time? [00:23] also, supposing you have drivers loaded, what must one do to get ip link to see the wifi? [00:28] could the problem be secure boot? [00:32] alright, I'll reinstall with install media === Szadek6 is now known as Szadek === Bebef is now known as Guest3805 === gkasios is now known as aa [01:09] yay i got msys2 installing in docker wine :D [01:20] tho it seems to hang at `Installing component MSYS2` could just be a large install tho ... [01:28] !wine | jscript [01:28] jscript: WINE is a compatibility layer for running Windows programs on GNU/Linux - More information: https://help.ubuntu.com/community/Wine - Search the !AppDB for application compatibility ratings - Join #winehq for application help - See !virtualizers for running Windows (or another OS) inside Ubuntu [01:31] hi!! [01:31] que hora q é o jogo do mengão? [01:31] english [01:31] !pt | unknowndev [01:31] unknowndev: Por favor, use #ubuntu-br para ajuda em português. Para entrar no canal por favor faça "/join #ubuntu-br" sem as aspas. Para a comunidade local portuguêsa, use #ubuntu-pt. Obrigada. [01:32] when is the mengão's game? [01:32] unknowndev: no [01:32] !support | unknowndev [01:32] unknowndev: #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks! [01:45] msys2-base-x86_64-latest.sfx.exe appears to work tho [01:59] unfortunately the binaries dont seem to start [01:59] jscript: as pointed out multiple times now, you should ask for support with Windows applications installed on wine in #winehq === chris14_ is now known as chris14 [02:19] 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] *denied [02:22] senoraraton ALL=(ALL) NOPASSWD: ALL [02:22] Yes it has a newline at the end of it. I had it that way, and it also was not working. [02:22] it works [02:22] you need to log out and back in for it to take affect [02:23] I used exit, and I also disconnected and reconnect with ssh [02:23] It does not work. [02:24] I have almost 15k examples of it working [02:24] senoraraton@ip-172-26-7-120:~$ visudo [02:24] visudo: /etc/sudoers: Permission denied [02:24] I can give you the ssh login, if you want to see it for yourself... [02:24] senoraraton: type: sudo su [02:24] sudo su works, so does sudo ls, but visudo nor sudo kubeadm init work [02:25] you know you need to run "sudo visudo" right? [02:25] Why would I need to run sudo visudo, I am sudo, I can run all commands as sudo. [02:26] you're currently logged in as root? [02:26] No I'm logged in as my user [02:26] then you are not root [02:26] you need sudo [02:26] But I have passwordless sudo enabled.... [02:26] sudo is not a user, you cannot "be" sudo. you can be a sudoer. [02:26] So just randomly some commands I can't run, because #reasons? [02:26] then you dont have to enter your password, but still gotta type sudo [02:26] great, run your commands with sudo and it won't ask you for the password [02:27] well, at least they are patient and understanding [02:50] :D === docmax_ is now known as docmax === akik_ is now known as akik [05:32] what is the root password for Ubuntu? i.e, what should I put at `su -` ? [05:40] hmmmm maybe just don't use su -? i think that's asking for the root password. [05:40] try `sudo -i` instead, then you can use your password (assuming you're a sudoer, which by default the main user is) [05:41] by default there is no password for root account, thus root accoutn disabled, thus you can't su to it [05:41] i think.... [05:42] 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] To install a package, I use `sudo apt update && sudo apt install --yes `. 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] Bummer. [05:54] So, I wanted to `su -` and then `apt update && apt install --yes ` [05:54] So yeah, several workarounds for that. [05:54] `sudo -i` would work for that [05:54] other options include changing the timeout from when you have to enter sudo password again, or disabling sudo password requirement for apt. [05:57] how to disable password requirement for apt? link? [06:04] run `sudo visudo` and add a line, the syntax is like `$USER ALL=(ALL) NOPASSWD: ALL` [06:05] if you do it that exact way, replace $USER for your actual username, then sudo will never ask you for a password [06:12] 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 *` === TomTom_ is now known as TomTom [09:12] hi there ! [09:15] 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] is there a channel specific for snap? [09:19] 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] #snapcraft StyXman [09:19] pavucontrol is very good [09:19] hwpplayer1: tx [09:19] I tried pavucontrol with my friends but nothing changed [09:20] https://devicetests.com/ubuntu-22-04-headset-microphone what do you think about this article alocer ? [09:20] you're welcome StyXman [09:22] I need to reboot === kostkon_ is now known as kostkon === hdn is now known as firewalldt [11:45] excell [13:21] Hi all [13:23] Has there been an official announcement on the kernel version for 24.04 yet? [13:24] !next | chilversc [13:24] chilversc: Noble Numbat is the codename for Ubuntu 24.04. For technical support, see #ubuntu-next. For testing and QA feedback and help, see #ubuntu-quality. [13:24] thanks [15:06] 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] any ideas what could cause this? [15:06] i tried upgrading to 22.04 and the problem persists [15:06] to be clear, this delay happens even locally.. not just over NFS [15:07] 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] *ext4 [15:09] imbezol: get some i/o tools on there, and see there is a wait on anything [15:09] imbezol: also look how much ram is being used as cache [15:09] 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] (especially on a system with a raid volume that is doing constant consistency checks) [15:10] 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] have a look at some io operations [15:11] see if there is a wait on anything [15:11] 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] very possible, check the versions with the kernels [15:12] again though, getting some IO operation stats, is something I'd be looking at [15:12] 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] upgrade may not be a problem, the reboot after upgrade can often be a finish push on failing hardware [15:13] (not that I'm saying this is a hardware problem) [15:13] 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] depends how deep you want to go, I'd start with iostat form the sysstat package [15:14] or i have a directory at /backups// 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] i was even thinking maybe a change to the ext4 code.. i'm not sure [15:15] that's normally because it's cached the stucture [15:15] nah, unlikely [15:15] you could see how much inode usage you have too [15:15] as a bit of an edge case [15:15] but I'd do a basic look at io operations as a starting point to look for some easy symptoms [15:15] and a hardware check on the disks [15:15] start with the easy low hanging stuff [15:15] also what's the syslog telling you ? [15:16] the two filesystems (/ and /largedrive) are reporting 5% and 1% usage [15:16] imbezol: 5% and 1% node usage ? [15:16] inode [15:16] yeah [15:16] nice, [15:17] 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] seems to be more of a warning and doing some googling very common [15:18] https://www.kernel.org/doc/html/v4.19/dev-tools/ubsan.html [15:18] I'd hae to research the messages, but doesn't seem related to storage at a glance [15:18] no, i don't think so [15:20] Is it possible to enable RDP to a desktop from an SSH session? [15:20] 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] normally sits at 0% [15:20] SuperLag: as in turn on the rdp service ? [15:21] imbezol: what is your iostat frequencey [15:21] 1 second [15:22] ~6% is nothing [15:22] what's the tps column saying [15:22] with the system idle tho... it should be able the homedir instantly.. not wait 10 seconds [15:22] (by one second I assume you're running iostat 1) [15:22] 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] drops back to 0% [15:23] imbezol: that suggests there is a wait rather than performance [15:23] so the io request is not coming back for some reason [15:23] 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] that does kind of point to the raid card [15:24] or driver for it [15:24] imbezol: in a lazy way, it does, but there is an easy test [15:24] can you boot it without the raid card ? [15:24] or can you use the lsi tools to health check it [15:24] i could connect the system drive directly to the mobo controller, yeah.. just leave the capacity drives on the raid card [15:25] if you fsck a device on the raid card (or something equally as busy) what happens to the iostat outputs [15:25] (try a frequency of 5 rather than 1 it's normally more useful) [15:25] or something like 3 - 5 seconds [15:25] one is normally 'too quick' [15:25] (although certainly valuable) [15:26] and wait maybe 5 counts before doing anything [15:26] there used to be an lsi tools package that was useful [15:27] it's been a while since I used it though [15:34] Hey folks. Any of you guys know a good way to launch my terminal program automatically when I login to the desktop? === pizzaiolo is now known as pizza [16:12] Whenever I run 'sudo gcore ' my entire system starts freezing up after a few seconds and then becomes totally unusable. [16:13] I'm guessing that's not normal. What am I doing wrong? [16:39] zetheroo1: what is the process you're dumping === PasiZ7 is now known as PasiZ [16:41] ikonia: scand - it's an ESET Endpoint AV process. [16:47] is the AV acting as a passthrough/virtal device [16:47] as the device will hang while the dump is being processed [16:50] 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] depends I guess [16:51] why do you need a core dump of something like that ? [16:53] 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] 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] 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] Anyhow, I sent them all the other data they requested so hopefully that's enough. [17:10] would you not be better stracing it real time [17:11] 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] zetheroo1: a I being dumb ? the website says it's designed for windows [17:13] (I'd never heard of the product so looked it up) [17:19] 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] exited with status 1 [17:26] TomyWork: did installing net-tools remove something [17:26] use journalctl to see what's happening [17:27] I think systemd was restarted or something [17:27] but it doesnt say why [17:28] that normally suggests a daemon config change [17:28] but that shouldn't crash any services, right? [17:28] or even touch them [17:28] depends what's happened to the config [17:29] use journalctl to check the journal and get some idea what's happening [17:29] or look at the exec statement of the service from systemd and execute it [17:29] well, the package doesnt come with a postinst, so it wasn't the package [17:30] it could still have caused it as apt could have removed or reconfigured a package because of a dependency (for example) [17:30] dependencies - nope, not according to term.log [17:31] 51 minutes earlier, there was what looks like unattended-upgrades doing its thing [17:31] ah nope, it's an "apt-get upgrade -y", called manually [17:32] according to term.log, that went through smoothly and the net-tools install didn't pick up any leftover actions from that === nncanepa5 is now known as nncanepa [17:33] ikonia: ok, I'll try out strace instead. There is EEA for Linux as well. :) [17:33] ah whatever, i'll ask that coworker about it tomorrow, thanks :) [17:33] zetheroo1: I just found it, it's a different product totally than the one I was reading [17:33] TomyWork: check journalctl [17:34] I did and told you about what I saw above [17:34] and you responded to it ^^ [17:34] where ? [17:34] ikonia: 👍 [17:35] ikonia, ~8 minutes ago [17:35] I think systemd was restarted or something [17:35] that's not what journalctl says [17:35] it gives output and debug [17:37] oh, you want me to post it [17:37] you didnt say that :) [17:37] anyway, not today. like I said I'm gonna quiz the coworker first, before spending any more time on this [17:38] thanks for your help [18:02] 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] Hi folks. [18:18] !discuss | johnfg [18:18] johnfg: Want to talk about Ubuntu, but don't have a support question? /join #ubuntu-discuss for non-support Ubuntu discussion, or try #ubuntu-offtopic for general chat. Thanks! [18:18] Quick question: should sssd.conf go in /etc/sssd, or /etc/sssd/conf.d? [18:20] i typically put anything not out of the box into .d directories, if that makes sense [18:22] 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] . [18:56] ю [19:59] 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] I also checked the behaviour with live media and the problem is not present then. [20:22] !discuss | ChanServ [20:22] ChanServ: Want to talk about Ubuntu, but don't have a support question? /join #ubuntu-discuss for non-support Ubuntu discussion, or try #ubuntu-offtopic for general chat. Thanks! [20:24] ecapi: Who are you adressing? [20:24] ChanServ, he keep messaging me when i join [20:26] ecapi: AFAIK ChanServ is a bot. :) [20:28] And as we are using Libera Chat network it is a feature of Libera, not this channel. [20:55] 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] 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] 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] g105b: I have no answers (yet) - only more questions. Which Ubuntu version? [21:09] elias_a: 22.04 LTS [21:10] 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] I can't find the setting in Chrome, but that's the application that looks the worst. [21:13] g105b: Could it be that the apps that show colours wrong are installed as snaps? [21:15] 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] elias_a: Good call, but I've already disabled snaps because of other annoying issues. [21:15] g105b: Nuff said - way to go. :) [21:17] g105b: Sorry - I have no clue. A tricky one and IMHO not at all a simple one... [21:17] I'm not sure who's befitting from .EXEs on Linux, but they're still getting pedalled as the next new thing... [21:23] hi, I am using ubuntu 23.10, how do I know if I am using ALSA, pulseaudio, pipeaudio or media-sound/sndio ? === whodafak is now known as Guest3834 === Guest3834 is now known as whodafak [21:26] g105b: did you set a colour profile for your monitor(s) in the Gnome settings? [21:28] JanC: No, but checking now I only have one option - "Automatic" [21:55] can I stress-ng CPU and RAM at the same time? [21:55] with different stress-ng commands [22:34] telgareith: by all means, throw however much it'll take at it ;) [22:35] If you're asking HOW to do that, I could suggest screen, or multiple terminal windows. [22:36] hello friends! [22:42] 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] Define "freeze up" please. [22:44] 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] 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] There's a bunch of kernels saying *BAD*gran_size - I assume that's problematic? [22:52] There's also a mttr_cleanup: can not find optimal value [23:02] Anybody in here. New to Lubuntu [23:03] ok it looks like the root directory became read-only at some point [23:04] upon fresh install, how do you access an internet browser? [23:04] 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] mountainDewRocks: do you have `smartctl`? [23:05] I do [23:05] Do you know which device the disk is? [23:05] How do I access a browser? [23:05] (as in, which /dev/* handle it is) [23:06] Yes, sda2 [23:06] If yes, `smartctl -a /dev/sda2` and see if there's anything that might indicate an issue with the disk. [23:06] Huh, I changed that mid-typing, and never removed the "If yes" part :D [23:07] gregoryac: you should have a web browser somewhere in there; click the 9 dots and see if you recognise one. [23:08] Oh I guess a browser auto installs upon updating [23:08] Thanks Kadigan [23:09] Mine isnt showing as a 9 dots though, it loos like a bird [23:10] It says it passed: https://pastebin.com/JHLh0LfJ [23:11] rebooting gets me stuck at initramfs, so going through that process now.... [23:13] I rebooted [23:13] I was stuck at the initramfs [23:14] then I ran fsck.ext4 /dev/sda2 [23:14] Now /dev/sda2 is writable [23:26] mountainDewRocks: yeah, but that only resolves the symptom, not the underlying problem [23:26] If your fs is in ro mode, something caused it to go into ro mode. [23:27] 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] That's why I had you look at smartctl, but you should probably look at the data table it spit out. [23:31] 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] mountainDewRocks: Any value above 0 for "Uncorrectable Errors" or "Fail Counts" immediately make the device suspect. [23:32] 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] over the hotspot [23:33] en1gma: can you elaborate on how your networking is set up? I can't quite picture it. [23:34] Yeah, smartctl didn't come up with anything suspect, but I guess I'll try a different drive anyhow. [23:34] 2 phones are connect to pc through the mb onboard wifi card (hotspot) same pc is connect to modem by lan cord [23:34] i dont want phones to use the pc lan connection at all [23:35] i want pc to still have lan net though while maintaining the hotspot so i can communicate with the phones [23:35] one of the versions of ubuntu live usb let you do this i just cant remember which one [23:36] Technically any Ubuntu, or any sensible Linux, can do this, as long as you know how to disable packet forwarding. [23:36] (it would essentially break the link between the LAN and the AP) [23:36] with windows 11 i had to create a loopback interface and its a pain and it dont work right [23:37] so just firewall rules script? [23:37] 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] 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] 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] Do `sysctl net.ipv4.ip_forward` or `cat /proc/sys/net/ipv4/ip_forward` [23:39] i did uncheck the tics for make this connection available to others on the lan connection [23:39] k 1 sec [23:40] net.ipv4.ip_forward = 1 [23:40] "1" reported for cat /proc/sys/net/ipv4/ip_forward [23:41] try `sysctl -w net.ipv4.ip_forward=0` or `echo 0 > /cat /proc/sys/net/ipv4/ip_forward` [23:41] ugh [23:41] xD /cat [23:41] `echo 0 /proc/sys/net/ipv4/ip_forward` [23:41] obv [23:41] ugh xD [23:41] It's 1 AM :D [23:41] did the command and gonna check. 1 min [23:41] `echo 0 > /proc/sys/net/ipv4/ip_forward` [23:42] THERE. [23:42] I did it, mom! [23:43] dude. i think i love you. that was so simple and yet perfect [23:43] thank-you so much! [23:43] Yeah, just keep in mind that it can be switched back on just as easily [23:43] im taking a picture of that command and never losing it. [23:43] and whatever AP software you're using will probably do it "for you". ;] [23:44] those checks for make this connection available to others need to do that command [23:44] im just using the ubuntu software for the AP [23:44] 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] cant even select what security i want. it picks wpa [23:45] 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] so i think that first command will work. i havent tried it yet but i think it will [23:45] Also IIRC you were using a live boot, so unless you persist it, you'll need to enter it each time anyway. [23:46] that one liner i will gladly enter it. you wont believe the setup i had before. [23:46] You COULD just purchase a cheap router tho'. [23:46] a standalone router with not net but wifi. [23:47] Yeah. [23:47] i did that but i had to use it a switch [23:47] Connect the PC to the WiFi, should be able to talk to the phones on the same WiFi. [23:47] The cheapest router should be able to do it, really. [23:47] We're not talking permanent phat pipe Internet access here. [23:48] 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] And it'd be zero-configuration after the initial setup, and the defaults could work just as well really. [23:48] 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] (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] Ah, the router probably also gives you a default gateway... [23:49] 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] im running "ADB" to shell into the phones [23:49] "Wireless ADB" i mena [23:49] mean* [23:50] 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] 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] well i will probably do a dual boot ubuntu again now that i know its that easy to fix that problem [23:51] just wanted to test before i went all in again :) [23:51] It's even easier, actually. [23:51] 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] if I have installed linux-image-6.1.0-1026-oem, how do I make it the kernel I'll boot? [23:52] 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] but i thought man idk about adb on the router [23:52] wireshark on router is usually not that great either [23:53] even with dd-wrt/openwrt [23:53] Huh [23:53] :) it gets complicated. [23:53] en1gma: you can use the `nogateway` option in dhcpcd.conf for an interface (like wl0) [23:53] - which should prevent you from losing Internet when you connect to anything through it. [23:54] i thinking [23:54] oh you mean the AP on the pc or in the router? [23:54] On the PC. [23:54] ohhh [23:54] i thought you were talking on the rotuer [23:55] Essentially telling the PC "never use this interface as a gateway to other networks" [23:55] the phones have static ip addresses though [23:55] Doesn't matter. [23:55] As long as `nogateway` is specified for the WiFi interface, your PC's WiFi should never be used as the default gateway. [23:56] Just remember that you set it next time you lose cable internet and need to use WiFi to connect. xDD [23:56] thats what i want. to absolutely make sure they dont connect to the net [23:56] 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] 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] (which is the reason you're "losing Internet" when you connect to it) [23:57] This should resolve that pesky issue, allowing you to connect to both. [23:57] 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] dhcpcd.conf, specifically /etc/dhcpcd.conf [23:58] And if that's not used (I don't know if it is), then find the equivalent. [23:58] Just remember to configure the correct network interface. [23:58] 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] And have fun. :D [23:59] thanks for that great info! [23:59] heck yea its a blast. [23:59] wish i would have came here earlier instead of wasting 2 days on guides on windows 11 that didnt even work [23:59] Yeah, general networking under Windows isn't the most fortunate of things in the world.