/srv/irclogs.ubuntu.com/2021/03/05/#ubuntu.txt

ab2mHey folks.   First time.   Long time Linux user, new Multipass user.   Trying to run multipass on a Windows 10 Home host with Virtualbox, and need to use a USB-attached device, but can't seem to find a way to pass it through.   When I go into the Virtual Box GUI as System (https://multipass.run/docs/using-virtualbox-in-multipass-windows), I can't modify the settings (the GUI goes nuts) and USB00:08
ab2mis listed as "disabled" anyway.   Any ideas?00:08
sarnoldab2m: I suggest trying in #multipass, I wouldn't be surprised if there's more windows multipass users there than here00:11
ab2mSarnold: Will do.  I'll hang out here too just in case.   :)00:11
sarnoldcool cool00:12
=== mindbyte0 is now known as mindbyte
=== caverton2 is now known as caverton
=== seednode7 is now known as seednode
=== BromaxSux1 is now known as BromaxSux
HashHi00:40
HashWhat's a good TTF font editor in linux ubuntu00:40
HashI need to make a font's individual glyphs a bit more narrow they're too wide.00:40
sarnoldHash: maybe fontforge?00:42
HashI have it00:43
HashI'll try it00:44
HashLooking to also edit HAccent vert to adjust line height also.00:44
HashI found a python2 script that uses fonttools and adjusts all this for you on cli, but its python2, and I can't get it to work on ubuntu 20 which has python300:44
Hashhttps://input.djr.com/build/?fontSelection=whole&a=0&g=0&i=0&l=0&zero=0&asterisk=0&braces=0&preset=default&line-height=0.9&accept=I+do&email= David makes fonts available, but he has also provided that script in his zip file.00:46
Hashhttps://termbin.com/tb7m This is the script that edits fonts on commandline00:47
HashIf I can get this working in ubuntu 20.04, I can try this out00:47
sarnoldoh man, it looks old enough that it wasn't programnmed to run in both py2 and py300:48
Hash:(00:48
sarnoldyeah, I tried my hand at converting something from py2 to py3 yesterday and gave up after a few minutes, it needed someone more familiar with both languages :)00:50
revmacianIm using Konversation in Kubuntu. No matter what I try I cannot get #ubuntu channel to auto join on connect to Freenode. Is this a bug?00:52
sarnoldwhat have you tried?00:52
Hashhttps://i.imgur.com/kIqx3C5.png00:53
HashThat's what the font looks like. It's a nice wide bold font, but it's too wide. I need to make it slightly compressed. Not edit actual font things, but just the width of the glyphs in it00:53
HashFor all of them, reduce it by a bit.00:54
HashTrying to now figure out how to use this program00:54
revmaciansarnold: Were you talking to me? If so, here it is: https://imgur.com/a/VCV4n4H00:55
HashI can change the width, but only left side. :/ I'll figure itout00:55
sarnoldHash: hah, that 'w' blows right through the bounding box..00:56
HashYup00:56
HashI can make it less wide and center! Nice.00:56
HashI think I can do this now. Tedious, bu doable00:56
sarnoldrevmacian: does the edit button next to 'default identify' lead to you some place to configure certificate authentication and perhaps a small delay before executing autojoins?00:56
Hashhttps://i.imgur.com/4R4kiKY.png It is for Diablo 2. So wide, but such a beautiful readable font in Diablo 2 OGM!00:57
HashOMG00:57
HashJust less narrow and we're in busienss00:57
sarnoldso close00:57
revmaciansarnold: It leads to Auto-identify. You thinking that the identify is taking time and the auto-joins never get executed? Which other auto-identify types work on Freenode?00:59
sarnoldrevmacian: yes, this channel for example has +r on it whic requires you to be identified before you can join00:59
sarnoldrevmacian: most clients have a way to delay that for a bit to let services catch up00:59
sarnoldI expected to see it in the dialog box you pasted :) but alas no :(01:00
revmaciansarnold: That's exactly what is happening. Now that I know this I can work towards fixing it. I don't think Konversation does that01:00
revmaciansarnold: So, you can't join here if you're not reg'd and id'd?01:01
sarnoldright01:01
revmacianHow are new users supposed to know that limitation?01:01
sarnoldthe ircd will send them an error message along hte lines of "you need to be registered and identified to join this channel"01:02
revmacianso someone is making it harder to ask a question than it has to be for newbies? That sounds like the opposite of user-friendly.01:03
sarnoldyup]01:03
sarnoldbut the spam load is bad news otherwise01:03
revmacianOh well, at least I know what's wrong now.01:03
revmacianOh, right, let's make it easier on staff but more difficult for new users. Ok.01:03
revmacianI'll shutup now.01:04
HashThat may be advisable.01:04
raecarruthhello, can anyone tell me why my qbittorrent client looks so odd? https://imgur.com/JXpVysD.png01:17
sarnoldraecarruth: wild guess, one of the libraries it uses was replaced while it was running01:22
raecarruthi just installed it on this system for the first time01:22
sarnolddang, I was way wrong..01:23
maretquick question , is it possible to search file contents by regex. I want to find all (text files), which contain certain string and I want to search by regex01:29
sarnoldmaret: grep is the usual tool for this, ripgrep is nice if you've got LOTS of files01:29
maretsarnold: make sense, how would I go about it ?01:31
sarnoldmaret: grep '^r' /etc/passwd   for example01:32
maretthat would be search for using ^r regex in /etc/passwd ?01:33
sarnoldyes01:33
=== wodencafe is now known as WodenCafeDeSaDe
=== zbenjamin is now known as Guest87887
=== zbenjamin_ is now known as zbenjamin
=== WodenCafeDeSaDe is now known as wodencafe
=== patr0clus is now known as s3nd1v0g1us
rodrigoty23does anybody know to change cajas icon on the panel?04:35
rodrigoty23im seeing a blank@04:35
=== patr0clus is now known as s3nd1v0g1us
=== halvors1 is now known as halvors
JPSmanEver since I did an install of KDE along with my gnome-flashback, the menu text color has been unreadable.  I'm also having a hard time GOOGLING this problem hence why I am here.  here is a picture of what Im talking about https://i.imgur.com/JrV8cr3.png06:54
JPSmanthe06:54
JPSmanthe "grayed out" text is the selectable one, and the darker one isn't06:55
JPSman18.04 with gnome-flashback and metacity compiz06:55
* JPSman watches a tumble weed blow through the chat room.07:11
liuyonghao156Hi there. I am a user of Ubuntu 20.04.2 LTS on AMD Ryzen platform. I find taskbar icons not showing for first logins every time I reboot, but after logging off and then back again, I have them displayed properly. Any ideas on that?07:16
ThinkT510JPSman: which apps are like that? all of them? your screenshot shows audacity which uses wxwidgets07:36
JPSmanno, its not all of the apps, just some of them.  Thats a big clue though thank you :D07:43
JPSmanhmm, whats another popular app that uses wxwidgets?07:44
JPSmanactually, I am using XChat as my IRC client and it has the same problem too07:46
JPSmanhttps://i.imgur.com/IyrQ8r2.png07:46
ThinkT510JPSman: you're better off using hexchat, xchat is no longer maintained07:49
JPSman...... ok.  but does xchat also use wxwidgets?07:49
ThinkT510not sure, I can't tell07:51
ThinkT510audacity is the only popular program I'm aware of and use myself that uses wxwidgets07:52
=== patr0clus is now known as s3nd1v0g1us
slidercrankhi folks. I created a VPN connection in network-manager. The problem is the option "[ ] Automatically connect to VPN" is absent. It annoys me to turn it on manually every time08:26
=== acheronuk is now known as RikMills
slidercrankI've found the configuration file in /etc/NetworkManager/system-connections/<name>.nmconnection It has autoconnect=false. There is no way to change it via GUI. So you have to manually edit the file08:37
kill-animalsHey I need some advice08:41
slidercrankkill-animals, shoot08:42
kill-animalsIs it possible to write an application that creates files that would only be writable by that application?08:42
kill-animalsI am no chmod expert.08:42
slidercrankhm.08:43
ThinkT510kill-animals: root has access to everything to technically the answer would be no but it isn't really a ubuntu support question08:44
kill-animalsslidercrank: Basically I am building an app, will be packaging it in a snap, and I want to prevent users from deleting files accidentally,08:44
slidercrankthere is the concept of user. If you run an application as a specific user, all applications running as the same user could have access to the same file. The access on determined per user, not per application08:45
kill-animalsslidercrank: Hmmmm.08:45
kill-animalsWait; can't you create write protected files? I know sometimes I can't even RM something that is write protected.08:46
slidercrankkill-animals, you can create a user to run your application. Like "myapp". Thus files created by your app will have the user access 'myapp'08:46
kill-animalsslidercrank: Interesting.08:47
slidercrankif only one app runs as myapp user, only this app will have access to it08:47
kill-animalsIll take a look at that then.08:47
slidercrankI think it's the easiest solution08:47
slidercrankkill-animals, yes, you can open a file exclusively. So while your app is running, no one else will be open your files.08:48
kill-animalsAlso, if you were to store partially downloaded files, that are meant to be persistent between reboots (IE, I don't want to store it in /tmp/) is there an obvious place in ~/.xyz that I should put it in?08:48
kill-animalsslidercrank: Interesting. I'll look into that.08:49
slidercrankso it was not clear from the beginning: do you want to limit access while your app is running or permanently08:49
ThinkT510wouldn't it matter where the files are stored though? anything under a user's /home will be editable by that user08:49
kill-animalsslidercrank: Its a bit up in the air at the moment, as I strategize how I am going to deal with my issue.08:50
kill-animalsThinkT510: btw. I never know there was a T510 thinkpad08:51
kill-animalsI thought it was T500, and T520.08:52
ThinkT510yes, Thinkpad T510 exists08:53
kill-animalsThinkT510: but no x210 exists. Thats what had me scratching my head08:54
HashWhat's a good permanent url shorten service free?09:34
HashI had a link to a latest master.zip but it's too long and I need to shorten it and put in topic09:34
lotuspsychje!ot | Hash09:43
ubottuHash: #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please register with NickServ (see /msg ubottu !register) and use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks!09:43
=== Underknowledge1 is now known as Underknowledge
inerkickHi. I'm unable to connect to printer/scanner Canon MF241D. Kindly help how to use it10:09
imrjdhow are you connecting?10:32
imrjdwired, or wifi?10:32
=== waltman_ is now known as waltman
=== PowerTower_121 is now known as PowerTower_120
Paddy_NIIs there any screen annotation software available for linux that approximates the functionality one would have had in Compiz?11:25
Paddy_NII have tried Gromit which is usable however it does seem a little bit flaky as to whether or not it wants to work at times.11:26
lotuspsychjePaddy_NI: ive seen some users before playing around with compiz on 18.04 and higher, but cant recall anymore what they did exactly11:32
Paddy_NIlotuspsychje: Yeah I did for a moment consider using compiz again but for the sake of the annotation feature it seems to be more hassle than it is worth.  I suspect I'll just have to deal with the quirks of gromit.11:39
AlexP11223What should I use to encrypt a disk? Not a system one, just a separate HDD11:40
lotuspsychjePaddy_NI: try also snap find annotate11:41
Paddy_NIlotuspsychje: been there done that11:41
Paddy_NINormally the first thing I do before asking others is to search the repos, stack exchange, forums etc lotuspsychje11:42
lotuspsychjePaddy_NI: maybe someone in #ubuntu-discuss might know some alternates11:43
Paddy_NINever heard of #ubuntu-discuss, is this new?11:44
Paddy_NIIs it official?11:44
lotuspsychjeofficial, yes, new no11:44
Paddy_NICool11:45
Paddy_NIDelighted I was not told to use club ubuntu lol11:45
Paddy_NIX-D11:45
=== lovetolearn is now known as ltl2
=== popey8 is now known as popey
TJ-Investigating a very hard to reproduce issue on 20.04 with K3B - used for audio CD mastering regularly, we've had a recent session where the resulting CD's appeared good and the tracks and track lengths were correct, but every track was absolute silence.12:19
slidercrankTJ-, can I listen to these tracks in noisy environments to eliminate noise? :)12:20
TJ-slidercrank: no, we'd need to record inverse waveforms of your enviroment for that to cancel it out#12:20
BluesKajHi folks12:50
ltl2hi12:56
john_ramboThis is the first time I am going to use a RSS reader. I want the app to play a sound when a new feed arrives. Which one should I install ?13:06
slidercrankI think it's better to use a browser extension to read RSS feeds. Because you'll have to click on links in RSS anyway.13:22
zmagiiI think this is an Ubuntu question, but let me ask anyway. In Ubuntu there are some thing that require sudo / root that don't necessarily do on other distros? 1) Why is this? and 2) Can I allow some of these to run without having to invoke sudo everytime?13:57
BluesKaj!alias13:58
zmagiiYou mean in .bashrc? That's my current workaround, but I don't particularly like it since it calls root on a command that I may either forget what it does or could be changed.13:59
=== RedNifre_ is now known as RedNifre
BluesKajyou could setup aliases for sudo commands in ~/.bash_aliases14:00
=== lovetolearn is now known as ltl2
zmagiiOK, so let's take Apt as an example. Does Ubuntu require sudo because installations are mostly in system directories and in other distros this isn't necessarily the case?14:02
BluesKajmost debian based distros use the same file system and structure ...dunno much about other linux OSs14:05
=== JakeSays_ is now known as JakeSays
roryzmagii, yes apt installs to system directories, but the same is true for other distros package managers14:16
roryzmagii, it's possible to configure the /etc/sudoers file to not require a password for specific commands. do you have an example that prompted your question?14:17
BluesKajoops, forgot about sudoers, good call, rory14:20
silent-failureFrom a technical perspective, how does Unity get programs to use the global menu bar?14:39
silent-failureIs there some hack it does with GTK?14:39
silent-failureAh, looks like it has a patched version of GTK.14:42
thatpythonboyssh works but locally what to do to get external ip or to make it work over globally14:53
rorythatpythonboy, get your IP by Googling "what is my IP" or using this web service: curl ifconfig.me14:54
slidercrankif you're behind NAT, it will be tricky14:55
rorythatpythonboy, in your router settings, port forwarding, set up port 22 to forward to the internal IP14:55
silent-failureYou may also have to open ports on your router/modem.14:55
PuttySandwichDoes anyone know how to reconnect a user to an encrypted home? I had to re-install my system and I have a user with an encrypted home. I had to do this once before a long time ago and I have a vague recollection of just having to symlink something. But my experiments with that have failed. Google has also been unhelpful.14:56
thatpythonboyany guides to do that14:57
jeffro_workingis it normal for linux-generic to point to 5.4?14:59
jeffro_working!linux-generic14:59
EriC^^jeffro_working: which ubuntu version?15:00
jeffro_working20.04.215:00
EriC^^!info linux-generic focal15:00
ubottulinux-generic (source: linux-meta): Complete Generic Linux kernel and headers. In component main, is optional. Version 5.4.0.66.69 (focal), package size 1 kB, installed size 18 kB (Only available for riscv64)15:00
EriC^^jeffro_working: yes15:00
jeffro_workingokay, so if I want a newer kernel I need to manually install a linux-image-5.xx-generic package15:01
EriC^^maybe you could try the hwe15:01
EriC^^!hwe | jeffro_working15:01
ubottujeffro_working: The Ubuntu LTS enablement stacks provide newer kernel and X support for existing LTS releases, see https://wiki.ubuntu.com/Kernel/LTSEnablementStack15:01
EriC^^!mainline | or these15:01
ubottuor these: The kernel team supply continuous mainline kernel builds which can be useful for tracking down issues or testing recent changes in the Linux kernel. More information is available at https://wiki.ubuntu.com/Kernel/MainlineBuilds15:02
jeffro_workingI'm not interested in a mainline kernel.15:05
jeffro_workingThank you though. I was looking at adding a pcie intel card and just making sure the kernel I use will have the drivers, so that I don't have to mess with drivers on this machine.15:06
jeffro_workingax200 probably15:06
EriC^^i see15:06
EriC^^jeffro_working: perhaps try "locate ax200.ko" and see if anything pops up?15:10
soulseeker-cloudCan you get a refund for zephram alpha15:12
roryIsn't that a character from Star Trek?15:30
roryyou should probably ask him.15:30
* rory just made a trekkie quit in disgust15:31
GladwynHey folks.  I just did-release-upgrade (heh) from 18.04 to 20.04 (server) and I'm having a problem with my mumble-server which I didn't have before.  It's not able to read my SSL cert (from /etc/ssl/certs).  However, when I just run murmurd (without options), it starts just fine.  I saw this (https://github.com/mumble-voip/mumble/issues/3297) but it really looks more like a systemd issue.  Any thoughts?15:41
ioriaGladwyn, https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/1856428/comments/215:45
ubottuLaunchpad bug 1856428 in golang-1.13 (Ubuntu) "Disable TLS below 1.2 by default" [Undecided,New]15:45
Sven_vBhi! I'd like some sudo mount commands, and fstab entries, to fail if the mountpoint directory isn't empty. what's the easiest approach?15:46
Sven_vBin bionic15:46
GladwynThanks, ioria, that's a good place to start!15:47
Sven_vBactually I was kinda surprised that it didn't fail with "mountpoint is not empty". Seems that's a fuse-specific default.15:47
ioriaok15:47
longshanksin the days of old there was a rule of thumb of 2xRAM is a good size for swap. Is there still a rule of thumb regarding swap and has it changed?15:48
Sven_vBlongshanks, for the last decade I usually omitted any swap15:48
Sven_vBlongshanks, you may need it though for stuff like suspend-to-disk15:49
longshanksSven_vB: I wondered if i needed it. I've a box i use running Ubuntu that is used as a home theatre pc and it never seems to use the swap. was just thinking maybe i'm wasting the 16GB of disk15:49
Sven_vBnowadays lots of machines have so much actual RAM that they don't need a swap.15:50
longshanksSven_vB: so yeah sure on a laptop it might still be useful for suspend. But the home theatre pc is a desktop and never suspends15:50
GladwynI've managed to lock up a laptop with 16 GB ram and next to no swap (whatever was default, I think just below one gig) by having a bajillion (like really 500+) browser tabs open plus Teams and Slack.  OOM-killer would _eventually_ kick in but the laptop was unresponsive for up to 10 minutes.15:51
longshanksSven_vB: yeah that's the conclusion I've (recently) come to too..15:51
GladwynLike "I'd hard reboot now if I didn't know I have open files" unresponsive.15:51
Sven_vBGladwyn, ulimit can help15:51
Sven_vBI launch all my "hungry" programs ulimit-ed15:51
Sven_vBalso it's a good idea to enable on-demand OOM kill via magic sysrq15:52
GladwynNice!  I mean, I'm admittedly an idiot for having so many browser tabs open (they all were important _at some time!_) but I'd love my OS to handle that sort of shenanigans rather than be swarmed by it =P15:52
Sven_vB(and practice it in advance. :D yes it may take a while until results become visible)15:53
Sven_vByeah on my netbook sometimes ulimit wasn't an option, VLC really needed that much RAM. and when I forgot a movie was paused, and returned after a few hours, I had to request OOM. Which worked reliably. After a few seconds, VLC was killed and the mouse was able to move again.15:55
GladwynCool, I'll look into that, thanks for a great tip, Sven_vB!  I knew about SysRq from the olden days but I had completely forgotten about it, and didn't realise how perfect it would be for just this kind of thing.  Much obliged!15:56
longshanksWhat is OOM?16:01
longshanksone of the magic sysreqs ?16:01
Gladwynlongshanks: "Out of Mana" -- OOM killer is a kernel sub-routine that tries to find the biggest memory hog and kill it off, if your system is all out of RAM.16:01
longshanksGladwyn: neat. I'll have to go read more. Cheers :)16:02
GladwynAnd yes, as I just learned from Sven_vB, you can actually trigger it manually, if you know you're close to the precipice16:02
longshanksis there a (relatively) easy way to install kernel 5.10 in Ubuntu 20.10 ? Am running into this bug https://github.com/linux-on-mac/mbpfan/issues/22116:14
roryTo be clear longshanks, OOM means "out of memory" in this context. Your system is manaless.16:17
longshanksrory: thanks :)16:17
yatesis there a better channel for asking about mimetype associations?16:20
yatesxdg-mime query default application/pdf16:21
nunyahow to make nsmbd and nmbd on demand rather than started at boot? I think I could improve my boot time by 30 seconds or more if these services were opened only when I want to send a file to my phone, aother laptop, etc.16:21
yates..returns /usr/share/applications/okularApplication_pdf.desktop16:21
yatesyet xdg-open x.pdf uses evince16:22
nunyalotuspsychje: Last time I was here you recommended  install preload stacer haveged and tweak systemd services and startup items. If anything my boot time got slower! Is there a revert to a time before like Restore Point in Windows?16:26
longshanksnunya: you can do time machine like snapshots I just don't know if that's enabled by default16:33
=== jor_ is now known as jor
leftyfbnunya: no. Just undo everything you did if you feel they are the cause16:38
longshanksnunya: also checking your shell history to see what you did sometimes helps jog the memory16:40
nunyalongshanks: I wish I could remember what I did. I've uninstalled and reinstalled so many things trying to get a faster boot time so was hoping to return my system to what it was a couple of days ago.16:43
nunyaleftyfb: I wish I could remember what I did. I've uninstalled and reinstalled so many things trying to get a faster boot time so was hoping to return my system to what it was a couple of days ago.16:44
longshanksnunya: there is a systemd-profiler have you looked at that? produces some swanky graph for you to see where it's taking time16:44
nunyalongshanks:systemd-profiler in terminal does nothing, sudo Apt-get install gives Unable to locate package systemd-profiler16:48
leftyfbptah: please do not PM16:52
ptahleftyfb are you the same guy in efnet #linuxhelp?16:53
leftyfbptah: that is offtopic here. What can we help you with?16:53
longshanksnunya: the systemd profiling is called systemd-analyze I believe16:55
longshanksnunya: any program which helps is going to require you at least look at the man-pages/docs to see how to use it.16:57
=== RonWhoCares_ is now known as RonWhoCaresOffic
RonWhoCaresOfficIs someone able to walk me through a boot repair for Ubuntu Studio 20.04 ?  The reason this has come along is to try and setup a dual boot Windows 10 and Ubuntu on this computer.16:58
leftyfbRonWhoCaresOffic: https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows16:59
nunyalongshanks: 1systemd-analyze blame  shows 1min 35.001s man-db.service, 51.336s snapd.service Those 2 services if I could disable at boot time and make them on demand services would save 2:20 on boot time. Have googled but having hard time finding or understanding what to do.17:02
nunyasystemd-analyze blame17:02
leftyfbptah: this is a support channel. Do you have a support question?17:22
RonWhoCaresOfficleftyfb:I have received an error with a command Boot Repair gave me.  Would you look at this pastebin? https://pastebin.com/vxkiXTUg17:28
leftyfbRonWhoCaresOffic: neither of those commands were in the article I sent you and have nothing to do with re-installing grub after you installed Windows17:30
KrausMorning! I have been sent by the folk in ##networking to ask about possible bugs in the DHCP client.17:31
RonWhoCaresOfficptah: I am not on the computer that has the issue17:31
RonWhoCaresOfficptah: The CTCP version request you just sent is irrelevent17:32
leftyfbRonWhoCaresOffic: ignore them, they are not here to help17:32
RonWhoCaresOfficleftyfb: I did exactly as you stated.  "boot-repair" has given me a list of ~5 commands to run in Terminal to repair this17:32
leftyfbRonWhoCaresOffic: right, and none of those commands involve apt/dpkg17:33
leftyfbRonWhoCaresOffic: you can also try https://www.howtogeek.com/114884/how-to-repair-grub2-when-ubuntu-wont-boot/17:34
diofantozhi, i'm looking to "cap" my ubuntu system for mobile internet usage17:35
KrausI'm having an issue where suddenly, overnight, something is occuring to my  Ubuntu Server (20.04). In the morning I discover I can't resolve its DHCP. All my fstab entries are nullified and upon ssh'ing to the hostname, Temporary failure in name resolution. DNS is being handled by my Linksys router. Just bought it a couple months ago. This happened with both the current and previous router I owned. The server's IP address is17:35
Krausreserved in DHCP (192.168.1.16)17:35
diofantozis there anything more than restricting updates i should think of?17:35
KrausRebooting generally solves the issue, but I'm curious why this happening in the first place. Someone in ##networking suggested there might be bugs in Ubuntu's DHCP client.17:36
leftyfbdiofantoz: nope. Not much else runs by default that will use any significant amount of data17:36
Kraus(doubtful but they wanted me to ask about this here)17:36
diofantozleftyfb: cool17:36
leftyfbKraus: I would look at logs to see what happens with networking around the time of the issue17:36
Kraushttps://pastebin.com/WDhN5Y2F17:36
KrausThe lost carrier, gainer carrier, is when I reboot the router.17:37
KrausBut you can see, the last router restart was today, and it was able to get its IP back.17:37
KrausSo that doesn't seem to be the issue...17:37
leftyfbKraus: your pastebin is invalid.17:39
KrausOy, one sec, it must have expired.17:40
Kraushttps://pastebin.com/kJXvnSfw17:40
leftyfbwhat time on here did the issue happen?17:40
KrausOvernight whilst I slept17:41
KrausAnd I went to sleep around 2 am, so there wasn't much time. :)17:41
leftyfbKraus: you need to be more specific than that. Which of the times in the pastebin you posted reflect the issue? All of them? Also, it looks like this isn't happening often enough to point to any sort of DHCP client issue17:42
leftyfbKraus: otherwise it would be happening pretty consistently17:42
KrausThe post does not reflect the issue. That's the log for my DHCP.17:42
leftyfbnot once or twice every 4-5 days17:43
leftyfbKraus: ok, please share the networking logs from the server reflecting the time(s) when the issue is happening17:43
KrausIsn't that what I did? $ journalctl -u systemd-networkd17:43
leftyfbKraus: ok, then if nothing is showing up in the logs, and the only symptom you have is not being able to resolve DNS for the hostname of the machine, it sounds like the issue is not with the machine. Can you ping the ip at the time that the hostname isn't being resolved?17:44
KrausYeah, I'm actually SSHed into it via the IP address right now.17:45
KrausIt's only the hostname that's not resolving. If I ssh [hostname] it says "Temporary failure in name resolution"17:45
leftyfbKraus: ok, then the issue is not with the ubuntu server at all but with your DHCP/DNS server (router)17:46
KrausBoth my current and previous ones? That seems odd... only for that one ubuntu machine? Why not my desktop as well if that's the case?17:47
nunyaMade /etc/systemd/system.conf.bak, Edited as sudo /etc/systemd/system.conf, edited lines DefaultTimeoutStartSec=90s to DefaultTimeoutStartSec=10s, DefaultTimeoutStopSec=90s to DefaultTimeoutStopSec=10s Now have 2:40 second from boot to icons on Desktop Better than 3:15 before. I also removed package brltty since I am not blind using a braille terminal. Having one less daemon at boot may have helped.17:48
=== ace_me1 is now known as ace_me
leftyfbKraus: no clue. You can test by running:   host <hostname-of-server-> <ip-of-router>17:48
nunyaleftyb: longshanks: Made /etc/systemd/system.conf.bak, Edited as sudo /etc/systemd/system.conf, edited lines DefaultTimeoutStartSec=90s to DefaultTimeoutStartSec=10s, DefaultTimeoutStopSec=90s to DefaultTimeoutStopSec=10s Now have 2:40 second from boot to icons on Desktop Better than 3:15 before. I also removed package brltty since I am not blind using a braille terminal. Having one less daemon at boot may have helped17:50
Krausleftyfb: Seems to be working.. it's giving the name, the address (192.168.1.1#53) alias, then it gives the name of the host and says it has an address of 192.168.1.1617:51
leftyfbKraus: what OS are you running on your client?17:51
KrausMy client?17:52
leftyfbKraus: yes, the machine you are trying to resolve from17:52
tomreyndiofantoz: if you're using network manager, tag the connection as metered.17:52
KrausOh! Ubuntu Studio 20.0417:52
leftyfbKraus: ok, pastebin: nmcli device show|grep DNS17:53
Kraushttps://pastebin.com/xUXL5bSq17:53
leftyfbKraus: is 2600:6c4e:117f:d878:ea9f:80ff:fe79:b217 the IPv6 of your router?17:54
leftyfbKraus: also: cat /etc/resolv.conf17:55
Krausleftyfb: I have nooooo idea.17:55
KrausI'm not familiar with how to work with IPv6 addresses17:55
KrausBoth my server and desktop have this in the resolv.conf nameserver 127.0.0.53 \ options edns0 trust-ad17:57
leftyfbKraus: My initial thought is to try to disable ipv6 on your Ubuntu studio machine. My thought is the ipv6 address (possibly from your router) isn't resolving properly. Either way, it seems to me that the issue is with your studio machine having issues resolving local addresses and not actually a problem with the server.17:58
KrausI'm curious to see where that v6 address is going to.18:00
KrausI'm able to ping it easily.18:01
leftyfbKraus: try to pull it up in a browser18:01
Kraustraceroute6 on the other hand... it's having some issues...18:02
Krausleftyfb: How do I do that? I copy/paste it to the address bar and it thinks I'm doing a web search18:02
leftyfbKraus: http://2600:6c4e:117f:d878:ea9f:80ff:fe79:b21718:03
KrausNope, still taking me to a web search...18:03
leftyfbKraus: you could also look through the settings on your router. That might tell you if the address originated from there18:03
Krausleftyfb: I translated it to IPv4 and it's 254.121.178.2318:06
leftyfbKraus: that ipv6 nameserver is provided by your router. You should be able to delete it so you only get the ip of your router for DNS18:06
KrausWait, sorry, I'm confused..18:07
leftyfbKraus: ipv6 addresses don't natively "translate" to an ipv4 address. That's not how they work.18:08
Kraushttps://ipworld.info/ipv6-to-ipv4/ ?18:08
KrausAnyways, what I'm confused about is.. why would I need to disable anything to make it stop not-working?18:09
KrausWould it not be logical that I would have to disable IPv6 on all other machines too? That makes no sense. I also cannot ssh to my desktop from my server via hostname for the same failure to resolve.18:11
leftyfbKraus: it seems you are intermittently not able to resolve local addresses. You have an ipv4 nameserver and an ipv6 being assigned to your DHCP clients on your network. If you are not actively using ipv6, disabling that on your router and/or your clients is a good place to start. You should only ever have 1 address being assigned for local DNS anyway ... unless you're running an ipv6 network locally as well. In which case, you would more than18:12
leftyfblikely know enough to sort all of this out on your own to begin with.18:12
Krausleftyfb: Resolving local addresses is fine. It's resolving local hostnames that's not working.18:12
leftyfbKraus: does your server also have multiple nameservers assigned? systemd-resolve --status|grep -i "dns servers"18:13
rfmleftyfb, Kraus: kind of late, but the way to use an IPv6 numeric address in a url is square brackets, like http://[2600:6c4e:117f:d878:ea9f:80ff:fe79:b217]18:13
leftyfbKraus: I mean local hostnames, not addresses. I know the issue18:13
Krausrfm: Yeah, that's pointing to 192.168.1.118:15
leftyfbKraus: disable ipv6 on either your router or client. Reboot client, test and then we go from there18:15
KrausBut what causes this?18:15
KrausI hate treating a patient without understanding the cause.18:16
cncr04sipv6 is used by at least 30% of websites, I wouldnt advise turning it off18:16
leftyfbKraus: problem #1: multiple nameservers. problem #2, trying to use an ipv6 nameserver to resolve the ipv4 address of hostnames18:16
KrausMultiple nameservers?18:17
leftyfbcncr04s: that's not how this works. They will still be able to get to all websites18:17
Krausleftyfb: You may call me he/him/your-majesty ^_^18:17
leftyfbKraus: pardon?18:17
KrausYou used 'they'. I was just letting you know what I am :)18:17
KrausSorry, can you show me where it was established I have multiple nameservers?18:18
Kraus(leftyfb18:19
Kraus)18:19
leftyfbKraus: https://pastebin.com/xUXL5bSq18:19
Krausleftyfb: Isn't that the default output for a machine that has IPv6 enabled?18:20
leftyfbKraus: let me know when you disable ipv6 on either the client or the router and we'll continue troubleshooting18:21
* Kraus blinks.18:21
KrausI just want to understand why we need to do that first? Why would anything need to be altered from standard configuration before it will work?18:21
KrausBecause that doesn't make sense why it would be fine for months... then suddenly start having issues...18:22
leftyfbKraus: because something isn't working, so we test a hypothesis before moving onto coming up with new ones18:22
leftyfbKraus: because "intermittent"18:23
KrausAhhh! so this is just temporarily disabling it.18:23
leftyfbKraus: to test, yes. Though if it solves the issue, I'd be hard pressed to be convinced of a good reason to re-enable it18:23
KrausGotcha! I thought we were just ducttaping the problem (which some are prone to do) instead of finding the cause18:25
=== patr0clus is now known as s3nd1v0g1us
Krausleftyfb: Alright, looks like I disabled it, but the v6 address is still showing after $ nmcli device show|grep DNS18:29
leftyfbKraus: to be honest, if disabling ipv6 fixes the problem, then I'm pretty happy with that. Also, you said this is intermittent. How often? The only way to test is to wait X amount of time you feel it should have happened18:29
leftyfbKraus: reconnect to the network and/or reboot. Where did you disable ipv6?18:29
Krausleftyfb: Every few weeks? ish? Hard to tell. I haven't been keeping a log.18:30
KrausI followed these instructions https://itsfoss.com/disable-ipv6-ubuntu-linux/18:30
KrausSays it's only a temporary disable.18:30
leftyfbKraus: ok, then you'll have to wait a few weeks or longer before knowing if what you did fixed the issue. Nothing to do in the meantime18:30
KrausThere has to be a more definite way...18:31
leftyfbKraus: ok, lets get it verified and disabled properly so it'll stay disabled across reboots.18:31
KrausCould you explain how to do it properly?18:31
leftyfbKraus: the only way to test a fix for a problem is to replicate the problem. If the problem is intermittent and only happens every few weeks, you have to replicate that scenario18:31
KrausAnd that's the thing, is I'm not sure what event is triggering it. So far all we've done is temporarily disable IPv6 on a machine that isn't being affected.18:32
leftyfbKraus: it is 100% affected18:33
KrausWhy I would want to permanently disable something on an unrelated machine to fix the problem occuring on the source machine... makes no sense. Would I not logically have to disable it on all machines other than the problem machine?18:34
leftyfbKraus: the issue is said machine not being able to resolve a local hostname on it's own but can when you specify the nameserver manually. That means the issue is not with the hostname you're trying to resolve but the machine trying to do the resolving18:34
Kraus(which machine is 'said' machine)?18:35
KrausOh waitwaitwait, maybe you misunderstand.18:35
leftyfbKraus: source(problem) machine = all DHCP clients who are receiving multiple nameservers18:35
KrausI am not specifying a nameserver. I stated that I can ssh to the affected machine(server) when specifying its IP address.18:36
leftyfbKraus: you did when you ran the host command I gave you earlier18:36
leftyfbKraus: here, lets test.... is your studio machine still having the issue resolving the hostname of the server?18:36
=== jiggawattz_ is now known as DoneMitigated
KrausWhoaaahhh... wait, what you just said made me think about something... I just tried pinging the hostname from my phone using LANDroid and it's able to find it...18:39
KrausVeerrrryyy interesting....18:39
KrausSo it's not the server itself...18:39
leftyfbKraus: so that shows you the problem is not with the server18:39
KrausRight!18:39
KrausThen why does rebooting the server usually solve the issue?18:39
leftyfbit doesn't18:39
KrausIt has in the past...18:40
leftyfbKraus: coincidence18:40
KrausAlso! Remember what I mentioned about suddenly my sound not working on my ubuntu-studio machine? Coincidence? I think NOT.18:40
KrausBoth these issues began after re-logging into my studio machine.18:40
leftyfbKraus: sounds not working is completely unrelated to anything we've discussed thus gar18:41
leftyfbfar*18:41
KrausI have a feeling the problem may be related though... the odds are too great.18:41
leftyfbKraus: negative18:41
leftyfbKraus: would you like to continue with the setup for troubleshooting your DNS issue?18:42
KrausI thought you said I had to wait for weeks?18:42
leftyfbKraus: we want to verify ipv6 is disabled and then make sure it will take across reboots and reconnections18:43
KrausAccording to these that I'm reading, I have to add some lines to my sysctl.conf file.18:44
leftyfbKraus: yup, and we need to test18:45
leftyfbKraus: actually, with later versions of ubuntu, I think that doesn't 100% work18:45
leftyfbKraus: https://linuxconfig.org/how-to-disable-ipv6-address-on-ubuntu-20-04-lts-focal-fossa   look at step 1 and 218:46
KrausYeah, I'm seeing different versions of these instructions...18:46
Kraus*sighs* Yknow, I'm really.. really considering just redoing my machine. I can't even upgrade to 20.10 because the studio devs switched to cinnamon or something.18:47
leftyfbKraus: that will 100% not fix the issue18:47
KrausTrue but why configure lines on a config file that will soon be wiped out?18:47
KrausI'm not doing anything more important right now, I should just get working on this system redo.18:48
KrausErr, not Cinnamon.. Plasma..18:49
leftyfbKraus: the issue is(my hypothesis) with your router giving out an ipv4 and ipv6 nameservers and you machine(s) having issues trying to resolve an ipv4 address from the hostname using the ipv6 address it might intermittently try to use. If we disable ipv6 on the client, then no ipv6 nameserver will be assigned to it. If we disable ipv6 on the router(my recommendation), then it will not assign ipv6 addresses anywhere on your local network18:50
Krausleftyfb: Shouldn't I just disable IPv6 on the router then?18:51
leftyfbKraus: that is preferred, yes. I have recommended that multiple times above18:51
KrausYou told me to disable IPv6 on my studio machine. O_o18:51
KrausAnyways, let me disable it. One moment.18:52
leftyfbKraus: you will need to reconnect to your network or possible reboot machines in order for them to update their network assignments from dhcp18:54
nikolamwhere is exactly /tmp folder for snap application? I started 'namebench' and it is supposed to save some report at /tmp , but where it is actually saved, when it is an snap application??18:55
nikolamI have just found it under "/tmp/snap.namebench-snap/tmp" but it is only visible to sudoer/root account and not for user that is using the snap app??18:57
KrausTest19:00
KrausWow, were you able to see anything I just typed? I was still able to type even though I got booted from the channel.19:00
nikolamKraus, there is kick, it's not the ban. One can rejoin and learn lesson :P19:01
KrausNono, what I mean is I lost connection to Freenode all together. ANyways here's what I said:19:01
leftyfbKraus: https://pastebin.ubuntu.com/p/KFpzYYFFBf/19:02
Kraus[10:57:16 am] <Kraus> Okay.. let me see if I can describe precisely all what just happened right now.19:02
Kraus[10:58:59 am] <Kraus> Okay, disabled IPv6 on the router, '$ nmcli device show|grep DNS' still showed two nameservers, so I rebooted my client machine(studio), still showing two nameservers, AND just now, I got disconnected from IRC (I'm using Quassel Core), which means my server lost connection, regained connection... so I'm wondering if disabling IPv6 caused something to happen on the server.19:02
KrausAnyways, still cannot resolve the hostname19:02
leftyfbKraus: the router could certainly had to restart some services in order to make the change19:03
KrausRight.19:03
leftyfbKraus: you are still getting the ipv6 assigned?19:03
Krausleftyfb: Yes, still showing two nameservers.19:03
leftyfbKraus: are you 100% sure you disabled the router assigning an ipv6 nameserver via DHCP?19:03
leftyfbKraus: your router might have separate configs for local ipv6 and public19:04
leftyfbKraus: you might have only disabled ipv6 for the internet side, not locally19:04
KrausYes, logged into it > Connectivity > Internet Settings tab > Type of Internet Connection | Edit > Clicked Edit, Disabled IPv6, and it currently says "IPv6 - Automatic: Disabled"19:05
KrausAHhh19:05
KrausI suppose there's no purpose in disabling the internet side of things is there?19:06
leftyfbright19:06
KrausAnd under the Local Network tab, there isn't anything mentioning enabling/disabling IPv6.19:07
leftyfbKraus: ok, then we might have to do this only on the client-side19:07
KrausOne sec, searching for a solution onlnie19:08
Kraus(What's a 6rd tunnel?)19:10
leftyfbit routes ipv6 traffic through ipv6 tunnels. Nothing related to what we're doing19:11
leftyfbsorry, ipv4 traffic through ipv6 tunnels19:11
KrausInsane.. unrelated rant.. they published all langauges of my router's manual together as one massive PDF.. and "ipv6" isn't mentioned once in all of its 1258 pages.19:19
quantumIs there a way to boot to another device at the cli?19:24
quantumG**gle is baffled.19:25
leftyfbquantum: you mean booting another OS? Your BIOS/EFI handles that19:28
leftyfbquantum: or grub if you have multiple OS's listen in GRUB, you can modify the default item in grub then reboot19:29
leftyfblisten/listed19:29
quantumThis is an Arm board, and I have no access to its bios.  The mechanism written about doesn't work.19:29
leftyfbquantum: ok, then you need to seek support from the devices manufacturer19:30
leftyfbquantum: or maye uboot or whatever loaded that board uses19:30
quantumuboot, but I can't make it go to the USB flash drive.19:31
leftyfbquantum: maybe try #ubuntu-arm19:32
quantumk19:32
lmatHow do I make X not start at boot? I looked online, but there is conflicting information and recommendations and more importantly, none of them make sense :-)19:35
lmatSeems like I could disable a systemd unit that starts my window manager?19:35
lmatOh yeah, this is an XY problem: I'm wanting ubuntu to start up with only my program running X.19:36
lmatMy plan is to turn off the desktop manager, and adjust /usr/bin/startx only to run x& /path/to/my_prog;19:36
leftyfblmat: https://askubuntu.com/a/79682/115131119:36
leftyfblmat: look at "For systems that use systemd"19:37
lmatleftyfb: I can skip the GRUB stuff, right? (what does grub have to do with anything?)19:37
leftyfbright19:37
lmatleftyfb: What systemd target is ordinarily run?19:38
oerheksgraphical.target19:38
lmatoerheks: Ahh, okay.19:38
lmatAnd then how should I make it so that all that runs is X& my_prog; ?  I was thinking of something like    echo "x&my_prog;" | sudo tee /usr/bin/startx;   but I'm guessing there's some other more elegant mechanism?19:39
lmatof course s/x/X/19:39
oerheksweird approach, why asking for a more elegant mechanism than just the regular desktop?19:41
KrausOkay. Here's what Linksys' rep said, which I believe, translated from their rough English, means the router isn't capable of disabling IPv6 locally.19:41
KrausMikaelh Joshua A: I believe you have also Ipv6 internet connection. However, let me set your expectation, Damien. Our router doesn't have an option to disable the Ipv6 or Ipv4 local connection on the router, because the IP address the client devices will depend from the connection type provided by the router. What we can only do on our end is to disable the Ipv6 internet connection type of the router, so that those affected devices will19:41
Krausautomatically be connected on the Ipv4 connection.19:41
silent-failure2putting `exec myprog` in your ~/.xinitrc (be sure to remove/comment out all the other stuff), then running startx should work.19:41
lmatoerheks: I have a special application and I want it to look like an embedded display. It's not one, but think of an arcade computer.19:42
lmatoerheks: I don't want multi-tasking. I just want my one client.19:42
silent-failure2If it's Qt or SDL based, it can even run without X at all.19:42
EriC^^+1 on ~/.xinitrc19:42
lmatsilent-failure2: Right, that's why I said   X& my_app; that should start the X server, no?19:43
lmatsilent-failure2: Ahh, thanks!19:43
silent-failure2I'm not sure. X has some complex initialization crap it has to do in order to start properly.19:44
leftyfbKraus: ok, then just disable it on your client19:44
lmatsilent-failure2: "Ahh, thanks!" was regarding .xinitrc .19:45
lmatmulti-user target doesn't even run getty, right?19:46
silent-failure2I think it does. getty (or agetty) is normally what does that text based login prompt.19:47
lmatsilent-failure2: Right, I don't see a prompt on the screen. it just says something about /dev/sda being okay.19:47
lmatsilent-failure2: But how do I make it automatically run startx? Should I be creating a systemd unit for that?19:48
silent-failure2Try pressing Ctrl+Alt+one of the F1-F12 keys.19:48
Krausleftyfb: Before I do that, I'm going to just reboot the server first to get the issue cleared up, because I need to redo my desktop machine anyways, so I need to have access to it in the short term.19:49
silent-failure2There are multiple ways to do that. A systemd unit could work.19:49
lmatsilent-failure2: Okay. I think I understand that way best, so maybe I'll try that :-D19:50
EriC^^lmat: you could add "if [[ -z $DISPLAY ]]; then startx; fi" to your ~/.profile19:50
lmatEriC^^: Then it would only run when I log in, right? I'm wanting more automatic.19:51
silent-failure2EriC^^, yeah, provided it actually logs you in at boot.19:51
EriC^^lmat: ah i see19:52
KrausBe back in a bit.19:52
silent-failure2And if you have to log into a TTY to fix something, it will run when you don't want it to.19:52
silent-failure2I imagine systemd has some way to run a unit as non-root.19:53
lmatSo I can create a new unit file that runs startx as my user and add it to multi-user wants. But is that okay? All the multi-user wants start up at the same time, right? Maybe I should create a new target AFTER multi-user to run my startx? Or maybe I should remove all the wants of graphical target and put my one unit file in there?19:53
lmatsilent-failure2: Of course. User=<not root> :-)19:53
silent-failure2I've done some things like that on Raspberry Pi to run a single application, but I use void linux on it, which doesn't have systemd.19:55
lmatsilent-failure2: ahh19:56
KrausTest20:05
Krausleftyfb:20:05
KrausI just remembered what DOES fix it.20:05
lmatI get https://paste.rs/EY6 now. I created a unit that runs startx as the user, and this is the error part of the output.20:05
lmat(I added set -x; to /usr/bin/startx so that I could see what was running.)20:06
Krausleftyfb: It's not a reboot of either machine.. yknow what fixes it? I enter a specified static DNS entry of 190.168.1.1 ... This fixes it for a while.. until it happens again, and when it happens again I undo that and revert the DNS entry to 0.0.0.020:06
leftyfbKraus: where are you editing that?20:07
Sven_vBasking again in hopes other people are online now: In bionic, how can I make non-fuse mount fail if the mountpoint directory isn't empty?20:07
Krausleftyfb: In the Linksys Smart Wifi control panel, under Connectivity > Local Network > DHCP Server > Static DNS 1: ___.___.___.___20:08
leftyfbKraus: wait, what is that normally set to?20:08
leftyfbKraus: you should only ever have 192.168.1.1 in there. Nothing else.20:09
KrausIt's normally set to 0.0.0.0, because, by default, that's how the router comes.20:09
leftyfbah, that could be it then20:09
leftyfbKraus: put in the router's ip and make sure all other dns entries are empty. Not 0.0.0.0 or anything else. Empty20:10
KrausI would not expect a consumer product to expect 100% of its users manually edit a static DNS entry. Given the technical illiteracy of the vast majority of home internet users, I could never imagine a brandname company expecting them to even know how to access their configuration.20:10
lmatSven_vB: I've done that many times, but not in bionic.   if mountpoint /path/to/mount >& /dev/null; then echo "it's already mounted!"; fi;20:10
Krausleftyfb: Yes, that seems reasonable.. until once again the problem occurs even when the field is set to 192.168.1.1 ... it /will/ happen again, because through experience I can confirm it's happened to me. When it happens again, I just have to revert it again to 0.0.0.0 ... then THAT works for a while.. then when it reoccurs, I set it back to 192.168.1.1... Conversely I can also go from 0.0.0.0 to 192.168.1.1, then hit apply, then20:13
Krausimmediately return it to 0.0.0.0 (or vice versa) and it will still fix it... So in other words, what I'm suggesting is: the action of changing the static DNS seems to jog something temporarily in the router to where my machines suddenly see each other by hostname.20:13
KrausThe strange thing is, back in 18.04 and 18.10, to the best of my recollection, this didn't happen. These problems began to occur once I upgraded my machines. It's very strange, and I can't put my finger on it.20:14
leftyfbKraus: that is 100% a router issue20:14
KrausA router issue, meaning incompatible with Ubuntu?20:14
KrausThis has happened both with my current router model, and the previous router I owned for 5 years.... but ONLY once I switched to ubuntu.20:15
KrausBoth were Linksys routers.20:15
KrausI seem to recall someone posing the possibility that Windows doesn't get affected by hostname settings on Routers due to... something or other... like.. it's too dumb to even recognize there's a problem.20:16
KrausAgain, all this seems to be speculation, opinion..20:18
KrausI'd rather find a concrete cause for it instead of speculating.20:19
Sven_vBlmat, in my case that won't help. I want to guard against a directory becoming invisible20:20
kill-animalscan you make a shortcut that follows a file around if you move it?20:21
leftyfbKraus: in your GUI network settings on the desktop, under the ipv4 tab, under DNS, click off the "Automatic" button and put "192.168.1.1" for your DNS. Then in the ipv6 tab, under ipv6 method, click disabled. Reboot and verify your DNS server using nmcli from before20:24
silent-failure2Hard links are the only thing I know of that can do that.20:24
leftyfbkill-animals: no. A hard link will break and leave behind a snapshot copy if the file is moved20:25
kill-animalsleftyfb: hmmm I might be fine with that.20:25
leftyfbkill-animals: then use hard links20:26
leftyfbkill-animals: mind you, if you move a file an modify the file in the new location, the link will still point to the original, unmodified version20:26
kill-animalsleftyfb: I am building a library that will deduplicate repeat downloads, and so I want to store its hash and path in a database, and when I download something, it simply checks for it before going through with the actual downlaod20:27
Krausleftyfb: Note, I'm on XFCE, not Gnome, so I might have a different GUI than that.20:28
leftyfbKraus: you might. Look for something similar20:28
KrausYep, "Method: Manual" .. "DNS Server", and I put my 192.168.1.1 address in there.20:29
KrausThere IS a table with Address Netmask and Gateway entries which I can "add" something...20:29
KrausAnyways, guess what. It now only shows my IPv4 DNS server in nmcli20:31
leftyfbKraus: ok, now you wait until you can reproduce the issue. Until you decide it's not coming back20:34
Krausleftyfb: How can I reproduce it? It happens on its own at unknown times...20:35
leftyfbKraus: you wait and keep testing20:35
KrausWell.. I mean it either happens or it doesn't!20:35
leftyfbright20:35
leftyfbKraus: does your server run a GUI?20:36
leftyfbKraus: If not, https://askubuntu.com/a/1130475/1151311  follow that for your netplan network settings. Of course plug in your network interface name and ip address for the nameserver20:37
leftyfbKraus: leave out the renderer: part20:38
Krausleftyfb: Nah, it's ubuntu server, headless machine, cli only.20:38
Krausleftyfb: Thanks for all your help with this. :)20:39
HashHello, in Ubuntu 20.04, I try to compile this: https://github.com/Revan600/d2tweaks and I can satisfy all the dependencies with -dev packages, but I cannot find out what this means:   set_target_properties Can not find target to add properties to: fmt::fmt-header-only - Which package might contain this?20:39
leftyfbKraus: I think yours should look like https://pastebin.ubuntu.com/p/CPbVm93qgS/20:40
leftyfbHash: you'll need to contact the developer of that application for support20:41
KrausYeah right now it's very minimal. It's a file called 50-cloud-init.yaml and consists of:20:41
Krausnetwork:20:41
Kraus    ethernets:20:41
Kraus        enp5s0:20:41
Kraus            dhcp4: true20:41
Kraus    version: 220:41
leftyfbKraus: pastebin20:41
leftyfbKraus: wait a minute or 2 for the quiet on you to be removed20:42
silent-failure2Is it really worth using pastebin for just 5 lines?20:42
KrausOh shoot, it thought I was spamming? XD20:42
HashIt is not.20:43
HashIt's just, IRC isn't like discord, so people joining, parting, quitting, modes being set, etc. etc. can destroy your paste, nevermind flooding the channel.20:43
silent-failure2If only IRC supported line breaks within messages.20:44
KrausAlright, I copypasta'ed your recommended config lines.. do I need to restart network services?20:44
=== lovetolearn is now known as ltl2
leftyfbKraus: sudo netplan apply20:45
leftyfbKraus: warning, you better have a way to access the console locally should something go wrong20:45
KrausYeah I do.20:45
KrausINCONSISTENT INDENTATION. Wow, I love things that are sticklers for details.20:46
silent-failure2You'd love programming in python. Indentation is part of the syntax.20:47
leftyfbKraus: http://www.yamllint.com/20:47
KrausHhehehe :)20:47
leftyfbKraus: it's yaml, need to check the syntax/whitespace20:48
KrausI really, really have always wanted to learn to code... it's just never... materalized.20:48
KrausTesting 1 2... am I still here?20:51
silent-failure2yes20:51
sarnoldpong20:51
KrausAlright, applied the netplan! And I'm still here...20:52
KrausYknow, funny thing is, when I do 'nmcli device show|grep DNS' on the server itself, nothing shows up. No nameservers listed.20:52
leftyfbKarasu: nmcli is for network manager, which you're not running on the server ...20:53
KrausAhh.. doing only 'nmcli device', it shows that both my NIC device and lo are "unmanaged"20:53
leftyfbKraus: systemd-resolve --status|grep -i "dns servers"20:53
KrausHow do you guys memorize all these commands? Jeesh!20:54
KrausDNS Servers: 192.168.1.120:54
leftyfbKraus: you should be good then20:54
* Kraus collapses.20:55
KrausSee!? EASY!20:55
KrausTotally beginner friendly. XD20:55
leftyfbKraus: basically, we've taken the router of the equation of assigning DNS servers to your 2 machines. You have to think about this being a router issue. I swore off those typical consumer level routers years ago due to issues like this and I'll never go back20:58
KrausYeah, it's not my plan to stay on a consumer router for much longer. Money being the primary setback, I eventually want to be on something rackmount, with a switch perhaps, and 10gig LAN.20:59
=== dingir_ is now known as dingir
leftyfbKraus: I recommend Ubiquiti. But that's offtopic here21:00
KrausI'll look into it :)21:00
KrausNow to solve the ever-persistent problem of Numlock not being active on startup. ;)21:04
rorythat was a BIOS setting on my old PC21:05
KrausOh it's set.21:05
KrausThere's something about Ubuntu that just doesn't like having it active by default.21:05
ElliriaThis is old, but might help with the NumLock key: https://askubuntu.com/questions/155679/how-to-enable-numlock-at-boot-time-for-login-screen21:07
KrausAnd I found a slew of options-- yes, one moment, let me see if that's one of them21:07
KrausAhhh yes, 8 years ago. Apparently something changed after Ubuntu 16 or 17.21:07
ElliriaActually, it seems to have recent information down at the bottom. It's worth a look.21:08
KrausLooks like it's gnome-specific21:08
ElliriaAh, sorry about that.21:08
KrausIt's fine :) I ran into this thread months ago.21:09
KrausThere's a "Restore num lock state on startup" that might be worth trying. Not exactly the same but still would work.21:09
ElliriaThere may yet be a simple solution to it. You might want to go poking around in all the options. I don't use Ubuntu (currently use Ubuntu MATE) and am switching to Kubuntu next. Otherwise, I'd poke around.21:10
yatesi have "apt install manpages" installed but i still don't have manpages for the c lib stuff like "man strftime" - how to get?21:10
KrausAhh, no, the Restore function only activates AFTER you've logged in.21:10
KrausIt's fine, Elliria :) I'm going to be reinstalling things soon anyways so I'll worry about it then.21:11
yatesnm21:11
tomreynyates: manpages-dev21:28
xnat834[m]Does anyone have a problem while trying to connect to a hotspot with a Windows 10 client?21:47
xnat834[m]It's Kubuntu in my case, but maybe someone had the problem with Ubuntu21:47
xnat834[m]My Windows 10 client can connect to my regular router, the hotspot of my Android 10 phone, etc.21:48
xnat834[m]Only to the hotspot on my notebook with Kubuntu it doesn't work and the Windows 10 client also want me to input a PIN for some weird reason21:49
silent-failure2The PIN seems like the router is using WPS.21:50
xnat834[m]The router would be my Kubuntu notebook hotspot...21:51
xnat834[m]I definitely didn't set WPS there and my Android 10 phone also doesn't ask for that when I connect there21:51
xnat834[m]So weird21:51
xnat834[m]Ok, if anyone has problems with the integrated hotspot functionality: https://unix.stackexchange.com/questions/626619/ubuntu-20-04-lts-wifi-hotspot-not-working22:07
xnat834[m]This worked for me22:07
xnat834[m]Creating a hotspot via "create_ap" from this repository works flawlessly for me22:08
jas02Hi, I am having trouble with Ubuntu 18.04 Server. I am testing LXD on the server, but with manually created bridge br0 (managed by Netplan). But for some reason there is all the time pop-up other bridge, called virbr0 with virbr0-nic attached. I uninstall the LXD snap, but the bridge is still present.22:19
jas02I tried to remove bridge using brctl, I found that the bridge is managed by systemd and I deleted /lib/systemd/network/99-default.link, but the systemd(probably) is still starting bridge froom some unknown place.22:20
jas02How can I get rid of this bridge for good? I have no idea where is still bridge hooked.22:20
OrenTanayMy work requires me to use a windows10 machine, so in the past I've used Oracle VM VirtualBox to have access to Ubuntu, and Virtualbox has a simple feature to make snapshots that have saved me several times when I've messed up my Ubuntu install trying to make changes. I now want to try WSL2 with ubuntu 20.04, but I would really like some sort of snapshot feature. Does anyone have a recommentation22:25
OrenTanayto accomplish something equivelent? Thanks.22:25
tomreyn!wsl | OrenTanay22:28
ubottuOrenTanay: Windows 10 has a feature called Windows Subsystem for Linux, which allows it to run Ubuntu (and other Linux distro) userspace programs without porting/recompliation. For discussion and support, see #ubuntu-on-windows or ##windows. For installation instructions, see https://msdn.microsoft.com/en-us/commandline/wsl/install_guide22:28
tomreynthis is probably more of a ##windows / hyperv question, though, if you're talking about snapshotting outside of the guest.22:29
OrenTanayYes, it was the ability to create snapshots I was looking for, but thank you.22:32
OrenTanayi'm trying the ubuntu-on-windows group now.22:33
HackerIII now know why your new world agenda is relevant'22:33
HackerIIim changing distros.. you have been taken ver... crash my system.. idiots22:34
tomreynOrenTanay: this can be from libvirt / qemu22:34
tomreynjas02: : this can be from libvirt / qemu22:34
tomreynHackerII: do you have an ubuntu support question?22:35
HackerIIi can do nothing on ubuntu as compared as the previous versions22:35
HackerIIyes i do tomreyn22:35
tomreynHackerII: do you have an ubuntu support question?22:35
tomreynlet's hear it then22:35
HackerIIwhy did your distro give in22:35
tomreynthat's not a support question, that's trying to start a discussion, which you could do in #ubuntu-discuss22:36
* HackerII waits22:36
HackerIItomreyn,  why did your distro give in22:36
HackerIIdiscuss it22:36
oerheksfor discussions, there is a dedicated channel, support only please, thanks.22:37
HackerIIoerheks,  stop proselyting22:37
HackerIIi have 100 vpn.. dont ruse me as well as the general public as to why you sold out22:38
tomreynHackerII: please see /topic for the guidelines applying to this channel.22:38
HackerIIyour os resembles windoze22:39
HackerIIi signed onto ubuntu back in6.o6.. what  happened22:39
oerheksHackerII, please stop the random noise22:40
HackerIInise.. gimme a break22:40
HackerIIis that all you git22:40
HackerIIgot22:40
HackerIIi belong to many forums.. dont do me dirty22:41
HackerIIno worries.. my forums will make a note of all your doings.. remember.. you dupped the people.  and I will make it known..... FAST22:43
HackerIIbye22:43
jas02tomreyn: Many thanks, that was it!22:44
tomreynyou're welcome22:45
=== Scotty_Trees is now known as Scotty_Trees[m]
ptahis it possible to upgrade firefox on Linux kernel 2.6.24 Ubuntu 8.04.2?23:22
hanshi want to multiboot windows and ubuntu, should i install windows first or ubuntu first?23:22
ptahthats 2008 system on mini dell laptop23:23
ptahit use to play youtube vids and facebook worked, but now it doesnt work23:24
Bashing-omhansh: ubuntu 1st - as Windows will over-write the boot code.23:24
tomreynptah: theoretically, yes, but it's a very bad idea. much better would be to do a fresh installation of something that's not reached EOL.23:24
sarnoldptah: probably not -- newer firefox binary packages will have requirements on newer libraries, and those newer libraries will have requirements for newer kernels. it'd be a lot easier to upgrade to something much newer23:25
ptahi see23:25
sarnoldptah: you could build a newer firefox on that machine, but I strongly doubt that machine is powerful enough to run the build in any reasonable time23:25
ptahhiow come old windows from like 2008 will still work?23:26
ptahhow*23:26
Bashing-om!dual boot | hansh23:26
ubottuhansh: Dual boot instructions: x86/AMD64: https://help.ubuntu.com/community/DualBoot/Windows - Macs: https://help.ubuntu.com/community/MacBookPro https://help.ubuntu.com/community/YabootConfigurationForMacintoshPowerPCsDualBoot23:26
tomreynptah: note also that current ubuntu releases may not work well on such old hardware, if it doesn't match the minimum requirements.23:26
ptahlinux is suppose to be more costumzable23:26
hanshthanks23:27
ptahok23:27
ptahthank you23:28
tomreynptah: IF this system lacks the resources needed: there are other linux distributions which are customized to work with limited system resources. ask in ##linux23:28
hanshdoes Lubuntu still make 32bit builds?23:28
ptahthen ubuntu is the problem not another distro?23:28
hanshptah, is it a 32bit or 64bit cpu ?23:29
ptahhansh, how do i check that?23:29
tomreynhansh: there's #lubuntu for lubuntu specific questions23:29
ptahi forgot lol23:30
sarnoldcat /proc/cpuinfo or lscpu23:30
sarnolduname -a23:31
tomreyngrep -o -w 'lm' /proc/cpuinfo23:31
ptahLinux ptah 2.6.24-29-lpia #1 SMP Thu May 26 09:13:33 UTC 2011 i686 GNU/Linux23:31
sarnold32 bit23:31
ptah6423:32
tomreynthis is a 32-bit kernel. is it a 32-bit cpu?23:32
ptahclflush 64?23:32
sarnoldtomreyn: what's the lm flag mean?23:32
Bashing-omsarnold: It's a flag for "long mode", meaning it's 64 bit capable :D23:33
tomreynthanks Bashing-om, i didn't have that answer handy23:34
ptahits 6423:36
ptahwill it work?23:36
ptahclflush size 6423:36
sarnoldBashing-om: aha :) thanks23:39
sarnoldptah: that's definitely encouraging; I think the last LTS release with a 32 bit x86 installer was 16.04, which ends standard support in a few weeks23:40
sarnoldptah: it might be worth trying a 20.04 installer; if it works, it'll give new firefox, and you'll get security updates again23:40
ptahsarnold, yeah i notice certain websites give a security error23:41
ptah:)23:41
ptahthat means i have to upgrade the entire kernel?23:42
euxneksfor some reason a directory in a samba share is not showing files, but showing directories on the clients, but other directories are showing files. As far as I can tell there is no selinux - where can I start to troubleshoot this?23:42
ptahsarnold, so apt-get upgrade firefox wont do anything right?23:44
ptah:)23:44
tomreynptah: as i mentioned earlier, you'll want to do a fresh install.23:44
euxneksI am, however, able to view the files using ls if I open a terminal in the mounted samba share23:44
ptahi see, ok23:45
tomreynptah: first of all, i'd check whether the system provides enough resources, though.23:45
ptahtomreyn, probably have to use a regular laptop23:46
ptahthis is just a free gift mini laptop23:46
sarnoldptah: yeah that apt-get update won't work :)23:46
ptahok :)23:47
soulseeker-cloudNo it's tainted23:50
soulseeker-cloudSee my previous post23:50
soulseeker-cloudIf you can salvage the cluster23:50
soulseeker-cloudUse it for warp core23:51
ptahsarnold, do people still use redhat ?23:51
sarnoldptah: yes23:51
tomreynsoulseeker-cloud: it's not clear what you're referring to. do you have an ubuntu support question?23:51
ptahsarnold, in companies, my old boss switched to ubuntu23:51
soulseeker-cloudWarp core trajectory23:51
soulseeker-cloudZephram alpha calculator23:51
soulseeker-cloudPtah 'people'?23:51
sarnoldsoulseeker-cloud: please stop23:51
tomreynsoulseeker-cloud: let's please stay on topic, ubuntu support.23:52
raffaem2my ubuntu doesn't switch focus to applications when it should. For example, I double click a file in Dolphin, and VLC media player gets opened but in the background. I have to manually swithc to it. I click a magnet link on the web and Transmission gets opened in the bakground23:52
soulseeker-cloudYes tom refund project zephram alpha23:52
soulseeker-cloudSerious talk quit being simple weed sprouts23:53
soulseeker-cloudThorny weeds23:53
sarnoldptah: there's lots of reasons why one or another distro may make more sense for any given user; while ubuntu is in one sense a competitor to fedora and rhel, in another sense we're callaborators and colleagues23:53
Sonderbladeanyone know how to get rid of the "agetty" processes? /sbin/agetty -o -p -- \u --keep-baud 115200,38400,9600 ttyS0 vt22023:53
soulseeker-cloudYes tom refund project zephram alpha23:54
soulseeker-cloudUse all ubuntu's got the whole distributed computing network23:54
ptahsoulseeker-cloud, lol23:55
soulseeker-cloudPtah does it matter?23:56
euxnekslooks like samba has some stored attributes somewhere23:56
sarnoldSonderblade: hopefully helpful http://0pointer.de/blog/projects/serial-console.html -- I found the link from systemd-getty-generator(8)23:59

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