[00:21] returned. can u help me now? [00:21] how to Create text file with LF line feeds???????????????????????????????????? [00:21] please help [00:23] fredzz: vim, emacs, pico, nano, joe, jed, ed, gedit, whatever [00:23] fredzz: context please? [00:23] im stuck on installing ubports on N5 [00:24] fredzz: Most editors will already do this by default ( as opposed to DOS convention of Carriage Return - Linefeed ) [00:24] fredzz: If you need to convert back and forth use dos2unix and unix2dos [00:26] to continue I need... Create a new text file with LF line-feeds called "commandfile" with the following content: [00:26] format system [00:26] load_keyring image-master.tar.xz image-master.tar.xz.asc [00:26] load_keyring image-signing.tar.xz image-signing.tar.xz.asc [00:26] mount system [00:26] update ubports-420bfa80c833e7736e0197d969b5cd981f18eee1215ad3bfae6d82aab9105f03.tar.xz ubports-420bfa80c833e7736e0197d969b5cd981f18eee1215ad3bfae6d82aab9105f03.tar.xz.asc [00:27] sounds like you could probably just use any normal ubuntu text editor in default settings, then [00:27] the instructions make it sound more complicated than it is [00:28] in installing ubports and stuck here... [00:28] what do i have to do? please really easy. this new to me and trying not to brick [00:34] https://devices.ubuntu-touch.io/device/hammerhead# is where I get this doubt. Im on manual instalation option ans stuck at " Create a new text file with LF line-feeds called "commandfile" with the following content:" [00:35] ????????????????????????????????????????????????????? [00:35] mmm fredzz are you OK? is your keyboard working for you? the question marks make your question a tad harder to read [00:36] sorry for pushing but I need to solve this. can u help me? [00:38] not on this channel, which is just about ubuntu [00:38] !touch [00:38] Information about the mobile port of the Ubuntu platform (formely Ubuntu Touch) for Phone and Tablet is available here: https://ubports.com/. Support and discussion in #ubports [00:38] the question is about ubuntu. [00:39] not ubports [00:39] I'm creating a boot partition because I want to be able to use encrypted LVM some day. how big should I make my /boot? [00:39] fredzz, did you try using the dos2unix and unix2dos commands someone mentioned above..? [00:39] fredzz: so which ubuntu version are you running then? [00:39] Create a new text file with LF line-feeds called "commandfile" with the following content: [00:40] thx for your answer but thats too tech for me... [00:40] fredzz: all you posted so far clearly pointed to ubports. [00:41] running 18.04 LTS last version [00:41] fredzz, after creating the file in your preferred editor, write 'unix2dos', then a space, then the full path to your file [00:41] fredzz, what this command does is replace all line feeds in your file with LF line feeds [00:41] fredzz, this should be perfect, and easy [00:41] can you name an editor? I never did this , so no favorite [00:41] fredzz, did you edit a file before? [00:41] never [00:42] !info gedit bionic [00:42] gedit (source: gedit): official text editor of the GNOME desktop environment. In component main, is optional. Version 3.28.1-1ubuntu1.2 (bionic), package size 425 kB, installed size 1926 kB [00:42] fredzz, emacs ;) [00:42] fredzz, ok, are you in ubuntu now? are you using ubuntu or kubuntu? [00:42] lubuntu lts 1804 [00:42] Sven_vB: 1 GB is probably future proof for a while. [00:42] tomreyn, thanks! [00:42] !info leafpad bionic [00:42] leafpad (source: leafpad): GTK+ based simple text editor. In component universe, is optional. Version 0.8.18.1-5 (bionic), package size 87 kB, installed size 453 kB [00:42] fredzz, in lubuntu, take a look at leafpad [00:42] fredzz, you should have an icon for it in the start menu somewhere [00:43] Sven_vB: you don't actually need to have a separate /boot, though [00:43] openin leafpad [00:43] fredzz, cool, thanks for your patience with this [00:43] paste the code here? [00:43] Sveta: btw why unix2dos? I thought fredzz said he wanted standard LF endings? [00:43] !paste | fredzz [00:43] fredzz: 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. [00:43] tomreyn, can it store a bootloader inside the encryption container nowadays? [00:44] Create a new text file with LF line-feeds called "commandfile" with the following content: [00:44] this is the place im stuck. [00:44] fredzz, copy/paste that content into your file ? [00:44] Sven_vB: yes, if you enable grub support for it, and are okay with entering the passphrase / key twice. [00:44] opened leafpad and paste the code there, right? [00:44] yes [00:45] but you can skip the unix2dos or dos2unix thing for now, i think leafpad will do it correctly [00:45] just save your file and proceed to the next step [00:45] saving as commandfile, right? [00:45] sarnold, on leafpad it will be standard LF endings right? [00:45] tomreyn, nah that would be too cumbersome. but nice that I get to choose. [00:45] fredzz, yes [00:46] sveta done!!!! [00:46] THX [00:47] nice [00:47] good luck with your further steps [00:47] Sveta: sorry, I don't know leafpad; if it's a standard unix text editor, it'll probably do the right thing [00:47] sarnold, yes, it is; thanks for your help [00:47] woot [00:51] meh, I forgot a partition earlier. is there a way to tell gdisk to move all partitions that are after #4 (or start after sector 44566527) 20 GB farther? there's no data on any of them yet. [00:55] I just created the LF file called commandline. Saved on desktop. Now I need to send the instalation files to device but it doesnt relate to the new created LF file. [00:55] fredzz, wasn't it called command"file" earlier? [00:56] Sven_vB: not sure about gdisk (well possible), i'd use gparted from a live / installer iso [00:56] for more info on my problem check https://devices.ubuntu-touch.io/device/hammerhead# manual instalation [00:56] yes [00:56] "commandfile" [00:57] tomreyn, how do I tell gparted to just move the start/end sectors and not care about file systems and their content? usually gparted won't even offer resize for partitions that don't (yet) have a recognized fs. [00:57] thats the name of the LF file saved on the desktop [00:57] "If you need help with the installation, you can ask members of the community on telegram, matrix or the forum." [00:57] tomreyn, also it's 12 partitions, I'd prefer to click less than the traditional gparted resize UI ;) [00:58] I guess I'll just use some ninja sed action to convert gdisk's list into gdisk-compatible input. [00:58] stuck on the last step of install [00:59] Sven_vB: there's an sfdisk or similar that's intended for sed-ish kind of use; it *might* work out okay [00:59] please help conclude this [00:59] fredzz: the last time I moved files to an android phone was using the adb command line tool [01:00] sarnold, now that you mention it, I have a vague memory of sth. like sgdisk, but apt can't find that. [01:00] Sven_vB: oh, I'm sorry, sgdisk -- some examples are on https://github.com/zfsonlinux/zfs/wiki/Ubuntu-18.04-Root-on-ZFS [01:01] Sven_vB: aha, gdisk package [01:01] in the tutorial it calls for a LF file wich I just did and the shows some adb commands for console [01:01] oh wow nice I already have it. :D [01:01] thanks! [01:01] but no reference to the new LF file [01:02] fredzz, adb sounds like you have some android as the target platform? [01:02] yes. soon to be ubports [01:02] still android [01:02] is android supported by Ubuntu nowadays? [01:03] there is #ubports too [01:03] in using ubuntu desktop to send ubports to N5. using the site's manual instalation [01:03] fredzz, ah I see. [01:04] I seem to have missed the tutorial URL. where is it? [01:04] https://devices.ubuntu-touch.io/device/hammerhead [01:04] oh found it [01:04] just found the ubports irc channel bau maybe you can help me finish this and celebrate with me... [01:04] alas it's not just a blob of text on the page but hidden behind some javascvript and cliocking [01:05] manual instalation [01:05] clearly the best way to make documentation available [01:05] a README would have been silly :) [01:05] indeed I can't read that tutorial easily. [01:05] might be optimized for reading on android :) [01:06] I have already bricked 2 phones using the app. [01:06] manual may do the work for me [01:06] I can't blame them too much for going the Choose Your Own Adventure route -- that may reduce confusion. it just makes it way harder to see the wholepicture [01:06] they could d CYOA with plain links [01:07] and maybe even upgrade their UI once their JS manages to get ready [01:08] fredzz, I guess the adb command knows a default file name which happens to be the filename they told you to use for the NL file. [01:09] if you can find a directly hyperlink-able version of the tutorial, I could try follow along and see myself [01:13] the last lne of the adb code block (on the very bottom of the android guide) is actually where the commandfile is transferred to the phone. but for this to work, fredzz would need to install + configure adb first of all, and connect a non-bricked android device. [01:20] oh ok [01:21] yeah acquiring enough sacrificial devices is a core problem of most hardware colonialization projects. [01:28] wow niiiice an official driver for Fresco Logic USB VGA "cards" https://github.com/FrescoLogic/FL2000 . I hope ubuntu adopts official support for that soon. [01:29] # NOTE: DO NOT SEND THIS FILE OUTSIDE OF FRESCO LOGIC. [01:29] not a promising start === BaW_ is now known as BaW === Fenhl_ is now known as Fenhl === zbenjamin is now known as Guest20626 === zbenjamin_ is now known as zbenjamin [01:32] err, yeah. [01:32] sarnold, err, since you're helping others, i'd like to send you a privmsg.. there's a helpers channel available. please let me know if you're OK with this [01:32] Sveta: sure [01:34] "Distribution in any form to unauthorized parties is strictly prohibited. [...] NOTE: THIS FILE MAY BE SENT OUTSIDE OF FRESCO LOGIC." [01:34] "Purpose: TODO: PLEASE RENAME THIS FILE TO SOMETHING USEFUL" [01:46] I noted it in https://github.com/FrescoLogic/FL2000/issues/29 , if you want attribution for finding it, query me. [01:48] where did you find the "Distribution in any form"? git grep can't find it in master [02:16] Is it possible to remove EVERYTHING that tries to manage the network for me, and just configure things with /etc/network/interfaces like the good old days? [02:17] Not Ubuntu specific, but is Bluetooth Low Energy basically a required, integral part of Bluetooth 4 and newer? [02:19] naptastic: try apt-get install ifupdown netplan.io- network-manager- [02:19] naptastic: that'll install ifupdown, and remove netplan and NM [02:20] sarnold, thanks very much! [02:22] does anyone know what this left-most icon is? https://imgur.com/a/cc8AC0y it appears for a split second before disappearing [02:24] Hi, why does "sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 60" not have any effect? [02:26] https://la.wentropy.com/Sz17 [02:27] amosbird: try /usr/bin/g++-8 --version and see what it reports? [02:28] Is it just me or does 19.04 run alot smoother on older devices? [02:28] in comparison to 18.04 [02:29] sarnold: it's 8.3 [02:30] amosbird: alright.. is that '60' a large enough value? (forgive me I never use this interface, I usually just manage /etc/alternatives links directly) [02:30] amosbird: (or small enough?) [02:30] pizzaiolo: I've had some luck finding unknown indicators on https://material.io/tools/icons/?style=baseline [02:31] sarnold: not sure [02:31] yeah, using 80 works [02:32] amosbird: odd indeed. but hooray :) [02:34] what do you all use for a system monitor? [02:35] top and vmstat 1 are my usual first go-to tools [02:37] hmm [02:38] I was looking for something that has more of the functionality of the windows system monitor. It is actually quite good. [02:38] what does it do? what specifically are you looking for? [02:39] magic_ninja_work, gnome-system-monitor maybe? [02:39] thanks sarnold! [02:40] pizzaiolo: any luck? I couldn't spot it on that giant list of icons.. [02:41] pizzaiolo: hmm... android's also got a "manage notifications" item when you drag down from the top, that shows which applications did notifications recently -- any chance it's listed there? [02:42] i don't think gnome-system-monitor shows cpu usage. [02:42] sorry, I mean network usage [02:43] sarnold not yet, although i suspect it's related to usb-c/thunderbolt being connected [02:43] pizzaiolo: ohho, what's *that* do? :) [02:45] sarnold for connecting my two displays, have them daisy chained with displayport [02:46] pizzaiolo: d'oh. sorry. I thought those were android indicators. it must be quittin time :) === [b0b] is now known as b0b === [over] is now known as over [03:39] Hello! I'm making an embedded device with an SDCard, which shall automount. When users plug in an exfat card, I want to use the "nonempty" mount option, but when they use vfat mount fails using "unrecognized mount option 'nonempty'". How can I tell mount to use whatever options make sense for the detected filesystem, and silenty ignore the others? === popgreeny is now known as panorain [04:21] How do I make sure my Ubuntu install USB stick can run on older computers. [04:22] I know there is some sort of difference between Legacy and (whatever the other one is) [04:22] EFI or UEFI or something like that. [04:24] Goop: All Ubuntu ISO images are capable of both. [04:25] anyone know where I would find where I've stored my app images? [04:25] Eickmeyer, I made a Ubuntu LTS 16.04 install stick, but it's not showing up on an old laptop (Dell/Inspiron 1721/AMD/made in 2008) one-time boot menu. [04:26] I know the laptop support USB boot, because there's the option in the BIOS. [04:27] Goop: F12 to bring up the boot choose menu perhaps? [04:27] asphyxia: 'app images' ? [04:28] Goop: Also, verify you wrote the image to the USB drive correctly (in addition to what lotuspsychje mentioned) [04:28] lotuspsychje, I tried it again. This time, I put in the flash drive while it was loading, instead of before system power on. [04:28] The computer found it. [04:30] lotuspsychje: I can't find it ugh [04:31] asphyxia: elaborate please, wich apps are you looking for? [04:31] lotuspsychje: looking for joplin appimage, pretty amauteur with the whole linux filing system [04:33] asphyxia: contact the joplin maintainer [04:34] pretty sure it just depends on where I unpacked it [04:34] which I can't find/remember [04:34] asphyxia: from a terminal you can find things in ubuntu with: whereis foo [04:36] If you do sudo updatedb and then locate you can find files pretty much anywhere in the file system instantaneously [04:36] The sudo updatedb part is build the index for locate so it can be fast [04:37] For example if I remembered that I downloaded a pdf with "Clojure" in the title I could do locate Clojure [04:37] It is case-sensitive though so if you want that turned off you specify locate -i [04:39] Hello, I just installed Ubuntu 19.04 on a laptop. It keeps freezing after bootup. I think there's an issue with the graphics driver. I am not sure what graphics card is on the laptop. Any suggestions? It is currently using the noveau driver. [04:39] Can you check what graphics card you have in the BIOS screen? [04:40] !nomodeset | xrandr [04:40] xrandr: A common kernel (boot)parameter is nomodeset, which is needed for some graphic cards that otherwise boot into a black screen or show corrupted splash screen. See http://ubuntuforums.org/showthread.php?t=1613132 on how to use this parameter [04:41] Good morning, folks. [04:41] I'm stuck trying to enable Jack. [04:43] Mostly looking here for people's anecdotes and experiences, in an attempt to get my Jack to actually produce audio. [04:43] readyready15728: you're a legend, thanks, I'm saving that command for future use [04:43] !chat | CheetahPixie for experiences [04:43] CheetahPixie for experiences: #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please register with NickServ (see /msg ubottu !register) and use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks! [04:44] asphyxia, :D [04:47] I'm asking here out of desparation mostly. [04:48] CheetahPixie, do you have any diagnostic info? [04:51] ok, nomodeset got me in. But now my display is rather...small... [04:51] Are there 3rd party drivers I need to install for my graphics card? [04:52] xrandr: now to see wich drivers your card needs, ubuntu-drivers list [04:53] nvidia-driver-418 and nvidia-driver-390 are what appears [04:53] readyready15728 nothing remarkable; just that Jack says the transport is off, and that audio literally refuses to work. [04:53] xrandr: wich card chipset do you have please? [04:54] lotuspsychje: I'm not 100% sure [04:54] xrandr: sudo lshw -C video [04:55] ok [04:55] Hmm. [04:55] Messed with the patch bay, apparently the correct IO for audio is playback_7 and playback_8. [04:56] lotuspsychje: nVidia Quadro M2000M [04:56] xrandr: try 390 [04:56] ok [04:56] How do I make those defaults? [04:57] CheetahPixie, I can't really help you unless I have more info but you can try this: https://help.ubuntu.com/community/SoundTroubleshootingProcedure [04:58] This is ALSA specific. [04:58] lotuspsychje: reboot after installing those drivers? [04:58] I'm trying to set up Jack. [04:59] xrandr: yes please [05:00] !jack | CheetahPixie [05:00] CheetahPixie: The JACK Audio Connection Kit is a sound server meant for professional applications, allowing different audio protocols and applications to interconnect in nearly unlimited ways. This is the core of Ubuntu Studio's audio workflow. See https://help.ubuntu.com/community/What%20is%20JACK for more information on JACK in general. [05:00] CheetahPixie: Are you using qjackctl to start Jack? [05:00] I have a PC that runs both Ubuntu and Windows. The problem revolves around the way the two OSes store the real-time clock. [05:01] In Ubuntu, the clock is set correctly. In Windows, it’s 7 hours head. (I am at GMT-7) [05:01] *ahead [05:01] SoItBegins: http://ubuntuhandbook.org/index.php/2016/05/time-differences-ubuntu-1604-windows-10/ [05:01] Thank you! [05:11] hmm [05:11] so only certain applications seem to produce audio when jack's up. [05:12] have you folks ever encountered this error: ValueError: Namespace GtkSource not available for version 3.0 ? [05:12] pip package [05:13] Solved it; pavucontrol, switch applications over [05:14] za1b1tsu: its better when you ask questions, you also mention the complete story, what exactly are you trying to do? [05:17] How come, running diskpart on Windows I can successfully set read-only mode on a drive (USB stick). But running hdparm on Ubuntu, doesn't seem to have an effect? [05:18] hdparm -r1 /dev/sdx [05:18] It says it sets read-only mode, but take out the USB and re-insert, and it's gone. [05:18] lotuspsychje: Thank you it worked!! [05:19] !yay | xrandr [05:19] xrandr: Glad you made it! :-) [05:19] Have tried with NTFS and UDF filesystems. [05:21] Now, I've got new problems. [05:21] How do I forward my microphone to Jack? === imsurit_ofc is now known as imsurit [06:02] Hi all, where do I tell ubuntu server 18.04 to issue DHCP INFORM packets when configured with a static ip? [06:03] Triffid_Hunter: #ubuntu-server for likeminded volunteers [06:03] thanks === Kira is now known as k_sze [06:04] Hello there, I have an 8 x 4TB RAID... best filesystem to use? Ext4? === mouses is now known as longcat [06:10] Ascavasaion: ZFS. === morphis2 is now known as morphis [06:14] thank you blackflow [06:59] In an ubuntu installation. I am partitioning. How large does the Efi partition need to be, and what size? [07:02] Ascavasaion, I don't know, but mine is 209MiB === aavar is now known as Aavar [07:02] 250 mb would do [07:02] !uefi [07:02] UEFI is a specification that defines a software interface between an operating system and platform firmware. It is meant as a replacement for the BIOS. For information on how to set up and install Ubuntu and its derivatives on UEFI machines please read https://help.ubuntu.com/community/UEFI [07:02] Aavar, Thank you, much appreciated. [07:02] but the installer should do this automaticly [07:03] OerHeks, I am installing Lubuntu, and the installer warned me that I do not have one and that I would be proceeding at my own risk. [07:03] clean the disk, choose partitioning GPT.. [07:14] Thank you OerHeks [07:19] hi, quick question, when im in terminal and i do 'sudo passwd user' it takes me to the root user instead of giving me the option to change the passwd, is that normal? [07:20] Hi everyone. Yesterday my Ethernet controller just disappeared and it wont come back on. Why would it just disappear? [07:21] does rebooting help? [07:21] it shouldn't be required, but i would suggest doing it as a troubleshooting step [07:21] cart_man: sudo lshw -C network [07:21] unless you know the time (hour and minute) when it disappeared - then it could be correlated with the logs.. [07:24] Smokie: "takes you to"? passwd takes one argument (and options) and that argument is the username you're changing password for. If you change your own, you don't need sudo or arguments, just type `passwd`. [07:24] s/changing/managing/ [07:24] blackflow, i tried that too, it didnt do anything [07:24] 'passwd user' does nothing [07:25] @Sveta Ok so it says network DISABLED... I never did that [07:25] Smokie: then you have a broken system there. Which Ubuntu is this? [07:26] its an old system, let me check the version [07:27] blackflow, 14.04 [07:28] Smokie: for starters that version is no longer supported unless you're paying for ESM. You should upgrade ASAP otherwise. But as for this, what does `which passwd` say? [07:28] cart_man: can you share us more details of your system please? ubuntu version? system up to date? when did network vanished? [07:29] blackflow, gives me /usr/bin/passwd [07:30] Smokie: so when you type just `passwd` it doesn't prompt you for current password? [07:30] blackflow, no, it doesnt [07:31] Sveta: lotuspsychje: -> https://pastebin.com/YP8YVx97 [07:31] hmm something is messed up.. 'exit' is not doing anything now too...wtf [07:31] lotuspsychje: Its Ubuntu Bionic [07:31] Smokie: anything in the logs about that? I don't remember which log is teh default on 14.04, /var/log/messages or .../syslog, and passwd should also log into /var/log/auth.log [07:31] cart_man: uname -a please? [07:31] Smokie: dmesg | tail ? [07:32] lotuspsychje: It vanished about 2 days ago... unplugged it and replugged it. -> Linux hpnote 4.18.0-22-generic #23~18.04.1-Ubuntu SMP Thu Jun 6 08:37:25 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux [07:32] cart_man: your kernel sint up to date, please update before asking support issues [07:33] !uptodate | cart_man [07:33] cart_man: To ensure you have all the latest known patches and security updates for your ubuntu installation, please update with the following command: `sudo apt update && sudo apt upgrade`. See also !upgrades and !security; you may also need to run `apt full-upgrade`. [07:34] blackflow, dmesg tail shows a lot of UDP bad checksum from different IP's [07:35] i think im taking this server offline [07:35] blackflow, i logged out, started a new terminal session with my sudo user and when i typed 'passwd' it took me to the root user without asking for a password [07:36] i think this server is a gonner [07:36] Smokie: you typed passwd and you became root? [07:37] yes :/ [07:37] in my sudo user [07:37] Smokie: by "sudo user" you mean the user with sudoer rights? [07:37] yeah [07:37] Smokie: you don't perchance have an alias or something in your shell rc that would mess with usage of passwd? [07:37] i have a system with 12 GB RAM and 12 GB of swap (on SSD). the root fs is running on SSD.. when moving a large file from the / partition to an external hard drive (hdd), the system is virtually unusable.. [07:38] blackflow, no, i never did [07:38] the pointer lags across the screen.. switching workspaces takes several seconds.. [07:38] Smokie: sounds fishy and compromised then. [07:38] yes [07:38] launching new terminals takes up to 10 seconds - with graphic lag [07:39] blackflow, dumb question, give me a command can only be run using root user [07:39] Smokie: ideally try to figure out how it got compromised. Nuke & Pave to 18.04 is the way to go forward, but if you don't know what happened, it migth happen again. [07:39] Smokie: dunno.... parted [07:40] i donthave the expertise to diagnosed a linux system that way [07:40] !details | zamba [07:40] zamba: Please elaborate; your question or issue may not seem clear or detailed enough for people to help you. Please give more detailed information; for example, we might need errors, steps, relevant configuration files, Ubuntu version, and hardware information. Use a !pastebin to avoid flooding the channel. [07:41] lotuspsychje: BTW yesterday my Chrome just removed itself. Couldnt find it anywhere and I had to reinstall it. Also a couple other apps. I am upgrading now [07:43] cart_man: we dont really support chrome here, but self-uninstalling packages sounds fishy.. === imsurit_ofc is now known as imsurit [07:44] Smokie: figured out if you can run privileged commands with no sudo? [07:44] Hi all, is there a way to update some system information in the BIOS (specificaly the serial number) from Ubuntu directly? Or I don't have a choice but to do it from the BIOS? [07:45] !biosupdate | Pronoe [07:45] Pronoe: To see how to update your bios on Ubuntu visit the community collected methods here: https://help.ubuntu.com/community/BIOSUpdate [07:45] that's not what they were asking for, lotuspsychje. [07:45] Pronoe: updating the asset information is likely only doable from the BIOS or vendor specific tools. [07:46] Pronoe, dmidecode should give that info: dmidecode -s system-serial-number // baseboard-serial-number // chassis-serial-number [07:46] Smokie: what does ''type sudo'' output? "type" is a shell command that tells you what type of command it is, in particular whether it is an alias or function, or just an external command [07:47] blackflow, yeah, it doesnt run root commands on my normal user, but as soon as i type 'passwd' it logs me in to root user and i can run what i want [07:47] ryuo Thanks I was afraid of that. [07:47] OerHeks This info is missing from there, hence my question. [07:47] ok same with ''type passwd'' then [07:48] Pronoe: strange. dmidecode always contained my serial numbers. [07:48] geirha, gives me this 'sudo is /usr/bin/sudo [07:48] ' [07:48] geirha, 'passwd is hashed (/usr/bin/passwd) [07:48] ' [07:49] ok, so no aliases or functions that alters the behaviors then [07:49] ryuo I've got the board serial number but I need the system one. I believe dmidecode is pulling its info from the BIOS. [07:49] geirha, when im in root it gives me this 'passwd is /usr/bin/passwd [07:49] ' [07:49] Pronoe: "system"? How is that different from the board? [07:49] Pronoe: the serial number on the case? [07:50] yup [07:50] this is usually only needed if the board was replaced. [07:50] geirha, when i type 'sudo us' it asks for the password as usual [07:51] well, just try it from BIOS I guess. It shouldn't be a problem if you only have a small number. [07:51] thing is, if its compromised (which im sure it is) why would the hacker use a common command like passwd ? [07:51] so many ppl use this command and can easily find out its screwed up [07:54] HI All, what's the difference between Ubuntu mini.iso and full iso image? [07:55] Smokie: because it's a suid bin. If there's a vuln, it's easy gateway to root. BTw, what does `file /usr/bin/passwd` say? [07:56] Hi, i tried to load a module at bootime from /etc/rc.local with /sbin/modprobe msr, but for some reason it's not loaded after boot, i can load it with no problem manually from a terminal, how can i check what's going on, why it does not log? [07:56] log/load* [07:56] akem-lnvo: to manually load modules just list them in /etc/modules [07:56] blackflow, /usr/bin/passwd: setuid ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, corrupted section header size [07:57] Smokie: Nuke & pave time. [07:57] Thanks blackflow, i will try that. [07:58] shit [07:58] blackflow, i assume its risky to know what to back up and not to back up? :s [07:58] Smokie: absolutely, this system cannot be trusted any more. [08:01] damn it [08:01] thanks blackflow [08:01] blackflow, out of curiousity, is it the "corrupt section header" that gave it away? [08:01] Smokie: that and it's statically linked. [08:01] Smokie: no, statically linked [08:02] the one ubuntu ships is always dynamically linked. [08:02] someone tampered with it. [08:02] yeah [08:02] plus they usually have a checksum thing. [08:02] that's in the (corrupt) header methinks, yea [08:02] /usr/bin/passwd: setuid ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/l, for GNU/Linux 3.2.0, BuildID[sha1]=7842b6fc0e39aceb47814351fc187ef18fa8e14a, stripped [08:03] for 18.04 [08:03] is this just an ubuntu thing or linux systems in general like centos etc? [08:04] Smokie: Ubuntu thing. How other distributions provide or build passwd is distribution specific. [08:04] But it should be the same for all debian family distributions. [08:04] ok [08:05] one last thing, whats the differences between dynamically and statically linked? [08:06] Smokie: statically linked has everything linked into a single binary. dynamically linked has to load the external shared objects (libraries) to run first. [08:06] Smokie: statically linked include all the code that would otherwise be in separate .so libs, mostly provided by other packages. [08:06] in this case, a compromised package i assume [08:06] most likely vector, yes. installing a malicious package. [08:07] but it could be anything if it uses a privilege escalation exploit. [08:07] how can someone protect self from these types of stuff? [08:07] I wouldn't mark that as most likely vector. Is this server running PHP? [08:07] keep yourself patched and perhaps be more wary of what you install from 3rd parties. [08:07] besides ssh port, disabling passwords and using keys [08:07] blackflow, no, it doesnot [08:08] Smokie: what public services is it running? [08:08] Smokie: and are you using third party code, PPAs, ... ? [08:08] ryuo, nothing i have from a 3rd party except webmin.. but yeah, its an old system and missing some patches [08:08] ah webmin.... thta thing is a security swiss hole [08:08] always keep your system up to date [08:08] blackflow, no 3rd party code or PPA's besides webmin, insatlled it from scratch [08:08] swiss cheese lol [08:09] ah, an ZNC, from scratch too [08:09] it is? [08:09] :O [08:09] Smokie: so the most likely vector I _think_ would be an RCE through webmin, then second-stage payload through a suid vulnerability, or a kernel vuln. [08:10] Smokie: that's why it's important to figure this out, because if you just reinstall 18.04 but put webmin (or whatever was vulnerable) again, it'll just happen all over again. [08:10] ok.. well.. that sucks... i like webmin cuz it makes it easy for me to manage a linux system [08:10] or 'liked' -_- [08:10] yeah [08:10] !webmin [08:10] webmin is no longer supported in Debian and Ubuntu. It is not compatible with the way that Ubuntu packages handle configuration files, and is likely to cause unexpected issues with your system. [08:11] precisely. [08:12] Smokie: There's a few things you can do with newer 'buntus to protect yourself in the future. Run all services locked down through systemd security options (namespace isolation, seccomp), dont' run them as root, and give them capabilities instead (most likely to bind to port <1000) [08:12] ok [08:12] i need to do a lot of reading [08:13] Smokie: That way at least you can protect services from write access to places they don't need to write, even if they become root through a vuln . Also I run an AppArmor as a secondary layer in addition to systemd mitigations. [08:13] Smokie: in general do as much as you can to keep a W^X system: where services _can_ write, they must NOT execute from. [08:14] ill keep that in mind [08:14] Smokie: and nmap your own ip, see how the public sees your (open) ports/services [08:15] yeah, i did a quick online scan actually just a few mins ago hehehe [08:16] and if you're really paranoid, you can use port knocking to hide services that don't need to be accessible to the general public, like ssh. [08:16] (: [08:16] found my SSH port, webmin port and another port i dont know, 32774 [08:16] Smokie: so webmins, cpanels, and other relics from the past are just that -- relics from the past. They make things easier but they are programs with elevated privilege having tentacles in all parts of the system, with ability to update themseleves (write and change their own code then execute it). Worst, worst kind of application one could be running, in 2019. [08:17] yet they're still super common on shared web hosts. [08:17] particularly cpanel. [08:17] Smokie: ss -4lnp | grep 32774 [08:17] yeah, i do have 2 sites that use cPanel [08:17] ryuo: yeah, btu shared hosts are cesspools of illicit activity these days, primarily due to that. [08:18] one-click PHP app installations, wordpresses and others with super bad security track record, that auto-update (and bring in monsters too) with one click. [08:19] hmm it says its irssi [08:19] irssi should only be making outgoing connections... [08:19] irssi listening? [08:20] wait.. what? i like wordpress :( [08:20] or am i missing something? [08:20] there was a RCE bug in irssi few months ago... did you keep this system updated? [08:20] tcp LISTEN 2 1 *:32774 *:* users:(("irssi",21849,3)) [08:20] blackflow: yeah a recent irssi bug came out [08:21] Smokie: it's okay to run WP, but you have to lock it down tight, its files owned by root, and never allowed to update itself. [08:22] https://usn.ubuntu.com/4046-1/ [08:22] the problem with WP is not WP itself as much as various badly written module. [08:22] lotuspsychje: yes that's just the latest one, but there was a nastier one few months ago, can't remember the deets now. [08:22] Smokie: apt-cache policy irssi [08:23] lotuspsychje, this system is not patched [08:23] its been a while [08:23] some time last year [08:23] but anyway, seems like the attacker have root on this system so anything could be compromised, trojaned, and not due to their own vulns. === imsurit_ofc is now known as imsurit [08:23] blackflow, yeah [08:23] you know what to do Smokie :p [08:24] will read moer how to secure ubuntu before reinstalling to the latest LTS version [08:24] format C: :) [08:24] haha [08:24] Smokie: doesn't require a lot of work to get some decent gains. [08:24] yeah [08:24] Smokie: https://gist.github.com/ageis/f5595e59b1cddb1513d1b425a323db04 [08:24] lotuspsychje: Ok so the upgrade didnt work for my network card :*( [08:24] Smokie: i mostly rely on regular maintenance and locking out SSH for my server. [08:25] this is a server on SoYouStart [08:25] OVH [08:25] http://0pointer.de/blog/projects/security.html [08:25] Smokie: I see. My server is on KimSufi. [08:25] i dont remember if they give the option to isntall from an OS or must use their own [08:25] cart_man: you are on kernel -25 now? [08:25] Smokie: https://medium.com/information-and-technology/so-what-is-apparmor-64d7ae211ed and these three are good starting points for you. [08:25] Smokie: you can install your own, but you need to know what you're doing. i've done it. [08:25] lotuspsychje: Yes -> Maia Transparent [08:25] Linux hpnote 4.18.0-25-generic #26~18.04.1-Ubuntu SMP Thu Jun 27 07:28:31 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux [08:25] mean^^ [08:26] cart_man: ok great, can you pastebin us your dmesg please? [08:26] Smokie: I use OVH too (but enterprise servers, not SYS or Kimsufi). I prefer installing from a debian resuce env with debootstrap. Primarily due to ZFS on LUKS but also due to maximum control of what gets installed and how. [08:26] cart_man: you sure you did not disable network card in bios right? [08:26] just a word of caution with ZFS on OVH, they alter their kernels and keep an older ZFS module in their rescue env. [08:27] Smokie: join #ubuntu-discuss if you need more tips about this. [08:27] ok [08:27] sure [08:27] thanks for all the tips [08:27] its been really helpful [08:28] lotuspsychje: -> https://pastebin.com/39cqYH84 [08:31] cart_man: do you dualboot on that machine? [08:31] lotuspsychje: No I dont [08:33] cart_man: ok, dont see network related issues in there, just alot of acpi issues [08:33] lotuspsychje: acpi issues? [08:33] cart_man: lets try a journalctl -f and plug out/plug in your network cable please and pastebin us the output [08:35] cart_man: you got a firewall? [08:38] lotuspsychje: https://pastebin.com/XVaSGDsg [08:38] I am sure we have a firewall but nothing has changed since this stopped working regarding the firewall [08:39] cart_man: did you plug out your network cable and plugged back in there? [08:39] Yes [08:40] It doesnt seem to do anything though. The green light goes on [08:40] and thats about it [08:40] and I tried two different ports [08:40] I mean [08:40] cables [08:41] cart_man: [ 14.623459] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [08:42] lotuspsychje: If I need ipv6? [08:42] cart_man: is this a direct connection from your modem/router to pc please? [08:43] lotuspsychje: No I connect through a server that handles traffic. also a Proxy. But nothing changed on it though [08:43] everybody elses machines seems to be working fine [08:44] cart_man: its weird we dont see network card errors in your logs, maybe as a test try direct cable from modem to pc [08:44] cart_man: or reboot some devices [08:45] lotuspsychje: This is very strange indeed! Especially since Chrome and some other apps just vanished and now this. [08:45] lotuspsychje: Seems like a format is coming my way -.- [08:45] cart_man: well, not updates systems are a security risk, who knows what happened [08:46] cart_man: you running some kind of services? [08:46] Hmm yea but the servers mostly.. not really my dev machine [08:46] which this is [08:48] cart_man: maybe also check your auth logs [08:48] cart_man: and dpkg logs, as you say packages vanished [08:57] lotuspsychje: Sorry for my ignorance but how do I use dpkg --logs ? [09:29] OK, this is probably a stupid question, but... [09:29] why hasn’t someone made an open-source tool that can change a drive’s filesystem format in place, without erasing the data? === sad_ is now known as sanroot [09:30] Hi should i udgrade to 19 as my current LTS is very stable. Will it break anything . [09:31] (Or: I formatted a flash drive as FAT32 when I meant to format as exFAT) [09:38] cart_man: /var/log/dpkg [09:40] The docker.io package was updated recently to 18.09.7-0ubuntu1~18.04.3. This package now has a dependency on "containerd" and installs version 1.2.6-0ubuntu1~18.04.2. [09:41] I am regularly getting following error: failed to start shim: exec: "docker-containerd-shim": executable file not found in $PATH: unknown [09:41] As far as I could trace back, this is due to containerd being installed together with docker.io [09:42] I want to roll back the unattended update which installed containerd and updated docker, but it seems the previous version of the package is unavailable [09:42] E: Version '18.09.2-0ubuntu1~18.04.1' for 'docker.io' was not found [09:44] Is it possible to install REInstall Ubuntu without losing any data? [09:44] literally just do a fresh install ontop of my alreadt existing OS [09:44] which is also ubuntu [09:45] cart_man: the installation wizard will format the disk. you can saveguard the /home directory if you wish [09:49] cart_man: /home also contains config files of packages, not sure its wise in your case [09:50] cart_man: perhaps make a data backup from your /home to an external, then fresh install again === imsurit_ofc is now known as imsurit [10:36] Would it be possible to add my own key handler to bash, so that pressing ctrl+, will expand to the last file in the current dir? [10:55] how do i enable updating from a repository that doesn't have a release file? [10:56] E: The repository 'http://ppa.launchpad.net/wine/wine-builds/ubuntu bionic Release' does not have a Release file. [10:56] N: Updating from such a repository can't be done securely, and is therefore disabled by default. [10:57] sudo18: you don't. it means it has no packages for you [10:57] ah. [10:57] https://launchpad.net/~wine/+archive/ubuntu/wine-builds [10:57] "!!! PLEASE NOTE THAT THIS REPOSITORY IS DEPRECATED !!!" [10:58] that PPA does not have packages for bionic [10:58] ok then how do i remove it altogether [10:59] i tried sudo add-apt-repository -r [10:59] and the whole url. nada [11:02] nvm. [11:04] I have two SSDs, I have (GNOME) Ubuntu 18.04 on the primary boot SSD. I just installed Kubuntu 19.04 on the secondary SSD, but the installation process seems to have overwritten the GRUB entry for my existing (GNOME) Ubuntu 18.04 installation on my primary SSD. How can I fix that? [11:07] hi, i installed network-manager-openvpn-gnome and network-manager-openvpn but still cannot see the "VPN connection" in menu, what do i need ? ubuntu 19.04 [11:09] I don't even know how to boot back into my old Ubuntu 18.04 installation now. [11:11] k_sze: do you have a live usb of ubuntu? if so, boot it, run boot repair. should fix the issue [11:11] (the old Ubuntu 18.04 installation is on encrypted LVM2 on the primary SSD, this new Kubuntu 19.04 installation is also on encrypted LVM2 on the seconary SSD) [11:12] sudo18, that should also be available on the Kubuntu Live USB? [11:12] never used it but it would be stupid not to [11:12] ok, let me try. [11:12] BRB === dakar- is now known as dakar [12:07] I'm having an issue where if I click a link inside slack the firefox window is grouped under slack in the launcher. [12:09] Has anyone else had an issue like this? Any idea how to fix it? [12:11] andybee, ONLY in firefox? have you tried an alternate browser? [12:11] also ubuntu version? [12:11] I'm on 19.04 [12:12] Hey guys, how can i make a bootable disk on key with ubuntu 18.04 and ssh and lspci installed on it and make those packages and configurations stay on the disk on key [12:12] Firefox is the default browser. [12:12] is that possible ? [12:12] andybee, try chromium-browser [12:12] Okay I'll try making it the default. [12:12] that's not what I said. [12:12] but try it [12:13] I can't choose which browser when I click a link in slack it just uses the default browser [12:13] Same issue with Chromium [12:14] seems like it's a slack issue [12:14] Could it be because Slack is a snap? [12:14] I don't have enough background to make that guess, but my snaps have not altered global system settings ever [12:15] the test would be a non-snap slack installation [12:16] Is there another snap app I could install and click a link inside in order to see if it has the same issue? [12:17] mattermost seems to a slack alternative [12:18] https://tecadmin.net/install-mattermost-mysql-ubuntu-debian/ [12:20] The issue of the firefox window grouping under slack is a known behavior, but I haven't seen if it has been classified as a bug. The issue isn't the Slack app, as much as it is the Snap environment being sandboxed. Because the firefox window is launched in the same process space as Slack, due how Firefox is launched, Firefox appears to be a child process of Slack and the desktop environment groups it with Slack. [12:21] andybee: If it bothers you, I think you can disable grouping on the launcher which would keep this from happening [12:21] @pragmaticenigma, But if I already have Firefox open and then click a link in Slack it opens under Firefox normally/ [12:22] andybee: That is because Firefox is already running. Firefox runs in a way that if something triggers it to launch, it checks for an existing process, if it finds it, it sends the command to the already open instance of the application. [12:23] Okay. I imagine this is an issue with all Slack apps then? [12:23] Hey guys, how can i make a bootable disk on key with ubuntu 18.04 and ssh and lspci installed on it and make those packages and configurations stay on the disk on key [12:23] is that possible ? [12:23] *snaps [12:24] andybee: It would be an issue with any Snap application that hasn't been configured to request permissions to operate outside of its sandboxed environment [12:25] Is it possible to open firefox properly from inside the sandboxed environment? [12:25] thefatma: those applications should already be available in the live iso [12:25] In general. Or does the way snaps work make this impossible [12:26] andybee: There is nothing you can do as a user. The idea of a snap is to have a self contained application that does not impact the host operating system. [12:26] thefatma: those applications should already be available in the live iso [12:28] @pragmaticenigma, Would you consider this a bug? [12:28] pragmticienigma : is this iso meant to be as bootable i assume from its "live" name right ? [12:29] andybee: I would not, it's a cosmetic issue, the I personally wouldn't be bothered by [12:31] thefatma: Either of the downloads here: https://ubuntu.com/download/desktop will supply you with a bootable live instance of Ubuntu, that will include the requested applications. If they don't, you can follow the instructions for creating a bootable USB drive with persistance which you can install packages and they will remain available with the USB drive. [12:35] @pragmaticenigma, I've just had a look at the pstree command and it doesn't look like firefox is a child of slack. [12:35] Yet they are still grouped in the launcher [12:37] And when I quit slack the firefox window stays open but is still under slack in the launcher. [12:39] andybee: Here's a solution, if this isn't what you want there is nothing more anyone can really offer you. It's a cosmetic issue, and even filing a bug it's likely to just go stale and be forgotten: https://askubuntu.com/a/1052673 [12:39] You can use the Dash to Panel extension to ungroup the icons [12:40] andybee: It's already lost traction: https://forum.snapcraft.io/t/slack-opening-file-browser-firefox-and-chrome-in-the-snaps-context/8969 [12:41] Oh well, one can dream! [12:42] Thanks for your help. This sounds like it would be relatively easy to fix but I'm not a Ubuntu/GNOME developer :) [12:42] So I have no idea how difficult it would be. [12:55] What would be the best channel to ask about conjure-up stuff? [12:57] probably best to go to conjure's homepage [12:57] !alis | WNDj24 [12:57] WNDj24: 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" [12:57] Hi, i met recently a problem to mount nfs from a client (ubuntu 16.x) to a nfs server v3 (isilon) : it displays "mount.nfs : protocole not supported". I wonder if it is a problem with the version from the client to try to connect with nfs v4 althought i forced it to use v3. Hae someone already met ths problem ? [12:57] hi [12:58] yesi: That might be a question better suited for the #ubuntu-server channel [13:00] pragmticienigma : Thanks, alot man, could i do with only those following installation as far as you know : linux kernel , initramfs, dhclient, sshd, lspci ? and also maybe ubuntu server will be better then desktop as it comes with less instllation anywyas\ === Riviera_ is now known as Riviera [13:02] Hi All, I've two Ubuntu machines with different configs(kernel, tools, distro version ,,, etc). With the dd command is it possible to have the same contents of host1 on host2? Both hosts are in network.. if so how to do this? [13:02] thefatma: Ubuntu server is for servers, not desktop. I would not recommend installing server edition as it will not include components commonly used in a desktop environment (sound/audio being one component not intially installed and a pain to do later) === dreamscrypt is now known as strive [13:04] pragmticienigma : Yup they don't need sound/audio and desktop environment at all, really really minimal instllation with only kernel , dhclient , lspci , sshd ,lspci [13:09] thefatma: for minimal installation, look into the mini.iso installer. Which allows you to install just the core Ubuntu, and select potential roles for the machine [13:10] the minimal installer will also install an up-to-date system as it downloads the packages from the online repositories instead of from a disk. meaning you won't have to sit through updates after installation. [13:10] pragmaticenigma : thanks, and after the installation is done, i can still do the persisteance thing for certain packages right ? [13:10] !mini | thefatma [13:10] thefatma: The Minimal CD image is very small in size, and it downloads most packages from the Internet during installation, allowing you to select only those you want. The installer is text based (rather than graphical as used on the Desktop DVD). See https://help.ubuntu.com/community/Installation/MinimalCD [13:11] thefatma: I was operating under the impression that this was an install to the computer, not flash media [13:11] Ubuntu server has a live offering as well [13:11] thefatma: https://ubuntu.com/download/server [13:12] oh no my bad, i meant as a qucikboot thing, so i need the "live" version i guess, download it right now [13:13] thefatma: you only need a persistence enabled disk if you need specific package not provided with the live instance. Ubuntu is not intended to be run indefinitely from the live versions. Live versions are intended for installation and/or temporary troubleshooting and repair. [13:14] pragmaticenigma : will im not sure lspci comes defaultly on ubuntu in general [13:15] ill check [13:15] Can you send me a guide of how to burn it to be bootable? [13:15] I have rufus already maybe it can work there also [13:15] !usb | thefatma [13:15] thefatma: For information about installing Ubuntu from USB flash drives, see https://help.ubuntu.com/community/Installation/FromUSBStick - For a persistent live USB install, see: https://wiki.ubuntu.com/LiveUsbPendrivePersistent [13:16] thefatma: https://tutorials.ubuntu.com/tutorial/tutorial-create-a-usb-stick-on-ubuntu#0 [13:29] Hi all, i'm having hard disk /dev/sda: 120.0 GB. Is it possible to clone the entire hard disk to another system? If so how to do this one? [13:35] Hi there. What's your favourite IRC terminal client ? I'm using irssi, but maybe there's available something better? [13:37] this_self: weechat is the other popular one. I personally am too used to irssi to switch to anything else though. [13:37] this_self: irssi here too. [13:41] sub526: Cloning drives can be accomplished with the "dd" command. Easier tools exist. You might want to look into Clonezilla [13:44] hi! any ideas why %c won't work in bash's printf? printf 'bash: %c\n' 64; perl -e 'printf "perl: %c\n", 64'¶ bash: 6 ¶perl: @ [13:50] Hello everyone, i started learning bash scripting today, and i've made a small script (https://pastebin.com/hM0aSiFv) that should resize images when they exceed a certain file size but the issue that i have is that is does all the images and not only the ones who are larger then 2000000 bytes [13:51] Malibucola: you might be better off asking in #bash [13:51] oh thanks leftyfb ill go ask there [13:54] how to remove time display from the top of the screen? [14:04] parak0vsky: you can use gnome-tweak-tool [14:05] where is it there? can't find anything in top bar that can remove it there [14:06] parak0vsky: on the left-side list, select "top bar" [14:06] yes and? [14:06] parak0vsky, you have to install it [14:06] oh, wait, nvm [14:06] i did [14:07] parak0vsky: ah, yes, you are correct. You *cannot*. time will still be displayed [14:08] hide clock did it for me [14:09] from software centre [14:10] parak0vsky: thank you for the pointer to it :-) [14:19] pragmaticenigma : Hey, i've made ubuntu server live, bootable, how do i make certain packages persist on it ? [14:19] Is there any option i can add to tell NetworkManager in ubuntu to LEAVE THE resolv.conf file ALONE? Abit FED UP have to modify the resolv.vonf file and remove the 127.0.0.X adress it suggest me [14:20] !persistant | thefatma: Have you looked that this? [14:20] thefatma: Have you looked that this?: For information about installing Ubuntu from USB flash drives, see https://help.ubuntu.com/community/Installation/FromUSBStick - For a persistent live USB install, see: https://wiki.ubuntu.com/LiveUsbPendrivePersistent [14:21] raidghost: You're not supposed to modify those files, you make your changes in Network manager or netplan, and those propagate into the appropriate areas. [14:22] pragmaticenigma: so what i set in netplan would override the resolv.conf file?? [14:25] pragmaticenigma : not sure which one overthere i need to look at? [14:26] thefatma: I provided links, I suggest you read through those articles. There is no way that you read both of those in 5 minutes from top to bottom [14:26] raidghost: depends on what you are trying to do [14:29] pragmaticenigma: i wantu to keep my 10.0.0.1 as dns and not remove it and add 127.0.0.x instead [14:30] want ubuntu, [14:31] raidghost: Ubuntu since 16.04 sets up an internal caching DNS server, that is why it points itself in resolv.conf to localhost. It is still using your preferred DNS assigned by your home router. [14:32] pragmaticenigma: it is not using my preferred dns server assigned by my home router [14:32] THATS the issue [14:32] raidghost: How can you tell? [14:32] CAUSE dns resolving does not work when ubuntu sets 127.0.0.X in resolv.conf and remove my search raid.lan thingy [14:33] thefatma: are you saying you booted from an ubuntu server ("live") installer and installed to some other (possibly removable) storage, and now you would like to be able to boot from that other storage and be able to have some package installations persist but not others? [14:35] tomreyn : no, i need the packages to be on the bootable aswell , not on some other storage that the USB was connected 2, is that possible? [14:35] raidghost: Are you certain you have "raid.lan" configured in the router as an available search domain? (Depending on your router it may be listed under a different setting) [14:36] pragmaticenigma: YES [14:37] thefatma: probably, but i would not know how. you're effectively trying to "respin" / rebuild the ubuntu 'live' server installer then. ask in #ubuntu-server [14:38] raidghost: Add: "dns-search raid.lan" to your /etc/network/interfaces ... then restart network services [14:38] its allready there [14:40] raidghost: Then it should be working, failing that, you have some other configuration that is conflicting [14:40] So ubuntu figured out that they needed a dns cache local server thingy for desktop? [14:41] Why cant it just be like in windows. It asks for Ip. It gets IP. DNS is dedidcated. Case closed;) [14:42] raidghost: All modern OS's locally cache DNS queries, even windows. They just have different approaches [14:44] raidghost: You came here with an approach that was valid for Ubuntu a few years ago. Things have changed in that time, and the attempt now is to give more friendlier interfaces for managing the network, instead of the oldschool three different tools and a config file approach [14:45] as for why this isn't working for you. I would propose that you spin up a new instance of ubuntu, with this being the only change you make. If that doesn't work, then you know it's an Ubuntu problem. If Ubuntu is working with the setting, then you have a configuration somewhere that is preventing the dns search from working. For me personally, I disable dns search on my routers as it creates too much noise and I've seen the dns [14:45] search queries get forwarded to the up stream provider (Which should NEVER happen) [14:46] thefatma: i can maybe provide a good solution if you can explain why you are trying to do this, how it will be used. [14:48] tomreyn : our product is a PCIe GPU proccessor, there's a test that runs 1000 times a day on a few machines , what makes this slow is that the machines go into full power cycle and then checks if ir recognizes the GPU and then overagain, what they thought of as solution is to make a live usb which will be only used for this test (the machines themslves are used for more then this ) and it will boot faster becasue of very minimal installations [14:49] thefatma: you wrote "checks if ir recognizes the GPU" - is "ir" mistyped? [14:49] tomreyn : it* [14:50] tomreyn : when the machine boots the script checks with lspci if the GPU is recognized [14:50] i love fedora [14:50] -fedora+ubuntu [14:51] thefatma: i see. do you *want* the reboot cycles, or have you considered just a pci bus reset / reloading the driver? [14:52] tomreyn : nope, we want it to cycle [14:53] Stateles2: Welcome, please feel free to join us in #ubuntu-offtopic and tell us all about why you enjoy using Ubuntu. We'd be happy to chat with you there. Thanks! ( /join #ubuntu-offtopic ) [14:53] thefatma: do you have a higher number of test systems there? if so, have you considered a network storage backend, so that you can centrally change how all systems boot / test at once? [14:54] thefatma: Sounds like an opportunity to leverage PXE booting, and sending a minimal boot environment. Also, surely there are other distributions out there that would be faster at booting and launching lspci for you than Ubuntu [14:55] thefatma: my understanding is that so far you're using local storage on each test system, which, with a larger number of test systems, would be tedious to maintain (unless you have some form of central OS deployment, which would also work) [14:57] tomreyn : pragmaticenimga : the requirement of the company/product are very specific and everything is thought through, PXE might be a good option but not right now, i need to deliver it [14:57] Do you guys know how can manage it ? also from windows that is (installing the DOK with the persistent packages) [14:58] Or im not sure how it works, do you boot the os first and then install the packages you need and after that they're saved "persistently" or whatever? [15:01] Why - when I do hdparm -r1 /dev/sdx - to set read-only on my USB stick - isn't it read-only on Windows too? [15:03] thefatma: i don't understand how windows is involved there, yet. your best approach to achieve what i understand you need (so far) is probably preseeding with mini.iso or the *alternative* server installer ("debian installer"). https://help.ubuntu.com/lts/installation-guide/amd64/apbs02.html [15:04] mr_lou: I doubt it. [15:04] thefatma: this doesn't provide you with persistent local storage, but you can always export the data you gathered over a network link. [15:04] If you want a drive with a real write protect, use a SD card or try to find one of the USB drives that has a switch. [15:06] tomreyn : I meant as i want to create it from my windows (the disk on key) , about the pulling from network link that's not an option right now atleast, i need it to have just 3 packages or 4 if kernel is considered a package, dhclient , lspci , sshd , kernel thats all [15:08] mr_lou: that command only flags the device in the OS as readonly, it makes no changes to the physical device. to make a physical usb drive readonly requires a hardware switch on the device's controller board [15:11] thefatma: if you want sshd, this suggests you want to transfer commands and / or data over a network, though? [15:13] pragmaticenigma, So..... even on another Ubuntu PC it won't be read-only either? [15:13] correct [15:14] thefatma: see the d-i preseed/early_command and d-i partman/early_command options in https://help.ubuntu.com/lts/installation-guide/example-preseed.txt for a way to run your custom commands on the preseded installer. there is also a way to install udeb packages, such as an ssh server, and probably a better shell than busybox. [15:14] AbortRetryFail, I would also prefer that. But those are difficult to come by nowasdays. [15:15] Someone should manufactor a USB stick that sets firmware read-only by copying a file onto it. Like... usbsettings.upd plain text file to contain new settings that would take effect... readonly=1 [15:16] pragmaticenigma: ok. /join #ubuntu-offtopic . Can i join using another distribution ? [15:17] mr_lou: Since you've been on this topic for a couple days, what is your end goal? What exactly are you trying to acomplish, perhaps there is a different approach someone can offer you [15:17] Stateles2: Anyone and everyone is welcome to the #ubuntu-offtopic channel. Just remember that community guidelines apply to all Ubuntu affliated channels. [15:18] pragmaticenigma, We make videoalbums on Blu-ray Discs and also a USB version. We just wish to make it more difficult for people do accidentally delete their videoalbum on the USB version. [15:18] It's supposed to be stored for 50-100 years. [15:18] I found out today that Sandisk apparently made the "Sandisk SD WORM" about 10 years ago. Unfortunately it seems to be discontinued. [15:19] pragmaticenigma, and yea... I've spent a lot of time on this... I don't know how to give up. [15:19] It's a flaw I have...... [15:21] mr_lou: If a consumer of your product doesn't take care to back up their copy, that is on them. You shouldn't feel responsible for their decision. While a "switch" is not always present, there are only a few manufactures of the controllers. You probably could find a model that you can take apart and with some soldering, probably set the drive readonly after you imaged it. [15:22] pragmaticenigma, I know it's not my responsibility as such. But it would be a nice service to provide. [15:23] mr_lou: I think what you need to do is find a manufacture/supplier of drives that can source the materials you need. A software solution simply doesn't exist. [15:24] tomreyn : i see, one more thing i forgot to mention, it that i'll probably need to strip down anything unneccesary from the DOK and leave only this 4, how will i save the DOK in this state?, seems to me like its not so possible/convinient , what do you think? [15:24] thefatma: what is a DOK? [15:24] pragmaticenigma, Yea I've thought about that too. Ask some China supplier to create what I'm after. [15:25] tomeryn : disk on key :) ,sorry [15:25] Is font hinting broken in Ubuntu 19.04? I'm using an external display on a laptop (with hidpi), hidpi laptop screen is disabled, but I changing font hinting on the external display (in gnome-tweaks) does absolutely nothing [15:26] help : can anyone perhaps show/tell me a way to increase my screen resolution? I'm running Ubuntu 16.04 and it's saying 'unknown monitor', so my max resolution is 1024x768. How can I increase it? [15:26] thefatma: what'S the purpose of stripping this down as much? [15:26] tomreyn : to make it boot as fast as possible [15:27] tomreyn : the whole idea bottom line is to make it boot as fast as possible? [15:27] When I run xrandr, it only shows as 1024x768 as the max possible anyway :\ [15:27] thefatma: those are different categories. the amount of files or package son a boot media doesn't define how fast or slow it will boot. [15:28] thefatma: do you have a requirement to run your tests on a specific version of ubuntu or just a requirement to test on some specific linux version? [15:31] Firefox 68 is now out and starts rolling out to everyone in 29 minutes [15:32] Hey, Is there any changes between Ubuntu and LUbuntu if i run in terminal mode? [15:33] I mean regarding system process and resources needed. [15:35] DOSfan: what happens when you disconnect the monitor from your KVM switch? [15:35] akem-lnvo, you mean if you switch to a tty at the login screen? The login managers will run, and Ubuntu's might use a bit more RAM. [15:36] pragmaticenigma: Well yes this connection was running at a higher resolution before ... hmm it would take a few minutes to try that .. the reason for the KVM switch is the computer is further away from this 1920x1080 monitor. [15:36] lordcirth, I see, if it's just the login manager i guess it's not much. [15:37] pragmaticenigma: I am going to try installing the actual video card driver, which is a ATI 4200 (older onboard video) .. and see if that helps. OR are you saying if it CAN recognize my monitor it might allow for that screen resolution to be selected? [15:38] DOSfan: Okay, I tried helping you with this the other day. You have to retrieve the supported modes from the monitor directly. The KVM switch prevents this because it does not support the correct PIN outs. Once you have the supported modes, you can then manually create them after reconnecting the KVM switch [15:38] pragmaticenigma: Sorry I did not see you message yesterday .. I came back late and tried looking , my fault. [15:39] pragmaticenigma: ahhh ok I understand that. [15:39] DOSfan: that's okay. I didn't know you had stepped out. that should get you going though :-) [15:39] tomreyn : actually i went now to the software guy and asked him, and he said whatever OS that will boost most fast with initramfs, dhclient, sshd, lspci, linux kernel thats all [15:39] pragmaticenigma: Ok I will reconnect direct to the VGA out ... I wanted to try a different video card but the darn computer doesn't boot for some darn reason. [15:40] tomreyn : could be whatever OS you know of that can boot fastest if thats how it works even [15:40] ok I have to rewire then reboot ... [15:43] thefatmaask in ##linux then. you can definitely find a different distro that is both smaller (storage) and boots faster === jeffrey is now known as kyentei [15:43] mr_lou: that sounds monumentally more complex than a USB device with a write-protect switch... [15:45] ive been dealing with an issue when my laptop goes to sleep and i log back in again it will go back to sleep after a few seconds , does anyone have any ideas ? [15:46] tomreyn : thanks bro :) [15:46] AbortRetryFail: The industry doesn't produce USB drives with a switch anymore [15:46] tomreyn : but as far as you know, is saving a OS in a state after you modified it, is possible? ( to the bootable usb) [15:48] how to install libreadline6 in Ubuntu 18.04.2 LTS? [15:48] thefatma: i don't even know what you mean by "saving a OS in a state after you modified it". there is snapshotting, memory dumping. but discussing these concepts is way beyond standard ubuntu support. [15:51] sub526: if this exsted in any standard package, running apt-file update && apt-file find libreadline6 would tell you which package provides it. [15:51] sub526: libreadline6 is not available for Ubuntu 18.04 [15:52] pragmaticenigma: That's why I suggested an SD card. I doubt the industry produces USB drives with a quirky, complex, file-based write protect mechanism either... [15:53] AbortRetryFail: SD cards also don't have a true readonly feature. The switch effectively asks the OS not to write to the drive. The toggle on the side is not connected to anything internally. An OS can choose to ignore the switch [15:53] tomreyn : sorry i didn't explain myself properly/atall , i mean i need a very light linux distro that will boot fast, and strip and install it to have only few packages which are, initramfs , sshd , dhclient , lspci . make all that into a bootable usb and after we first stripped and installed, save the bootable usb in that state so everytime i plug it in any other computer it will be in the state of only these installation [15:55] thefatma: the "i need a linux distro wtith the following properties" channel is ##linux , not #ubuntu [15:56] but then you're already asking there, too, so i guess you realized this. === longcat is now known as mouses [15:58] Hi, does anyone know why I can't do "cryptsetup luksOpen" in D-I ? [15:59] it just hangs [15:59] waiting on a semaphore [15:59] the command runs, it opens, but it never exits [16:00] provide more context [16:00] Hi Tomreyn, I'm installing Ubuntu 18.04 using a preseed file, at the end of the file I'm using di late_command to run an ansible playbook [16:01] in the Ansible playbook, I have the command "cryptsetup luksOpen /dev/sdb1 sdb1_crypt --key-file /root/some.key [16:01] !server [16:01] Ubuntu Server Edition is a release of Ubuntu designed especially for server environments, including a server specific !kernel and no !GUI. The install CD contains many server applications. Current !LTS version is !Bionic (Bionic Beaver 18.04) - More info: http://www.ubuntu.com/products/whatisubuntu/serveredition - Guide: https://help.ubuntu.com/lts/serverguide - Support in #ubuntu-server [16:01] ^ probably more suitable there [16:01] OK, thanks [16:05] ive been dealing with an issue when my laptop goes to sleep and i log back in again it will go back to sleep after a few seconds , does anyone have any ideas ? [16:06] Lost_Goat, razer ? [16:06] yes [16:06] Lost_Goat, try this : https://help.ubuntu.com/community/RazerBlade#Suspend [16:09] ioria, i will give that a try thanks [16:09] ok [16:11] pragmaticenigma: WORKS! ... Yes on bootup it recoginzed the max resolution, so I got 1920x1200 back again. So your saying I have to manually ADD this resolution somehow so I can switch the cable back to the KVM switch? [16:14] DOSfan: Yes, there is a way to retrieve the supported modes so you can manually install them when you return the machine back to running on the KVM switch [16:17] pragmaticenigma: Well I did run xrandr and it is showing that resulition I want, so I was gong to try and add a CUSTOM mode I guess... I'm just reading ubuntu help articles. [16:17] DOSfan: If you run "xrandr" on the command line, by default it will list all the supported modes [16:17] it shows it yes [16:17] what you need from there is the dimensions and supported refresh rates [16:18] Then you can follow this guide to install those supported modes when you re-install the KVM switch: https://askubuntu.com/a/189364 === kyentei_ is now known as kyentei [16:19] DOSfan: Then you can add the commands to .xprofile which will re-enable them after a reboot [16:20] pragmaticenigma: got it ... thanks for the info, so it's abount the pinouts of the KVM? .. actually I am running 2 of them together, anyway if I have to bypass I can, I just wanted to make sure I get this nice and fat screen resolution. :) [16:20] pragmaticenigma: Well about that .profile / .xprofile?? .. I am reading this page ... http://ubuntuhandbook.org/index.php/2017/04/custom-screen-resolution-ubuntu-desktop/ [16:21] pragmaticenigma: depends on the SD card reader, honestly. [16:21] You could always rig a floppy drive to write to protected disks. :) [16:23] DOSfan: VGA pin 12 is what I believe is how the monitor "tells" the computer what modes it supports (i2c bus line) KVM switches are wired in a way that prevent bidirectional communication (prevents cross talk between the two computers attached to the KVM) === beaky_ is now known as beaky [16:29] pragmaticenigma: Am I supposed to edit the .profile or .Xprofile (which is what you sdain). [16:29] errr said [16:34] pragmaticenigma: Well if I did this right I am adding 2 lines to the .profile. Which are 2 lines : xrandr --newmode ... and xrandr --addmode. So all changes are done, let me see if I can pick it using the KVM .. brb. [16:42] pragmaticenigma: Yes it works, but on boot it's selecting the lower resolution, is there a way in the .profile to select the higher resolution as the default.? [16:43] or perhaps it will remeber that i selected the new setting .. what ever this is working now, thanks. :)) [16:43] you might just need to add a script to execute at login to run xrandr to set the preferred resolution? [16:45] Yes I probably could do that, this computer doesn't get reboot much anyway, I leave it on, so this is great. But I do have another question, this one is more machine specific ... [16:47] I have a Toshiba laptop (M5) that is runing 16.04 just fine, BUT when I put it on suspend, there is usually an 50/50 chance Ubuntu (or the video) is frozen with some bizzare pattern, I always have to hold the power button down and reboot, even on the second time rebooting it's still messed. Usually on the 3rd try Ubuntu restarts, but like I said it's OLNY when I come out of suspend mode. [16:49] Does anyone know how to access skype logs? My /home/user/.config/skypeforlinux/skylib/live/../ doesn't have a main.db in it [16:49] DOSfan: I don't run my machines in suspend to ram mode, I either power them down or use the suspend to disk modes (hibernate) [16:49] I do see FAILED messages on boot about ACPI or the power manager having issues talking to propritary toshiba parts (hard disk power manager failed, etc.) ..I'm thinking iots just the darn laptop (no onboard video, ONLY Nvidia video chip) [16:49] Can logs be accessed online perhaps? [16:49] DOSfan: suspend video issues are usually KMS related. Missing any kernel updates? [16:49] algun: you can try logging into the web client, however, it may require using Chrome browser [16:49] pragmaticenigma: Well I could try that hibernate mode, other computers never do it, just this toshiba laptop [16:50] How does hibernate work on Linux these days? I haven't tried in like 10 years. :) [16:50] so i am trying to rdp into a windows machine from a ubuntu box. been using remmina, but its really slow and glitchy. any other ideas? [16:51] pragmaticenigma, anything to get the logs. But I need them as files, the infinite scroll thingy doesn't work for me. [16:51] wyseguy: remmina's the most compatible RDP client. You could change your RDP session settings to use a lower bandwidth amount, which also reduces your quality a bit of what you see on your end [16:51] @wyseguy, are you using the RemoteFX option? [16:51] wyseguy: try "xrdp" [16:51] AbortRetryFail: No I check for updates daily, but I guess it's ok, it always reboots and doesn't go thpough some error check process, I will try that hibertane mode though. [16:51] i saw somewhere where they said to install that, but dont see the option in remmina software to use that [16:52] pragmaticenigma, Really what I want to do is track time on different project as works (I want to write a program that parses logs and maps skype channels to projects) [16:52] *different projects at work [16:53] it's in the "Color deapth" drop down? I think it defaults to GFX [16:53] A newer release will have newer will have newer kernels. Try a live USB and see if it works reliably before going through the trouble of updating. [16:53] digsoutdeep644 checking [16:54] algun: That would be a topic for another channel, app development is a topic this channel is able to help with. [16:54] digsoutdeep644 ya its on gfx avc444 32bpp [16:54] pragmaticenigma, I really only need logs [16:54] algun: *is not able to [16:55] digsoutdeep644 if i go to terminal and type xrdp it is not installed, so even though the color depth is there, i still need to apt get install xrdp? [16:56] algun: Try looking in "~/.Skype//main.db" instead [16:56] wyseguy: try xfreerdp, iirc that's what Remmina uses under the hood. [16:56] but you get a bit more control with command line options than the GUI shows. [16:57] AbortRetryFail not installed, ill install it [16:57] pragmaticenigma, thanks but I use (the old?) skypeforlinux, the other Skype package doesn't seem to work for me. So it's not ~/.Skype for me it's ~/.config/skypeforlinux [16:57] algun: if that doesn't find it... try "find ~/ -type f -iname '*main.db*'" to see if it is anywhere in the home directory [16:58] algun: Did you even look for the directory, or did you just make an assumption that my suggestion wouldn't work? [16:58] I looked before, yes. [16:58] I also tried updatedb && locate main.db to no avail [16:58] change to RemoteFX, and it should work better, if RemoteFX is supported on the windows box [16:59] algun: then try my second option. (locate requires a cache to be built, it will not "find" anything it doesn't already know about) [16:59] updatedb rebuilds the cache [16:59] digsoutdeep644 windows server 2016 [16:59] but it doesn't hurt to try :( [16:59] oh it's already done. Nothing [17:00] wyseguy: you do not need xrdp, on the ubuntu machine, if you're just connecting to the windows machine [17:00] remmia will due [17:00] digsoutdeep644 okay [17:00] algun: Did you try "find ~/ -type f -iname '*main.db*'" or not? [17:00] I did [17:00] I was genuinely surprised how fast it was [17:00] sarnold i think i found out what the mystery icon from last night is! [17:01] https://github.com/ubuntu/yaru/blob/master/icons/Suru/scalable/status/thunderbolt-acquiring-symbolic.svg [17:01] algun: Then you either do not have logging enabled, or you are using a version that is not using any of the documented storage locations [17:01] I guess I didn't think this was my work PC (has hardly any stuff on it compared to home PC) and it uses an SSD [17:01] pragmaticenigma, I might not have logging enabled, but I couldn't find a way to enable it [17:02] Settings -> Messaging doesn't have an option for logs, the download directory setting is the closest to it [17:02] Settings -> Messaging doesn't have an option for logs, the download directory setting is the closest to it there [17:02] Oops, I forgot I can't edit like this XD [17:03] btw my version is Skype version 8.34.0.78 [17:04] pragmaticenigma, say, can you locate your own main.db? If so, which version do you use? [17:05] algun: I don't use skype on linux... I searched the web to offer some basic suggestions [17:05] pragmaticenigma, I appreciate it, thanks [17:08] GFX RFX works really well [17:08] thaanks [17:11] wyseguy: sweet. glad to hear it. [17:12] anyone have any best practices regarding ubuntu LVM setup in vsphere? My question is specifically about whether i should enlarge the existing disk to expand the LVM or just add another virtual disk and use that to extend the LV [17:19] tehrandom: either one works. Extending the disk can be a challenge sometimes if it's partitioned. [17:45] wificonnection.nmconnection in /etc/NetworkManager/system-connections The file name needs to be = the ssid ? [17:50] !details | fred1807 [17:50] fred1807: Please elaborate; your question or issue may not seem clear or detailed enough for people to help you. Please give more detailed information; for example, we might need errors, steps, relevant configuration files, Ubuntu version, and hardware information. Use a !pastebin to avoid flooding the channel. [17:52] when manually creating connection files, for wifi, the filename of the keyfile, needs to be the same as the ssid? === borbosha_ is now known as borbosha [18:01] fred1807, That's how mine are by default, but I don't think it NEEDS to match, i think that's the connection name that will be displayed though [18:24] Is there a fix for the Firefox 67 audio problems? I could not find anything. [18:24] Hello comrades; I recently installed two GOG games on my Ubuntu computer, and sadly they're somehow locked down for root so I don't know how to play them. Forgive me if this is not the most exciting problem to solve as I am new to this sort of thing, but I don't know what to do. [18:27] im trying to install ubuntu on a lenovo laptop. I made a bootable usb drive by downloading the ubuntu desktop iso and doing sudo dd of= if= command, waiting till it said x bytes transfered, then plugging it into my lenovo laptop and booting it. Now when I press f12 to enter the startup menu, it shows the disks I can boot from. I press enter on USb HDD but it just re-enters the same menu over and over again [18:27] anyone have an idea why this might not be working? [18:32] pizzaiolo: yay! nice [18:33] pizzaiolo: now the question, is it a Good Thing or a Bad Thing for it to just appear every now and then? :) [18:33] Got around it, but thanks for free assistance dear FreeNoders :D [18:33] bilb_ono, I am not sure, but have you tried another way of writing the usb? [18:33] sarnold only shows up when i plug the cable in, and from what i read it might be a sign of a failing component [18:33] so in that regard...very bad :/ [18:33] bilb_ono: You cannot DD the ISO image to the usb drive [18:34] oh well that explains it [18:34] pizzaiolo: oh :( I'd have thought it appearing momentarily when being plugged in wouldn't be a big deal, but I have no thunderbolt devices, heh [18:34] bilb_ono: Follow these instructions: https://tutorials.ubuntu.com/tutorial/tutorial-create-a-usb-stick-on-ubuntu#0 [18:34] links for windows and MacOS are also provided on that page [18:35] honestly i think it just shows up because the cable is plugged in, if it was a serious issue it wouldn't work at all or stay in the icon area [18:35] pragmaticenigma: thanks! [18:45] Tom01: i am not aware of a *generic* firefox 67 audio bug, are you? did you file a bug report you can linkt to, or is there one already? how did you install firefox (apt/deb or snap)? which ubuntu release are you running? [18:46] (it's always helpful to provide such environmental / situational details when you ask your questions here) [18:46] tomreyn: I have not filed a bug report. [18:47] Tom01: did you look for one, though? what is the essence of the issue? and your ubuntu version is? [18:47] After playing a video for some time the sound gets distorted. I am using Ubuntu 19.04. [18:47] Restarting Firefox helps. [18:48] does this happen with other applications, too, such as a music player? [18:48] only with Firefox so far [18:48] how is the music played back in firefox / which format is it? [18:49] alternatively, provide example websites which trigger the issue [18:49] Youtube for example. [18:50] But it takes some time until it happens. [18:51] Tom01: i think you should just file a bug report then, repeating these details. [18:51] !bug | Tom01 [18:51] Tom01: If you find a bug in Ubuntu or any of its official !flavors, please report it using the command « ubuntu-bug » - See https://help.ubuntu.com/community/ReportingBugs for other ways to report bugs. [18:51] tomreyn: ok [18:52] Tom01feel free to point me to the bug report later once you created it (i won't be able to fix it, but maybe i can find a duplicate report which may provide a fix or workaround) [18:53] tomreyn: ok [18:53] Tom01: also be sure to fully update your system and to re-test it before you report the issue. [18:54] Tom01: i.e. run this first: sudo apt update && sudo apt full-upgrade [18:54] tomreyn: will do [19:06] hey all. fresh install of 19.04 and am getting messages during boot time (only concerned with the last two lines) https://pasteboard.co/IndAKYk.jpg I know it's something to do with my wifi card, but I am nervous to install the driver for it since previously the driver causes frequent disconnection whereas the default one does not. [19:07] mr_lou: this is outside the scope of this channel (we can move to #ubuntu-offtopic, ##linux or #ubuntu-discuss if you like) - but just to get you started, this article should explain some concepts and use terms you can research further, to get you started with your read-only USB storage project: https://en.wikipedia.org/wiki/Virtual_CD-ROM_switching_utility [19:08] Oderus: please re-post to imgur.com (if it needs to be an image) or paste.ubuntu.com (if text) [19:10] tomryn: okay [19:11] rtl8821ae: Polling FW ready fail!! [19:11] ready2fail? [19:11] i love that error message [19:12] I will just type it out here. it says : [ 17.166804] rtl8821ae: Polling FW ready fail!! REG_MCUFWDL:0x00070706 [19:12] wasn't sure how to get to the message text since it happens before login and the screen quickly disappears [19:13] some firmware error .. [19:14] Oderus, what you mean with 'install the driver' ? rtl8821ae is in the kernel [19:19] ioria: there exists a driver for it on github that I have installed before, but it causes frequent disconnection [19:19] ah, ok [19:21] ok so I created a bootable usb via these instructions: https://tutorials.ubuntu.com/tutorial/tutorial-create-a-usb-stick-on-macos#6 . Then I plugged it into my lenovo laptop, pressed f12 to enter the boot menu. Then I select USB HDD: USB DISK 2.0 Every time I select it it just refreshes the menu [19:21] like that accesses the menu [19:21] any idea where I went wrong? [19:21] the french friends say something about 5ghrz disabled, or make sure you have the right country setup [19:21] https://forum.ubuntu-fr.org/viewtopic.php?id=2023107 [19:21] couple things. maybe you need to twiddle UEFI settings [19:21] bilb_ono: refresh menu? [19:22] lotuspsychje: well its the boot menu. But when I select the usb option, the menu reloads/refreshse [19:22] doesn’t go anywhere [19:22] Gallomimia: how should they look? [19:22] bilb_ono: wich tool did you use to burn the iso? [19:22] every motherboard is different [19:22] Oderus: let's see some more logs: sudo apt update && sudo apt install pastebinit && journalctl --no-hostname --utc -b | grep ' rtl' | pastebinit [19:23] lotuspsychje: this: https://tutorials.ubuntu.com/tutorial/tutorial-create-a-usb-stick-on-macos#6 recommended a tool called balenaEtcher [19:23] but yeah. find out if its actually bootable first. are you sure you wrote the ISO to the disk and not just a partition? [19:24] Gallomimia: how can I find if its bootable? Yeah I wrote it to the disk using that balenaEtcher tool [19:24] I don’t think that tool even lets you write it to a partition [19:24] not familiar with that one. i just use dd on my mac [19:25] lol pragmaticenigma said you cannot DD the iso image to the usb drive [19:25] Hi, can anyone recommend a notification aggregator for ubuntu? something that plugs into the ubutnu notification events but let's you customize the alerts? [19:25] but I think he/she left [19:25] it works for me. [19:25] bilb_ono: try another usb creator tool perhaps [19:25] ok [19:26] dd requires extreme caution when creating USB sticks. you can overwrite your hard drive [19:26] tomreyn: http://paste.ubuntu.com/p/vy8Xf4q6df/ [19:26] !info inotify-tools [19:26] inotify-tools (source: inotify-tools): command-line programs providing a simple interface to inotify. In component universe, is optional. Version 3.14-2 (bionic), package size 21 kB, installed size 65 kB (Only available for linux-any) [19:27] bilb_ono: if this was system sold with windows either dd or etcher should be fine. balena etcher is helpful in that it can verify the iso was properly written. there may be special tweaks needed to get aroudn the restrictions apple puts in pplace to prevent booting alternative systems. [19:27] thanks [19:27] Oderus: wich kernel are you on currently? [19:27] ew. they did? [19:27] if you actually *get* to a grub menu, doesn't that mean that the USB image writer worked great? [19:28] oh, i didn't see grub mentioned [19:28] sarnold this isn't a grub menu, it's the bios F12 boot selection [19:29] why is the ios disk image that I download 15.51 GB [19:29] is that normal? [19:29] OerHeks: is that a rec for me? [19:29] tomreyn,Gallomimia, oh :( thanks [19:29] something not perfectly clear in bilb_ono's case here is that he's installing/booting a lenovo machine. using a mac to write the iso to USBstick [19:29] tomreyn: 5.0.0-20-generic [19:30] and no bilb_ono that is way huge for an ISO [19:30] hmm maybe I downloaded the wrong one. [19:30] lotuspsychje: Oderus uses kernel 5.0.0-20-generic [19:31] tomreyn: thanks sorry I thought it was you who asked [19:31] Oderus: so does the device work on 19.04 at all by default? [19:31] !info linux-image-generic disco [19:31] linux-image-generic (source: linux-meta): Generic Linux kernel image. In component main, is optional. Version 5.0.0.20.21 (disco), package size 2 kB, installed size 15 kB [19:32] tomreyn: it actually seems to be working well, although i have not done a speed test [19:33] Oderus: so there is no actual issue other than those two errors printed during boot? [19:34] tomreyn: correct as far as i can tell. download is 42.09Mbps upload is 4.44Mbps, ping of 20ms (speedtest.net) [19:36] Oderus: okay, come back when there is an actual functional issue ;-) [19:36] tomreyn: ok, sorry, I thought there was hence the message x.x [19:37] Oderus, there was a speed issue time ago [19:38] Oderus: yes, something is not right there, but several wireless chipsets vendors provide mediocre linux support, and since this one seems to work ok, let's not worry about it too much. [19:38] tomreyn: ioria: thank you [19:39] Oderus, ok, if you're familiar with mainline kernel, you can try 5.2 kern; heard has some realtek improvements [19:39] yes! it worked [19:40] ioria: alright i will give it a shot, thanks [19:40] ok === mathisen is now known as Mathisen [19:42] bilb_ono: how did you fix [19:43] iffraff: can't be, since inotify-tools is about something very different [19:43] I did try a different tool but also I may have been using the wrong iso - I realized the one I was using says its 15GB... [19:44] which is weird because thats exactly how big my usb stick is [19:44] but redownloaded it, made sure it was 2 gb [19:44] tomreyn: ah, thanks [19:44] and used a tool called unetbootin [19:44] bilb_ono: i'm not aware of any 15 GB installer iso. do you still have the file name of the iso you used initially?= [19:45] wow where'd you find a 15 gb iso? :) [19:47] tomreyn: its called the same thing - and recognized as an ISO by os x [19:47] https://imgur.com/a/LZzcgOc [19:48] wat.. did the SHA256SUM verify? [19:51] uh oh. I installed it but when I rebooted after the “installed successfully” message it says: error uknown filesystem Entering rescue mode, grub rescue [19:51] idk trying to sha256sum now [19:56] ok so sha256sum for the first one (the 15GB iso) is 59cd18a02004c325b3b7ad6b079d5c0321ae3bde2a2099574c7e9eb065944857 and the second 2GB iso is 22580b9f3b186cc66818e60f44c46f795d708a1ad86b9225c458413b638459c4 [19:56] so definitely different [19:59] that second one at least matches the sum in http://releases.ubuntu.com/18.04/SHA256SUMS [20:01] tomreyn, Thanks for the link. Was away. Looking now. [20:01] yeah idk what happened. maybe I reformatted my usb with diskutil and then flashed it the iso and then the name of the iso became the name of the usb? [20:02] but in the same location? [20:03] ah ok but i did try and install the ubuntu without deleting everything [20:03] im gonna try wiping everything - seems to always work better.... [20:05] tomreyn, I've read briefly about that before. It doesn't apply to normal USB sticks, but rather a special "U3" stick. But thanks! :-) [20:07] mr_lou, there is a u3 tool to remove that feature [20:07] !info u3-tool [20:07] u3-tool (source: u3-tool): tool for controlling the special features of a U3 USB flash disk. In component universe, is optional. Version 0.3-3 (bionic), package size 17 kB, installed size 48 kB (Only available for any-amd64; any-i386; alpha; arm64; armel; armhf; ia64; mips64el; mipsel; ppc64el; sh4) [20:07] OerHeks, Yes, that's what tomreyn posted about. But that's not what I'm interested in. [20:09] mr_lou, oh oke, there is no other way to put an iso on it AFAIK [20:11] OerHeks, I think you're right. But U3 also seems to have lost support, so.... [20:36] Hi all. My system stopped working properly. Xorg doesn't start and I get right into tty. [20:36] Running service sddm start doesn't do anything [20:37] what video card and driver? [20:37] I can run 'X' and get just a black screen [20:37] and X -configure ? [20:37] at least you get into tty! [20:37] startx ? [20:39] I bought some wireless bluetooth dungle thingy (RHA Cl2) [20:40] tarzeau: yeah :) Well I see this evil thing: http://paste.ubuntu.com/p/5rfTvyRrJr/ [20:40] Its not showing up when i try to scan for bluetooth devices. But when i add my other bluetooth device. It shows up after 3 seconds. [20:40] tarzeau: what the hell is that? (running around screaming) [20:40] Could itr be that the RHA CL2 uses other bluetooth than supported by my HP computer? [20:40] tarzeau: that one I get after I run: X -configure [20:40] OnkelTem: X segmentation faults, it crashes, like guru meditation on amiga [20:41] you have ubuntu 18.04 or something else? [20:41] OnkelTem: do you see anything special in /var/log/Xorg.0.log ? [20:41] tarzeau: yeah, exactly it. But Kubuntu which I suppose doesn't matter in this case [20:41] everything matters :) [20:42] OnkelTem: tell me lspci |grep VGA output please [20:43] tarzeau: http://paste.ubuntu.com/p/jr9rwmsV4r/ [20:44] OnkelTem: you're with nouveau or nvidia binary drivers? [20:44] is that 340(legacy) or 410+? [20:44] what says dkms status ? [20:44] if it's just a line or two, put it here, not pastebin [20:45] tarzeau: I reinstalled drivers just 15 minutes ago using "ubuntu-drivers install". It fetched 430 [20:46] nvidia, 430.26, 4.15.0-52-generic, x86_64: installed [20:46] your card is supported? how old is it? [20:47] i have some old cards at work, they will NOT work with 430, need nvidia-340 [20:47] but usally we go with 1080/2080 11 GB [20:47] Yeah, it's pretty old - maybe 6 years. GTX 980 Ti [20:48] Is it possible to "downgrade" using ubuntu-drivers utility? I rather select specific driver [20:48] Or rather* [20:48] OnkelTem: apt-get install nvidia-340 [20:48] hah [20:48] OnkelTem: it's supposed to be easy, right? [20:49] Come on :) I remember recent times when we had to use some utilities like sgfxi for that. Sort of a black magic [20:49] well, at least *I* used [20:52] OnkelTem: Nvidia does recommemdt the 430 version driver: https://www.nvidia.com/Download/driverResults.aspx/148589/en-us . [20:54] rebooting [20:54] Bashing-om: I install 340 for now. Let's see if it works [20:57] never heard of sgfxi [20:58] flgrx? [21:00] which version should i use for a production server? === im0nde_ is now known as im0nde [21:02] hypercore: server -> production == stability == LTS release . current is 18.04 latest. [21:06] Bashing-om: thanks === im0nde- is now known as im0nde [21:27] #ubuntu+1 [21:27] ubuntu+1 [21:27] yes? [22:03] hey there i'm installing Ubuntu 18.04 LTS on a machine that already has windows 10, the idea being to have a dual-boot machine. I have a brand new SSD drive. Questions. 1) do I need to manually create root and swap file partitions? 2) do I need to change the "device for boot loader installation" ? Ideally, on startup it would default to Ubuntu but I would also have the option in the boot menu to boot up windows 10 instead [22:08] !dualboot | sneakyimp [22:08] sneakyimp: Dual boot instructions: x86/AMD64: https://help.ubuntu.com/community/DualBoot/Windows - Macs: https://help.ubuntu.com/community/MacBookPro https://help.ubuntu.com/community/YabootConfigurationForMacintoshPowerPCsDualBoot [22:09] sneakyimp: 1) you can choose guided partitioning which will automatically shrink the windows partition and install root+swap, 2) probably not. you probably want to install to the root of your main hard drive - e.g. /dev/sda not /dev/sda1 - default option should be fine. [22:11] Bashing-om: thanks for that. However, "Create a swap partition of at least your amount of RAM" doesn't tell me if the swap partition is primary or logical, if i should put it at the beginning or end of the free space, or what mount point I should use for the swap space. Presumably, I format the swap as "swap area" [22:12] rory: I don't need to shrink the windows partition. i have a fresh SSD drive ready to be formatted. [22:12] rory: just wondering how to define partitions on the fresh new SSD [22:13] 18.04 uses swapFILE as standard, so ubuntu will be 1 partition [22:14] sneakyimp: 18.04 will default to making a swap file - if no swap partition is in existence. The installer will take care of that detail. The option "install alongside" will take care of all details :) [22:14] swapoff, live dangerously. [22:16] hihi ubuntu people [22:17] sneakyimp: ^^ "assumes" installing to a presently installled SSD that also has Windows on it. [22:17] OerHeks: i do not understand what you mean [22:18] Bashing-om: "install alongside" appears nowhere in this installatino window [22:18] what would I do about plugging in a usb device, then having it not appear in lsusb? [22:18] the device is a ftdi ft232rl usb to serial adaptor [22:18] Bashing-om: Windows is installed on a separate spinning disk (sda) which has several partitions. [22:18] I am using ubuntu 16.04 [22:18] device is definitely OK, just worked on a windows machine. [22:19] Bashing-om: the SSD, which isn't even formatted yet, is sdb, and the installer is complaining that there's no root partition [22:19] jan, possibly open terminal and watch results when you plug in the device> tail -f /var/log/syslog [22:20] sneakyimp: 2 physical seperate hard drives? Windows installion the 1st and going to install ubunto on the other ? [22:20] Bashing-om: more than 2 drives yes but one spinning drive with windows 10 already installed (sda) which presumably has the boot stuff on it for windows 10 [22:20] oh ok looks like we fixed it [22:20] air gap in cable :/ [22:21] * Jan- plugs in hoping nobody notices [22:21] Bashing-om: and an entirely separate, brand-spanking-new, unformatted Western Digital SSD with 2TB of room [22:21] Bashing-om: so yes. two drives. at least. [22:22] ok so [22:22] I'd like to configure this usb device, baud rate and so on [22:22] in windows I did this with something like "mode COM9 BAUD=2400" etc [22:23] this one seems to be /dev/ttyusb0 [22:24] you'll need minicom, gnu screen or similar [22:24] I should be clear I am doing all this over ssh from windows [22:24] does a command "stty" make any sense here? [22:25] https://help.ubuntu.com/community/Minicom [22:26] stty is not what you want for this purpose [22:28] anyone know how to remove the jail on a user or directory? [22:29] did you mean to /join #freebsd ? [22:29] hmm [22:30] if I cat /dev/random > /dev/ttyUSB0 [22:30] should that just keep sending random numbers forever [22:31] yes [22:31] it'd be a bad idea draining the systems' entropy pool this way, but wehenever it wasn't drained, new random bytes would be sent over the serial link, which could also be a bad idea depending on which protocol is meant to be spoken there, and what is connected on the other end. [22:32] although it'll pause when the system's randomness pool runs empty [22:32] um. [22:32] use /dev/urandom [22:32] the result we actually got was that it sent a very brief burst of stuff [22:32] and stopped [22:32] urandom acts as expected [22:32] it's waiting for you to do random stuff [22:32] what's going on there? [22:33] it collects randomness from timing interrupts etc. and buffers it [22:34] when you read from /dev/random you drain that buffer [22:34] when it runs out it waits for more interrupts [22:34] oh. [22:34] so it's supposed to be a properly crypto worthy random number source [22:34] whereas urandom uses randomness to seed a random number generator [22:34] yeah [22:34] and this system is doing not very much so it didn't have many interrupts [22:35] right [22:35] so /dev/random was very empty [22:35] * Jan- did not know this [22:35] * Jan- has not done linux 101 [22:35] some admins see random and urandom both as not suitable [22:35] some admins see man pages as not suitable [22:35] well it would depend what your system was doing, if it had some sort of predictable interrupt pattern [22:35] but even then sheesh [22:36] that would have to be super predictable [22:37] yeah, it's a problem for devices that need randomness so that they can generate encryption keys [22:37] I get what it's for [22:38] is it me or would a normal pseudo random number generator be A-OK for the vast majority of stuff. [22:38] yes, hence /dev/urandom [22:38] ok unbuntu 18 install failed. I was trying to install to sdb to set up a dual boot system (windows 10 installed on sda) and I get "Unable to install GRUB in /dev/sda1" This is a fatal error [22:39] sneakyimp: Sorry - phone call. 2TB drive :) How much linux experience do you have. as I would indeed pre-partition for ubuntu, Now depending on the ue case is the partition scheme. And with win10 you do want to install in UEFI mode. [22:39] ue/use* [22:40] Bashing-om: a fair amount of linux experience writing PHP code, almost none dealing with hardware and install issues [22:40] Bashing-om: I last installed ubuntu 14 around 6 or 7 years ago [22:41] Bashing-om: I just got "Unable to install GRUB in /dev/sda1" fatal error and am being prompted to choose a different location for GRUB or to canel the install [22:41] cancel the install [22:42] !YY.MM | sneakyimp: Just a side note [22:42] sneakyimp: Just a side note: 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 [22:42] Bashing-om: Linux install in this case is for a software dev machine. I like to install Eclipse or some other IDE and apache and develop website backend code locally.. [22:43] sneakyimp: hmm, that sda1 doesn't seem right; I expect that's the Windows partition [22:43] tomreyn: thanks for correcting me. i had specified specific version above and hoped it would be clear from prior context [22:43] sneakyimp: consider a small ESP boot partition to hold the boot, 50 Gigs for 'root', 100 Gigs for home - and if you do a lot of development work also a seperate /var partition. Then the remainer of the drive - less "provisioning" for what ever data partitions you may want. [22:44] Bashing-om: I do a great deal of dev work and will be copying 500GB or so of data from the old ubuntu machine once i get this 18.04 machine running. I intend to use the entire drive. [22:45] Bashing-om: the problem at hand is where to install GRUB. Also, I have no idea if I'm in "UEFI mode" or not [22:45] sneakyimp: in terminal, what does this tell you> mokutil --sb-state [22:46] deltab: i'm mostly ignorant as to the reason why GRUB would be installed -- presumably as a boot loader so when the machine starts up it knows where to find both Windows 10 and Ubuntu 18.04. sda does indeed contain the Windows 10 operating system, and some other partitions managed by windows also [22:47] jeremy31: EFI variables are not supported on this system [22:48] sneakyimp: now post URL for this command in terminal> sudo parted -l | nc termbin.com 9999 [22:49] jeremy31: that might be tricky. it's an entirely separate machine that's running the install so the url would not be available to this chat session [22:49] sneakyimp: sneakyimp ^^ also Literally running "[ -d /sys/firmware/efi ] && echo UEFI || echo BIOS" will tell you if you're booted via UEFI. Were me I would install ubuntu boot code to the drive that contains the ubuntu operating system - and in the bios choose to boot that drive, ubuntu then can chainload Windows, This way the Window's boot code is not touched. [22:50] sneakyimp: then see if sudo parted -l shows a EFI system partition on the Windows drive [22:50] Bashing-om: OK that sounds like what I had done before. the UEFI issue is still unresolved. Evidently I'm not in "UEFI mode?" [22:51] jeremy31: it does on sda1 [22:51] Hello I have some issues with 19.04 [22:51] I have luks on my drive and after entering the correct password [22:51] would lsblk be suitable? [22:51] i get error message "waiting for encrypted source device" [22:52] and the device UUID [22:52] sneakyimp: You long term really want the benifits of EFI. Make sure you boot the installer in EFI mode. [22:52] so is there a way to fix it or the easy way is fresh install [22:52] sneakyimp: reboot, go into BIOS/UEFI settings and set it for UEFI only, no Legacy/CSM/BIOS [22:53] Jeremy31: OK the bios does have some stuff along those lines. I remember having some difficulty with the BIOS when windows decided to update something. [22:54] Bashing-om: aw ok will go fiddle with BIOS [22:55] sneakyimp: 4096 sector sizes means faster through-put .. and GPT partitioning for 128 partitions :) [23:02] Bashing-om: lolwut? [23:03] Bashing-om: aaaahhh i think you meant the benefits of UEFI. I doubt I'll ever need 128 partitions. That sounds like tweaker madness. 4096 sector sizes? I don't follow. [23:04] sneakyimp: 2 of the advantages of EFI :P [23:04] Bashing-om: i was under the impression that you can choose disk sector sizes when formatting a drive [23:06] sneakyimp: MBR (legacy) partitioning is a secor size 512 - more blocks from EFI - faster ! [23:08] Do you guys by any chance have an idea about my problem ? [23:08] jeremy31: Bashing-om: OK I rebooted (the BIOS had an option for "UEFI-optical drive" or something. [23:08] now the mokutil --sb-state command says "SecureBoot enabled" [23:12] ncuxo: do you have only the one drive? [23:13] I have this drive and a second drive as snapshot device for backup [23:13] during instalation the snapshot drive was removed [23:15] I thought maybe the encrypted drive was not available (e.g. disconnected) but that can't be if it's the same drive you've booted from [23:15] I've just entered the encrypted drive and transfered the files to the snapshot drive [23:15] so no the drive is functional [23:15] Bashing-om: I'm pretty disappointed I was not given the option to encrypt the SSD drive's contents. I understand that it's not possible to wipe an SSD drive if you wanted to sell your computer or something https://ssd.eff.org/en/module/how-delete-your-data-securely-linux##SSDs [23:15] whit live usb it is working fine [23:16] I just can not boot from it [23:16] so some problem with the boot loader config, I guess [23:17] yes unfortunately [23:17] sneakyimp: just remove the SSD then before selling [23:17] I found simmilar problem on the ask ubunty forums but there was no resollution [23:17] plus it was for v12 [23:50] what's the repository url for nodejs v12? [23:52] !info nodejs [23:52] nodejs (source: nodejs): evented I/O for V8 javascript. In component universe, is extra. Version 8.10.0~dfsg-2ubuntu0.4 (bionic), package size 4731 kB, installed size 17586 kB [23:52] we only know urls where the domain part ends in ubuntu.com [23:54] hypercore: more to the point, this channel focuses its attention to offical Ubuntu Desktop OS flavors and the default software repositories that are provided. [23:56] Bashing-om: jeremy31: hullo hullo are you receiving? this is an attempt from the new ubuntu 18.04 machine woop woop [23:56] ok [23:58] sneakyimp1: So it works? [23:59] jeremy31: as far as I can tell. i rebooted the machine and saw the purple ubuntu menu to choose the boot -- windows boot was an option which i will test shortly [23:59] jeremy31: any suggestions about how to make sure i have an optimal partition scheme on this ssd drive?