[00:16] Hi, I'm trying to figure out why I don't have terminal colors by default when I ssh into an ubuntu vm. It has the standard skeleton bashrc that looks at the $TERM varaible to set PS1, aliases, etc. My $TERM is xterm-256color. The weird part: if I `exec bash` after connecting the new shell has colors. [00:18] with the new deb822-style repo definitions, is it expected that apt will support an rpm distro style option such as apt --enable-repo=my_normally_disabled_repo? [00:21] apt gives --allow-unauthenticated [00:22] or deb [trusted=yes] http://www something [00:23] then again; what is the reason for disabling a repo... [00:25] on rpm based distros, i will have a prod, test, and staging repo, that contain the same pkgs, but at different points in time, where staging is sync'd with upstream, test is a snapshot of staging at some point in time. Both would be disabled by default, so that apt/dnf/yum update would ignore these repos, unless yum/dnf --enablerepo=staging/test was used on the cmdline [00:26] we do have proposed, [00:26] in my experience it provides more flexibility. the same can be done on ubuntu, but I'd have to sed comment out repo defs, update, etc... [00:27] now that deb822 style looks to be the future, i'd find it convenient to not have to hack my repo files [00:27] and instead rely on an option like enablerepo=* or disablerepo=* much like yum/dnf [00:28] apt now directs private repositories to the r /etc/apt/sources.list.d/ folder to avoid clutter [00:29] neat and clean, i say [00:32] i agree. with deb822 repo.sources files they have a Enabled: yes parameter. Maybe this exists already on U20, i'll have to rtfm, but if not and for my purposes it would be nice to have staging.sources with Enabled: no, available if I did apt update --enablerepo=staging, rather than edit this file myself [00:36] in my examples above, i should have said for example "apt upgrade --enablerepo=test sudo" NOT apt update, i apologize for confusing the 2 === waxfire7 is now known as waxfire === viaSanctus_ is now known as viaSanctus [02:22] hi guys, [02:22] bug fix... on dhewm3: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf2) [0x7f88eea38cb2] Segmentation fault (core dumped) [02:22] this comes from the base.so [02:23] apt-get install -y dhewm3-doom3 dhewm3 will have a big issue with : ls /usr/lib/x86_64-linux-gnu/dhewm3/base.so [02:23] please recompile from source the package to have a correct base.so ! thank you. [02:25] !info dhewm3 [02:25] dhewm3 (source: dhewm3): GPL Doom 3 game engine. In component multiverse, is optional. Version 1.5.0+git20181221+dfsg-2 (focal), package size 1255 kB, installed size 3485 kB [02:26] https://launchpad.net/ubuntu/+source/dhewm3 -- focal's dhewm3 was rebuilt a few days before focal was released [02:26] it'll probably take more than a rebuild to fix whatever is broken [02:27] you could run ubuntu-bug dhewm3 and fill out the bug report, that'll give you and whoever else is interested in fixing it a place to communicate [02:28] https://github.com/dhewm/dhewm3/releases/tag/1.5.0 .. 1.5.1 is in RC === zbenjamin_ is now known as zbenjamin === vlm_ is now known as vlm === waxfire4 is now known as waxfire [03:44] Test [03:46] it works chev [04:08] question. You know the trick for stop crying, to pinch yourself. What is the rough scientific explanation for it? Does it have a term, a lingo? Anyone here familiar with a physiological/biological explanation for it? [04:09] This does not seem like strictly an Ubuntu support question [04:19] I realize this chan got a state purpose, but not that everything besides it is strictly banned. It's interesting and general. [04:19] *stated [04:20] Not arguing btw, merely saying I thought OT is okay to some extent. That its not ehehe binary. [04:21] !ubuntu-offtopic | SneakyNick However - there is for this: [04:22] !ubuntu-offtopic [04:45] hey there, Ubuntu isn't detecting my 2nd monitor [04:45] I'm trying to figure out how to get it to do so. [04:48] my ALT key is dead. Is there another shortcut for cTRL+ALT+F1 to get to the virtual console? [04:53] tycel https://help.ubuntu.com/stable/ubuntu-help/display-dual-monitors.html [04:53] hmir you cant just remap the keys? [04:55] Hi there, so I realized something weird. I disconnected my 2nd monitor and linux isn't detecting my laptop monitor [04:55] is there a way to force nvidia to rewrite a xorg file? [04:55] I'm assuming so [05:00] tycel: There used to be ' sudo nvidia-xconfig ' - but I have not seen the use in years. [05:00] ok [05:00] Yeah, I rebooted the computer without my 2nd monitor [05:00] and linux just..ignored it. [05:00] Never seen that before. [05:01] brb, going to try that; it wrote a new one. [05:05] That didn't work. [05:05] * tycel sighs [05:05] * tycel loves the bootspeeds from SSDs though [05:06] So, I don't know what the problem is [05:14] tyteen4a03: Mind ya I do not have any dual monitor experience - I can try and muddle with you - does "xrandr" see the 2nd display: xrandr --listproviders . [05:25] tycel have you tried rebootong lightdm? [05:25] wait thats debian [06:20] https://pastebin.ubuntu.com/p/r5NJmgJMpK/ [06:20] I cant even tell if Ubuntu is recognizing my laptop's main display. [06:27] I'm trying to make SSHD start when my system boots but it doesn't seem to work. I've tried `sudo systemctl enable sshd`. [06:37] So, I don't think my system is finding the actual laptop monitor. Even when unplugging the current one. Just stays black. [06:38] When I reboot it unplugged, it shows up until the GUI appears.. the just blacks out and waits for me to connect my current monitor. [06:38] https://pastebin.ubuntu.com/p/r5NJmgJMpK/ is my lspci list. [06:55] sup [07:02] im booting from a presistant usb, why does it take a wail to launch apps? some times they dont even launch [07:12] run one from the terminal and see what it says when it gets stuck [07:26] im trying to launch the software center and it does not launch [07:26] when i run from terminal its comes back [software-center not found] [07:27] What kind of persistent USB is this? [07:35] i made it in rufus. actually when i first did it i noticed that even though it still asked me to install it would save all my data so i just turned off the "please install" window [07:35] so im not sure what you would call that [07:36] hm, fraid I'm not sure what rufus is. is this a bootable ubuntu USB you tried to make? [07:36] yeash [07:37] https://rufus.ie/ [07:37] this is rufus iv used it for a wail i like it more than unetbootin for what ever reason [07:37] ah, I've only ever used unetbootin [07:38] it does much the same thing [07:38] let me reboot and see if i can put a bandaid on this problem [07:39] I'd try making a new stick if it were me [07:39] i just spent allday makeing this one exactly how i want it, i want to avoid that if i can === spectrezh5 is now known as spectrezh [09:08] I installed xserver-xorg only and clang. I compiled my X. If I install whatever involves X, it will install the whole UBUNTU suitee, e.g. bluetooth, ubuntu wallpapers, login man... [09:08] Is that possible that that crap goes out from most packages? [09:08] (note: I installed the minimal system with debootstrap first). [09:09] why did you compile your own X? [09:09] I could have. [09:09] I have compiled my own kernel and modules. [09:09] Your packages are very dirty. [09:10] Please don't assume they are my packages === spectrezh9 is now known as spectrezh [09:45] Hello everyone [09:45] I'm new here in this channel [09:46] I come here to see if someone could help me [09:46] Is there any one? [09:49] I have a trouble with my internet config. I can just connect to https, not http, so apt doesn't work [09:49] any help? [09:49] I've tried ping over 8.8.8.8 and it works. I also checked ufw and it's ok [09:49] any idea? [10:14] Linux with Firefox on it is in really sad state today.. I am thinking of dropping Linux for desktop.. Every time Firefox fills up the RAM (I suppose because of Linux memory overcommit), whole desktop freezes and system goes to swapping and goes to a near halt. [10:15] it doesn't matter if it is 4G, 8G, 12G, 16G of RAM, it happens when RAM if filled with Firefox processes. [10:16] Shouldnt an OS in 2021 be able to handle misbehaving apps against freezing of the rest of the desktop and rest of the user UI? [10:19] I managed to lunch startx as root, but as user I still got : waiting for X server to shutdown (II) Server terminated succesfully (0). Closing log file.ializing kms color map for depth 24, 8 bpc.xinit: connection to X server lost [10:19] but Xorg.log.0 dont have any (ee) [10:22] for what mistake should i look for? === waxfire3 is now known as waxfire === ||shark|| is now known as |shark| [10:50] mat_cz, maybe using ubuntu-bug to create and send bug report? === PowerTower_121 is now known as PowerTower_120 [11:59] Hi All. can I sign multiple kernerls with same key? I created a key at installation time but now at each new kernel upgrade it ask me to sign manually. [12:09] anyone can read me? [12:10] abhijit yes [12:10] ok. === waxfire9 is now known as waxfire === thafaker0 is now known as thafaker [13:15] всем привет [13:15] Не могу найти канал #ubuntu-ru [13:15] !ru | finish [13:15] finish: Пожалуйста наберите /join #ubuntu-ru для получения помощи на русском языке. | Pozhalujsta naberite /join #ubuntu-ru dlya polucheniya pomoshi na russkom yazyke. [13:19] hy guys [13:19] wow [13:20] Howdy folks [13:20] hmmm [13:20] how can we help you AmigoRed [13:35] 20.04.02 comes with 5.8 kernel but this kernel is eol. Will ubu backport patches nevertheless? [13:38] blb4393: That kernel is supported by Ubuntu until August, by then it should update to the supported kernel from 21.04 [13:42] ah, this is how it works. good to know [14:01] Hello, I've been trying to dump a DVD with PDFs (store bought) to ISO with the disks utility (both ubuntu 14.04 and ubuntu 20.04). It complains about errors while reading the data. In one computer the same DVD gives a few MB of unreadable data, in another it fails to read hundreds of megabytes. The disc itself is new and unused. The resulting image is mountable/readable, but some data zeroed out. Are there any alternative progr [14:01] ams that do multiple reads like with CD dumping programs to make sure the data is 100% correct? [14:04] Sadly enough most of the results on the internet are about dumping movie DVDs with protection on them. All involving VLC in some way. For me I only require the data to be read from an unprotected disc. [14:31] Surkow|laptop: have you done the simple thing first, and run a a head-cleaner in the DVD drives to clean the lens? [14:31] Surkow|laptop: the lens is upward facing and easily collects humidity and dust [14:32] One laptop has a slot loading drive, so it's not possibe with that. For the other I cleaned both the disc and the entire tray with a can of pressured air. [14:32] hopefully that was sufficient to rule out any dust issues. [14:33] Surkow|laptop: in my experience running disk duplicators it isn't [14:33] I do have a head cleaner disc somewhere in my collection - but it's been 20 years since I last had to use one. It'll be hard to locate it. ;) [14:33] it has bristles on the disc [14:34] oh well [14:36] I get serious usually and use a cleaning bud with IPA on it :) [14:36] I do have that, but wouldn't that affect the the disc itself? or do you mean the lens itself? [14:37] I'll probably just use a micro fiber cloth to clean the disc later today. [14:37] and simply retry [14:37] the lens - I take the drives out - usually is much longer lasting than those little brush head cleaners [14:37] ah, it's odd though that disc drives don't give a peep if the data they read is faulty [14:37] but for you need, head cleaners run repeatedly might help [14:37] I expected that data integrity on dvds would actually be a thing... === _Pokey_ is now known as [Pokey] [14:38] I might use IPA on my disc drive lens when I have time to take apart both of my laptops. [14:39] I figured there'd be a way to simply reread the data with dd_rescue for example. But perhaps it is indeed hardware related. [14:48] Sooo. I'm using Oracle's virtualbox and just ran seamless mode, trying to get the menu back... Any ideás? [14:49] Seems to be Right CTRL, my bad..... [15:30] Hey there, would know why Ubuntu isn't finding my laptop's actual monitor? [15:30] I can only load up my 2nd monitor. [15:30] Even after rebooting, when the GUI comes up the laptop monitor just turns itself off and waits for this one to be connected. [15:30] I cannot tell with lspci if it's working either [15:31] [09:27:02] [~/Desktop] ❱❱❱ xrandr -q [15:31] Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767 [15:31] HDMI-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 708mm x 398mm [15:31] 1920x1080 60.00*+ 59.94 50.00 29.97 23.98 60.00 50.04 [15:31] 4096x2160 24.00 [15:31] 3840x2160 29.97 25.00 23.98 [15:32] I had installed ubuntu 20.04 but it wont load into gui and a black screen would appear stating: [15:32] skl_dsp_hda_generic skl_dsp_hda_generic: Acpi error: failed to init link iDisp1 -517 [15:32] P.S. : I have Nvidia MX350 graphics card and I tried using nomodset kernel parameter [15:53] Hey there, would know why Ubuntu isn't finding my laptop's actual monitor? [15:53] I can only load up my 2nd monitor. [15:53] Even after rebooting, when the GUI comes up the laptop monitor just turns itself off and waits for this one to be connected. [15:53] I cannot tell with lspci if it's working either [15:53] https://paste.ubuntu.com/p/Syzp8QTcp4/ is my xrandy [15:53] https://paste.ubuntu.com/p/DkyBvR3bJJ/ is my lspci [15:54] tycel, look at your keyboard [15:55] ok [15:55] Why [15:55] tycel, fn+ LCD/Screen key. [15:56] Nothing [15:57] cause I'm assuming that'd be F9 [15:57] tycel, Fn+F1 or else. [15:59] Negative. [16:00] let me see my key layout [16:03] seems my fn key isn't bount; but it is working for some things. [16:04] hey [16:05] i'm on an ancient version of ubuntu, 14.04 ..... dont have time at the moment ot upgrade. Is it "dangerous" to try to install Python 3.6 ? [16:05] kyonsalt, fixed that.. but it's still not detecting. [16:06] tycel, and try #xrandr --auto [16:08] no changes. [16:08] * tycel sighs [16:09] still outputs the same [16:09] it's like my laptop monitor itself isn't even connected. [16:09] but, if I booted into windows; it'd work perfectly fine. [16:09] sybariten: 14.04 is eol [16:09] lotuspsychje: what does that mean in this context? [16:10] sybariten: means the volunteers here, cannot support eol versions anymore [16:10] no support, no updates etc [16:11] sybariten: adviced to pick a supported version from the topic, and install fresh [16:11] sybariten, I'd probably assaume that 3.6 version of python would break things. [16:11] tycel, xrandr --output Screen-0 --auto, after reboot needed by your laptop. [16:12] ok [16:12] warning: output Screen-0 not found; ignoring [16:12] lol [16:12] I'll reboot though [16:12] see if it helped. [16:12] oh wait [16:12] nvm [16:21] lotuspsychje: actually i didn't even know there was such a concept as volounteers here === LouWestin_ is now known as LouWestin [16:23] kyonsalt, marginal improvement. It now loads the GDM on that monitor properly, but as soon as I login. [16:24] it goes black and waits for this screen to be detected. [16:24] xrandr still does not show two monitors [16:24] [10:24:29] [~] ❱❱❱ xrandr --listmonitors [16:24] Monitors: 1 [16:24] 0: +*HDMI-0 1920/708x1080/398+0+0 HDMI-0 [16:27] !paste | tycel [16:27] tycel: For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [16:27] seems like a waste for 3 lines, but sure. [16:32] tycel, typical dual view. type Fn+Fx again, and dmesg or xrandr -q [16:37] https://pastebin.ubuntu.com/p/ktbsVVFvHD/ [16:37] that's my entire dmesg [16:38] https://pastebin.ubuntu.com/p/jCXTdPXRhY/ xrandr -q === waxfire0 is now known as waxfire [16:51] !discuss | sybariten feel free to [16:51] sybariten feel free to: Want to talk about Ubuntu, but don't have a support question? /join #ubuntu-discuss for non-support Ubuntu discussion, or try #ubuntu-offtopic for general chat. Thanks! [16:52] tycel, ok, hp laptop should be Fn+F4, and you must check your bios config about graphic device being: Switchable Graphics. [16:53] how can i disable the workspace sidebar? [16:54] basenode: try dconf-editor to tweak things around [16:56] lotuspsychje: do you know which setting its under? [16:56] can't seem to find it using the search function [16:57] tycel, and more, check you can run: nvidia-prime [16:59] tycel, last, add "blacklist nouveau" to modprobe.d/blacklist.conf [16:59] basenode: if you dont find it there, maybe try the workspaces to dock extension from the repos, might have a hide option [17:00] !info gnome-shell-extension-workspaces-to-dock | basenode [17:00] basenode: gnome-shell-extension-workspaces-to-dock (source: gnome-shell-extension-workspaces-to-dock): additional options for GNOME workspace switcher. In component universe, is optional. Version 52+git20200318-1 (focal), package size 93 kB, installed size 912 kB [17:00] lotuspsychje: thanks, trying it now [17:01] hey guys how do I install OpenVAS on ubuntu properly? Anybody? [17:01] LordCyrus: have you tried https://websiteforstudents.com/how-to-install-and-configure-openvas-on-ubuntu-18-04-16-04/ ? [17:05] yes leftyfb [17:05] the repository is out of date [17:05] they have discontinued the servers that're included in it [17:05] I'm thinking I have to go to https://community.greenbone.net/t/gvm-20-08-stable-initial-release-2020-08-12/6312 and compile the code and stuff [17:06] but I'm a newb so ... Was just looking for some help [17:06] I'm starting to think the only way this will work is if I just reinstall Ubuntu === ||shark|| is now known as |shark| [17:08] tycel, no, just choose recovery mode at GDM. [17:08] ok [17:09] I don't see a recovery mode in gdm [17:09] when I login [17:09] do you mean at grub? [17:10] tycel, i915 bug should b fixed at kernel 5.x, like driver conflict. [17:10] tycel, yes, grub. [17:11] tycel, or choose another kernel version at grub. [17:11] lotuspsychje: workspaces-to-dock worked, thanks! [17:12] basenode: its a great tool isnt it :p [17:12] nvidia-prime isn't installed I think [17:13] well, it's installed. [17:13] but i cannot access it? [17:13] tycel: to use prime, open nvidia-settings [17:14] ok [17:14] well, i'll brb [17:21] my wifi applet cannot control network [17:21] and i do have network [17:21] looks like the /etc/network/interface is talking over [17:22] metbsd: we've not used ifupdown as default for network management for a long time; what release is that? Desktop uses NetworkManager, -server uses systemd-networkd - both provisioned using netplan.io YAML [17:23] i upgrade from 18 to 20 [17:23] lts [17:24] metbsd: NetworkManager has config to ignore interfaces managed by ifupdown, unless that has been over-ridden [17:24] https://paste.ubuntu.com/p/rXjWjvpC3q/ [17:24] you mean init.d/network-manager? [17:25] how do i install NetworkManager [17:25] metbsd: is that desktop install? [17:25] metbsd: you can see in your log extract NetworkManager is running [17:25] server install [17:26] i thought he'd be running 20.04 by now [17:26] and then i use tasksel to choose xfce [17:26] it is 20.04 [17:26] metbsd: so it's intended to be a desktop system? [17:26] how do i turn off command line network manager [17:26] yes desktop system [17:26] metbsd: your problem is "sup-iface[0x5588a072d120,wlp6s0]: error adding interface: wpa_supplicant couldn't grab this interface." [17:27] metbsd: I suspect you may have the stand-alone wpa_supplicant service also active [17:27] but i'm using wifi right now [17:27] so what should i do [17:27] metbsd: didn't you just ask yesterday how to remove xfce? [17:27] yes that's another pc [17:27] this pc needs xfce [17:27] but it doesn't boot xfce live iso [17:27] so i boot mini.iso [17:27] but it only has 18lts [17:28] so i install 18lts, and then upgrade to 20lts, and then add xfce4 [17:28] metbsd: 18.04 and 20.04, not 18 and 20 [17:28] metbsd: why not use the mini/netboot iso of 20.04 instead of a server install.... [17:28] there is not 20.04 miniiso [17:28] there is [17:28] yes that's what i mean [17:28] 1804 2004 [17:28] metbsd: first lets find out what you've done - when you do a -server install it installs systemd-networkd to manage the network. If you then add a desktop that'll depend on, and cause the install of, NetworkManager - and they'll fight over which should manage things. NetworkManager is the tool that uses the nm-applet taskbar applet so you need to disable systemd-networkd service, and possibly [17:28] ifupdown service (that reads /etc/network/interfaces) [17:28] yo uknow what i mean [17:28] i gave you the link yesterday metbsd [17:29] they stop making mini iso since 20 [17:29] metbsd: 20.04 [17:29] metbsd: what does this show ? "pastebinit <( systemctl status systemd-networkd/service NetworkManager.service" [17:29] okokok [17:29] jeez [17:29] is there 20.06 or 08? [17:30] !yy.mm | metbsd [17:30] metbsd: Ubuntu version numbers are: YY.MM (YY=release year,MM=release month). Each year sees two releases, so just specifying YY is imprecise. See also https://www.ubuntu.com/about/release-cycle [17:30] oops, error in typing [17:30] metbsd: what does this show ? "pastebinit <( systemctl status systemd-networkd/service NetworkManager.service )" [17:30] metbsd: again and pay attention: metbsd: http://archive.ubuntu.com/ubuntu/dists/focal/main/installer-amd64/current/legacy-images/netboot/ [17:30] last time i post it for you [17:31] OK I give up, can't type for life [17:31] metbsd: "pastebinit <( systemctl status systemd-networkd.service NetworkManager.service )" [17:31] Maik, you mean that legacy mini iso is 20? [17:32] https://pastebin.ubuntu.com/p/DSqV4d4YdB/ [17:32] 20.04 metbsd [17:32] this is out put of NetworkManager status [17:32] Maik: it's very sad that there's no longer one for 20.10 or beyond. That iso is REALLY helpful [17:34] so, wpa_supplicant is used by debian system, and NetworkManger using another file to config wifi [17:34] right? [17:34] metbsd: show us the report I asked for [17:34] leftyfb: yeah, i agree. Nobert from the Ubuntu MATE team openend a poll and topic on the matter. He also is disappointed that there are no mini isos anymore and tries to convince them to bring it back iirc. [17:35] what report? systemctl status NetworkManager.service -l? [17:35] metbsd: "pastebinit <( systemctl status systemd-networkd.service NetworkManager.service )" [17:35] with " or without? [17:35] is that a command? [17:36] metbsd: without - I use those to indicate the complete command to issue [17:36] metbsd: you can copy/paste everything inside the " marks [17:37] https://paste.ubuntu.com/p/rh53RW9Pr8/ [17:37] i got it [17:37] i should disable that systemd network [17:38] metbsd: precisely [17:38] Does anyone know how to make SSHD start automatically on boot? I've tried to enable it via systemctl and update-rc.d but neither seem to work. Here is the output of systemctl status after a reboot https://paste.ubuntu.com/p/NxJZMKCptP/ [17:38] metbsd: " sudo systemctl disable systemd-networkd.service ; sudo systemctl stop systemd-networkd.service " [17:40] Nitrousoxide: what version of ubuntu? [17:43] i don't get it [17:43] sudo systemctl disable --now systemd.netwokd [17:43] still same error [17:43] metbsd: I'm willing to be if you installed xubuntu 20.04 from scratch everything would just work for you. Have you asked for help with getting the installer to work? [17:44] i wish i could just install live 2004 [17:44] but too bad it doesn't show any display after bootup [17:44] metbsd: 20.04 [17:46] it's 20.04 [17:46] yes [17:46] metbsd: have you asked for help with that issue? [17:46] no [17:46] it's a live iso [17:46] so it's either yes or no right? [17:46] negative [17:46] what can i do with live 20.04 iso [17:46] metbsd: https://askubuntu.com/a/832173/1151311 [17:46] i use that bletch thing to write iso to usb, reports success [17:46] etchble [17:46] i can never remember that name [17:47] metbsd: has the service actually stopped? has wpa_supplicant service ALSO been stopped /disabled ? [17:47] metbsd: Balena Etcher [17:51] the systemd network stopped [17:52] but restarting NetworkManager failed with: === EriC^ is now known as EriC^^ [17:52] failed to open /run/network/ifstate [17:53] error adding interface:wpa_supplicant couldn't grab this interface [17:53] metbsd: right, so something else has the interface [17:54] metbsd: is there any config for ifupdown for that interface? " grep -rn wlp6s0 /etc/network/ " [17:58] leftyfb: 20.04 Desktop [17:59] how do i disable runtime [18:00] systemctl is ignoring "systemctl disable --runtime systemd-networkd [18:02] systemctl mask? [18:04] yep NetworkManager is back to normal after reboot [18:04] all i did was systemctl mask systemd-networkd [18:04] so it won't start systemd networkd at boot [18:05] and nothing interfere with NetworkManager.server(network-manager.service?) [18:06] metbsd: I suspect the problem is/was netplan.io, which has /lib/systemd/system-generators/netplan that runs at boot and is probably configure to generate a systemd-networkd config since it came with the -server install [18:06] metbsd: I'd either remove netplan.io package or delete its configs from /etc/netplan/ [18:08] i'd rather mask it. in case in the future NetworkManager.server or that applet failed to work [18:08] i can unmask the ubuntu systemd wifi [18:10] metbsd: netplan is a pain - it isn't even required especially on Desktop [18:10] not needed on -server either unless interfaces keep on coming and going with different names! [18:14] what does it do [18:15] So, after a quick reinstall of Ubuntu, everything is working fine. [18:15] =) [18:15] Figured i'd let you know. [18:15] why reinstall [18:16] probably the live iso did the same trick: set the mask on systemd-networkd to make NetworkManager to work [18:17] method, for the life of me.. i could not get ubuntu to recognize my laptop's primary monitor. it'd only recognize the HDMI 2nd monitor [18:17] after reinstalling, working fine. [18:18] it's the nvidia driver [18:18] * tycel shrugs [18:18] you have dual graphics card [18:18] either way. [18:18] it's working now. [18:19] me too, i just fixed network problem. [18:19] without reinstalling [18:19] Well, I couldn't. [18:19] ;P === waxfire7 is now known as waxfire [18:21] after trying all those desktop linux, i still like xubuntu the best [18:21] lightweight, well tune up [18:22] and binary based is nice [18:22] no need to compile [18:22] I just went with a basic Ubuntu install along side my windows machine, since I am primarily using this to leran programming. [18:23] and my windows partition for gaming. [18:23] =) [18:23] you don't need to install ubuntu for programming [18:23] there is wsl2 now [18:23] my old laptop is too old to run windows [18:23] that's why i put linux on it [18:24] * tycel shrugs [18:24] if you want to judge the way I have my setup working, that's on you. [18:24] But, windows has enough bloat that I'm usuing it specifically for my gaming setup [18:24] and since Linux has much less bloat; I'm using it to learn my practical skills. [18:24] Since, I can fit more here. P [18:32] what do you use linux for [18:32] what application do you run [18:33] >programming [18:33] Just run a bare server and use vi [18:50] Can I use hashcat on quantum computer? [18:52] Does Ubuntu run on quantum computers? :o [18:55] kraiskil: I don't know, I'm here to know from you guys Ubuntu experts [18:57] Oh. Then the answer most likely is 'no' :) [18:57] But I don't really have a clue... [18:57] Hey guys. I'm trying to install Ubuntu server and for the love of all that's holy, I can't figure out how to use a software raid of two SSDs as both bootable device and root FS [18:58] When I create the md0, I can slap / on it, but can't make it a bootable device. When I add both disks separately as bootable devices, I can't create sw raid on them [18:58] lol software raid of two ssds. [18:58] metbsd: idk what's funny, I literally need a mirrored system disk [19:01] Numline1, but if your raid device is bootable - who handles the raiding so that the kernel can be read off the raid? You need to have the bios [sic] do the raid of a bootable device. [19:03] kraiskil: I should've probably phrased that differently [19:03] :D [19:03] I need to split both disks into a small bootable partition [19:03] add grub to both of these small partitions [19:03] and have the remaining space as a SW raid [19:04] I'd have the remaining larger chunk as ZFS but it seems that Ubuntu installer doesn't support that [19:04] https://share.numli.net/file/numshare/Screen-Shot-2021-02-20-20-04-41.28-ehLtEt.png [19:05] the used disks are tje two small boot partitions, two separate grubs on two disks [19:05] however there's still around 110G - 1M of free space that I need to use as a root FS [19:07] i've enabled ip forwarding , net.ipv4.ip_forward = 1 on one VM (ubuntu), and want to be able to access net from another vm that has this ubuntu as Gw [19:07] but this isn't working [19:07] what do i need apart that ip forwarding enabled [19:07] ubuntu vm is using ufw [19:12] memphisto: ip route add default via (ip of the gw) [19:13] Found the solution to my problem - https://askubuntu.com/questions/1234949/install-ubuntu-20-04-focal-fossa-with-raid-1-on-two-devices [19:13] that is so unbelievably unintuitive [19:13] @pavlos so, thats on other vm or ubuntu vm [19:15] memphisto: if gw is vm1 and you want vm2 to go through vm1, that command is on vm2 [19:15] 2nd Vm has as default route the ip of ubuntu vm ( it's 2nd interface) [19:15] Quick question for yall, what advice would you give someone first getting into Ubuntu? [19:16] your 2nd vm needs to know the route to 1st vm [19:16] I am converting all my friends [19:16] i mean using 1st vm as default route [19:17] your gateway needs NAT [19:17] ok, NAT, how do i do it....ip forwarding isn't enough [19:18] as a gateway, there are two network device with two networks [19:18] otherwise, it's a bridge [19:19] what are you trying to do [19:21] vm1 has 2 network interfaces ; first can access net, 2nd internal [19:21] all traffic from other vms on this internal should be able to reach internet [19:21] NAT [19:22] ok, a gateway has two ips. can be on on interface [19:22] but two ips are on different networks [19:22] so it needs network address translation [19:22] because pc on network 1 knows nothing about network2 [19:25] 2 different networks [19:25] what NAT does is it remapping the unknown ip address in a packet to a known ip address. [19:25] so the packet knows where to go [19:26] in linux it's called IP masquerading [19:28] say you are on 192.168.1.1 and accesing google.ca webpage, your http package is from 192.168.1.1 to google.ca [19:28] i need to enable it in ufw rules somehow [19:28] your gateway can deliver this to google.ca without problem [19:28] because your NAT replace your 192.168.1.1 with ip of gateway ip 1.2.3.4 [19:29] so the google.ca can send reply to 1.2.3.4 [19:29] so the ip is like google.ca to 1.2.3.4. [19:30] NAT then replace 1.2.3.4 with 192.168.1.1 and gets to you === medium_cool is now known as medium_cool[away [19:36] traceroute to www.google.com (172.217.169.196), 30 hops max, 60 byte packets [19:36] 1 10.161.10.1 (10.161.10.1) 0.593 ms 0.509 ms 0.417 ms [19:36] i only have this [19:36] i've enabled in ufw and os ipv4 forwarding [19:36] i've tried using this....https://ubuntu.com/server/docs/security-firewall [19:37] but since it's not working, i must be doing something wrong [19:37] they have nothing to do with NAT [19:38] enable forward and turn off firewall first [19:38] sd> your gateway can deliver this to google.ca without problem [19:38] because your NAT replace your 192.168.1.1 with ip of gateway ip 1.2.3.4 [19:38] so the google.ca can send reply to 1.2.3.4 [19:38] so the ip is like google.ca to 1.2.3.4. [19:38] NAT then replace 1.2.3.4 with 192.168.1.1 and gets to you [19:38] * tafa2 has quit (Quit: Textual IRC Client: www.textualapp.com) [19:38] get NAT and route works first, then work on firewall [19:39] I have a server currently hosting email for foo.com; I'd like it to now also host for bar.com. Can anyone get me started on which method I should be using to host two domains on one server? [19:39] oops [19:39] i've fixed it [19:40] i left eth0 in ufw config file, but it's enp0s3 [19:40] thank you metbsd and pavlos [19:41] for you time and help [19:45] is it weird to be at 14GB ram usage with just browser + vs code running? [19:45] (not even 100 tabs) [19:46] depends what browser, chrome uses more, and is faster [19:48] memphisto: my notes so far (if that helps) ... https://termbin.com/dmzkg [19:56] oerheks: yeah its chrome [20:08] I have a server currently hosting email for foo.com; I'd like it to now also host for bar.com. Can anyone get me started on which method I should be using to host two domains on one server? === tnewman9 is now known as tnewman [20:14] Geo, you can simply point multiple domains to the same IP address [20:14] Geo: you are better off asking in #ubuntu-server. Though I will say that there's plenty of tutorials out there on this exact topic. You really should be putting way more effort into running an email server on the public internet. Otherwise you might have working email, but you are probably also contributing to the spam problem by not securing your system due to lack of effort [20:15] or that [20:15] Geo: http://techslides.com/mail-server-for-multiple-domains-with-postfix [20:15] Geo: more importantly, https://linux-audit.com/postfix-hardening-guide-for-security-and-privacy/ [20:16] Geo: I googled for "postfix multiple domains" and "postfix security" and those are the top results [20:25] metbsd: I posted my notes but ... vm2 cannot ping vm1 but the reverse works (vm1 can ping vm2). [20:30] leftyfb: right, I've read several articles; I'm not 100% they're directly relevant, I can't find actual documentation on what virtual_aliases are and how they're intended to be used [20:30] most are just 'do this and dont worry about it' [20:31] Surkow|laptop: its more than just pointing; the server has to be set up to accept mail for that domain, as well as configure users, etc [20:31] Geo: http://www.postfix.org/VIRTUAL_README.html [20:32] yeah, and that one was *too* technical, haha [20:32] Geo: then you should not be running a public email server [20:33] Geo, I haven't personally set up an email server [20:33] Geo: https://www.linux.com/training-tutorials/how-set-virtual-domains-and-virtual-users-postfix/ [20:33] all I configure are virtual hosts with apache or nginx [20:33] which easily allow me to deal with multiple domains [20:34] I always love the "you're not smart so you shouldn't try this" answers [20:34] Geo: please read through the articles I posted and spend the time to understand all of it. Including the "technical" one. Then work towards securing your email server. Then work on multiple domains [20:34] that passive agressive insulting is so '00s [20:35] Geo: I never said you aren't smart. If you feel documentation for what you're trying to accomplish is too technical and aren't willing to take the time to learn it, then it's almost a given that your server is contributing to the spam/malware problem that the rest of us have to deal with [20:35] again. passive agressive insults [20:35] You have 0 idea what i do do or dont do otherwise [20:36] I personally wouldn't set up an outgoing email server because of grey listing and email getting bounced if you have a random domain not accepted by the big players to combat spam === toothe_ is now known as toothe === jckfrst is now known as jckfrst1 === medium_cool is now known as medium_cool[away === SneakyNick_ is now known as SneakyNick [21:18] take a look https://github.com/tiagomoraismorgado/TMM88_DATAMININGREPOS [21:19] tmm88: can we help you with something? [21:20] i was just sharing my passion and commitment towards the things i love [21:20] and i love codign [21:20] tmm88: this is a support channel for Ubuntu. === medium_cool is now known as medium_cool[away === isnessness_ is now known as rileyreid === rileyreid is now known as isnessness_ === Ringtailed_Fox is now known as RingtailedFox === isnessness_ is now known as isnessness [23:10] Hey chan. I'm looking for a HDD stress utility to stress a specific drive. Have fio and stress-ng but can't find a way to stress the drive I want, not the boot drive. Could I ask for some help with arguments for stress-ng or another app that might work? [23:11] joanab: not really a Ubuntu specific support question imho [23:11] Don't think they have a channel, and it is included in the Ubuntu repo. [23:12] But if you know of another Ubuntu-compatible stress app, I want that too. [23:14] some examples stresstest ng; https://portal.cloudunboxed.net/knowledgebase/38/Stress-test---induce-load-on-CPU-FPU-RAM-HDD-SSD-and-more.html [23:15] sudo stress --hdd 2 --io 4 --vm 6 --cpu 8 --timeout 900s [23:15] Yeah, I've googled it for about an hour ;) But I cannot get it to accept the partition I want. [23:16] stress-ng -d 9 /media/user/myPartition/ just uses the boot partition, not the one I want [23:17] And without the "9", I get an error. [23:21] joanab: --hdd is for the amount of threads, not the drive. You need to specify a number [23:21] joanab: use sysbench [23:21] joanab: unless you only want to stress and aren't interested in a benchmark [23:22] I only need to stress: my raid controller is likely faulty and I need to hard stress my Raid volume for 1h+ [23:22] leftyfb: and I knew about the -hdd, I checked the manpage ;) [23:23] joanab: then why were you surprised when you left out a number for --hdd? [23:23] leftyfb: I was just distracted and not forumlating my words correctly. Forgive I? [23:23] < Is there a command that I can use to open a terminal via SSH [23:33] One that will show on screen [23:44] Nitrousoxide: maybe what you're looking for is a terminal multiplexer, such as tmux, screen, byobu [23:44] or X forwarding through SSH. === cree is now known as handlebar [23:53] Nitrousoxide: export DISPLAY=:0 ; gnome-terminal [23:59] No, I don't need a terminal multiplexer. I already use tmux, I just want the ability to open a terminal on screen [23:59] leftyfb: thanks