[00:06] <Guddu> PeGaSuS, sem For some reason my Ubuntu although connected using ethernet cable acquired a IP using only the WIFi Interface. How can i set this right?
[00:06] <oerheks> some routers have an MAC filter...
[00:06] <oerheks> to assign staticf ip, lan or wireless
[00:07] <Guddu> oerheks, I just saw that. I assigned a static one for my Wifi mac. But I am looking also for a way to have a IP for my Ethenernet interface
[04:31] <Gudddu> I feel; that my cron is not working.
[04:31] <Gudddu> */5 * * * /home/ubuntu/update_dns.sh
[04:31] <Gudddu> This was supposed to execute every 5 minutes
[04:34] <AzBukiVedi> С Новым 2024 Годом!
[04:38] <Gudddu> Git it. I was missing the right syntax.
[05:50] <nico_> I am currently running an OEM kernel, but recent pkg installs tell me that I'll be getting upgraded to a generic kernel.  I'm guessing when I reboot I'm going to have some issues.
[06:00] <kotgc> Hello, would Ubuntu people recommend Rsync or Vimdiff to check directories and their files?
[06:04] <kotgc> ...or maybe rdiff (apparently a mix or rsync and vimdiff)?
[06:11] <AzBukiVedi> http://global.net.ru:8080/temp/Photo0104.jpg HNY!
[06:49] <marcopolo> Guys , can you make apt show deb packages instead of snaps  ?
[06:50] <ravage> apt only show apt
[06:50] <marcopolo> it seems like apt repositories only show snaps
[06:50] <ravage> no
[06:51] <marcopolo> In software center there are only snaps packages
[06:51] <marcopolo> Or is there a deb package repository ?
[06:52] <ravage> apt search
[06:53] <ravage> https://packages.ubuntu.com/
[06:53] <marcopolo> it says transitional package to snap
[06:54] <ravage> that is probably firefox then
[06:54] <marcopolo> no its chromium
[06:54] <ravage> or that
[06:54] <ravage> ubuntu does not provide deb versions of those 2 packages
[07:25] <kotgc> Solved, by using Meld.
[07:57] <Guest0> hi all, how to create a live usb for windows i use ubuntu, it's just a suggested solution for my external hd's problems
[07:57] <Guest0> i used this Startup Disk Creator
[07:58] <Guest0> but it don't open .iso file of windows 11 image
[07:58] <Guest0> i downloaded image from here https://www.microsoft.com/it-it/software-download/windows11
[08:01] <Guest0> balena etcher that suggested in the tutorial of ubuntu's istallation is not available in ubuntu software and rufus too
[08:51] <PeGaSuS> you can install Balena Etcher from their deb
[10:03] <mmj> my newyear gift: https://gist.github.com/mmj-the-fighter/76ca2319300c754d843c3df736a4e95e
[10:44] <itu> secret?
[10:45] <ubuntustudio> eek, sharks
[10:54] <jailbreak> Happy new year to all volunteers 🥳
[11:32] <nasum> how to ignore certain dotfiles /dotdirs with updatedb.conf ?
[11:56] <Sarcastro> Hello, I was hoping someone might be able to help with an issue. Ruby adds the same 3 lines to my .bashrc file in an endless loop when I ssh into Ubuntu  ( # Install Ruby Gems to ~/gems    export GEM_HOME="$HOME/gems"   export PATH="$HOME/gems/bin:$PATH ) and I don't even see the prompt until I hit ^C.
[12:01] <Sarcastro> I have 10 ruby packages installed (via apt).. guessing it's probably one of the two manually installed 1:3.0~exql versions.. can't recall why I installed them, but packages are: ruby-dev/jammy,now 1:3.0~exp1 amd64 [installed]  ruby-net-telnet/jammy,jammy,now 0.1.1-2 all [installed,automatic]  ruby-rubygems/jammy,jammy,now 3.3.5-2 all [installed,automatic]  ruby-webrick/jammy,jammy,jammy-updates,jammy-updates,now 1.7.0-3 all [installed,automatic]
[12:01] <Sarcastro> ruby-xmlrpc/jammy-updates,jammy-updates,now 0.3.2-1ubuntu0.1 all [installed,automatic]  ruby3.0-dev/jammy-updates,jammy-security,now 3.0.2-7ubuntu2.4 amd64 [installed,automatic]  ruby3.0-doc/jammy-updates,jammy-updates,jammy-security,jammy-security,now 3.0.2-7ubuntu2.4 all [installed,automatic]  ruby3.0/jammy-updates,jammy-security,now 3.0.2-7ubuntu2.4 amd64 [installed,automatic]  ruby/jammy,now 1:3.0~exp1 amd64 [installed]
[12:02] <prova> Hi everybody! In ubuntu 20.04, inside a .yaml file for netplan, at the same time can be present a directive "renderer: networkd" and a directive "renderer: NetworkManager"? Thx
[14:27] <coz_> Happy New Year!
[14:28] <oerheks> same to you, coz_
[14:29] <coz_> oerheks, thank you, hope all goes well for you this year:)
[14:29] <kevr> likewise
[14:29] <kevr> happy 2024
[14:29] <coz_> Yes and thanks :)
[14:31] <ouzel8> Hi everyone!
[14:31] <ouzel8> I have installed Ubuntu in a HyperV VM.
[14:33] <CosmicDJ> ouzel8: great
[14:34] <ouzel8> I have encountered an issue with networking.
[14:34] <ouzel8> It is configured with static IP, and the VM with an external networked switch (i.e. shares the hosts NIC).
[14:35] <ouzel8> I have encountered issues connecting to the VM.
[14:37] <ouzel8> I can connect from the host, but when connect from other devices on the LAN, I cannot connect (furthermore ping also result in timing out).
[14:37] <ouzel8> I have observed an exception in which I can connect one of the devices on the network.
[14:38] <ouzel8> But from other devices, including the network router, I cannot find, or connect to the host.
[14:40] <ouzel8> Can anyone assist in explain likely causes for the problem
[14:42] <ouzel8> Also I have check the firewall status and its inactive.
[14:51] <oerheks> sounds like not an ubuntu issue, but windows networking with that external switch?
[14:51] <JanC> or Windows host networking internally
[14:52] <JanC> assuming the VM gets an IP address at all, of course
[14:53] <JanC> also, are the host & guest IP address in the same subnet?
[14:53] <ouzel8> FYI, I confirm I can find, and connect to the host from any other device.
[14:54] <ouzel8> yes
[15:02] <Yakov> I need to add some script to be called on my system load
[15:03] <arraybolt3> Yakov: Does it require root privileges? If not, write the script, then in your ~/.profile file, add a line that runs the script.
[15:04] <arraybolt3> If it does need root privileges, write the script, install it into /usr/local/bin, and write a oneshot systemd unit for it. An example of this can be found here: https://discourse.lubuntu.me/t/enabling-ram-compression-on-lubuntu/3323
[15:04] <Yakov> ty
[15:33] <charles_> Does anyone know how to cause the text editor Nano, to show the whole line of text , I think they call it scrolling?
[15:35] <leftyfb>  charles_ https://blog.wplauncher.com/line-wrapping-in-nano-editor/
[15:36] <charles_> thanks leftyfb!
[15:38] <PeGaSuS> still, be careful with line wrapping when copying text, because what's on the next line is copied as a newline
[15:44] <charles_> interesting, PeGaSuS
[15:45] <PeGaSuS> and be especially careful when editing config files or soft-wrap might break them
[15:45] <charles_> usually on Nano I send out blocks, by the command Ctrl+O, that is offer to make a new file, do  you think doing that the scrolled lines might appear as separate lines?  If it does it's a good thing to beware of
[15:48] <PeGaSuS> I don't think so, because the wrap is just a visual artifact. it affects copying text but not saving the file, iirc
[15:49] <charles_> ok cool.   hmm might make a difference though, if I'm copying and pasting within the document in Nano, for example Ctrl+U [cut] then Ctrol+U [paste] maybe then it would paste them as separate lines?
[15:50] <PeGaSuS> just disable wrapping before saving the file (if it's a config file) and do a quick check to avoid surprises
[15:52] <PeGaSuS> I don't think so. I rememer it only affected copy/paste when selecting with the mouse and using Ctrl+Shift+C/V
[15:53] <PeGaSuS> as far as nano is aware, when you use Ctrl+K/U the file doesn't have lines warpped
[15:53] <PeGaSuS> wrapped*
[15:58] <CYB3RATTACK> Bye.
[16:09] <BluesKaj> Happy New Year to all
[16:10] <jailbreak> Happy new year BluesKaj :)
[16:11] <BluesKaj> Happy New Year jailbreak :-)
[17:10] <Tabmow> My DHCP server is set with a domain search that works fine on Windows, but doesn't seem to work on my ubuntu machine. Where can I double check that it is setting it correctly?
[17:13] <rbox> Tabmow: what "doesn't work"
[17:18] <Tabmow> My local domain is .local - if I ping blah.local it works, but if I ping blah it does not.
[17:19] <rbox> .local is gonna conflict with multicast dns
[17:19] <rbox> very bad choice for a domain
[17:19] <Tabmow> That was an example
[17:19] <rbox> what does /etc/resolv.conf say
[17:20] <Tabmow> It has 'search .'
[17:20] <rbox> thats weird
[17:20] <Tabmow> Should the DHCP lease be changing that automatically?
[17:20] <rbox> yes
[17:21] <rbox> that whole file shoudl be generated
[17:21] <Tabmow> Yeah I figured - the nameserver is 127.0.0.53 so I'm guessing it uses resolved right?
[17:22] <rbox> it uses wahtever is listening on the ip/port
[17:22] <Tabmow> resolvectl status mentions the correct default gw and dns server that my dhcp lease is giving but doesn't say anything about search domains
[17:23] <rbox> it should list 'dns domain'
[17:24] <Tabmow> It doesn't anywhere.... strange.
[17:38] <tester> hello
[17:38] <oerheks>  
[17:39] <tester> hello
[17:39] <tester> anyone the fuck here eeeEE?
[17:39] <tester> hellooo
[17:40] <tester> some user hacker has entered and that is men, no one wana speeak?
[17:40] <tomreyn> tester: please stop
[17:40] <oerheks> we tend to wait for a support issue, tester
[17:40] <tester> ok who am i speaking to human or bot?
[17:40] <oerheks> and happy NY, many are not active today
[17:41] <tomreyn> tester: if you have an ubuntu question, you are welcome to ask that, and if you'll see someone responding then it'll be a human, possibly asking a bot to give a pre-written response.
[17:41] <tester> im going to setup my hidden service to the web with hexchat but first i want this to see if this work, because many months i tried fixing these issues and it hasn't work, fucking tor slow and fucking hexchat
[17:42] <oerheks> keep the language family friendly, thanks.
[17:42] <tester> ah okay so this is ubuntu channel okok
[17:43] <tomreyn> tester: the channel /topic has links to guidelines you should read to see what we like and dislike here
[17:44] <tester> tired of encountering issues with hexchat, so tired people here
[17:45] <tester> anyway leaving, thank you for interactions users goodbye
[17:45] <oerheks> i guess you get a better result when you register with #libera
[18:01] <cbreak> I've switched to irssi, it's quite nice once configured, apt install irssi, but it's CLI
[18:51] <cryptonector> I am currently running an OEM kernel, but recent pkg installs tell me that I'll be getting upgraded to a generic kernel.  I'm guessing when I reboot I'm going to have some issues.  Is that so?
[18:54] <arraybolt3> cryptonector: Potentially, but I would guess it will *probably* be OK. You can see what the difference is between OEM and generic kernels here: https://wiki.ubuntu.com/Kernel/OEMKernel
[18:56] <arraybolt3> Depending on what OEM you're using, an upgrade from an OEM kernel to a generic one may be intentional on the OEM's part. My Kubuntu Focus system upgraded from an OEM kernel to a newer generic kernel and worked just fine, and I confirmed with them that this was intentional.
[18:57] <arraybolt3> So you could always ask your OEM.
[19:07] <tomreyn> cryptonector: OEM kernels are basically standard ubuntu kernels but with extra patches to support vendor specific hardware which is not (yet?) supported by upstream linux (kernel.org) and the default ubuntu kernel images. if this situation changes later (driver support for all relevant hardware components becomes available on ubuntu kernel images) then it would make sense to have you move away from OEM images and track ubuntu's default kernel
[19:07] <tomreyn> images.
[19:10] <JanC> e.g. upgrade to a new HWE kernel
[19:21] <cryptonector> I see, thanks!
[19:22] <cryptonector> this is an OEM install that I re-did (by adding all the apt sources, keys, etc) by installing w/ ZFS root
[19:30] <Guest33> does the latest ubuntu support oem install?
[19:47] <tomreyn> Guest33: 22.04 LTS does according to https://help.ubuntu.com/community/Ubuntu_OEM_Installer_Overview - I would assume that 23.10 does, too.
[19:54] <cryptonector> how do I determine what kernel I'm running right now?
[19:55] <cryptonector> (uname -r)
[19:55] <cryptonector> also, how do I force my ubuntu back onto the OEM kernerl
[20:08] <tomreyn> cryptonector: cat /proc/version     may provide more information on the running kernel
[20:10] <tomreyn> cryptonector: to make the oem kernel the new default, there are multiple approaches. one is to uninstall all kernel images with a higher version. another is to define the default kernel to boot into, using grub tooling.
[20:21] <Miroboru> I am trying to setup sssd for LDAP authentication. Server is already set up (Synology). First of all - do I need to edit any other files than sssd.conf and nsswitch.conf?
[20:22] <Miroboru> I cannot get simple ldap commands like ldapwhoami to work without providing the binddn via -D and the password via -w/W, although I have specified all of that in sssd.conf
[20:23] <oerheks> there is a guide for that, https://ubuntu.com/server/docs/service-sssd-ldap  and https://ubuntu.com/server/docs/service-ldap-usage
[20:23] <Miroboru> In short - I don't think my sssd setup is working at all. I can query the ldap server if I provide bind and base dns
[20:24] <foo> Hello, I'm in ubuntu desktop right now on an old laptop. It's not booting, keeps dropping me into maintenance mode. My sense if I shut it down improperly and there's some weird hard drive issue. Is there a command I can run to force a filesystem check to fix filesystem things?
[20:25] <arraybolt3> fsck /dev/sdXY (replacing XY with the drive letter and partition number of the affected partition)
[20:26] <tomreyn> Miroboru: you *might* have more luck with getting qualified feedback on this during a business week in #ubuntu-server
[20:26] <arraybolt3> So assuming you need to fix the second partition of the sda disk, "fsck /dev/sda2"
[20:27] <Miroboru> tomreyn: Thank you. I have follow the documentation that was referee to here, but to no avail. I'll try later in the week then :)
[20:30] <tomreyn> foo: because you're apparently trying to fix your root file system, you may want to bring up the grub menu, then press 'e' and move tot the end of the "Linux" line and add     fsck.mode=force fsck.repair=yes
[20:30] <tomreyn> Miroboru: you're welcome, sorry i can't help with sssd myself.
[20:31] <tomreyn> foo: after adding this, you'd boot this using ctrl-x
[20:36] <foo> arraybolt3: thank you
[20:36] <foo> tomreyn: thank you
[20:39] <tomreyn> foo: you're welcome. yet another option would be to instruct grub to boot to the recovery menu, spawn the root shell and then manually fsck the file system.
[20:39] <tomreyn> (that's what i'd prefer to do, because that way you can better control what fsck does)
[20:40] <foo> tomreyn: ah, already did what you said :) We'll see what it does
[20:42] <tomreyn> i should have said that using fsck.repair=yes is a bit dangerous because an fsck repair *can be* destructive
[21:02] <foo> tomreyn: it doesn't seem that fixed it, same issue. Will try to reboot again. To be fair, this laptop is getting phased out. If I lost data on here, I think I already had it backed up so likely ok... but would be nice to do a final backup before I phase it out
[21:19] <foo> tomreyn: I wonder if that "e" gets saved after reboot?
[21:20] <foo> tomreyn: I rebooted from maintenance and it seems to be stuck at the Ubuntu loading screen. I feel like it's doing a fsck in the background and that's why it's taking so long but I don't know for certain
[21:34] <tomreyn> foo: you can remove "quiet" and "splash" and try hitting escape now to see if you get more output
[21:35] <tomreyn> remove, from the linux command line, you're editing in grub
[21:35] <foo> tomreyn: ok, will do that once this finishes. ESC doesn't seem to be doing anything
[21:35] <tomreyn> does you see disk access happening though, if there's an indicator LED?
[21:36] <tomreyn> *do you
[21:37] <tomreyn> to answer your earlier question: the changes you make by pressing 'e' on the grub menu do not persist a reboot
[21:57] <foo> tomreyn: I didn't think they existed on reboot. I don't have a drive indicator light. But I do "hear it" like the drive is doing something
[21:58] <foo> I did remove the "dirty bit" when I did an fsck on /dev/sda2
[21:58] <foo> I wonder if that helped or hurt things
[21:59] <tomreyn> you mean you explicitly removed it?
[21:59] <tomreyn> or was it just a result of running fsck?
[21:59] <tomreyn> (with --repair)
[22:01] <foo> tomreyn: huh, I just ran fsck /dev/sda2 I think. It asked if I wanted to remove it. I hit yes. I didn't do a --repair option *facepalm
[22:01] <tomreyn> i would not recommend removing it if you have reasons to assume the file system remains broken, especially if that may be so due to they physical storage
[22:01] <tomreyn> if it asked whether you want to remove it then that's fine
[22:02] <tomreyn> because fsck would only offer that after it realized there does not seem to be corruption
[22:02] <tomreyn> you should review your system logs for indications of hardware errors / disk access errors, though
[22:03] <tomreyn> also make sure to back up anything you might still need.
[22:06] <Miroboru> nvcc
[22:06] <Miroboru> Oops
[22:07] <foo> tomreyn: thanks, I'm trying to back stuff up then this laptop is getting trashed.
[22:08] <foo> I think I may try a --repair option since I didn't do that the first time and shut this down, been stuck on ubuntu screen for an hour
[22:10] <EriC^^> escape does nothing foo?
[22:10] <tomreyn> foo: as discussed above, --repair can make things worse. i suggets you first check whether the disk is still ok or has physical errors, preventing a repair from succeeding
[22:11] <tomreyn> you'd need to do so from either receovery (if you can boot to that) or a live usb stick
[22:11] <foo> EriC^^: correct
[22:12] <EriC^^> foo perhaps try sysrq to get to reboot?
[22:12] <foo> tomreyn: Heck, even if I did a USB Stick, mounted the drive, and copied data off... that could work
[22:12] <foo> EriC^^: I'd have to get to CLI for that? If ESC does nothing, I could hard shut it down
[22:12] <tomreyn> right, or you could image the partition and then try repairing the file system on a copy of that, so that you can always go back to the current state if that fails.
[22:13] <EriC^^> try pressing alt+prntscrn+s...then...u...then...b while holding alt+prntsctn
[22:13] <EriC^^> first could be worth a shot pressing alt+ctrl+del to get it to reboot normally
[22:14] <tomreyn> and even ctrl-c beforehand (though that usually does nothing during systemd boot)
[22:16] <chirpingbird> Hello, I wanted to ask a question about an icon on my dash bar. I am running Ubuntu 20.04 LTS. There is a program I installed a year ago and pinned to my dash bar, but I cannot remember if I installed it via a .deb or through snap or some other way, so I wanted to find what executable the icon is pointing to.
[22:16] <chirpingbird> Is there an easy way to find that information?
[22:17] <rbox> well just look at whats installed in dpkg and snap
[22:17] <jeremy31> chirpingbird: Right click on the icon, choose properties?
[22:18] <tomreyn> chirpingbird: you should be able to find out by reviewing the files in ~/.local/share/applications/ and the lines starting with "Exec" in there
[22:18] <tomreyn> jeremy31: i don't see that option on gnome-shell, do you?
[22:19] <chirpingbird> jeremy31: I don't quite have that option on the dash bar unfortunately. There is one, "Show Details," but it just brings me to GNOME Software.
[22:19] <chirpingbird> tomreyn: I will try to look here again.
[22:21] <jeremy31> tomreyn: I was using Cinnamon on 20.04
[22:21] <tomreyn> jeremy31: ah, well, that's different i bet ;)
[22:22] <tomreyn> chirpingbird: i'm nt sure what you mean. here's a command you can paste into a terminal emulator (such as Gnome's "Terminal") though:    cd ~/.local/share/applications/ && rgrep ^Exec . && cd
[22:23] <chirpingbird> Ahhh, sorry. What I meant is, I went to the directory in the terminal emulator and ran `grep -rni 'obsidian' *` (Obsidian is the name of the program), although unfortunately I didn't see anything
[22:25] <EriC^^> chirpingbird: try "dpkg -l | grep obsidian"
[22:25] <webchat47> I get this error when I try and "allow others to create and delete files in this folder": 'net usershare' returned error 255: [2024/01/01 15:20:59,  0] ../../lib/util/debug.c:1100(reopen_one_log)
[22:25] <webchat47>   reopen_one_log: Unable to open new log file 'HD5/log.net': No such file or directory
[22:25] <webchat47> net usershare add: share name /media/hd5 contains invalid characters (any of %<>*?|/\+=;:",)
[22:25] <webchat47> I have tried to chmod -R 777 every single folder, etc., and still, via samba, no one can read or write into the shared directories. Can anyone please help?
[22:25] <tomreyn> chirpingbird: also:   which obsidian; which Obsidian
[22:28] <chirpingbird> I did get something for dpkg! I see:
[22:28] <chirpingbird> ```
[22:28] <chirpingbird> rc  obsidian                                   1.5.3
[22:28] <chirpingbird>                                  amd64
[22:28] <chirpingbird> ```
[22:28] <chirpingbird> Although nothing for the which commands.
[22:28] <EriC^^> webchat47: it sounds like it's expecting just a name somewhere and you're giving it "hd/log.." and it doesnt like the "/"
[22:29] <tomreyn> chirpingbird: the dpkg output says that an "obsidian" deb/ apt package was once installed, but only its configuration files (and possibly other data) remain now.
[22:29] <EriC^^> chirpingbird: that means it's been removed but the config files are still there
[22:29] <EriC^^> chirpingbird: when you click on the dash icon does the program still launch?
[22:30] <chirpingbird> Ahhh, ok, thank you. That's strange
[22:30] <EriC^^> maybe it's a snap right now, try "snap list | grep obsidian"
[22:30] <chirpingbird> The program attempts to launch when I click the dash icon, I see a black screen that is the same size of the application that usually pops up; and when I try to click it twice while launching, it also launches a white screent hat is the same size of the window of the application that usually pops up
[22:31] <EriC^^> aha
[22:31] <chirpingbird> So what is strange to me is that, it seems to exhibit similar behavior to the installed program
[22:31] <chirpingbird> Except with bugs
[22:31] <EriC^^> aha
[22:32] <chirpingbird> "snap list | grep obsidian" does show empty
[22:32] <EriC^^> ok
[22:32] <oerheks> appimage?
[22:32] <oerheks> https://help.obsidian.md/Getting+started/Download+and+install+Obsidian
[22:33] <oerheks> or flatpak
[22:33] <chirpingbird> I'm guessing there's no spot on the OS where the contents of the pinned dash icons are stored? Maybe I'm just being extra paranoid, I end up thinking that the screens are evidence that it is still installed somewhere
[22:33] <oerheks> path in that dash launcher might reveal the path to the icon in the program folder
[22:33] <EriC^^> chirpingbird: if you want try pressing the dash icon, and with it running look at "ps -e exe" it should show the command at the bottom
[22:36] <tomreyn> chirpingbird: i explained how to find out what the dash icons run a while ago
[22:37] <chirpingbird> EriC^^: That was a wonderful idea, thank you so much! This gave me much more information to go off of.
[22:37] <EriC^^> np, what was the command it showed?
[22:38] <webchat47> EriC^^ How can I share a directory WITHOUT an "/"?
[22:38] <chirpingbird> It seems to me it was a file located in `/usr/local/share/applications` as `obsidian.desktop`. I checked the file timestamp, and it seems correct at around the time I installed it about a year and a half ago
[22:38] <EriC^^> aha
[22:38] <chirpingbird> It does point to an AppImage
[22:38] <chirpingbird> `/home/chirpingbird/bin/Obsidian-0.15.6.AppImage`
[22:39] <EriC^^> i guess it's manually installed then
[22:39] <chirpingbird> So I suppose I must have installed it that way
[22:39] <chirpingbird> I see, ok
[22:39] <chirpingbird> Thank you so much! I have the information I needed, this was genuinely very appreciated!!!
[22:40] <EriC^^> webchat47: no idea, just the error seems that's what it's saying
[22:40] <EriC^^> no problem chirpingbird
[22:41] <EriC^^> webchat47: maybe you're supposed to set the directory somewhere and only there the file name?