/srv/irclogs.ubuntu.com/2021/09/04/#ubuntu.txt

=== xenial is now known as Guest3284
Crorancloudcell: glad you got it going. so you ended up going with ubuntu 20.10?00:06
cloudcellCroran: actually, Xubuntu00:07
cloudcelli had to switch00:07
Crorancloudcell: huh? xubuntu 20.04 then?00:08
cloudcellyes00:09
cloudcellxubuntu 20.0400:09
Croranweird. what about xubuntu lets you install cuda 11 where normal ubuntu limits you to 10?00:09
=== cacti is now known as ice
CroranI mean what is it about xubuntu...00:15
leftyfbCroran: there isn't anything. xubuntu = ubuntu with the xfce desktop installed by default. Everything else is exactly the same01:25
Croranleftyfb: yeah that's what i thought. though isnt' the xubuntu installer different and worse than the vanilla installer?01:47
Croranisn't*01:47
=== M4he is now known as mahe
[itchyjunk]hi i wanted to install something on ubuntu server. the website for the software says use snap but it's looks gui'ish. is there a way to install non gui version when installing? some flag or somesuch? :s02:15
leftyfb[itchyjunk]: what are you trying to install and what version of ubuntu?02:15
[itchyjunk]20.04. i wanted to install Coq02:16
[itchyjunk]https://coq.inria.fr/download02:16
[itchyjunk]they also mention opam for advanced users but idk what that is either02:16
leftyfb[itchyjunk]: you'll have to get more support from that project. To install what they are suggesting run: sudo snap install coq-prover   # beyond that, using the app or it's components would be done from their documentation and/or support02:18
[itchyjunk]oh okay02:18
=== j2bv17 is now known as j2bv16
=== boubou_ is now known as boubou
z1z1Hi I have a quick question when I enable IPAddressDeny=any on a service the service is sandboxed as expected, however if I then start up a KVM virtual machine I find that I all sandboxing for IPAddressAllow/IPAddressDeny no longer works. For instance if I then run systemd-run -p IPAddressDeny=any -t /bin/sh I can ping 8.8.8.8 without any problem. To break this Im running virsh start parrot - where parrot is04:01
z1z1my linux based VM. Is this expected behaviour, the only way I can get sandboxing to work again is a reboot? I replicated it on my laptop as well with both environments running Ubuntu 20.04.04:01
z1z1is this a bug or am I not using systemd correctly04:02
z1z1on ubuntu04:02
cloudcellCroran: I think that ubuntu has a system that uses "snap" containers by default and xubuntu does not. Or maybe the reason is different. As far as I remember, the main reason I switched to Xubuntu is that I have it on my main computer. Another is that as far as I remember I was able to install cuda but failed to install cudnn, which, as it turned out, requires runtime libraries to be installed before the dev libraries...05:27
cloudcellSo it might be totally my fault05:27
HashHi06:33
HashAnybody here tonight06:33
HashI have ubuntu 20.04 installed on new pc. Everytime I reboot I get put into grub shell06:33
HashI have to type set prefix=(hd3,gpt2)/boot/grub and set root=(hd3,gpt2) and insmod normal and normal and then I get the grub menu back.06:34
HashThis happens to me EVERY time I reboot the PC. I already ran update-grub and made sure grub installed correctly06:34
HashHow come this keeps happening? And how to fix06:35
lotuspsychjeHash: can you share your grub cfg in a pastebin so volunteers can have a look for you06:36
Hashsec06:38
Hashlotuspsychje and everyone: https://termbin.com/rjqm06:39
Hashfrom /boot/grub/grub.cfg06:39
HashPlease let me know what else you may need06:41
lotuspsychjeHash: etc/default/grub too plz06:42
Hashhttps://termbin.com/rc1w06:42
Hash0,0 is 1TB ssd, for VM hdd passthrough only for dedicated VM.06:43
Hashhd1 is storage. hd2 is storage06:43
Hashhd3 is ubuntu hdd, 128gb ssd, where /boot/grub is06:43
HashHowever, the hd0 (for Vbox passthrough only) has a windows 10 vm, which I also boot physically06:44
Hashhd0 also has an EFI partition, made by microsoft, with no drive letter. When i browse that partition, on hd0, i see an Ubuntu folder in EFI folder06:45
HashSo, there are two hdd, hd0, and hd3 where there are TWO efi partitions, what my EFI/bios sees06:45
HashSo, when I choose the hd0 from bios, I boot into windows directly.06:45
HashWhen I select hd3 from bios/efi, I get grub shell.06:46
HashSo perhaps there is a confusion in grub on which actual hd to install to?06:46
HashWhat do you think?06:46
lotuspsychjenot sure myself yet Hash comparing with my grub, only differs GRUB_TIMEOUT=006:49
lotuspsychjelemme check my other box holdon06:50
HashThank you very much my friend06:50
Hash<306:50
lotus|NUCHash: here i got a #GRUB_TIMEOUT_STYLE=menu because grub dissapeared on me once too06:51
HashHmm06:51
HashSo if you have this setting, it just auto drops you into a grub shell each time on reboot?06:52
HashNo menu at all? So my config is messy? How could it break I wonder06:52
lotuspsychjeHash: yeah it auto gives you menu, but you can play with timings like timeout 5sec and pick your fav Os06:52
HashI wonder if I can verify this in a vm without having to reboot to test.06:53
HashGRUB_TIMEOUT_STYLE="hidden"06:53
HashIf ‘GRUB_TIMEOUT_STYLE’ is set to ‘countdown’ or ‘hidden’, the timeout is instead counted before the menu is displayed.06:54
Hashhttps://www.gnu.org/software/grub/manual/grub/html_node/Simple-configuration.html06:54
HashNowhere does it say it drops you into a grub shell.06:55
HashI'm unsure whether this is the setting related to my issue.06:55
HashCan anyone verify if this is set to 'hidden' like my config, it would result in a grub shell on boot? (sounds odd)06:55
lotuspsychjeHash: hidden is default (not showing grub)06:55
HashRight, I don't care whether the menu shows up or not. I'm trying to figure out why I'm put into a grub rescue shell.06:56
Hashhttps://i.stack.imgur.com/RzPF5.jpg here's what it looks like when I boot up06:57
lotuspsychjeHash: try playing with it, perhaps if changing to a menu it might influence your shell06:57
Hashhttps://unix.stackexchange.com/questions/329926/grub-starts-in-command-line-after-reboot06:57
Hashok06:58
HashI think I should grub-install /dev/sdd (hd3)06:58
HashOk07:01
Hashok07:05
HashSo I tested 'menu' and 'hidden' and neither made a difference07:05
HashI did grub-install /dev/sda (hd0)07:06
lotuspsychjeok Hash07:06
HashAnd I did grub-install /dev/sdd07:06
HashThen I did update-grub and now menu shows up07:06
HashSince the OS hdd is sdd, it was installing grub there, but I think bios boots automaticaly from hd0, which is sda, so I put grub there too07:07
HashI dunno. I guess it works now. Thanks a lot dude07:07
luna_http://hackerpublicradio.org/eps.php?id=342907:08
Hashtry the offtopic channel07:08
=== dtomato771 is now known as dtomato77
=== Andrew is now known as AhkilKumar
=== AhkilKumar is now known as Andrew
ren0v0Hi all, I'm having an issue whereby when I connect my DAC (from Roon software), to PC, my keyboard and mouse freeze/are disconnected. Here are some logs, can anyone assist? https://pastebin.com/atZ4V8pg09:24
mozambiquehelllo09:48
bittinhi09:55
=== blackest_mamba_ is now known as blackest_mamba
lotuspsychjeren0v0: wich ubuntu release/kernel version are you on please10:56
ren0v0Hi @lotuspsychje 20.04.3   5.11.0-27-generic10:59
lotuspsychjeren0v0: could you test that on a previous kernel too?11:00
lotuspsychjewe having a lot of 5.11 bugs going on recently11:00
ren0v0@lotuspsychje, i'm quite sure it's unrelated to kernel, I was toying with UDEV with UDEV rules for android dev tools11:00
ren0v0o well, you know better than me, just didn't feel like a coincidence11:01
ren0v0do my logs look more like a kernel issue than anything else then ?>11:01
lotuspsychjeren0v0: im not assuming anything yet, just trying to widen your testing options11:01
ren0v0@lotuspsychje, what kernel do you suggest trying ?11:04
lotuspsychjeren0v0: a non 5.11 one if you still have one in your list11:04
ren0v0ok brb11:04
osseI want to run a graphical program with sudo. Is it still recommended to use 'gksudo' or something like that?11:07
ren0v0@lotuspsychje, apparently that isn't so easy as I've since tried a different FDE install method whereby boot is also encrypted, so I cannot seem to get to grub menu at boot11:09
ren0v0how do i change kernel via cli without using grub menu ?11:10
osseIn my case the graphical program is Wireshark. It seems I can add my user to a specific group to gain the privileges I need, so I'll try that. Sounds better.11:11
khushant_i need help11:11
khushant_my wifi connection is getting lost in every few mins11:11
osseWoohoo! It owkrs11:12
khushant_hello11:28
TJ-ren0v0: looks like something is messed up with udev11:56
ren0v0@TJ-, yea I think so, no idea how to fix it though11:56
ren0v0is it possible to basically reset it?11:57
TJ-ren0v0: I've only just looked in so not sure where you've got to. Are you currently able to boot and control the problem system, or not?11:57
ren0v0O yes, everything is fine, the issue only happens when i try to connect a new USB device (which is Roon connected DAC) everytime i boot, so its pretty annoying, and this disconnects my keyboard11:58
TJ-ren0v0: as an aside (I wrote the FDE guide) you can always get to the boot menu at startup by repeatedly tapping the Esc key just as the motherboard firmeare is handing over to GRUB. The problem there is that by default, Ubuntu devs thought it a wonderful idea to both hide the GRUB menu entirely, and set the timeout to 0!11:59
ren0v0No way... i was trying to get hold of you at the time as there is  typeo11:59
TJ-ren0v0: OK, and as I read your earlier comments you've added your own udev .rules for that?11:59
TJ-ren0v0: oh no, not another!11:59
ren0v0https://help.ubuntu.com/community/Full_Disk_Encryption_Howto_2019  this one?11:59
TJ-ren/me nods11:59
TJ-oops, see, I'm good at typos!11:59
ren0v0it was doing my head in, sec12:00
ren0v0${DEVP}112:00
ren0v0you copied it everywhere12:00
ren0v0o wait, i see an export now12:01
ren0v0# export DEVP="${DEV}$( if [[ "$DEV" =~ "nvme" ]]; then echo "p"; fi )"12:01
ren0v0maybe this line didn't work ?12:01
TJ-Yesl it gets set if the install device is NVME only12:01
ren0v0DEVP didn't work after this12:01
TJ-ren0v0: you install to an NVME /dev/nvme* ?12:02
ren0v0nope12:02
ren0v0i guess this export statement could be wrong then?12:03
TJ-in which case DEVP and DM should not be changed (those lines add a 'p' (for Partition) suffix for NVME device napes - which other devices don't have). Those lines have been extensively tested with people who have NVME and those that don't, including me, so I'll be surprised if it breaks.12:04
TJ-ren0v0: what Ubuntu release were you installing?12:04
ren0v0@TJ-, the variable didn't exist12:04
ren0v020.0412:04
ren0v0I just had to remove P from every command12:04
ren0v0you can always get to the boot menu at startup by repeatedly tapping the Esc key just as the motherboard firmeare is handing over to GRUB   < nice tip thanks12:05
TJ-ren0v0: that Ubuntu default config to make the boot look 'pretty' annoys the hell out of me since it is needed when things go wrong and then owners cannot get into their systems easily unless they know. Before UEFI it was easier since you only had to hold down Shift and GRUB could check the state of the Shift/Ctrl/Alt bits set by BIOS, but with UEFI you there is no way to detect those keys are held12:07
TJ-down, only a KeyDown or KeyUp event12:07
ren0v0@TJ-, as for the udev issue, i have removed 51-android.rules so will test on next reboot12:07
TJ-ren0v0: in the FDE instructions, the only way I can se those statements failing is if the shell was /not/ bash since they use bash-specific functionality12:08
TJ-ren0v0: udev: yes, that's what I'd suggest. I'd also suggest operating from a text console rather than GUI and monitor the kernel log at the time the device is connected /and/ capture the log. E.g. switch to a console with Alt+Ctrl+F3, log-in, then "journalctl --dmesg --follow |& tee ~/bad-device.log" (pressing Ctrl+C to exit the log capture) and Alt+F1 or Alt+F7 to return to the GUI12:11
ren0v0ok thanks will SS this12:11
TJ-ren0v0: I'll check the installer do use bash (not dash) when 'sudo -i' is used12:11
ren0v0i may have done that ^12:12
ren0v0o, that's your first command i assume12:12
ren0v0sorry my memory isn't great12:12
BluesKajHi folks12:12
bittinhey12:12
TJ-It's possible when I added those instructions I tested locally with my default 'bash' and didn't think that the default shell for roto is dash12:13
TJ-I don't see any mention of 'bash' across the entire article so that could be the problem12:13
TJ-ren0v0: I've also just noticedthe wiki has broken the links to the last few images as well; I'd best edit12:13
ren0v0@TJ-, on a sidenote I've had a few hangs on shutdown12:14
ren0v0I feel it could be related to mounted luks containers12:14
ren0v0maybe I'm being lazy with unmounting, but never used to have such issues12:14
TJ-ren0v0: well you can check the previous logs. systemd-journald is great for that. "journalctl --list-boots" lists prior logs and a negative-based index, so you can look at the last boot with, for example "journalctl -b -1" (and add additional options to limit that, such as "--dmesg" or "--unit NetworkManager" or whatever12:15
ren0v0@TJ-, most have this at the end https://pastebin.com/jYDE8Zgn12:18
TJ-ren0v0: I think that may just be an issue with ordering of unmount jobs with systemd. I don't get that but I do get "systemd-cryptsetup[4781]: Device LUKS_VG is still in use" which is the container for the OS rootfs/var/home LVs12:22
ren0v0next time i have to force shutdown i will check this again12:23
TJ-if LUKS_BOOT hosts /boot/ which in turn hosts /boot/efi/ which is the EFI-SP, so I wonder if that latter didn't get unmounted12:24
TJ-ren0v0: fixed the article for you :) https://help.ubuntu.com/community/Full_Disk_Encryption_Howto_2019#Pre-Prepare_Encrypted_Partitions12:42
supastupidis there a way to see pdfs IN the terminal with terminal emulators like Kitty?13:28
supastupid_(without converting to text)13:29
TJ-by definition a 'terminal' is an analogue of a teletype terminal, e.g. text-only. Consoles can do graphics too though.13:31
supastupidYeah, like Terminology with 'tycat' and Kitty with 'icat'.13:32
jattless foo.pdf shows the contents of a pdf as text13:32
TJ-jatt: that is only if 'lesspipe' is doing its thing13:33
jattTJ-: right13:33
supastupidWithout converting to text though13:33
supastupidI want to a pdf open in one pane on tmux and a terminal opened on the other13:35
jattI don't think it's possible to render PDF directly on a terminal13:36
supastupidOh okay13:36
TJ-you can load the PDF into the default handler with "xdg-open path/to/file.pdf"13:48
lotuspsychjemaybe links2 can handle pdf extension? didnt test myself13:53
=== quitman_ is now known as quitman
spawnwhy no sound in ubuntu 20.04 LTS ????14:39
lotuspsychjespawn: wich kernel are you on?14:40
BluesKajspawn, check alsamixer, automute is probly enabled14:42
spawnhow to enable ?14:42
spawni mean disable..14:43
BluesKajfind automute on the far right and use the down arrow key to disable14:44
spawnthnks14:45
BluesKajyw14:45
=== kostkon_ is now known as kostkon
aba_hey after i reboot my pc 2 or 3 times i get disconnect idk why i can't even see my wired conenction button . thanks for helping. greate community16:38
daviddgtnthello16:40
aba_hey16:40
daviddgtntjust joining as a test of erc16:40
daviddgtntfor emacs16:41
aba_i guess you did it :)16:41
daviddgtntyeah16:41
daviddgtnti basically just started using emacs for a lot16:41
daviddgtnti moved from vscode to emacs16:41
aba_i'm personally vim user. so... yup16:42
Oxfuxxxuse nano, emacs is for ppl from red-hat.16:42
daviddgtntemacs isn't just a text editor16:42
daviddgtnti do use evil (vim in emacs) bindings16:42
daviddgtntand plus emacs is part of gnu16:42
daviddgtnti also replaced gnome terminal16:43
daviddgtntand now hexchat16:43
daviddgtnti'm doing a rabbit hole of linux type thing16:43
aba_:))16:44
daviddgtnti have a terrible pc so instead of ubuntu i'm using xubuntu16:44
daviddgtntmy first linux distro was kano os for the raspberry pi16:44
aba_i kinda use a lot distros16:44
tsapienI'm trying to resist the urge to distro hop16:45
daviddgtntnow look at me, using linux mint and installing xubuntu on a vm on my **cough cough** windows machine16:45
aba_i like to have a raspberry pi . i wanna try it out16:45
aba_cough16:45
daviddgtnti only use windows cause gaming16:45
aba_gaming on linux gets very better since like steam things16:46
daviddgtntyeah16:46
daviddgtntwait how do i shift a whole buffer in emacs16:46
daviddgtntnvm just made a new window and moved to it16:46
aba_i think you can get that on gnu.org16:47
daviddgtntalso i use doom emacs specifically16:47
aba_i want u to do sth16:48
aba_type emacs on google16:48
aba_see what happens16:48
OxfuxxxLast time i used emacs my computer froze...:P so now i use featherpad.16:48
daviddgtntdid you mean vi lol16:49
aba_:)16:49
daviddgtntwhy16:50
daviddgtntbtw i used eww to do it16:50
daviddgtntemacs web wowser16:50
aba_google's stupidity i guess16:50
daviddgtnti use chrome on my linux mint pc too lol16:50
daviddgtntout of the box **cough cough**16:51
daviddgtntredhat is crazy stupid16:51
aba_another cough :)16:51
tsapiensomebody needs a  ricola16:51
aba_lol16:52
daviddgtntxubuntu finally installed16:53
daviddgtntit's a bit laggy on 2gb ram with 2 cores16:54
aba_i'm not really in these ubuntu based distros but ok i guess16:54
tsapienI believe 2gb is the minimum recommended16:56
tsapienfor xubuntu16:56
tsapienso i'd expect a bit of a laggy experience16:57
aba_with xfce?16:58
aba_i'm not sure16:58
daviddgtntactually yes17:00
daviddgtnti do have some la17:00
daviddgtntg17:00
daviddgtntit's usable now17:01
daviddgtnt1yay17:03
tsapiennice17:03
daviddgtnt1in pidgin on xubuntu vm17:04
daviddgtnt1still have erc open on my laptop17:04
daviddgtntsee17:04
tsapienindeed17:04
daviddgtnttime to install linux mint and manjaro and arco and **cough cough** freebsd17:05
aba_arco17:05
aba_archlinux based?17:05
=== optimus is now known as linuxprime
=== keypushe- is now known as keypusher
[itchyjunk]Hello, i installed an app using snap. But if i go to Show Application -> CoqIDE it says "Desktop file didn't specify EXEC value". But if i open a terminal and `/snap/bin/coqide` it runs. Any easy fixes?18:07
TJ-[itchyjunk]: yes; the snap package has a bug18:08
[itchyjunk]:(18:08
Hash:(18:08
[itchyjunk]I am googling and i see other people reporting it but no suggested solution :(18:13
TJ-the wonderful world of snaps :)18:14
[itchyjunk]Would I run into issues running things via terminal that way?18:15
HashNot really.18:17
[itchyjunk]Then i guess i'll do that for now18:18
HashYou just see a bunch of console output18:18
TJ-[itchyjunk]: if the application is for terminal only then maybe the .desktop file is only intended to provide an icon18:20
[itchyjunk]It launches a GUI IDE for Coq18:21
[itchyjunk]so i don't think it's a terminal thing.18:21
HashIt'll be just fine running manually from terminal. No big deal.18:22
TJ-hmmm, so yes, would sound like a bug unless snaps are supposed to do it differently18:22
HashYou can try something18:22
HashMake a little bash script, #!/bin/bash \n cd /wherever/coq/is \n commandtorunide18:23
HashMake it a+x, and put it in your $PATH somewhere18:23
HashThen when you go to your DE start > run and type the bash script name, should launch18:23
HashSee how that behaves.18:23
HashCould probably make a desktop icon to launch the bash script tht starts your IDE18:24
HashWhat's the actual bug? Where is the bug report, find it.18:25
TJ-copy the current .desktop file int $HOME/local/share/applications/ and add the missing Exec= line :)18:25
TJ-sans my typos of course!18:25
HashI assume the generated file would be nice.18:25
HashI mean with the Exec=18:25
HashBut it would make more sense to know which actual bug report we're talking about18:26
[itchyjunk]i think this is related to my issue18:26
[itchyjunk]https://forum.snapcraft.io/t/certain-apps-wont-open/1492918:26
[itchyjunk]But i am not 100% sure18:26
[itchyjunk]they have issues launching different applications though18:26
=== ubuntu is now known as Guest2865
[itchyjunk]I am not sure how to find identical bug reports as mine. I imagine not a lot of people install this application18:27
* Hash uses emacs18:27
Hashhttps://i.imgur.com/YqJoT3Z.jpg18:28
[itchyjunk]Yes, all the advanced users seem to use opam and emacs or w/e else it is that they use ..18:28
HashTiny, 6.0MB binary, cutomized easily peasily18:28
HashI don't use even a gooey emacs. Just cli18:29
Hash[itchyjunk]: get on emacs (possibly vim too or emacs evil mode)18:29
HashBut I also really love Netbeans. I use everything, test out all toolkits and dev env.18:30
[itchyjunk]I installed emacs and looked up a tutorial which was 700 pages long.18:30
HashI always seem to come back to emacs and netbeans. No matter what else.18:30
HashYes. It's a learning curve.18:30
HashBut very very very highly rewarding.18:30
HashThe return on your emacs learning investment is going to be multifold18:30
Hashhttps://www.youtube.com/watch?v=jPkIaqSh3cA [itchyjunk]18:40
HashThe Basics of Emacs as a Text Editor18:40
HashCheck out some videos, they might help more18:40
HashThere is a lot of stuff in 'Lost & Found' menu18:48
HashWhat is this? INN Barn and other wine old sierra games still show up that I no longer have18:48
mov_eax#openbsd18:49
Hash?18:50
mov_eax@Hash: it was a typo18:52
aba_hey i configured my alacritty but it doesnt get changed . i make that folder and copy that .yml file but nothing happened. any idea?18:57
hypocritehi. i wanna install ubuntu on ssd but it keep saying that it can't create ext4 filesystem what's the problem? thanks for community19:02
isiqueirahola!19:03
=== ubuntu is now known as Guest3574
=== cacti is now known as ice
gneeriiloeepdeerwhat can I use to convert a .sub file to a .srt one?20:19
gneeriiloeepdeermkvtoolnix has nothing for this20:19
gneeriiloeepdeervobsub cannot be opened with geany20:19
tomreyngneeriiloeepdeer: should we assume that you have done a web search for "ubuntu convert .sub to .srt" or similar, yet?20:44
gneeriiloeepdeerwell, I found this, https://askubuntu.com/questions/149798/how-can-i-convert-idx-sub-dvd-subtitles-into-a-text-srt-subtitle-file but I was wondering, can it be done with ffmpeg? to20:59
gneeriiloeepdeertomreyn,20:59
tomreyngneeriiloeepdeer: i do not know. my guess would be, since OCR is not ffmpeg's primary, no. but i can be wrong.21:01
tomreyn*primary purpose21:02
tomreynhttps://github.com/dguglielmi/VobSub2SRT might work21:05
tomreynand maybe https://snapcraft.io/vobsub2srt21:06
gneeriiloeepdeertomreyn, thats the same thing, right?21:08
tomreyndifferent forks of the same original code from 11 years ago21:08
gneeriiloeepdeeroh21:26
gneeriiloeepdeertomreyn, I dont know how to pull code from github...21:28
gneeriiloeepdeergit clone?21:31
gneeriiloeepdeeralthough I found it in snap...21:34
Hashgneeriiloeepdeer: yes, git clone21:37
Hashgneeriiloeepdeer: yes, git clone <repo link here>21:37
gneeriiloeepdeerHash, im too dumb for that: I cloned the repo with the url and then I executed 'vobsub2srt' I was told to install from snap21:38
gneeriiloeepdeerIm installing from snap, apparently it's easier21:38
HashYes snaps make it easier21:38
gneeriiloeepdeer...21:39
gneeriiloeepdeerthis vobsub is saved as a mks file, but vobsub2srt doesn't recognize it21:40
gneeriiloeepdeerdo I need to find something that converts mks to srt?21:40
gneeriiloeepdeerhas any of you ever tried https://askubuntu.com/questions/1200997/mks-to-srt-conversion?21:45
fmlatghorahhhhhh21:46
fmlatghorI screwed up my network settings21:46
tomreynfmlatghor: don't do this! also, do you have an ubuntu support question?21:47
fmlatghortomreyn: my question is how did I get dns to resolve21:47
fmlatghorI did the same thing on fedora21:48
fmlatghorI started messing with dhcp and other stuff...21:48
tomreyndns won't resolve too soon, even though there are some alterantives now.21:48
tomreynyoube you're asking how to resolve fully qualified domain names against dns recursors?21:49
fmlatghorI think what happened21:49
tomreynor how to configure authoritative dns servers?21:49
fmlatghorwas that I removed an important package21:50
tomreynyoube -> maybe21:50
fmlatghorright now I'm doing it manually21:50
tomreynapt logs are in /var/log/apt/history.log21:50
SJrXI'm trying to install Ubuntu Server 20.04 for a Raspberry Pi on an SSD. I tried just dding the RPI image on the SSD, but the RPI seemingly won't boot it. As best I can tell USB boot is enabled on the Pi. On the rpi when I cfdisk the image I do see two partitions. Anyone have any ideas?21:50
fmlatghortomreyn: I have a script that connects to my network with iwctl then configures dhcp with dhclient21:50
fmlatghortomreyn: I just mean domain names21:51
tomreynfmlatghor: and the resolver that was configured via dhcp no longer responds now?21:52
fmlatghorI don't know21:52
tomreynor does it no longer get dconfigured via dhcp?21:52
fmlatghortomreyn: ubuntu uses systemd-resolved?21:52
tomreynfmlatghor: yes21:52
tomreynby default21:53
tomreynat least on the supported releases21:53
tomreynSJrX: did you follow the tutorial?21:55
SJrXNo I haven't found a direct tutorial for RPi + USB SSD on Ubuntu.21:56
rud0lfUSB SSD is no different than HDD21:58
tomreynhmm i'm not sure that those can boot off usb. maybe they can, i just don't know.21:58
rud0lfi think you need to burn one time fuse in rpi for that21:58
rud0lfprogramtically21:58
SJrXBut it is seemingly different from SDCard. I guess I did just find this post, which maybe says that Ubuntu 20.04 won't work this way _directly_ and that I could try Ubuntu 20.10 so I'm trying that right now: https://www.raspberrypi.org/forums/viewtopic.php?t=29560921:59
tomreyni see. i only remember that there were problems with usb booting related to otg mode21:59
SJrXI was expecting Ubuntu Server to require a USB to install the standard way, kind of surprised that it has these "preinstalled images".22:00
rud0lfSJrX: you can just keep sd card in, and mount / (root) from usb22:00
rud0lfyou just need to set partition's uuid in cmdline.txt22:00
rud0lfso bootloader starts from sd, but rest is handled by ssd22:00
tomreynSJrX: the 'special thing' making things more difficult here is not ubuntu ;)22:00
SJrXtomreyn, I didn't mean to slight ubuntu with that. I undrestand the RPi has some oddities.22:01
SJrXrud0lf, I didn't buy an sd card unfortunately.22:02
SJrXAnd I was hoping to build a RPi k8s cluster, so I don't want to go buy 6 SD Cards.22:02
tomreynnote that 20.10 is EOL, and there are later 20.04 releases22:02
SJrXYeah I'm trying 21.0422:03
tomreynmaybe netboot would be an option for you22:03
SJrXIt does seem to want be trying to boot from the net.22:03
SJrXOoooh 21.04 worked, yay!22:04
tomreynSJrX: https://www.instructables.com/Raspberry-Pi-4-USB-Boot-No-SD-Card/ looks like a good guide22:12
tomreyn(not tested here)22:12
SJrXI think the guides are a crap shoot. I actually just tried with Ubuntu 21.04 and it booted fine. So my problems are solved.22:13
SJrXAs these will just run k8s, I'm mostly fine running 21.04 and then 21.10 until 22.0422:15
fmlatghortomreyn: I fixed the issue -- I had to change the nameservers in my resolv.conf22:26
fmlatghorthank you22:26
tomreynyou're welcome22:28
tomreynbut note that resolv.conf is not static by default. not unless you make it static22:28
fmlatghorthat's what I'm doing now22:29
fmlatghorseeing if it actually lasts22:29
tomreynit's a symlink by default. you could delete the symlink and place a file there if you really think that's how it should be (i recommend first reading the relevant man pages to understand your options)22:30
fmlatghorunfortunately you wer eright22:30
tomreyna rare exception22:31
fmlatghorI'm trying out systemd-resolved, but if that doesn't work22:36
fmlatghor:/22:38
tomreynit's not clear what is "it" that's "not working", and how you can tell. but aside from that, make sure you read the DESCRIPTION and /ETC/RESOLV.CONF sections of systemd-resolved(8)22:40
fmlatghorI decided to just stick with resolv.conf22:41
fmlatghorIt would probably be a good idea to learn systemd-resolved, except I don't want to spend the rest of the day doing that22:41
coryc257I know nothing about what your talking about but be aware sometimes systemd will overwrite config files so make sure that isn't one of them22:42
fmlatghorI disable systemd-resolved22:42
fmlatghorand I removed the symlink22:42
coryc257hahaha, hopefully that's enough22:43
fmlatghorsimply the case is that I've already wasted so much time today trying to configure things on my laptop and I don't want to go down a rabbit hole22:45
fmlatghorresolv.conf how I configured it was working so why not just stick with that22:45
oerheks_because systemd, i would get used to it22:45
fmlatghoroerheks_: maybe if it was my server22:46
fmlatghorexcept this laptop I need working22:46
=== beaver_ is now known as beaver
fmlatghorby tiistai22:46
fmlatghortuesday22:46
fmlatghorso will learn it at some point, but now is not the right time, oerheks_22:48
eramblerHi all22:55
QuickBASICHi is this an appropriate place to ask a Linux nub question?23:18
leftyfb!ask | QuickBASIC23:19
ubottuQuickBASIC: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience23:19
=== c10l1 is now known as c10l
=== westor is now known as Guest8607

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