=== ianychoi__ is now known as ianychoi [00:52] should I be using the same ssh keypair for multiple unrelated servers [00:52] or is it better to have a seperate keypair for each sever [00:54] you probably already know the answer to that [01:00] RoseBus: it's actually quite common to install the same public key on multiple systems for a user to login to. the secret / private key should only be present on a single system or a few systems its 'owner' fully trusts (which are probably systems not shared with others). === Xard3 is now known as Xard [01:20] when i try to export an environmental variable i'm getting a weird error [01:20] it says "bash: !k: event not found" [01:21] oh it has to do with the string I'm trying to create for the variable [01:21] it has a !k in it [01:21] but even when I put it in quotations it still doesn't work [01:22] use single quotes or escape control characters with a backslash [01:24] to get a better understanding of shell scripting do's and don'ts, see the references in the #bash channel /topic === zbenjamin_ is now known as zbenjamin [02:09] Greetings. A friend of mine has a thirty two-bit machine. Is Ubuntu dropping the architecture soon? [02:13] The end of 32 bit? Magzter june 2020 : https://www.magzter.com/article/Computer-Mobile/Linux-Format/The-End-Of-32-Bit [02:22] RoseBus: does this work? export rose='text !k moretext'; echo $rose [02:22] yes [02:22] thank you [02:22] i just needed the single quotes [02:22] xbfrog: but not the end of caps in URIs I guess [02:23] KE0VVT: real issue is whether Debian drops it [02:23] KE0VVT: and beyond that, why your friend can't afford to spend $5-60 on a new computer with a well supported arch [02:26] matsaman: I don’t know, but we’ll sort this stuff out when he comes over tomorrow. [02:28] KE0VVT: I have read plain x86 support is discontinued in Ubuntu 20.04 on [02:29] but Debian will likely support it for a very long time [06:47] Hello. [06:47] is it there any way to have a properly working fractional scaling on ubuntu 20.04 gnome? it not seems to work globally but just for some apps. [06:51] because it's experimental afaik, that's why it's not working 100% [06:52] i could be wrong though [06:55] Available since years ago. [06:55] even it was working properly on unity 7 desktop [07:03] my bad then, i never used it myself, not even on Unity 7 so i can't tell. [08:37] Hi guys... i have a game related bug, it's caused by *something* in the oibaf ppa. Can you help me out how to gather the correct data and submit the bug? [08:38] I know it's caused by something in the ppa because I eliminated everything else one by one. Once I ppa-purged the libs, the game worked well again. [08:40] I'm using amdgpu navi10 rx5700, game is factorio. Tried kernel 5.4 (focal), kernel 5.8 (groovy) and mainline-kernel 5.8.13, 5.8.10. linux-firmware from apt and linux-firmware from git made no difference. Factorio had this persistent screen flickering and severe graphical glitches. [08:47] I've done a 16.04->18.04->20.04 do-release-upgrade on a laptop, and the GUI has stopped working. on reboot, I get the “The system is running in low-graphics mode” error. **is it possible to "re-do" the full installation process** how do I go through and make sure that I have on the laptop all the packages it needs, and that they are all installed and running correctly? [08:48] I've gone through https://askubuntu.com/questions/141606/how-to-fix-the-system-is-running-in-low-graphics-mode-error from 8 years ago, but given the graphics were all working fine on 16.04, I don't think the solutions offered there are relevant [08:56] considering doing this next: https://ostechnix.com/how-to-fix-broken-ubuntu-os-without-reinstalling-it/ [08:59] so how viable is using ubuntu with no snaps installed, and just relying on apt for package management? [09:01] rk4: that works fine [09:03] since gnome is in snaps, and it has a giant dependency tree, was all that removed from apt management? [where plausible] or is everything or most things still in apt? even though they may also be in the snaps [09:12] rk4: EriC^^: related::: https://askubuntu.com/questions/866511/what-are-the-differences-between-snaps-appimage-flatpak-and-others (in case anyone else is interested too) [09:29] Kireji: thanks [09:52] I just installed an m.2 nvme drive, is there a simple way to migrate my whole ubuntu installation to it or is a clean install + moving the home directory a better option? [09:52] Dunams: are the 2 drives equal or bigger? [09:53] the new one is bigger [09:53] it will all easily fit [09:53] Dunams: cool, then you can dd it all to your nvme [09:54] EriC^^ might hand you a handy dd command [09:54] Dunams: what's your partition table look like? sudo parted -ls [09:55] i always forget all the arguments [09:55] can I use dd to do that from within the running OS? I thought these kinds of operations need to be performed by some sort of an external os utility [09:55] hi all [09:56] is there a maintained alternative to https://sourceforge.net/projects/webcamstudio/ [09:56] hejkki: what do you want it be able to do as features? [09:57] Dunams: best to dd from passive devices yea, like an usb/hd dock or external hd's [09:57] lotuspsychje: add some effects like logo and grab the desktop etc [09:58] EriC^^: https://pastebin.com/w5JfPFh6 [09:58] hejkki: grab the desktop you can do with recordmydesktop or kazam [09:58] lotuspsychje: and forward it to skype? [09:59] hejkki: ah you want something live effects? [09:59] EriC^^: I'm a little worried it can break grub or something though, as I have a Windows installation on another drive [09:59] yea [10:01] ubuntu is on /dev/sdc [10:01] hejkki: not sure of many options for those, perhaps check snap find webcam, there is also kamoso as cheese alternate [10:01] Dunams: you just want to copy ubuntu to the new drive? [10:02] yeah, I want to get rid of that old drive === mateen1 is now known as mateen [10:03] Dunams: ok, it's very straight forward for you, dd the whole disk to the new drive (using a live usb to run dd), then you can use resize2fs to enlarge the 2nd partition so it uses the whole space available in the new drive [10:03] Dunams: if you remove the old disk and insert the new, grub will function normally, as all the partition uuid's and fs uuid's would be preserved, so efi will work as if nothing changed [10:04] Dunams: the dd command would be "sudo dd if=/dev/sdc of=/dev/sdX bs=4M status=progress && sync" where sdX is the new drive [10:05] how can I tell on which device/partition is grub on? [10:05] (and obviously replace sdc to represent the old disk if it changes when you run the live usb with the new disk inserted) [10:05] Dunams: for ubuntu grub is on /dev/sdc1 [10:07] wouldn't I need to change something to register grub with /dev/nvme0n1 instead of /dev/sdc1 after migrating? [10:09] Dunams: no, the way uefi works is usually there's an entry in the motherboard that has the partition uuid and file path e.g efi/ubuntu/shimx64.efi , and there is a file there that points to your /boot/grub and fs it's on using the fs uuid, once that loads you get the menu [10:09] Dunams: if you want to see the current entry you're using type "sudo efibootmgr -v" and the currentboot would be it [10:09] Dunams: and remember to update disk UUID in /etc/fstab [10:09] rud0lf: no need since he's copying the whole disk, fs uuid wont change [10:09] ah okay [10:10] hm sounds fairly simple then, thanks [10:12] the uuid isn't being re-generated on the new device? meaning it's hardcoded to the fs? [10:12] Dunams: dd clones everything [10:13] just the hardware ubuntu will notice its another drive/brand [10:13] Dunams: yeah, dd literally just copies the disk bit for bit, partition table and everything [10:13] what happens if you have several copies of the filesystem on several devices? they all have the same uuid? [10:13] Dunams: yeah, that could be a problem [10:14] got it [10:14] Dunams: nothing can beat a clean install at the end :p [10:14] xD [10:14] thats what i would do on a new nvme [10:14] so I need to make sure to unplug /dev/sdc after dd [10:14] Dunams: yeah [10:15] lotuspsychje: honestly, that's what I thought. but if the process is fairly simple, it would save me time to reinstall all the packages and configurations I've made [10:16] Dunams: true, for cloning its ideal [10:17] can there be any performance side effects from doing that though? that's why i'm not a fan of "dirty" installations like that [10:17] Dunams: well as you clone everything, you take all the issues with you, from your previous install [10:17] space, programs, slowness of startup etc [10:18] but you can all tweak that afterwards too [10:18] I have some weird slowness issues which I attribute to the fact that the ssd is really old [10:18] is it 20.04 you are going to? [10:18] yeah [10:19] Dunams: then thats good news, install preload haveged stacer after your clone, and start tweaking [10:19] 20.04 has also an improved speed on systemd compared to bionic [10:21] i'm surprised by how much difference there is between the performance of regular sata ssd devices, the crucial mx500 ssd I have seems to perform 3-4 times faster in all tests I did than my entique crucial M4 [10:21] antique [10:22] technology is moving rapidly :) [10:23] tomreyn: regarding "sed --regexp-extended --in-place 's;(PATTERN).*$;\1;' path/to/file" , for example, input file is here https://pastebin.com/M0K4afJz, I want to delete the complete text after ";" in entire file. What is the exact command for this? [10:31] sub526: you're working with assembly but don't know regular expressions, yet? things must have changed in how they're taught nowadays. :) [10:32] i guess this should work [10:32] sed --regexp-extended --in-place 's|^[^;]* *;.*$|\1|' path/to/file [10:34] a much simpler approach would be cut -d';' -f1 path/to/file | sed 's/ *$//' [10:35] i'm sure this can be done much better, yet, but lack the proficience, too. you can try asking in #bash [10:46] is anyone here using iwd? [10:47] ereth: they do https://discourse.ubuntu.com/t/call-for-testing-improved-wifi-via-iwd/17795 === PowerTower_121 is now known as PowerTower_120 [10:49] ereth: i think 20.10 will default to it, so you could /join #ubuntu+1 and give the beta a try, too === mateen1 is now known as mateen [10:51] tomreyn: I'm already using it but apparently having issues with the configuration on EAP-TTLS network (works fine with wpa_supplicant tho) [10:51] hmm, no, with this list of issues i guess 20.10 won'T defautl to iwd. [10:51] eduroam, eh? [10:52] i have no experience with it, try adding yours to said post [10:53] not eduroam, home setup with raspberry pi running hostapd [10:59] tomreyn: Thanks. cut command worked well. [11:26] Hi all [12:03] any benefit in changing the default swappiness from 60 to something lower? like 10 or 1? on a workstation with 32gb │@jose [12:03] │ | of ramy [12:03] gah bad copy paste [12:03] I asked that in the wrong channel by mistake [12:14] is there a way to install ubuntu with DE as default keyboard-layout... [12:14] or is there a oneliner (without any prompt) to change layout to de? [12:14] I know the dpkg-reconfigure way, but this needs to interact with the prompt === remy^ is now known as Remy [12:16] prillian5: setxkbmap de === BertyCoX is now known as KaitoDaumoto [13:25] Ohhhhh, with the mutter fixed pushed out yesterday, and finally, I rebooted my work computer, I can now see the UI text in its correct font sizes. It's wonderful. [13:25] !yay | wedr [13:25] wedr: Glad you made it! :-) [13:26] Yeah, it's a shame you can't reboot your work computer while in the middle of crunching stuffs [13:33] @tarzeau : "command not found" on a fresh 20.04 [13:34] (sorry, had lost internet-connection by provider, couldn't answer sooner === Chew_ is now known as Che === Che is now known as Chew === octav1a is now known as weretav1a [14:14] If I make a minimal install from a liveusb. Will I still have everything for USB tethering from an android tablet or would that require the Normal install? [14:15] Ether_Man: whats the purpose of your minimal goal? [14:16] To save as much space on the drive as possible as it's only 64GB and cannot be expanded. [14:16] Ether_Man: i would start normal install, then tweak things afterwards [14:16] Ether_Man: ubuntu desktop asks 8GB+ these days to install on [14:17] if you start tweaking and purging after, youl get a decent minimal aswell, with working networking [14:18] Until I delete something I shouldn't and end up with a non working system entirely [14:19] Ether_Man: before purging, after will tell you what depends it pulls, if you see basics, dont do it :p [14:19] *apt [14:20] Ether_Man: another way, is choosing an even lighter !flavour of ubuntu and start tweaking/purging there with bleachbit & stacer [14:20] It's not like it tells you there what is and isn't needed. I've ended up in completely unbootable systems because as an example in one case, I removed ncurses [14:21] Ether_Man: well try to handle things systematicly, start purging unwanted software first and file shredders that cleanup space a safe way [14:23] Ether_Man: in general, removing packages saves very little space. Space eaters are caches, log files and your own data [14:25] TJ-: very little space is really all I need. I would like to get above the 55GB free mark, because that's what needed for some stuff I want to install. So it's a very tight fit together with the OS as it is. Every little bit helps [14:27] Ether_Man: compressed file system ? [14:27] That's possible as the root fs? [14:28] Ether_Man: yes [14:28] Awesome. I'll look into it [14:28] Ether_Man: Ubuntu has support for ZFS and that supports compression [14:29] Doesn't ZFS eat up kind of a lot of RAM? [14:33] there stats where as to how many packages are in 20.04 universe? [14:34] ah wait, i forgot, i already downloaded the full package list. nevermind :D [14:35] it's ~88k, larger than i was expecting [14:50] Hello #ubuntu. Was needing some help with a USB drive issue. I blacklisted usb-storage under /etc/modprobe.d/blacklist.conf. [14:51] And now my USB will not work anymore unfortunately. [14:51] I tried editing it again to delete is and saved it but it still isnt recognizing my flash drives [14:52] are there hints how to lighten ubuntu to get smaller snapshots (server backups)? [14:54] random1: did you reboot after the change? you can try, sudo modprobe usb_storage [14:55] I did reboot. Complete shutdown pavlos [14:55] Let me try. 1 moment [14:56] initramfs? [14:56] hi [14:56] prillian5: for server questions you can try our experts at #ubuntu-server if you like [14:57] I tried "sudo modprobe usb_storage" nothing returned out of the terminal. [14:57] pavlos [14:57] random1: lsmod | grep usb shows modules loaded [14:57] usb_storage 77824 0 [14:57] is what I get [14:58] I currently have it plugged in as well [14:58] @pavlos [14:59] random1: and you removed "blacklist usb_storage" from /etc/modprobe.d/blacklist.conf [14:59] Yes that was my first move. Typically i never have this kind of issue but for some reason its deciding to stay for good *face palm* [15:00] random1: the name of the module is usb underscore storage, not usb-storage [15:00] Was a typo on my part. Yes i had it as "blacklist usb_storage" under /etc/modprobe.d/blacklist.conf [15:01] Now i went back in with nano and deleted it completely. At first i tried using a # and still had issues. So i deleted it completely and rebooted again and still the same problem [15:01] pavlos [15:03] random1: did you make any changes in /etc/default/grub ? [15:03] I have made no other edits to anything else. [15:03] pavlos [15:07] Usually your my savior pavlos :P. I know you got the solution haha [15:07] random1: lsmod | grep uas do you have that module? [15:08] Nothing came up [15:08] pavlos [15:08] random1: sudo modprobe uas [15:09] pavlos: nothing returned [15:09] random1: lsmod | grep usb [15:09] usb_storage 77824 1 uas [15:09] pavlos [15:09] random1: test is the usb stick is working ... [15:09] if* [15:10] pavlos: I tried both USB's. I tried before I came on here to do a dual boot off of the USB and my bios is recognizing it. It has another distro on it as well as the other flash disk. [15:10] flash drive* [15:12] heh... A full install on compressed is actually smaller than a minimal on uncompressed. Compressed install, "62.1 GB / 63.9 GB available" Full install. Awesome :) [15:12] random1: we just brought in both uas and usb_storage, it shows modules loaded. exactly as my system [15:13] pavlos: I am looking at "disks" and nothing pops up. [15:13] pavlos: weird it just popped up... Ok.. [15:14] random1: so it works? [15:14] pavlos: Not sure why but thank you again pavlos for another day of helping. Yes it works [15:14] random1: no worries [15:15] wait.. no it didnt. Im sorry thats my encrypted hard drive that tricked me. Let me show you a picture one moment. I know im not doing this wrong. pavlos [15:15] Its early and my brain is still waking up so please forgive me on the false success pavlos [15:18] random1: reboot, verify both modules are loaded, test with a stick that is fat32 or ntfs [15:18] pavlos: I will try. I have only 2 flash drives to my name. They both have distros on them. I will try to do a dual boot again. That sound good? [15:19] random1: dual boot will bring another OS, we care about 20.04 [15:20] @pavlos : Im confused on the statement you made them about "verify both modules are loaded". Im unsure what that exactly means [15:20] random1: lsmod | grep usb [15:21] random1: lsmod lists all modules loaded, we filter that list for anything that has usb [15:22] So boot into ubuntu safe mode with terminal and check "lsmod | greb usb" ? [15:23] random1: safe mode? no, just boot into 20.04 and type that command [15:23] alright. Sorry for the windows terminology been doing my best to make the shift to linux. Will be right back [15:25] random1: if you filter for "usb_", it should show one line: usb_storage 77824 1 uas [15:26] random1: you can filter for storage, lsmod | grep storage [15:28] typed "lsmod | grep usb" nothing [15:29] random1: so after reboot, it does not load the usb_storage and uas modules [15:30] Im confused on how to tell if it loads usb_storage and uas_modules except to type it into terminal upon reboot pavlos [15:31] I just typed in "lsmod | grep usb" and "lsmod | grep uas" still same issue [15:31] random1: lsmod | grep storage, that should give you usb_storage 77824 1 uas [15:31] nothing is come up for either one [15:31] "lsmod | grep storage" isnt showing anything [15:32] tried sudo as well [15:32] pavlos [15:34] this is really confusing on whats happening. Makes no sense pavlos [15:35] random1: you can load the modules, sudo modprobe usb_storage; sudo modprobe uas then check they are loaded, lsmod | grep storage [15:37] https://pastebin.com/At37a7CM is my blacklist.conf btw [15:37] after doing that this comes up usb_storage 77824 1 uas [15:37] pavlos [15:38] random1: now test a usb stick, does disks see it? [15:39] No it only shows my hard drive [15:39] pavlos [15:40] shows dev/sda1, dev/vgubuntu/root, and /dev/vgubuntu/swap_1 pavlos [15:41] random1: ok, I'll have to research this ... [15:41] let me know if there is anything i can pastebin. I really appreciate your help. Would hate to wipe everything again pavlos [15:44] So I know it's possible to rebind keys on the keyboard. Is it possible to rebind to Fn+arbitrary key? Like say Fn+m even if Fn+m normally has no function attached? [16:02] fun fact i tried "sudo dd if=linuxmint-18.1-mate-32bit.iso of=/dev/sdb" and my entire system crashed. Was wondering if i could grunt through it. everything just froze [16:07] hey i forget whos name it was whoever was helping me but dont worry about it. Im going to do a fresh install i guess [16:37] Is there a way of "filter out" with grep the last commands (last hour or so) without log off usersession in gdm3 ? [16:38] I cant see anything in this session in ~/.bash_history [16:39] use the "history" command instead [16:40] tomreyn: ahh, learning something new everyday :) I used tabs in terminal , thats why it did now write to .bash_history. Thanks. [16:40] hello. try to format ssd, but get error : /dev/sde1 is apparently in use by the system; will not make a filesystem here! [16:41] you're welcome, cjoke [16:41] also , this is not mount problem : umount: /dev/sde1: not mounted [16:42] How do I put a shortcut in the dash in Ubuntu 20.04? I would like to put a symlink to ~/Documents in the Dash. [16:42] user217_: maybe it's not a file system but it can still be some form of block device layer that's in use, such as a raid array member device, or an LVM physical volume. run file -s against it to get a better idea of how it may be used [16:42] MacGregor: you could put a desktop file of your file manager with the argument pointing to your /home/user/Doc... [16:46] EriC^: I know how to make .desktop files. How do I get that in the Dash? Would that .desktop file go in ~/.local/share/applications ? And then from the menu to the Dash? [16:50] tomreyn, https://paste.ubuntu.com/p/MqTV36Qn9R/ [16:50] tomreyn, https://paste.ubuntu.com/p/dMztxRKqK5/ [16:50] ERROR: no btrfs on /dev/sde [16:50] https://paste.ubuntu.com/p/X6D9HMdvnj/ [16:50] https://paste.ubuntu.com/p/ssTNBbrZ57/ [16:51] user217_: did you run file -s against it,t hough? [16:52] tomreyn, sdd is empty [16:52] MacGregor: yes, copy the usual filemanager desktop file to your ~/.local.... dir from /usr/share/applications, and edit the Exec line and whatnot, then chmod +x it [16:52] and drag to the dash [16:53] EriC^: Excellent idea! I was wondering what to write in the .desktop file. Your suggestion is genius! Thank you [16:53] user217_: sdd? didn't you say this was about /dev/sde1 ? [16:54] MacGregor: no problem [16:56] tomreyn, yep [16:56] tomreyn, https://paste.ubuntu.com/p/K7Hc33d7X8/ [16:58] tomreyn, https://paste.ubuntu.com/p/M3w4SynbFT/ [16:59] anyone here have the dummy output issue on 20.04? [17:00] user217_: hmm, data is unusual if it had been in use before. what does ths return? ls -l /dev/sde1 [17:01] tomreyn, brw-rw---- 1 root disk 8, 65 жов 8 19:35 /dev/sde1 [17:02] diamondbond: imagine you're with a fairy, and sher grants you three questions to ask about understanding and solving this issue, would this be one of your questions? === endarchy1 is now known as endarchy [17:04] user217_: hmm ok i guess it's just a standard partition then. can't easily tell how it was used. but rebooting will ensure it's not in use anymore (unless you have it referenced somwhere where it gets activated during boot). [17:05] tomreyn, I cant reboot now, becouse I need to backup files to it, becouse I suddenly delete partition table on other hdd [17:06] tomreyn, yes, its been plaguing me for a few months now and i can't find a permanent fix, pulseaudio -k && rm -rf ~/.config/pulse && sudo alsa-force reload and then rebooting; temporarily fixes the issue but every time i reboot after that my audio output is still "dummy output" [17:06] only after running the pulseaudio cmd's 2-3 times then immediately rebooting with my headphones plugged in does the problem no longer persist [17:07] but this problem is on two of my machines (Both running ubuntu 20.04 - one with xfce and the other with plasma) [17:07] Don't suppose it's possible to get PlayOnLinux/Wine to think the drive is bigger than what it is is there? Have a 64gig drive, using ZFS compression gets me everything I need... Except the game wants 20gig free before it accepts to patch anything and ofc it wants the newest everything... Even if it won't end up using any more and it would have 20gig if it tried with the compression... But because it sees 18, it doesn't even try :/ [17:09] tomreyn, I re-plug ssd and can format it now. thanks for help [17:12] What do you think about Ubuntu having 135k open bugs? They are never going to be fixed and the number is growing. Add Debian to this - instead of Ubuntu directly using Debian's repo + custom repos for additional features it doubles the burde = 135k Ubuntu + 84k Debian, instead of having the bugs tracked once, as the difference in packages between [17:12] the two is small, unjustifiable small compared to the cost. BTW why distros are happy to increase the number of maintained packages? It should be the reverse, look at windows, they carry less than 1000 programs, I guess. Meanwhile distros with waay less resources are trying to carry around 50k of packages. Why should they even provide anything [17:12] beside a bare system? Anything else could be provided from an additional repository, like PPA/Flat/Snap/Google Play/ MS Store/AppImage/steam/websites etc. [17:14] EriC^: I'm now very happy that I learned how to write my own .desktop files instead of using a menu editor :) [17:14] MacGregor: great, good to hear :) [17:15] is there a better notifications app for ubuntu than the standard one? [17:15] which official flavour of Ubuntu 20.04 would be suitable for a laptop with just 4 Gigs of RAM? [17:15] TuxCrazy: I would say Xubuntu [17:16] It uses the XFCE desktop environment.. which is less resource heavy [17:16] MacGregor, how about Ubuntu Mate, Budgie or Deepin? [17:16] * tomreyn on the phone, brb [17:16] TuxCrazy: I know nothing of Budgie or Deepin, but Mate is technically a fork of gnome 2.x [17:16] I have never tried Budgie and Deepin. [17:17] MacGregor, ok [17:17] TuxCrazy: LiveUSB.. the wonderful way to test before installing :) [17:17] are Ubuntu Cinnamon and Deepin official flavors of Ubuntu? [17:18] if not, when will they become official flavors? [17:18] I' not sure about "official" falvors, but I believe Cinnamon is a Linux Mint product [17:19] MacGregor, https://ubuntucinnamon.org/ [17:20] TuxCrazy: Cinnamon, Budgie and Deepin are just desktop environmnets. I suppose you could install them in Ubuntu itself === beaver|bbl is now known as beaver [17:21] TuxCrazy: It's good to think about machine specs, but I feel it's also good to use that which is easiest for the user === ace_me1 is now known as ace_me [17:23] MacGregor, ok [17:25] TuxCrazy: One of the many reasons LiveSUB is so helpful [17:25] MacGregor, ok [17:26] MacGregor, but, after installing the packages later the distro may become heavy and sluggish on such machines with limited resources. [17:26] TuxCrazy: Yes, it would take up HD/SSD space, but a desktop that isn't running isn't really tking up RAM memory, is it? [17:27] MacGregor, ok [17:27] c [17:27] I am grabbing some randomness with: hexdump -C -n 8 /dev/random - I check the entripy before and after - seems that more entropy than should be is being consumed, please see: https://paste.ubuntu.com/p/qMhympRbxh/ [17:33] user217_: sorry, had a phone call incoming - glad you solved it! [17:35] I had some trouble with booting to usb previously, I've given up on that and dual booted my windows machine, however now my grub / boot config is all jacked up, can I get some help fixing it? [17:35] https://pastebin.com/EMbC9nP1 boot-repair report [17:35] The automatic boot-repair script fails [17:35] diamondbond: sorry, been on the phone. what i meant to explain with the fairy tale is that it's much preferred here to ask specific questions about your very situation, rather than to make it a poll. the poll can seem like a nicer way to start the conversation, but most people on this support chat will prefer you getting straight to the point. [17:39] diamondbond: the problem where alsa does not detect your playback sink or sound chip is unknown to me. the way you describe it, it sounds like a race condition. firmware updates *may* help there, or you can try to gather some info on the hardware ynad environment you have there, using the alsa-info script. [17:39] but i'm pretty bad at sound debugging, so don't expect much from me there. [17:39] !sound | diamondbond [17:39] diamondbond: If you're having problems with sound, click the Volume applet, then Sound Preferences, and check your Volume, Hardware, Input, and Output settings. If that fails, see https://help.ubuntu.com/community/Sound - https://help.ubuntu.com/community/SoundTroubleshooting - https://alsa.opensrc.org/DmixPlugin - For playing audio files, see !players and !mp3. [17:39] thank you tomreyn :) [17:42] jpmiller25: we only support ubuntu here, please check the website of your linux distribution for available support channels, or install ubuntu - then we can support you here. [17:43] diamondbond: you're welcome, good luck! [17:44] Shoot, right I forgot in trying different things to get it to work I ended up on mint... my bad [17:45] no problem, jp ;) [17:46] ##linux is another option [17:48] I can not fix this damn dependency issue and therefor can't upgrade my ubuntu heh https://paste.ubuntu.com/p/fMTBWwHcJb/ [17:50] Mibix: Why aren't you using zoneminder from the repos? [17:50] its from their PPA [17:51] Mibix: Right, but have you tried using the one in the repos? [17:51] * MacGregor feels that we shouldn't use a PPA for something that is in the repos - the present case is why [17:51] nah i set this up a long time ago and it took me forever to get working so i would rather not mess with it [17:52] Well, you're going to have to do something now [17:52] i dont think the one in the repo was working [17:54] the repo version uses the same dependencies though [17:54] Is there any way to trigger a ZFS recompress after changing compression from the default? [17:54] hi, how can I set back the application search keyboard shortcut to "Super" only ? [17:55] Mibix: The zoneminder in the repos uses the deps from the repos.. that's the whole purpose of repos [17:55] your problem is a deps problem due to unmet dpes from the repos [17:56] Mibix: which ubuntu release are you on, and which repository is configured, and how, where you pull this 'zoneminder' package from? [17:56] bluetemplar: If you do that I don't think you'll be able to use "Super" for anything else - i.e. for Super+H to open the home folder [17:56] im stuck on 18.04 [17:57] but it worked before ? (IIRC when "Super" was released ?) [17:57] APT-Sources: http://ppa.launchpad.net/iconnor/zoneminder-master/ubuntu bionic/main amd64 Packages [17:58] that is from the apt show zoneminder [17:59] Whoa, no inxi app on 20.04? [17:59] Mibix: I'm wondering if you have mixed repo resources [17:59] Mibix: did you sudo apt update before trying to install this? [18:00] Mibix: use Isaac's repo, add-apt-repository ppa:iconnor/zoneminder-1.34 [18:00] https://packages.ubuntu.com/bionic/libavcodec57 shows that libavcodec57 should indeed be on version 7:3.4.8 in bionic (amd64) [18:01] but you have 7:3.4.6-0ubuntu0.18.04.1 installed instead [18:01] yeah i just did a sudo apt-update [18:01] err [18:01] sudo apt-get update [18:02] then i did a sudo apt-get update libavcodec57 and no updates [18:02] old PPA? [18:02] and sudo apt-get update ran without reporting any errors or warnings? [18:03] note that "apt-get update" does not take additional (non option) arguments [18:03] https://paste.ubuntu.com/p/ShxFXqFPpq/ [18:04] !repositories | Mibix [18:04] Mibix: The packages in Ubuntu are divided into several sections. More information at https://help.ubuntu.com/community/Repositories - See https://wiki.ubuntu.com/RecommendedSources for the recommended way to set up your repositories. [18:04] you lack important apt repositories, szuch as those providing security updates [18:05] or so it seems [18:05] sudo /bin/true && cat &>/tmp/aptlog < <(sudo grep -hEv '^([ ]*#.*)?$' /etc/apt/sources.list{,.d/*.list} 2>&1; sudo apt-get -y update 2>&1; apt-cache policy 2>&1; sudo apt-get -syV full-upgrade 2>&1;); nc termbin.com 9999 ^ this would tell [18:05] hello [18:05] Mibix: How did you run that sudo command without the need for a password? [18:06] folks, do you remember? https://pasteboard.co/JuibGwL.png [18:06] that ugly scrollbars on i3. I found out it looks almost good when running "gnome-settings-daemon". What the heck is going on here? [18:06] and how to fix it? === TheWild1 is now known as TheWild [18:07] tomreyn i did not have enough of those boxes checked off [18:07] seems to be working now :D [18:10] lmao wow [18:10] 800mb of updates [18:10] im a moron thanks tomreyn [18:10] :D [18:10] Mibix: I'm hoping that resolves the deps issue [18:11] it did [18:11] it probably also resolves a lot of other (security) issues. [18:12] haha for sure [18:12] it looks like it was only downloading updates from the custom PPAs i added [18:12] :o [18:12] yeah, since y ou only had those checked [18:13] please tell me how do check available disk space using the terminal [18:13] if this system was connected to the internet directly for a while in this configuration, you may want to just do a fresh install now. [18:13] Mibix: ^ [18:13] haha [18:13] Right, due to security vulnerabilities that went unpatched [18:13] wasnt connected directly [18:13] analogical: df -h /path/to/mount_point_or_directory [18:14] I have a lubuntu VM that lacks an ip address after boot. dmesg shows nothing I can identify as problematic. What ordinarily causes networking to start? Where should I look? [18:14] i wonder how this got turned off [18:14] tomreyn, I want to check a hard drive nothing else [18:15] analogical: you mean the physical capacity of a disk, not the remaining capacity of a file system (a formatted partition)? [18:15] tomreyn: the link to https://wiki.ubuntu.com/RecommendedSources that the bot posted is really old info. Do you know of a more recent page? [18:16] analogical: let me rephrase this: you mean the total capacity of a physical disk, not the remaining capacity of a file system (a formatted partition)? [18:16] tomreyn, I want know how much available free space there is on my hard drive is that so strange? [18:16] plujon: did you assign a network interface to the VM (bridge, NAT) [18:17] maybe that isn't possible with linux [18:18] analogical: i have not fully verified it, but on a quick glance this looks like the default sources.list file of ubuntu 18.04 LTS: https://gist.githubusercontent.com/h0bbel/4b28ede18d65c3527b11b12fa36aa8d1/raw/314419c944ce401039c7def964a3e06324db1128/sources.list [18:18] (for a system close to ths US(A) mirror server) [18:19] analogical: sorry, this wanst for you [18:19] MacGregor: see above [18:19] tomreyn: Thank you [18:19] if im using Cinnamon as my desktop evnironment am I going to have issues when i upgrade to 20.04? [18:20] I want know how much available free space there is on my hard drive how do I do that from the terminal? [18:20] analogical: unless you have a file system directly on the raw disk, which is not very common (but possible), yes. [18:20] Mibix: Are you using Linux Mint? [18:20] pavlos: Yes, the networking used to work fine for the VM. [18:20] no ubuntu 18.04 [18:20] i just switched the DE to cinnamon [18:20] Mibix: I do remember there being large issues for users upgrading to 20, but that was in the Mint community.. I'm not sure if it happens here [18:20] pavlos: I did some package trimming yesterday in the VM, IIRC; perhaps I removed too much..? [18:20] analogical: i think you probably want to run something similar to df -h | grep ^/dev [18:21] plujon: "ip a" shows ... [18:21] Hi! I have been following a guide for a piece of software (https://bitbucket.org/Freetz-NG/freetz-ng/src/master/ in case its relevant). I have not much of an idea about Linux yet, but a command "make menuconfig" yields me the result "Please set umask to 022 and then unpack/checkout again in a directory having no uid-/gid-bits set.". As far as I can tell this relates to permissions somehow. I used "umask 022" in this [18:21] directory, but that was apparently not enough. How do I know if that is the issue or if the directory I am in has uid-/gid-bits set? [18:22] Mibix: If it were me, going from 18.04 to 20.04, I would make backups and do a fresh install. If for no other reason than to just clean the system out [18:22] folks [18:22] /var/lib/command-not-found/commands.db: regular file, no read permission [18:22] is this correct? [18:23] permissions are: -rw------- root:root [18:23] no way i have way too many things configured [18:23] i did make a backup though [18:24] TheWild: perms should be 644 [18:24] pavlos: Well, I manually assigned an ip address using ip addr add ... , but before that, it showed (diggging...) [18:24] TheWild: I'm on 20.04 and I have: -rw-r--r-- 1 root root 3.0M Oct 7 18:31 commands.db [18:24] (it showed no ip address for the enp3s0 interface) [18:24] TheWild: which ubuntu release is this, and is this ubuntu at all? [18:25] recently updated from 18.04.1 LTS to 20.04.1 LTS [18:25] Another reason to do a fresh install between major versions [18:25] hmm strange that you got different permissions set,t hough [18:26] MacGregor: yeah, I think to do that. My /home is on separate partition so there shouldn't be much pain. [18:26] (because I have some little but annoying GUI breakages) [18:27] sudo chmod a+r /var/lib/command-not-found/commands.db ## this would fix that issue [18:30] Perhaps to elaborate on my question, I think I am missing what exactly the uid and gid bits are? Do they mean the UID and the GID, and if so can those be "unset"? [18:30] MacGregor: yeah, I already did it. Thanks. [18:30] yw [18:32] TheNik: normally, when you create a new file on linux, or, more specifically, ubuntu linux (but not ubuntu bash on windows, i think), it will be owned by the user (and this users' primary group) you're working as. [18:33] TheNik: the message you encountered suggests that an override on this may be in effect for the directory you're working in. [18:33] That makes sense, yes [18:33] tomreyn: So, the "u" in UID mean s "user"? [18:33] makes sense [18:33] it means "user id" [18:34] User ID and Group ID, I think [18:34] TheNik: Ah, yeah [18:34] tomreyn: How could such an override look like? The directory has my uid and gid, as I would expect [18:35] The directory I am working in, that is [18:35] TheNik: this 'override' would be set the uid/gid unix 'permissions' bits on the directory, so that the user/group ids set on the directory are applies to all newly created file system objects (such as files) within this directory. === endarchy1 is now known as endarchy [18:36] read section "SETUID AND SETGID BITS" of the "chmod" man page. [18:36] Many thanks, will do [18:36] !man | TheNik [18:36] TheNik: The "man" command brings up the Linux manual pages for the command you're interested in. Try "man intro" at the command line, or see https://help.ubuntu.com/community/UsingTheTerminal | Manpages online: http://manpages.ubuntu.com/ [18:37] "man 1 chmod" [18:39] TheNik: hmm, actually you'd ened to read the full man page, and it's not easy to understand. so maybe we should look into this more with the example at hand [18:39] ened -> need [18:40] tomreyn: Looking just at the section you pointed me at, it suggests that cd ..; chmod u-s dir; chmod g-s dir; should do the trick? [18:41] I wouldn't say that I properly understand the first paragraph of this section yet, but that should be something I can fix if I apply some Google to the problem :D [18:41] i don't think you need to change out of the directory initially, but otherwise i guess so, yes [18:41] Can I chmod on "."? [18:41] yes [18:41] Alright, never thought of that [18:42] Also makes sense [18:42] wait upgrading from 18.04 and it says its going to remove nodejs, python, thelounge [18:43] TheNik: ./ or /absolute/path/to/directory should also work [18:43] why thelounge :( [18:45] Mibix: in fact, for a good chance to have your release upgrade work out, you should purge all packages and package versions (which may have replaced original ubuntu package versions) from third party repositories before you start the upgrade. [18:45] !ppa-purge [18:45] To disable a PPA from your sources and revert your packages back to default Ubuntu packages, install ppa-purge and use the command: « sudo ppa-purge ppa:/ » – For more information, see http://www.webupd8.org/2009/12/remove-ppa-repositories-via-command.html [18:46] tomreyn: After "umask 022; chmod u-s .; chmod g-s .;" (each of which return no feedback), I run "make menuconfig" as stated in the guide, and get the same message. Let me paste the full text: "Makefile:113: *** Wrong build directory permissions. Please set umask to 0022 and then unpack/checkout again in a directory having no uid-/gid-bits set. Stop." [18:46] oh its a bit too late for that heh [18:46] i only had a few though [18:46] Plex, Zoneminder, err [18:46] Mibix: i also like to recommend apt-forktracer as a utility to identify any leftover foreign packages and package versions *after* removing all those third party repositories [18:49] TheNik: some file systems will fail silently on this chmod change, because they do not know how to do this, not supporting UNIX ACLs [18:50] TheNik: do you know which file system this is? [18:50] "mount" may tell. [18:50] sudo updatedb doesn't work, I'm guessing the slocate database isn't installed in 20.04? [18:50] TheNik: also, feel free to show the output of ls --numeric-uid-gid --directory against the directory. [18:51] !paste | TheNik [18:51] TheNik: 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. [18:51] Ah, the mlocate app isn't instaleld by default. Guess I no longer need to worry about it [18:51] mount returns a lot of info === Scotty_Trees2 is now known as Scotty_Trees [18:52] I am not sure if it is supposed to do that [18:52] TheNik: Same here, and this is a new 20.04 install [18:54] TheNik: that's normal, much of it will be snap mounts. you can try findmnt (optionally with suitable arguments according to --help) instead. [18:55] How do I temporarily set a dhcp server? [18:55] vi /etc/resolv.conf # warns me not to edit... [18:56] Oh, well, editing /etc/resolv.conf works apparently. [18:57] plujon: You need to use sudo when editing a system file [18:58] MacGregor: Thanks, I did. [18:58] tomreyn: Here are the outputs of the two commands you suggested: http://paste.ubuntu.com/p/2FJ2p7bYFq/ I was trying to find a legend for the output of ls -l and failed at that, but I can say that the second column which says 12 for "freetz-ng" says 2 for all other directories in my home dir [19:02] TheNik: so this directory seeems to be on the ext4 file system mounted at / - you don't seem to have more mounts below that for nikita's ~/freetz-ng, which is probably at /home/nikita/freetz-ng [19:02] Rebooted, lost IP again. Hmm. [19:03] To be clear, a mount is a handle in the file system for a device? [19:04] TheNik: and the freetz-ng directory does not seem to have sticky UID/GID set [19:04] http://ix.io/2A7M # ip addr (none) [19:06] systemd-networkd[258]: enp0s3: Gained carrier # does not occur. Hmm. [19:07] TheNik: yes, i guess you can say so.if you're familiar with file systems on windows, you may know that you can assign a drive name (C:/D:/E: ...) to a given directory to be able to address it easier. "mount" basically does the opposite, takes another file system (a formatted partiton and the data on it) and makes it available at some existing (usually empty) directory in the existing directory tree. [19:08] i'm not sure this was a helpful explanation. :) [19:08] It definitely was, thank you :-) [19:08] great. [19:11] So I take it that as far as you or I can tell, the issue is not with the umask, the setgid or setuid? [19:13] i think the most important thing to understand about the file system hierachy whem you're coming from windows to linux is that "drive" on windows is a terrible misnomer (for historical reasons). it really refers to a file system on top of (most of the time) a partition on a (partitioned) physical disk most of the time. but when you say "drive" in a linux environment, everyone will just understand "physical disk drive". [19:13] TheNik: yes, i don't see a problem with those [19:14] this said, i'm not sure which exact directory this "build directory" message refers to [19:14] tomreyn: Agreed.. a terrible misnomer [19:18] That [the drive-misnomer thing] makes sense. So if I have a physical disk drive with multiple partitions, Linux will still treat it as a single drive, but assign the partitions to different mounts? [19:19] TheNik: yes, similar to /root and /home being on the same physical device === manopola-2 is now known as manopola [19:20] As for the error I am getting, no worries. I frankly did not expect the software to work in the end anyway ;-). Just that perhaps I did not expect it to fail before I could even try using it. In any case many thanks for the help you provided [19:22] TheNik: /dev/sda is a device, but /dev/sda1 and /dev/sda2 are two partitions on that physical drive [19:24] TheNik: if you can't find help with freetz in their official channel (i *think* they have one), try #ubuntu-de-offtopic (if you speak German, I'm assuming you may), you'll find peoplle using it there. [19:25] I may look for a freetz channel, but I wouldn't expect there to be one [19:25] freetz may also have forums somewhere [19:25] There is a fritzbox channel on freenode, though. [19:26] Fritzbox being the hardware that freetz runs on, for anyone not familiar [19:26] give it a try there, then [19:27] is there a channel for multipass? [19:27] I will. :-) Thank you very much! [19:27] !alis | londeen [19:27] londeen: Alis is an IRC service to help you find channels. For help on using it, see "/msg Alis help list" or ask in #freenode. Example usage: "/msg Alis list http" [19:27] you're welcome, TheNik [19:29] thanks! [19:30] you're welcome, londeen [19:30] Where can I find the files that get applied to the /etc directory when a packeage gets installed? For example I am looking for the default setting of apache2, the files in /etc/apache2/conf-enabled/ . I cant find those files in the apache2 packahe itself, therefore I think the settings are managed by the package manager? Where does the package manager gets the default settings files? [19:31] DerHorst: if you'll look closely, you'll notice those aren't files [19:32] I need the files in somethig like an online repository where I can link to it so that a person can read the default config independent of his/her operating system [19:32] (they're symbolic links) [19:32] in /conf-enabled they are. They link to /conf-available [19:33] right [19:33] wow this upgrade process takes a long time [19:33] in /conf-available there are files [19:33] gonna suck when it breaks everything after lol [19:33] where do those files come from? [19:34] (and, as a bonus: where do the symbolic links come from?) [19:34] Am I right that the package manger creates them somehow? [19:34] DerHorst: i haven't verified this, but i assume the syminks are set by the post-install script which is part of the debian package, and the actual files will come from the data archive in the debian package. [19:34] DerHorst: Some of that is created by the post-install scripts when the package is installed [19:34] Where can I find thos scripts? [19:35] in the package [19:35] The package has a file system tree and you can simply right-click and "extract here" [19:36] At the moment I am looking here: [19:36] https://git.launchpad.net/ubuntu/+source/apache2/tree/?h=applied/ubuntu/focal [19:36] after installation, you'll find a copy of the postinst script at /var/lib/dpkg/info/PACKAGENAME.postinst [19:37] DerHorst: isn't that link to a source package that builds the binary? [19:38] I see make files [19:38] it should be so [19:38] I think so [19:38] I don't think that's a normal package [19:40] depends on whether, to you, 'normal' packages are binary packages only. ;-) [19:40] Yeah, that's a build package: https://git.launchpad.net/ubuntu/+source/apache2/tree/include?h=applied/ubuntu/focal [19:40] tomreyn: Ah, good point [19:42] That looks a lot like what I did when experimenting with LFS [19:42] the files I am looking for are mentioned in the postins file. But not the content :( [19:44] I have a keybinding in sxhkd to open openshot-qt (it is: super + o ; e). If the keybinding is set to "openshot-qt", it does nothing, but if I set it to redirect stderr/stdout to a file with "openshot-qt &> /some/file", it works normally. Why is this? [19:44] My assumption (that totally could be wrong) is, that the defalt config-files have to be somewhere inside the package [19:45] DerHorst: this is pretty much outside of Ubuntu support IMO, but have a look at https://git.launchpad.net/ubuntu/+source/apache2/tree/debian/config-dir/conf-available?h=applied/ubuntu/focal and then we can move to #ubuntu-discuss or something. [19:45] or #ubuntu-app-devel [19:45] PERFECT [19:45] DerHorst: http://archive.ubuntu.com/ubuntu/pool/universe/a/apache2/ [19:46] Thats exactly what I was looking for! the debian/config-dir just has the answers [19:48] I just need the link to the security.conf default file [19:48] https://git.launchpad.net/ubuntu/+source/apache2/tree/debian/config-dir/conf-available/security.conf?h=applied/ubuntu/focal [19:50] Because I write a thesis about IT security and I mention that the default config does not disable directory listing for version control meta-folders (like for example .git or .svn). I have seen that the necessary setting is in the security.conf, but it is commented out [19:51] MacGregor, tomreyn, thank you bot a lot for guiding me through the package and helping me to understand the packages a little more! [19:52] DerHorst: you're welcome. I learned a lot too, thank you for posting the questions :) [19:52] I really like this! In the beginning I just wanted to see that file, now, thanks to you guys, I learned about post install hooks and where they come from [19:53] you may want to read https://en.wikipedia.org/wiki/Deb_(file_format) [19:54] I just assumed it was a .zip file with a changed file ext [19:54] I will, thx [20:07] I am grabbing some randomness with: hexdump -C -n 8 /dev/random - I check the entripy before and after - seems that more entropy than should be is being consumed, please see: https://paste.ubuntu.com/p/qMhympRbxh/ [20:17] haha this 20.04 updater is serious its been going for about an hour and 1/2 now and its only here https://imgur.com/a/BfFF5G7 [20:17] im hoping that status bar isnt accurate [20:20] if you disk is a bit slow (classic 5400 rpm hdd?) or you are short of ram, it can take a good while. [20:20] try closing some other applications if you have any running [20:21] The status bar: Is it moving? No? Should it? Yes? Apply WD-40! [20:22] the OS is on solid state and I have close to 100gb of ram [20:24] Mibix: Anything in logs? [20:24] hmm, maybe there's not much space left or you don't fstrim? [20:26] nah only using like 1/5 of the drive [20:26] Mibix: look for errors near the end of dmesg, look for oddities in logs [20:27] not even sure where the logs for this thing would be [20:28] its not letting me open anything anyway heh [20:29] ctrl-alt-t; journalctl -f [20:30] Mibix: switch to a virtual console maybe - control-alt-f2, say - and log in, dmesg, tail /var/log/syslog, etc. [20:31] If apt is running, look at "ls -latr /var/log/apt/" [20:31] oh i swear it wasnt letting me open a terminal earlier heh [20:32] bbiab, meeting [20:41] Is there a persistent way to run scripts or commands when files change like with `entr`? eg When a config file is changed, it is reloaded by the program which uses it. [20:48] the something that would make this happen would need to be triggered via inotify (like entr is), then know which service the file which changed belongs to, and then know how to make this service reload. i'm not aware of an existing software that does all of this, independently of the service. === MrC is now known as MrSpooky [20:49] It's probably also a good way to trigger a DoS situation [21:01] is there a guide on creatnig a custom installer iso for 20.04? [21:01] I did it with 18.04 with a script that extracts the iso, does some mods, then recreates an iso with an updated preseed, the cloud-init yaml for 20.04 though is confusing, its not clear where that can go [21:02] the autoinstaller docs suggest its another disk mounted along side the normal install iso [21:07] cubic perhaps? [21:07] https://askubuntu.com/questions/741753/how-to-use-cubic-to-create-a-custom-ubuntu-live-cd-image [21:21] I've done a 16.04->18.04->20.04 do-release-upgrade on a laptop, and the GUI has stopped working. on reboot, I get the “The system is running in low-graphics mode” error. **is it possible to "re-do" the full installation process** how do I go through and make sure that I have on the laptop all the packages it needs, and that they are all installed and running correctly? [21:21] I've gone through https://askubuntu.com/questions/141606/how-to-fix-the-system-is-running-in-low-graphics-mode-error from 8 years ago, but given the graphics were all working fine on 16.04, I don't think the solutions offered there are relevant [21:21] considering doing this next: https://ostechnix.com/how-to-fix-broken-ubuntu-os-without-reinstalling-it/ [21:23] any suggestions would be greatly appreciated! ty [21:25] is xubuntu still lighter that kubuntu or are they almost the same now? [21:32] i have ubuntu 20.04 amd64 desktop on both my laptops. one of my laptops is tethered to my phone (usb internet) and then on that same laptop i created an AP so my other laptop can connect to it. what i want to do is force link speeds. i know on the laptop with the wusb600nv2 it can do 300mbps (2 antennas) abgn and my AP laptop has Intel wireless 7260 which can do 768mbps and does abgn/ac [21:32] i would like to force the AP and the Client to 300mbps and 5ghz N only [21:33] i might need to set the MTU but thats a different story [21:33] can someone help me do this? [21:34] i been trying to do this for a couple days now and reading quite a bit. im pretty sure the nm-connection-editor dont let us manually change those settings [21:49] really!? after hours of upgrading https://imgur.com/a/kZO1csR [21:50] tomreyn you still around [21:50] Mibix: depends, what's your question? [21:51] check that screenshot [21:51] my upgrade failed :( [21:51] sorry to hear this. i'm afraid you had already started your upgrade by the time i told you about the needed precautions. [21:53] its an error with grub-pc [21:53] im scared lol [21:55] yes, i didn't see this one coming. there was a problem with old installations where grub was installed in a special mode which was never recommended (i forgot the term for it, embedded or something?), and there was a bug report about it. but i think it was fixed before the upgrade was enabled, so maybe this is something else really. [21:56] you should probably review what went wrong exactly, logs are in /var/log/release-upgrade i think [21:57] hmm it is booting... [21:57] grub seems different but still working [21:57] and once the installer quits after its clean up attempts, you should ensure apt is in a good state (apt sources point to focal, "apt update" runs without warnings or errors, "apt full-upgrade" succeeds) and then reinstall grub [21:57] oh you already rebooted. [21:58] i guess i'm typing too slowly [21:59] haha im just being a bit careless i think :p [21:59] i wonder if anyone seen my questions as it seems it was quiet for a long time before i got fully connected? [21:59] it is working.... [21:59] for the most part at least [21:59] en1gma: your questions made it through, no one has responded so far [22:00] ok just checking because the irc server said something about running a scan on my ports or something. thanks [22:01] that's normal, ask in channel #freenode if you want more details about the scan [22:04] en1gma: i'm not able to guide on your specific setup, but a general recommendation: use ethernet where you can, wireless only where you strictly have to. wireless has a tendency to behave in unexpected and uncontrollable ways, like a bad of flea. there are methods to exercise some control on it but debugging, at least with non professional gear, is difficult if not impossible. [22:04] so if you like stability, use wires. [22:05] windows can set the rate and modulation? cant ubuntu 20.04? [22:06] i would like to test to see what happens on 2.4ghz and 5ghz @ 300mbps [22:06] forced* [22:21] tomreyn its still having that error with grub-pc install [22:21] Mibix: then it will help to get a better idea of what "that error" is about [22:22] nstalled grub-pc package post-installation script subprocess returned error exit status 1 [22:23] that is all im getting :/ [22:26] Mibix: if you run dpkg --configure -a do you get better output? [22:27] if not, edit /var/lib/dpkg/info/grub-pc.postinst and append " -x" (without the quotation marks) to the ent of the first line [22:27] ... and run dpkg --configure -a again [22:27] k one second [22:28] doing an autoremove have a ton of stuff in there [22:30] hi everyone, i lose my sshfs mounts after a few minutes, and lose my ssh sessions the same [22:31] is there a way to prevent it? a server setting, keep the connection alive? [22:31] you can't fix unstable network connectivity by software [22:34] you can play with the TCPKeepAlive ssh client option [22:34] will that work for sshfs also? [22:35] also with the ServerAliveIntervalssh client option [22:35] i assume either will also apply to sshfs. [22:35] good tips, thank yo [22:35] (if you're setting the connection up with the same ssh profile) [22:37] though if your connections hits the tcp connection timeout, which they seem to be doing, then you really need to identify and try to solve the underlying network issue. [22:37] or rather face the fact that networks are unstable and handle it by scripting / automation. [22:38] tomreyn https://paste.ubuntu.com/p/G3ZrnbmQ38/ [22:38] when i added -x [22:38] you have plenty of disks! [22:38] I do :) [22:39] do you see any problems im not really understanding most of this heh [22:40] it's pretty long, i'll try to understand where it fails [22:41] Mibix: try running: sudo dpkg-reconfigure -plow grub-pc [22:41] does it prompt about the disk to install to? [22:42] it returns /usr/sbin/dpkg-reconfigure: grub-pc is broken or not fully installed [22:43] hmm, the easiest option may be to just purge all grub* packages you have installed, then reinstall those you have now. [22:43] sudo ap list --installed grub* [22:43] sudo apt list --installed grub* [22:44] sudo apt purge --autoremove grub* [22:44] take note of that is being removed [22:44] then reinstall those [22:44] note that this puts you in a situation where you won't be able to boot [22:44] just while those packages are gone [22:46] lol when listing Listing... Done [22:46] so none installs? [22:48] hmm, try dpkg -l grub* | grep -v ^u [22:48] i did the sudo apt purge --autoremove grub [22:48] and it returned way too much for my buffer heh [22:49] https://paste.ubuntu.com/p/XdtmqbDKSJ/ [22:51] what's the output of: echo -n 'This system booted via: '; [ -d /sys/firmware/efi ] && echo UEFI || echo BIOS [22:51] This system booted via: BIOS [22:52] it would appear that the attempt at purging the grub* packages failed. [22:52] maybe undo the edit to the postinst script [22:52] then try to purge again [22:54] https://paste.ubuntu.com/p/8CXHR3fWrX/ [22:55] edit to the postinst script again and place this in the very last line (add a new line): exit 0 [22:56] then run sudo apt purge --autoremove grub* (with the * character this time) [22:56] exit 0 is already the last line [22:57] look at this answer here tomreyn https://askubuntu.com/questions/636456/14-04-upgrade-triggers-grub-pc-failure [22:58] i think we needed to add grub-pc [22:58] btw [22:59] that's a different problem, but the suggested workaround is quite similar to mine: purge, then reinstall grub packages [22:59] https://paste.ubuntu.com/p/nRhtjd2x9j/ [22:59] that looks like it works [22:59] should i continue? [22:59] this is at least closer to the command i suggested you run [23:00] but it will likely fail the same way. [23:00] well i did run the one you said and it didnt do anything [23:00] https://paste.ubuntu.com/p/8CXHR3fWrX/ [23:00] i don't think you did, you seemed to have omitted * [23:00] ohh! [23:00] ok [23:01] E: Unable to locate package grub* [23:01] full input, full output, please, always. [23:02] https://paste.ubuntu.com/p/J2zg2kzNJH/ [23:03] sorry, my bad. it'll be 'grub.*' (including the ticks) then [23:03] actually, do ti with dpkg [23:03] dpkg --purge 'grub*' [23:04] + sudo [23:06] dpkg: error: --purge needs a valid package name but 'grub*' is not: illegal package name in specifier 'grub*': character '*' not allowed (only letters, digits and characters '-+._') [23:06] that was from sudo dpkg --purge 'grub*' [23:06] hmm okay, then specify all the grub packes manually [23:06] *packages [23:07] or just try this first answer on the askubuntu you pointed to [23:07] i'm not even sure you need and want to install grub to sda, though [23:08] no i dont [23:08] so make sure you edit this line [23:10] so i did sudo apt-get purge grub-pc grub-common and this popped up https://imgur.com/a/peWVAWR [23:12] Mibix: maybe open another temrinal now and back them up elsewhere [23:12] but generally i think you want them gone for now. [23:13] ok so im to the sudo apt-get install grub-pc grub-common step [23:14] Mibix: did you start it, yet? [23:14] Mibix: if not, run dpkg -l grub* first [23:17] do people really install grub to all their drives? [23:17] lol [23:18] nowadays, booting in uefi mode is becoming more common, where you have the efi system partition on one disk only [23:19] my boot drive is a raid array though [23:20] but is it partitioned? [23:20] yeah its not even an option though [23:20] so i guess i gott pick something else [23:21] grub should likely be installed on the MBR [23:21] ... of the disk your bios is setup to boot from [23:21] hi guy. I've recently installed ubuntu but it's so heavy for my cumputer and I want to install a lighter distro but I can't choose between Arch and Kubuntu. Can you guys help me please? [23:22] I'm using Ubuntu focal and have a udev rule >> ACTION=="add", SUBSYSTEM=="net", KERNEL=="p2p-dev-*", NM_UNMANAGED=1 << but still after reboot, "nmcli device" shows "p2p-dev-wlp2s0 wifi-p2p disconnected --" i.e. not "unmanaged" as with loopback adaoter "lo". Any ideas what I'm doing wrong? [23:22] heh it works differently with the softwware raid [23:24] Morteza24, if you want to go light-weight, Xubuntu might be better [23:25] ENV{NM_UNMANAGED}="1" [23:25] tomreyn, oh, of course. thanks! [23:25] Morteza24, you can also try Arch of course, but afaik it's not supported here. [23:26] Seven_vB, but I've heard that xubuntu looks outdated; is that right? [23:26] hmm ok im not getting any errors anymore [23:26] kinda scared to reboot lol [23:27] Mibix: which grub* packages are installed now? [23:30] https://paste.ubuntu.com/p/xJffPRtXYG/ [23:30] Morteza24, I'm not sure what you mean with "looks outdated". do you mean the simple look of the default user interface? I consider that elegant. also of course fancier graphics are heavier on your machine. I heard people talk about Mate being light-weight but I never tried it, and from other stuff I heard I'd guess it's heavier than Xfce. [23:30] tomreyn [23:31] Mibix: nice. and sudo update-grub runs without any errors? [23:32] yeah but its really weird [23:32] when i tell it to reboot now it just goes to the lock screen [23:32] Mibix: sudo grub-install /dev/... (set the propoer target device), too? [23:32] Mibix, against the fear of rebooting, make a USB thumb drive with Super GRUB disk and put Xubuntu in /boot-isos :) [23:33] lol wtf it will not shut off [23:33] Mibix: and you really want grub in the MBR, not embedded on the MD [23:33] (i think i told you embedding was never well supported) [23:34] i dont think you can install grub on a mdadm drive [23:35] I always just devote the first MB to a bios_grub partition just in case. [23:35] Seven_vB yes user interface is what I was talking about. from what I've read on the internet, I consider kubuntu to be sth between light-weight and fancy ui; that's why I chose it [23:35] heh it works differently with the softwware raid [23:35] where did you install it to? [23:35] i installed it to both the mirror drives of the mdadm drive i dunno [23:35] lol [23:35] this is odd [23:36] so i'm assuming you're saying you installed grub to the MBR of the two drives which contain the partitions forming the raid emmbers of the /boot or / array [23:36] Morteza24, well, why not load all those ISOs and try them? see my SGD / boot-isos hint above for a really easy way to boot ISO images [23:37] if you store the ISOs on an SSD it will boot them even quicklier. [23:37] yeah tomreyn [23:38] that should work. so i'd manually grub-install there (the raw disk) again, just to be sure it works, then update-initramfs -k all -c [23:39] Sven_vB I'm new to linux so I'm not sure if I'm able to do that, also I don't have ssd [23:39] and when all of this runs without errors, and the recovery usb is prepared, it's a good time to reboot [23:39] Morteza24, in that case, feel free to ask for detailed help in #sgrub [23:40] Morteza24, as for SSD, no problem, even a rotating HDD is (in my experience) way faster than booting the ISOs from USB. [23:40] looks like it worked tomreyn :D [23:40] ugh i have so many other things to fix [23:41] alright thank you so much <3 <3 [23:41] lol the reboot and shut down button in the desktop environment take me back to the login screen [23:41] i had to sudo reboot [23:44] well ty tomreyn [23:44] on to the next issue :p [23:46] you're welcome, Mibix. i recommend you clean up packages more. i previously suggested how to do so (things to do before starting the release upgrade) [23:46] tomreyn, I added the ENV{} and quotes, rebooted, still "disconnected", not "unmanaged". how do I check whether the rule was triggered? [23:47] maybe I should try a rename rule [23:48] Sven_vB: i think it says in the journal, but not sure. [23:54] seems udev can only trigger SUBSYSTEM=="net" on network devices that are in /sys/class/net/, i.e. wlp2s0 but not p2p-dev-wlp2s0 [23:55] and "find" can't find any other *wlp* in /sys/ :( what other ways are there to tell NetworkManager to not manage the p2p-dev-wlp2s0? [23:57] I'll try the ifupdown hack again