[00:00] <rfm> EliterFFC, Windows settings are off-topic here, but there are a bunch of settings that disable network file sharing, try a web search for something like "windows 10 turn on file and printer sharing"
[00:05] <JiZhanHuang> Hello
[00:07] <JiZhanHuang> Could someone recommend (combinations of) books or study materials that both introduce Computer Science and Ubuntu Linux?
[00:07] <JiZhanHuang> Please
[00:07] <riotz> lol
[00:08] <JiZhanHuang> I am a newbie but I am using Ubuntu now
[00:08] <riotz> yeah we can see that from your question
[00:08] <riotz> computer science has not much to do with the operating system youre using
[00:10] <JiZhanHuang> okay thanks...
[00:11] <riotz> but well.. welcome to the better side of life! :)
[00:11] <EriC^^> JiZhanHuang: mit has open courseware
[00:11] <JiZhanHuang> oh. so what i need is actually documentations of Ubuntu?
[00:12] <EriC^^> also maybe check udemy for linux courses
[00:12] <riotz> yeah.. or linux documentation
[00:12] <riotz> debian will do great aswell.
[00:12] <riotz> or simply get a linux commandline book that will help you to get up and running with the most important commands
[00:16] <JiZhanHuang> thanks all :)
[00:20] <JiZhanHuang> So for newbie like me, the 1st step is just like to learn how to drive a car but no need to learn how the car is manufactured.
[00:21] <JiZhanHuang> :)
[00:21] <riotz> yeah kinda.. you first learn to drive the car and maybe manufacture a car seat
[00:21] <riotz> or a door before going for the whole thing
[00:22] <JiZhanHuang> thanks :)
[00:22] <riotz> and driving cars is pretty much different then manufacturing a seat
[00:23] <riotz> so you wont find many books helping you with both at once.. you need two books
[00:23] <riotz> :D
[00:28] <JiZhanHuang> oh you mentioned Debian documentation and Ubuntu Documentation are compatible and both helpful?
[00:30] <riotz> more or less compatible yes
[00:30] <riotz> so if you dont find your answer with ubuntu keyword try debian
[00:31] <riotz> but you probably better start with something like this https://ryanstutorials.net/linuxtutorial/
[00:35] <Bashing-om> !manual | JiZhanHuang
[00:37] <JiZhanHuang> wow thanks Bashing-om :) but this laptop is 32-bit and have upgraded to 18.04
[00:38] <JiZhanHuang> have been*
[00:40] <Bashing-om> JiZhanHuang: Basic premises remain the same , just different buttons .
[00:41] <Bashing-om> JiZhanHuang: except networking .. a big change in 18.04 .
[00:42] <bray90820_> Is there any way to swipe through full screen apps?
[00:42] <bray90820_> *Fulldcreen
[00:42] <Toadisattva> alt+tab?
[00:43] <bray90820_> Any way to get back to the desktop/ have multiple full screen apps open at once
[00:43] <JiZhanHuang> and i wish to ask: what is the alternatives to Adobe Acrobat Pro XI providing functions most similar to Acrobat?
[00:44] <bray90820_> What I really want is one Fullscreen app in a workspace
[00:46] <Toadisattva> you can do multiple desktops and switch between them, I don't know the shortcut for that offhand though
[00:46] <bray90820_> Control+Alt+Up
[00:47] <bray90820_> Now if I could have the desktops be left and right instead of up and down everything would be perfect
[00:48] <JiZhanHuang> What is the Linux alternatives to Adobe Acrobat Pro XI that providing functions most the same as Adobe Acrobat Pro XI?
[00:56] <Tin_man> doubt you going to get that close of an alternative.  they are general alternatives.. Try https://alternativeto.net/
[00:57] <Tin_man> you're*
[01:03] <Tin_man> JiZhanHuang, might try https://code-industry.net/masterpdfeditor/
[01:06] <JiZhanHuang> wow cool i haven't googled out that. thanks Tin_man :)
[01:06] <Tin_man> no problem, hope it's what you can use
[01:15] <MannyLNJ> Question: I have a hard drive in a http://iodd.kr/wordpress/product/iodd-2531/ which I have various ISO images to boot systems from. I want to add i-nex to the Xbuntu ISO's so I can do benchmarking from a live CD. What is the easiset way to do this? Some places I will be at I won't have internet access so don't say install it to the live cd each time. I can't use an ISO with persistance because the drive looks for a folder
[01:15] <MannyLNJ> named ISO and then each ISO in it is treated as a DVD image.
[01:21] <rfm> MannyLNJ, there are instructions for how to create a custom live CD in https://help.ubuntu.com/community/LiveCDCustomization but I don't know how up-to-date it is
[01:25] <MannyLNJ> rfm, thanls
[01:26] <rfm> MannyLNJ, but it might be easier just to download the .deb files you need to install the other software to the portable disk and install them every time (wouldn't need net access)
[01:28] <MannyLNJ> rfm You gave me an idea.  Can you tell me how to install the .deb after it is downloaded? I only know how to use apt-get to install
[01:28] <rfm> MannyLNJ, "dpkg -i path-to-the.deb
[01:31] <qwefytuoityty> ?
[01:31] <MannyLNJ> rfm, thanks but my idea failed. I was going to edit the Live CD ISO with ISO Master and add the file to the desktop but I can't directly do that
[01:48] <kunta> hola everyone
[01:50] <kunta> I'm having trouble with formatting a USB drive, can anybody give a hand?
[01:50] <kunta> Using Lubuntu
[01:53] <Dreaman> lubuntu channel
[01:54] <Dreaman> ask
 I'm trying to format a USB drive using Gparted. It appears to have 29.10GB of unallocated space (32GB drive) and when I try to create a new partition it asks to create a partition table first - but whenever I try and do that the following errors appear (for both GPT and msdos table types ) : 1. Libparted error - Input/output error during write on /dev/sdc | 2. Could not stat device /dev/sdc - no such file or directory.
[02:04] <kunta> Does anybody know how to fix this?
[02:33] <kumul> it seems like it unmounted on its own?
[02:33] <kumul> oh, left
[02:33] <cfhowlett> try a different drive
[02:33] <kumul> cfhowlett, left
[02:57] <fredlinhares> Hi! I am trying to use SDL2 to create an app (libsdl2-dev), and I get "No Vulkan support in video driver" when using SDL_Vulkan_LoadLibrary.
[02:57] <fredlinhares> Was SDL2 built without Vulkan?
[04:01] <dman777> how do I give my non root user access to /dev/tty0 so it can start X?
[04:16] <ekshunya> hi, I installed wine, using "sudo apt install wine", couldn't find it's icon.
[04:16] <ekshunya> anyone help regarding this?
[04:19] <Ben64> ekshunya: explain what you're trying to accomplish
[04:21] <ekshunya> Actually, my friend uses wine, he install windows software by wine... he said "software was installed, but he doesn't know how to uninstall them, he said he couldn't find it's even icon"
[04:22] <ekshunya> then i tried, I install on my system. and I also couldn't find its icon.
[04:22] <ekshunya> so i can open it and do installation and uninstallation from it.
[04:24] <aidrocsid> Can anyone point me toward a bootable USB making utility that works in Ubuntu?
[04:25] <aidrocsid> Preferably without having to use WINE
[04:26] <lotuspsychje> aidrocsid: the ubuntu usb creator
[04:27] <aidrocsid> Oh awesome, thanks!
[04:27] <Bashing-om> aidrocsid: also: http://ubuntuforums.org/showthread.php?t=1958073 <-sudodus/Howto make USB boot drives
[04:40] <joshumax> Hey, does anyone know if there's any sort of "inverse wubi" that loop mounts an NTFS image from a Linux partition and bootstraps windows from that?
[04:47] <lotuspsychje> joshumax: wubi is depraced, what are you trying to do exactly?
[04:49] <joshumax> lotuspsychje: I'm not trying to get wubi unfortunately. My daily driver is 18.04 and I have my partition scheme juuust right. However I need to access Windows to play a game that requires beyond what Virtualbox can support. I was wondering if there was a tool to boot Windows, from an image, inside an ext4 partition?
[04:51] <lotuspsychje> joshumax: i think duaboot would be the more usefull option
[04:51] <lotuspsychje> joshumax: i have seen an online virtual game emulator once online, but i forgot its name
[04:52] <lotuspsychje> joshumax: see also wine, playonlinux,steam and the #gamingonlinux community
[04:52] <joshumax> lotuspsychje: Funny story, I'm actually a full-time Wine dev
[04:52] <joshumax> Unfortunately the game I'm trying to play is sea of theives
[04:53] <joshumax> Which requires a host of UWP support libs and is heavily encumbered by DRM
[04:53] <lotuspsychje> right
[04:54] <cfhowlett> !ping
[04:54] <lotuspsychje> morning cfhowlett
[04:54] <cfhowlett> yowza ^# lotuspsychje!
[04:54] <lotuspsychje> joshumax: think best bet will be dualboot
[04:54] <joshumax> lotuspsychje: Arrrghhhhhh... I was hoping to avoid repartitioning :/
[04:56] <lotuspsychje> joshumax: you could ask in #gamingonlinux if they know a way for your game..but i doubt
[04:56] <joshumax> lotuspsychje: Hmm...know anything about paperspace?
[04:58] <lotuspsychje> joshumax: check this https://gaming.liquidsky.com/ or lookup other cloud gaming services
[05:35] <yelowfish> hi all.is it possible to password protect (not encrypt) a folder that is located on ext. drive?
[05:41] <Tin_man> You can just change the directories permissions to 700 (which equals to rwx------ which means no access at all for everybody, except full access for the owner). This INFO FROM >>> https://askubuntu.com/questions/613517/is-there-a-way-i-can-password-protect-a-folder-without-encrypting-compressing
[05:43] <yelowfish> Tin_man, i think i read that before.tested it already.not working
[05:44] <Tin_man> yelowfish, how did you test, that it didn't work? (I don't know my self) I use 7-Zip, and password the folder (but it encrypts it)
[05:45] <yao_ziyuan> a bad sector has been found and marked as bad on my mechanical hard drive. which tool can tell me the number of that bad sector?
[05:45] <yelowfish> Tin_man, tested it on an external drive
[05:46] <Tin_man> wonder why it didn't work. Because it's a external drive?
[05:48] <yelowfish> im avoiding encryption..password protect will do
[05:48] <yelowfish> thats what i thought too
[05:49] <Tin_man> for my regular docs i use Libre Office Writer, which you can password protect, but I think it encrypts also..
[05:50] <yelowfish> yes,im doing that as well.but i want the whole folder with mix contents
[05:51] <Tin_man> I don't know of a way, maybe a 3 party software out there somewhere.
[05:52] <yelowfish> Tin_man, tnx man
[05:52] <jas> i just zip and then openssl enc -e -aes-256-ctr ...external drive might possibly ignore permissions
[05:52] <jas> asks for a password
[05:52] <jas> so i guess password+encrypt
[05:52] <Tin_man> np
[05:53] <yelowfish> jas il consider that
[05:54] <jas> openssl enc -e -aes-256-ctr -in /home/you/file -out /home/you/encrypted
[05:54] <Tin_man> yelowfish, have you tried setting permissions on your Hdd, and then copying to external?
[05:54] <jas> for decryption -e becomes -d
[05:55] <jas> not the simplest solution but pretty damn secure :D
[05:57] <lotuspsychje> yao_ziyuan: smart test with disktools
[05:58] <yao_ziyuan> lotuspsychje: you mean the tool called "Disks"?
[05:58] <lotuspsychje> yao_ziyuan: yes
[05:58] <yao_ziyuan> i'm viewing the smart data with "Disks".
[05:58] <yao_ziyuan> it tells me that one sector is pending reallocation.
[05:59] <yao_ziyuan> but doesn't tell me which one.
[05:59] <lotuspsychje> yao_ziyuan: can you pastebin the report to the channel volunteers might having a look
[06:00] <yao_ziyuan> 1 sector is currently pending rellocation. that's the only bad smart attribute.
[06:01] <yao_ziyuan> ok, which sector that is doesn't matter to me...
[06:01] <lotuspsychje> yao_ziyuan: you can ask about that in ##hardware if you want
[06:01] <yao_ziyuan> it's all managed by the disk, right?
[06:12] <laughingtiger> I've got a strange problem, three days ago, I tried ubuntu 18.04, the sound was ok, but now I tried it again, got no sound.
[06:13] <laughingtiger> debian, linux mint, kde or cinnamon, all no sound .
[06:13] <laughingtiger> how can I have sound on ubuntu three days ago, but havn
[06:13] <laughingtiger> havn't it now?
[06:15] <laughingtiger> I gotta eat sth,starving to death. this is really strange, first I got no sound on debian, then I tried ubuntu live, had sound, then today even ubuntu have no sound.
[06:16] <laughingtiger> any kind of help is truly appreciated.
[06:21] <lotuspsychje> !sound | laughingtiger
[06:22] <lotuspsychje> laughingtiger: probably a kernel issue there
[06:23] <lotuspsychje> laughingtiger: to debug, you might wanna lookup your dmesg/syslog logs
[06:38] <laughingtiger> lotuspsychje, sorry I went out
[06:39] <laughingtiger> lotuspsychje, everything has been checked I still can't understand why three days ago, ubuntu gave sound but now it is the same with debian or mint.
[06:41] <laughingtiger> also, why ubuntu 18 has no proprietary driver section in settings like before?
[06:43] <EoflaOE> DO you mean "Software & Updates" "Additional Drivers" tab?
[06:44] <laughingtiger> EoflaOE, thanks I will check that out
[06:44] <EoflaOE> laughingtiger: You are welcome.
[06:45] <RoscoePColtrane> laughingtiger: are you chatting from the computer right now?
[06:46] <laughingtiger> RoscoePColtrane, yes
[06:46] <RoscoePColtrane> laughingtiger: in terminal>  sudo apt install inxi
[06:46] <RoscoePColtrane> laughingtiger: let me know when done
[06:46] <OnceMe> i cant install ubuntu on my acer aspire laptop... it had linpus installed
[06:46] <OnceMe> I could probably install it in legacy boot mode, but I need windows in dual too, so I need to use UEFI
[06:46] <OnceMe> BIOS version is 1.11
[06:47] <laughingtiger> RoscoePColtrane, should I put the output of inxi here?
[06:47] <EoflaOE> Outputs to pastebin
[06:48] <RoscoePColtrane> laughingtiger: in terminal>   inxi -Fxxprzc0|nc termbin.com 9999
[06:48] <RoscoePColtrane> laughingtiger: share url/link here..if you do not get a url/link...say so
[06:49] <laughingtiger> RoscoePColtrane, http://termbin.com/x6au
[06:50] <RoscoePColtrane> laughingtiger: amixer > nip.pir
[06:50] <RoscoePColtrane> laughingtiger: aplay -L >> nip.pir
[06:50] <RoscoePColtrane> laughingtiger: aplay -l >> nip.pir
[06:51] <RoscoePColtrane> laughingtiger: cat nip.pir|nc termbin.com 9999
[06:51] <RoscoePColtrane> laughingtiger: share url/link here..if you do not get a url/link...say so
[06:53] <laughingtiger> RoscoePColtrane, http://termbin.com/aed4
[06:54] <cim209> wow kubuntu is still 600mb left alone all day
[06:54] <OnceMe> can someone help me?
[06:55] <cim209> OnceMe, you need a boot loader
[06:55] <OnceMe> ok, and how do I do that?
[06:56] <cim209> OnceMe, why can't you install ubuntu on a laptop?
[06:56] <cim209> you've given zero insights
[06:58] <laughingtiger> RoscoePColtrane, could this be a hardware malfunction?
[06:59] <RoscoePColtrane> laughingtiger: speaker-test -Dplug:front -c2
[07:00] <RoscoePColtrane> laughingtiger: explain what occurred when you ran the command above
[07:01] <OnceMe> https://pastebin.com/Wx5nhiJg I hope this is clear enough
[07:02] <laughingtiger> RoscoePColtrane, some output but no sound.
[07:04] <RoscoePColtrane> laughingtiger: speaker-test -sysdefault:PCH -c2
[07:04] <laughingtiger> it repeating the time interval
[07:05] <RoscoePColtrane> laughingtiger: speaker-test -Dsysdefault:PCH -c2
[07:06] <laughingtiger> RoscoePColtrane, this command gives an error, says "-s invalid argument"
[07:06] <laughingtiger> speaker-test 1.1.3 "-s option invalid " or sth like that.
[07:07] <OnceMe> any help?
[07:09] <RoscoePColtrane> laughingtiger: try this one
[07:09] <RoscoePColtrane> laughingtiger: speaker-test -Dfront:PCH -c2
[07:10] <RoscoePColtrane> laughingtiger: your sound isn't muted, you might try to determine if you have sound booted to livecd/liveusb to rule out anything you may have installed or done post installation that may have borked your sound capability
[07:10] <RoscoePColtrane> laughingtiger: you should have heard sound at least once by now
[07:13] <laughingtiger> RoscoePColtrane, the same with the first speaker-test command. I heard no sound so far. I've tried live usb, like I said, three days ago, live version gave sound but now it doesn't.
[07:17] <laughingtiger> RoscoePColtrane, idk what's happening. but thank you anyway. probably this computer should be sent back.
[07:28] <OnceMe> help me mpeople
[07:30] <lotuspsychje> !patience | OnceMe
[07:31] <lotuspsychje> OnceMe: instead of repeasting for help, try to re-ask your question once in a while to the channel (all-in-one line) with all your details
[07:32] <OnceMe> https://pastebin.com/Wx5nhiJg - question
[07:33] <lotuspsychje> !uefi | OnceMe start here, read carefully first
[07:33] <OnceMe> I read that last night
[07:35] <lotuspsychje> EriC^^: one for you ^^:p
[07:36] <OnceMe> in fact EriC^^helped me install and resolve this issue on my pc (that was 2 years ago), but now Ive got a new laptop
[07:36] <OnceMe> and Im booting in uefi mode and everything, but grub cannot be found from some reason
[08:21] <demu> what is the meaning of  "shadows" in the context "completely shadows a file with same name in /etc/netplain"
[08:51] <RoscoePColtrane> demu: you mean /etc/netplan don't you?...instead of "plain"
[08:53] <demu> RoscoePCltrane: yes
[08:55] <cfhowlett> !ping
[08:55] <demu> https://netplan.io/reference section "General structure"
[09:12] <ducasse> demu: ask the author(s) of that document, it's not an ubuntu support question
[09:15] <demu> ducasse: thx!
[09:16] <ducasse> demu: you can try #netplan, for example
[09:16] <demu> ducasse: I will tomorrow, it is getting late. thx again!
[09:17] <ducasse> demu: np
[09:36] <bobdobbs> My system is running both php7.1 and php7.2.  I'd like to enable the curl module for 7.1. However, on nmy system the command 'phpenmod' is intercepted by php7.2
[09:37] <bobdobbs> Is there another way I can enable the module? Like, I figure that the command 'phpenmod' does some stuff that I can probably do myself manually
[09:38] <blackflow> bobdobbs: yes, symlinks somewhere in /etc/php...
[09:38] <blackflow> I don't have access to a php installation right now to check but it's basically symlinking, like apache sites-enabled and sites-available are symlinking.
[09:39] <bobdobbs> oh yup
[09:39] <blackflow> $1M question tho: why do you have two PHP versions like that in the same namespace... what problem does that solve.
[09:39] <bobdobbs> ikr
[09:39] <bobdobbs> this is my local webdev environment and I honestly have no idea how or why I have two php's installed
[09:39] <bobdobbs> oh, I think I remember
[09:39] <blackflow> so why not drop 7.1
[09:40] <bobdobbs> I had 7.1 and then upgraded. But the upgrade broke some stuff. I can't remember which stuff.
[09:40] <blackflow> doesn't sound like you have regular ubuntu installation theere, in which installing both at the same time would not be possible
[09:40] <bobdobbs> I've got apache using php7.1 via fpm. But if I remove that, and push apache to use 7.2 I might have to install and maybe even conf a bunch of modules
[09:40] <bobdobbs> so for the moment I'd rather just keep using 7.1
[09:41] <blackflow> bobdobbs: apache via fpm doesn't care about php version
[09:41] <blackflow> it's fastcgi, and httpd doesn't care what's on the other side of the socket
[09:41] <bobdobbs> oh yup. I getcha
[09:41] <bobdobbs> It wasn't apache that broke. It was the apps using it.
[09:41] <blackflow> which ubuntu is this?
[09:41] <bobdobbs> 18.04
[09:42] <blackflow> well 7.2 is the standard in bionic, so normal package installations should all just work with 7.2. if you have 7.1 there you've broken it.
[09:43] <blackflow> and php apps shouldn't break on switch from 7.1 to 7.2, unless they're relying one of these:   http://php.net/manual/en/migration72.incompatible.php
[09:50] <bobdobbs> yeah, they shouldn't have broken.  It was so long ago.
[10:17] <bobdobbs> ok, so I couldn't figure out how to enable php-curl for php7.1. So maybe I should properly switch to php7.2 after all. How do I get php7.1-fpm to stop intercepting php requests, and get php7.2-fpm to take over?
[10:20] <bobdobbs> oh wait.   Why?
[10:53] <EoflaOE> have you used the power button and keyboard/mouse to wake the computer up?
[10:55] <R13ose> EoflaOE: I think so
[10:56] <EoflaOE> and none of them wakes the computer up (not turning on to switch users screen)?
[10:58] <R13ose> Yep.  I can't tell why.
[10:59] <EoflaOE> Looking up the reason of the issue...
[11:01] <EoflaOE> actually I have to eat food and look up the issue
[11:03] <R13ose> Thanks
[11:04] <EoflaOE> You are welcome
[11:23] <BluesKaj> Hi folks
[11:24] <R13ose> Hi
[11:25] <dariken> can't get dualboot to work on 18.04, trying to put on different ssd than windows and it always goes to grub prompt
[11:25] <dariken> both fedora and centos worked fine
[11:47] <littlejohnny> Hi, after installing and configuring nullmailer, logically i would receive emails from "*** SECURITY information for hostname" myuser@mydomain.com(eg. if there has been a user authentication failure). mydomain.com is set under/etc/mailname but how do you change the 'myuser' part? anyone know how to change that sender address when these emails get sent out from the system?
[12:01] <TJ-> littlejohnny: isn't the myuser@ the username used to authenticate to the MTA (SMTP server) nullmailer is connecting to?
[12:02] <BluesKaj> dariken, run sudo update-grub on on one of the other dustos and it will thwn include ubintu in grub's menu ,
[12:02] <TJ-> littlejohnny: otherwise, it's in the "From:" field of the email file being generated that is passed to nullmailer
[12:02] <BluesKaj> err distros
[12:04] <TJ-> err: not enough coffee
[12:04] <BluesKaj> yeah TJ- , going for my 2nd cup :-)
[12:05] <littlejohnny> TJ-, no, the myuser@ is the user of ubuntu.  Yes its probably in that "From: " field of the email file being generated but how can i find that file to change the from field?
[12:05] <littlejohnny> TJ-, basically its root sending out those mails. but i want to change the FROM address
[12:05] <TJ-> littlejohnny: I'm not familiar enough with nullmailer; I was advising from reading the docs. I presume you need to look at whatever is generating the email that is being sent :)
[12:06] <TJ-> littlejohnny: is it perhaps using an email template file?
[12:06] <littlejohnny> TJ-, nullmailer is just a sendmail emulator
[12:07] <TJ-> littlejohnny: I know - so what is actually creating the email that nullmailer is sending? That's where you need to look.
[12:07] <littlejohnny> TJ-, not sure.  I thought it would be grabbing the user from gecos field /etc/passwd but i dont know now
[12:08] <TJ-> littlejohnny: apparently it is 'sudo'
[12:09] <ioria> littlejohnny, don't you have a /etc/nullmailer/adminaddr   file ?
[12:10] <littlejohnny> ioria, yes and thats the email it sends TO. not sends FROM.
[12:12] <TJ-> littlejohnny: the message is from sudo, the subject is hard-coded. I'd presume it'd be sent from root@hostname - is that what you see ?
[12:15] <littlejohnny> TJ-, sometimes i see root, sometimes i see myUbuntuUser@hostname which is what i want to change
[12:15] <littlejohnny> depending on which user made the authentication failure
[12:17] <TJ-> littlejohnny: see "man sudoers" and the sections about the options mailto, mailsub, mail_badpass and others - I don't see any mention of being able to set the mailfrom
[12:18] <TJ-> littlejohnny: sorry, yes I do! it has a "mailfrom" option which says "mailfrom      Address to use for the “from” address when sending warning and error mail..."
[12:18] <littlejohnny> TJ-, thanks but how do i configure or change that?
[12:19] <TJ-> littlejohnny: read "man visudo"
[12:23] <jas> @c2f 39
[12:23] <jas> 102°F
[12:35] <EoflaOE> R13ose, is your hard drive SATA? If so, what is your SATA mode?
[12:36] <R13ose> EoflaOE: I am not sure.  How do I check?
[12:38] <R13ose> Also my computer crashes a lot if I open too many tabs in Opera Browser.
[12:40] <EoflaOE> On the terminal, execute "lspci | grep SATA". If nothing returned, then your HDD is IDE. If it returned "SATA Controller [IDE mode]", switch to AHCI in the BIOS Settings.
[12:45] <R13ose> EoflaOE: it is in AHCI mode
[12:59] <EoflaOE> I am still looking...
[13:01] <EoflaOE> R13ose: Can you post the output of "cat /sys/power/mem_sleep" so I can know which sleep type you're using? Mine is "shallow".
[13:04] <R13ose> EoflaOE: http://paste.ubuntu.com/p/3RWwMnJSn6
[13:09] <EoflaOE> Are you sure that when you try to wake up the computer turns on, but the screen is all blank? Or does it not turn on at all?
[13:09] <littlejohnny> TJ-,  i opened up sudo visudo but it doesnt have MAILFROM in there. should i add it? and where is that option MAILFROM explained in sudoers manpage?
[13:10] <R13ose> EoflaOE: maybe it will turn on but I am too fast
[13:13] <EoflaOE> Do you mean that the screen is blank completely?
[13:13] <TJ-> littlejohnny: when you do "man sudoers" you can search (it's using 'less' as the pager) by pressing / then typing the search term, so /mailfrom then press enter. press 'n' for next match in the same search direction, or '?' to search backwards from current location
[13:15] <TJ-> R13ose: there's a known bug for XFCE/Xubuntu with lightdm/light-locker whereby if you put the PC to sleep by closing the lid (e.g. a laptop) when the PC wakes up the monitor will be turned off! Switching to another tty proves it is working, e.g. Alt+Ctrl+F2 to get tty2
[13:16] <littlejohnny> TJ-, got it thanks. So if MAILFROM is not inside sudoers, do i add it with "Defaults<EMAIL_ADDRESS>?"
[13:17] <R13ose> TJ-: I am on Kubuntu
[13:18] <SuntopK> Hello, I need help rolling back drivers apparently a software update I lost my 3d ability (wayland is gone) and I have a Radeon R7 360, for some reason I cannot find or figure out how to go back to the previous drivers (or rollback the most recent update)
[13:19] <R13ose> EoflaOE: yes but seems the laptop is on.  I don't close the lid
[13:19] <EoflaOE> So you used "Suspend" in the KDE start menu or power menu. Is that right?
[13:20]  * SuntopK sits and waits.
[13:21] <blackflow> SuntopK: apt doesn't support downgrades really. without filesystem checksums, the only way is to try reinstall previous versions manually, one by one, of each package. /var/log/apt/history.log can help you figure out which those are
[13:22] <blackflow> SuntopK: however... I'd rather try to figure out what went wrong and see if it's fixable.
[13:22] <blackflow> s/filesystem checksums/filesystem snapshots/
[13:22] <R13ose> EoflaOE: nope.  I just leave the laptop on
[13:23] <SuntopK> Blackflow: it is not that there is any issue, just lost the 3d ability this was after the most recent update. :( I guess I AM SOL because I dont know if I even have the archives
[13:24] <littlejohnny> TJ-, i changed it like that but i am still receiving emails from myuser instead of the email i provided in "mailfrom"
[13:24] <TJ-> littlejohnny: yes, that looks correct. Instead of adding it to the system /etc/sudoers file you can drop it into a file of its own e.g. /etc/sudoers.d/mailfrom which can be included from /etc/sudoers by removing the # (comment) from the start of the line "#includedir /etc/sudoers.d" in /etc/sudoers
[13:24] <blackflow> SuntopK: thing with Wayland is, it's stil highyl experimental and there be warts. You shouldn't be using it unless you're prepared (and know how to) fix issues like this
[13:25] <SuntopK> -_-
[13:25] <blackflow> SuntopK: the apt archives are under /var/cache/apt/archives/
[13:26] <littlejohnny> TJ-, that sounds like a better way instead of modifiying the sudoers file. But now that i have edited the sudoers file i am still not receiving mails from the address i specified. :(
[13:27] <SuntopK> okay
[13:27] <EoflaOE> R13ose: What about posting an output of "cat /sys/power/state"? Does it have "disk"?
[13:29] <R13ose> My laptop is so slow.
[13:29] <blackflow> littlejohnny: chmod 440  the files in /etc/sudoers.d/   or they won't be applicable
[13:31] <TJ-> littlejohnny: check the setting is valid with "sudo -l"
[13:31] <R13ose> EoflaOE: yes I see disk
[13:31] <littlejohnny> TJ-,  it is there when i did "sudo -l"
[13:32] <littlejohnny> but still sending it as my user
[13:32] <TJ-> littlejohnny: hehehe I think its playing silly beggars with you :)
[13:32] <EoflaOE> Go to the KDE System Settings. You should see Energy Saving. Did you see that?
[13:32] <TJ-> littlejohnny: which notification are you receiving? the mailfrom - as I read it - applies for badpass but not necessarily to confirm a successful login
[13:33] <SuntopK> Okay I found them I have installed them I hope this works (fingers crosssed)
[13:33] <littlejohnny> TJ-, for bad pass yes. i am deliberately putting bad password and receiving mail from myuser
[13:34] <TJ-> littlejohnny: OK, and did you enclose the email address inside double quotes as "mailfrom" says you need to do, to avoidi the @ being interpreted as a sudoer command ?
[13:34] <littlejohnny> TJ-, yes i have
[13:34] <TJ-> littlejohnny: as in Defaults<EMAIL_ADDRESS>[13:34] <littlejohnny> :(
[13:34] <TJ-> oops, s/@/"/
[13:35] <TJ-> littlejohnny: hmmm, let me try it here
[13:35] <littlejohnny> but put the same amount of spaces between "Defaults" and the mailfrom
[13:35] <littlejohnny> like the other Defaults ones
[13:35] <littlejohnny> in other words i did not put one space netween "Defaults" and "mailfrom"
[13:36] <R13ose> EoflaOE: yes I see that
[13:36] <littlejohnny> TJ-
[13:37] <TJ-> littlejohnny: OK, I totally misread the part about the #includedir - the "#" MUST be there, it's not a comment prefix its part of the command Grrrr! talk about obtuse syntax; reminds of significant invisible whitespace in Python!
[13:37] <EoflaOE> Can you try to disable "Screen Energy Saving" on these 3 tabs, AC Power, Battery, and Low Battery if it is checked?
[13:38] <R13ose> Done
[13:38] <EoflaOE> Can you see if it fixes this problem?
[13:38] <blackflow> TJ-: yeah I hate that. sudoers, apparmor profiles, stupid things.
[13:39] <R13ose> EoflaOE: okay, I will not do anything for a bit.
[13:39] <littlejohnny> TJ-, ok cause that was the other problem i was going to tell you about, if i wanted to create the file like you said within sudoers.d.  It gave me a syntax error but i put the # back. But anyway, the main problem is the mailfrom isnt working.  let me try create the file.
[13:40] <R13ose> EoflaOE: while waiting for that, what about my opera crashing?
[13:40] <blackflow> littlejohnny: if you include files from sudoers.d, those have to be chmodded 440
[13:40] <TJ-> littlejohnny: I've got additional issues here; I ran a manual logrotate a couple days ago and just discovered there are now no rsyslog logs (syslog/kern.log/auth.log) !
[13:41] <littlejohnny> blackflow, thanks i will give it those permissions now
[13:41] <TJ-> blackflow: I've got files chmod 460 there; they work too.
[13:42] <blackflow> TJ-: that's a weird perm, but I suppose it'd work as long as its o-w
[13:42] <TJ-> littlejohnny: generally you do "sudo visudo -f /etc/sudoers.d/myfile" and that sorts everything out
[13:43] <TJ-> blackflow: yeah, and ownership 0:0 I think
[13:43] <varaindemian> I have random freezes on ubuntu 18.04 to the point that I cannot move the cursor and I have to hold the power button on my laptop. Can you help me identify what causes these freezes?
[13:43] <EoflaOE> R13ose: Each tab uses some resources. If the tab is a high number, then it uses too many resources.
[13:43] <R13ose> EoflaOE: how many are too many tabs?
[13:43] <blackflow> varaindemian: nvidia driver?
[13:43] <TJ-> varaindemian: check /var/log/kern.log for hardware lockups, possibly the GPU driver
[13:44] <EoflaOE> R13ose: At about 50+ tabs open
[13:44] <varaindemian> blackflow: what do you mena?
[13:44] <varaindemian> Oh srry
[13:44] <varaindemian> no
[13:44] <varaindemian> I have no nvidia
[13:44] <TJ-> varaindemian: there's been a lot of that with Intel i915 recently
[13:44] <varaindemian> i5 5300u
[13:44] <littlejohnny> TJ-, ok, so inside /etc/sudoers.d/mailfrom  i put one line containing "Defaults<EMAIL_ADDRESS>and then do sudo visudo -f /etc/sudoers.d/mailfrom ?
[13:45] <R13ose> EoflaOE: how do I know how many tabs are open?
[13:45] <blackflow> varaindemian: I asked because there are known issues with the default nvidia proprietary driver... at least, were. and those were the symptoms.
[13:45] <varaindemian> I see. No vidia graphics card on my machine
[13:46] <blackflow> littlejohnny: Defaults<EMAIL_ADDRESS>[13:46] <TJ-> littlejohnny: Defaults<EMAIL_ADDRESS>[13:46] <TJ-> varaindemian: check /var/log/kern.log for clues
[13:46] <littlejohnny> yes sorry forgot that. let me try it
[13:47] <EoflaOE> R13ose: Try "Tab Counter" by "daawesomep". It counts all tabs.
[13:48] <varaindemian> tons of messges in /var/log/kern/log
[13:48] <varaindemian> tons of messges in /var/log/kern.log
[13:48] <TJ-> varaindemian: show us the end: "pastebinit <( tail -n 500 /var/log/kern.log )"
[13:49] <littlejohnny> TJ-,  i already made the mistake and now i cannot sudo anything. omg.
[13:49] <littlejohnny> its giving me error
[13:49] <littlejohnny> everytime i sudo
[13:49] <TJ-> littlejohnny: you used visudo for all your changes?
[13:49] <littlejohnny> >>> /etc/sudoers.d/mailfrom: syntax error near line 1 <<<
[13:49] <blackflow> littlejohnny: visudo should've prevented syntax errors
[13:50] <varaindemian> TJ-: is pastebinit a program?
[13:50] <TJ-> varaindemian: it is yes
[13:50] <littlejohnny> i did not use visudo to create the file.. fuck
[13:50] <blackflow> littlejohnny: lessons. :)  cherish them.
[13:50] <EoflaOE> No swearing.
[13:50] <littlejohnny> sorry
[13:50] <TJ-> littlejohnny: OK, so do you have another terminal shell open that has recently used sudo?
[13:50] <EoflaOE> that is ok littlejohnny.
[13:50] <littlejohnny> blackflow, is there a way i can revert back?
[13:50] <littlejohnny> TJ-,  no
[13:50] <blackflow> now ur dun goofd, if your root has no password assigned.
[13:51] <vielfarbig>  https://askubuntu.com/questions/73864/how-to-modify-an-invalid-etc-sudoers-file
[13:51] <blackflow> hmmm pkexec, yes. that might work.
[13:52] <varaindemian> TJ-: http://paste.ubuntu.com/p/t3YtCgV5gM/
[13:53] <TJ-> varaindemian: that looks perfect, no issues showing there
[13:54] <blackflow> tsk tsk tsk
[13:54] <R13ose> EoflaOE: I found one tab counter and says 209 tabs so I will close some and see if the number changed
[13:54] <varaindemian> TJ-: I lost my connection
[13:55] <blackflow> littlejohnny: got the askubuntu link above? pkexec does it
[13:55] <varaindemian> did you guys get the link?
[13:55] <littlejohnny> blackflow, TJ- ok fixed it. thanks vielfarbig.
[13:55] <EoflaOE> OK R13ose
[13:55] <TJ-> varaindemian: that looks perfect, no issues showing there
[13:55] <littlejohnny> TJ-, but still receiving from my ubuntu user account instead of the email i gave :( why is it not listening to me?
[13:56] <R13ose> EoflaOE: after that I will leave the laptop open and on and see if I can turn this back on
[13:56] <EoflaOE> OK
[13:56] <R13ose> EoflaOE: thanks for your help again
[13:56] <varaindemian> then what could cause my issue
[13:56] <EoflaOE> You are welcome
[13:57] <ovrh> Hello
[13:57] <blackflow> varaindemian: pastebinit <( journalctl -n 100 -p warning..crit )
[13:57] <EoflaOE> hi ovrh
[13:57] <ovrh> Has anybody had problems with the nvidia drivers version 396 recently?
[13:57] <ovrh> Hey EoflaOE
[13:57] <TJ-> littlejohnny: I've no idea! is there any clue in /var/log/auth.log ?
[13:57] <blackflow> varaindemian: also output of     grep EE /var/log/Xorg.0.log
[13:58] <varaindemian> blackflow: http://paste.ubuntu.com/p/8NgJGZdF45/
[13:58] <varaindemian> blackflow: grep: /var/log/Xorg.0.log: No such file or directory
[13:59] <blackflow> dear mother of .....  that gnome is such a steaming pile of...
[13:59] <ovrh> Everything was working fine for me last time I used my laptop, but I turned it on after that (no changes happened of any kind), and the nvidia proprietary driver simply would not load. I tried all the things that came to mind and that I could search for, nothing worked and I do not understand why. I'm kind of going crazy here
[13:59] <R13ose> EoflaOE: I haven't tested the wifi issue yet, as I feel I should try and fix the laptop case and get the laptop to close before I do that, would you agree?
[14:00] <blackflow> varaindemian: how about  grep EE ~/.local/share/xorg/Xorg.0.log
[14:00] <EoflaOE> I agree. Let me know if the suspend issue is fixed.
[14:00] <blackflow> ovrh: logs, anything in them? journal? kern.log? dmesg?
[14:01] <R13ose> EoflaOE: do you feel I can fix this myself or need repair shop?
[14:02] <ovrh> blackflow, anything I should search for specifically?
[14:02] <blackflow> ovrh: anything involving nvidia, graphics, gpu, xorg, display, kernel
[14:02] <EoflaOE> If you're being careful of fixing the laptop, then you can fix this yourself. But make sure the laptop is turned off before starting to repair.
[14:03] <littlejohnny> TJ-, I keep seeing this in syslog: nullmailer-send[22014]: From<EMAIL_ADDRESS>to: xxxxx@xxxx,   Just like before. So its as if its not even reading that inside /etc/sudoers.d/mailfrom file.
[14:04] <R13ose> EoflaOE: there might be too many issues to fix on my own but I will see
[14:04] <EoflaOE> OK. Fix it carefully and make sure you don't damage anything
[14:05] <R13ose> Thanks
[14:05] <EoflaOE> You are welcome.
[14:06] <EoflaOE> One question. have you tried repairing a laptop before?
[14:06] <varaindemian> blackflow: 	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[14:06] <varaindemian> [    15.053] (EE) open /dev/fb0: Permission denied
[14:07] <ovrh> blackflow, Nothing in dmesg grepping by any of those words. Here's the output: https://paste.ubuntu.com/p/D3ytxrhqwj/. This is the output of lshw: https://paste.ubuntu.com/p/jwCDfQfdpr/. In the /var/log/kern.org log, the latest entry is from 30th of September, and the problem happened after that (last three days).
[14:08] <TJ-> littlejohnny: but does "sudo -l" show the setting you've made?
[14:08] <blackflow> varaindemian: I'd investigate further that permission denied 15 seconds after xorg started, but if it were a permission error, you wouldn't have graphics at all
[14:09] <littlejohnny> TJ-, yup it does show it , but doesnt work
[14:09] <R13ose> EoflaOE: not to this extent
[14:09] <TJ-> littlejohnny: hmmm, so either there is a bug in sudo, or the manual is inaccurate
[14:09] <EoflaOE> OK.
[14:09] <varaindemian> blackflow: I tried with sudo and it gave me the same error
[14:09] <blackflow> ovrh: well you checked only dmesg, but you should really check the journal too, and the xorg.0.log for any failures.
[14:10] <blackflow> varaindemian: that's okay, that's log entry, not permission error on grep
[14:10] <blackflow> varaindemian: ideall, next time it freezes, and you say you have to reboot? immediately after reboot collect last minute of logs from previous boot
[14:11] <ovrh> blackflow, How do I tell how old the entries in the Xorg.0.log are? Is there a way?
[14:11] <littlejohnny> TJ-, i have no idea.. where exactly are bugs filed for sudoers file?
[14:11] <blackflow> varaindemian: for example,  journalctl -b -1 -n 100    will give you last 100 entries of the previous boot session
[14:12] <TJ-> littlejohnny: I'm looking at the source code in ./plugins/sudoers/logging.c and it has the line "(void) fprintf(mail, "To: %s\nFrom: %s\nAuto-Submitted: %s\nSubject: ", def_mailto, def_mailfrom ? def_mailfrom : user_name, "auto-generated"); "
[14:12] <blackflow> ovrh: the numbers is [] brackets are seconds since xorg starte
[14:13] <blackflow> *in  *started
[14:13] <littlejohnny> TJ-, so what does that mean
[14:13] <TJ-> littlejohnny: so, that lasty part shows a ternary operator which reads as: if def_mailfrom is defined then use def_mailfrom else use user_name
[14:13] <ovrh> So, it logs things only since last boot?
[14:14] <varaindemian> blackflow: yep
[14:14] <varaindemian> Thank you
[14:14] <TJ-> littlejohnny: so right now it seems in your case it is using "user_name" - that tells us that for some reason def_mailfrom isn't set. So we need to figure out why
[14:14] <blackflow> ovrh: Xorg.0.log does yes
[14:14] <littlejohnny> TJ-, yes.. its like not using def_mailfrom
[14:14] <ovrh> This is the whole output of grepping Xorg.0.log for nvidia: https://paste.ubuntu.com/p/vDJktP5GDK/
[14:15] <ovrh> blackflow, I see, good to know. It means it is doing something
[14:15] <blackflow> ovrh: I think Xorg.1.log is the previous Xorg.0.log (they rotate like that)
[14:15] <blackflow> so 0 is current xorg instance, 1 was previous start
[14:15] <ovrh> blackflow, I have Xorg.0.log.old which might be the previous one
[14:17] <ovrh> About the journal instead: it does have a lot in it, which I don't know how safe it is to share to be honest. One notable thing is that it says (as I knew already) "ERROR: NVIDIA driver is not loaded".
[14:19] <Dunkhan> I am having a couple of issues with a new install, the first is when I change the layout of my monitors, and then restart, the display settings revert and the settings aren't saved
[14:23] <Dunkhan> Well while I am waiting, the second issue is that most websites are dafaulting to a different language than the one I my os, browser and all applications are using
[14:23] <ovrh> Here's the journal output grepped by nvidia: https://paste.ubuntu.com/p/rTkf39w7fW/ Keeps showing that the nvidia module was not loaded because it couldn't be found. (that's a lot of reboots in there because of all the things I was trying)
[14:24] <blackflow> ovrh: ah, so. you say that's supposed to be nvidia 396? from the graphics PPA?
[14:25] <ovrh> blackflow, Yes exactly
[14:26] <blackflow> ovrh: you've got nvidia modules failing on modprobe with exit code 1 . I don't know what that error means but the module can't be loaded. I'd try purging the package, rebooting into nouveau, then reinstalling the package again. it's DKMS, let it rebuild.
[14:26] <blackflow> did you revert the kernel or something and it didn't trigger DKMS rebuild?
[14:26] <TJ-> littlejohnny: try altering the "mailsub" too - see if you can affect the Subject: field. As in, add to the sudoers.d/ : Defaults mailsub="My SECURITY information for %h"
[14:26] <littlejohnny> TJ-, thought of doing that to see if it will work. let me try
[14:27] <ovrh> blackflow, I did the purge-reboot-reinstall-reboot sequence at least 5 times since yesterday night when the problem appeared, didn't solve it. I also tried installing the 390 drivers, but still nothing
[14:27] <blackflow> ovrh: and it worked before and now all of a sudden it doesn't?
[14:27] <ovrh> blackflow, I didn't do anything myself really. I was using firefox and lutris, working perfectly. Turned the laptop off, turned it one the next day, opened firefox, lutris and the drivers were not loaded
[14:28] <ovrh> *turned it on
[14:30] <blackflow> ovrh: is it possible that lutris tried to mess with nvidia?
[14:31] <ovrh> blackflow, At this point everything is possible, but I'm doubtful. Lutris is basically just one utility on top of Wine
[14:32] <ovrh> Also, the journal should show that, right?
[14:32] <littlejohnny> TJ-,  the subject changes as specified
[14:33] <littlejohnny> its that mailfrom problem
[14:33] <blackflow> ovrh: I don't know. But look at this, line 539, the driver loaded ok. A minute later you isntall nvidia-driver-396 and poof it doesn't load.
[14:33] <TJ-> littlejohnny: really? did you write the "mailsub" entry to a different file, or the same file as mailfrom is in ?
[14:33] <blackflow> ovrh: so question, does default bionic's 390 work?
[14:33] <blackflow> which GPU is it? possible that 396 is having issues with the card model?
[14:33] <littlejohnny> TJ-, to a file on its own /etc/sudoers.d/mailsub
[14:34] <littlejohnny> yes really. can you believe it? whats the deal with mailfrom..
[14:34] <littlejohnny> TJ-, i saw a similar issue here: https://bugzilla.redhat.com/show_bug.cgi?id=1324091
[14:34] <TJ-> littlejohnny: I'm wondering if there's something weird in the mailfrom file - you created that originally with an editor other than visudo. Try removing that rile completely and recreating it with visudo
[14:34] <ovrh> blackflow, I see, that's weird. Is it supposed to load nvidia-drm instead of nvidia though?
[14:35] <littlejohnny> TJ-, yea i can recreate it as you say. But what im thinking of is even when i hard-coded it into sudoers file it didnt work.
[14:35] <ovrh> blackflow, I tried default 390 too, same deal, it still doesn't load and shows as UNCLAIMED in lshw -c video.
[14:35] <ovrh> blackflow, It's a nvidia 1060 gpu, which again, was working fine with 396 until I turned off the laptop after using lutris that last time
[14:35] <TJ-> littlejohnny: let me investigate the RH bug in our source
[14:36] <littlejohnny> ok
[14:36] <ovrh> Could it be that ubuntu updated the kernel by itself without telling me
[14:36] <ovrh> ?
[14:36] <R13ose> ^^ good question
[14:36] <blackflow> ovrh: it'd be visible in apt history.log unless you have livepatching
[14:36] <ovrh> I did have a popup from the software update utility, which I ignored a couple times. I finally installed the update this morning only because it was my last option to see if anything would change
[14:37] <TJ-> littlejohnny: we use that too in the debian/rules (Makefile): "--disable-root-mailer "
[14:37] <ovrh> (ignored = remind me later)
[14:37] <blackflow> but... livepatch woudln't change the abi in a way that the kmod is failing. that's... impossibru I think, to do on a running kernel, everything else would've collapsed.
[14:37] <blackflow> at any rate, reinstalling nvidia-driver-396 would trigger rebuild against current kernel's headers
[14:37] <ovrh> blackflow, that... I don't know, actually (regarding livepatch)
[14:38] <blackflow> ovrh: if you didn't set it up explicitly, as it requires username and password for the livepatch service, you don't have it.
[14:38] <EoflaOE> R13ose did the fix finish?
[14:38] <ovrh> blackflow, Oh yeah, speaking of kernel headers, I also tried installing those (sudo apt install linux-headers-$(uname -r)), purging nvidia* and reinstalling it. Still nothing
[14:38] <blackflow> ovrh: you didn't perchance once upon a time tried to install nvidia from the upstream tarball, so it left around files picked up by the system but unseen to the package manager?
[14:38] <blackflow> now be honest....   :)
[14:38] <ovrh> blackflow, Then I don't have it, didn't do any of that explicitly
[14:39] <ovrh> blackflow, Upstream tarball? Meaning those that you can grab from the nvidia website? That was the last thing I tried, the .run file didn't even start the installation and failed
[14:40] <littlejohnny> TJ-,  where should i put --disable-root-mailer ??
[14:40] <R13ose> EoflaOE: which fix?
[14:41] <TJ-> littlejohnny: you don't - I was reporting a package build-time configuration flag - confirming we have the 'fix' that RH used
[14:41] <blackflow> ovrh: yes the .run file. now, you may think the installation failed, but is it possible it did install (some) files somewhere?
[14:41] <littlejohnny> oh ok
[14:41] <EoflaOE> the laptop case
[14:42] <R13ose> EoflaOE: I did close the laptop case once but I want to fix the number of tabs open before I try again
[14:42] <littlejohnny> TJ-,  how do you remove the file /etc/sudoers.d/mailfrom?  must i rm -rf ?
[14:42] <ovrh> blackflow, Sure, it's possible. But again, that's the last thing I tried quite literally, after I had already tried a lot of other things, to fix the problem (including purging and reinstalling several times)
[14:42] <EoflaOE> Ok.
[14:43] <ovrh> The thing is, the system was working flawlessly with the 396 drivers, I would have had no reason to try and install them again from the official website (which I didn't know was a thing until after my attempts to fix stuff)
[14:43] <TJ-> littlejohnny: don't use -r ! that's for recursive deletion into sub-dirs. If you mistyped that command you might delete more than you intend!
[14:43] <R13ose> EoflaOE: I only have 105 tabs to close left
[14:43] <blackflow> ovrh: things happening on their own like that, with no software update/change happening in between, I'd suspect hardware issues. otherwise it'd be great if you can figure out what changed between the day it worked fine and the day it stopped working. and also, that line 539 in teh pastebin. what driver was that, that worked fine BEFORE you installed nvidia-driver-396 at line 540?
[14:44] <EoflaOE> OK. When you finish tell me
[14:44] <littlejohnny> TJ-, ok no worries.
[14:44] <TJ-> littlejohnny: for those kind of jobs I generally do "sudo -i" then "cd /path/to/dir/where/files are; rm file1 file2 file3 otherfiles*;  exit"
[14:45] <TJ-> ovrh: blackflow do we have a full dmesg in a pastebin for that issue?
[14:45] <TJ-> littlejohnny: the fact that "sudo -l" is reporting the mailfrom value shows sudo sees it
[14:45] <littlejohnny> TJ-, ok. i recreated the mailfrom but still no luck in the change
[14:45] <blackflow> TJ-: just the `dmesg | grep nvidia` part if I understood it correctly
[14:46] <TJ-> littlejohnny: so if there's a bug it is very subtle; I've not been able to see anything in the source to explain it so far
[14:46] <ovrh> blackflow, That hardware issue makes me worry, to be honest. This is a new machine (had it for less than 2 weeks), and if there is a good chance that's the problem, I' genuinely considering the idea of just returning it
[14:46] <TJ-> ovrh: can you show us "pastebinit <( dmesg )" ?
[14:46] <blackflow> ovrh: can you    dmesg | grep "ott 06 12:3"     and pastebin that?
[14:47] <ovrh> blackflow, Nothing changed that was done by me, I can guarantee you that. If something happened in the background, that I do not know, but does't seem like it from the logs, or does it? About like 539, if you look just two lines before: it mentions driver 396.54 (latest short lived nvidia driver), which is likely the one that was loaded
[14:47] <littlejohnny> TJ-, is this where you would report a bug? https://github.com/millert/sudo
[14:47] <ovrh> TJ-, Yes, I have the pastebin of dmesg grepped: https://paste.ubuntu.com/p/D3ytxrhqwj/
[14:47] <TJ-> !bug | littlejohnny
[14:48] <ovrh> TJ-, I can pastebin the whole dmesg if you want
[14:48] <TJ-> ovrh: please do
[14:49] <ovrh> blackflow, That doesn't produce any output
[14:49] <blackflow> ovrh: 396.54 is the current one. so what did install at line 540?
[14:49] <blackflow> ovrh: it's from your last pastebin. how can it not produce anything
[14:49] <blackflow> ovrh: oh wait wait wait... yeah that's not dmesg, but kern.log or journal
[14:50] <blackflow> just... pastebin the whole dmesg :)
[14:50] <ovrh> TJ-, http://paste.ubuntu.com/p/SZD5STXPpB/ here is it
[14:50] <littlejohnny> TJ-, how can i be the only one with this issue? Did you by any chance try it on your side?
[14:51] <ovrh> blackflow, My last pastebin is the journal, not the dmesg. Also, I installed 396.54 by just doing sudo apt install nvidia-driver-396, that's it. I tried installing 390, but that was yesterday, and it also didn't work (which I want to retry at this point)
[14:52] <ovrh> Here's the full dmesg: http://paste.ubuntu.com/p/SZD5STXPpB/
[14:54] <blackflow> ovrh: yes I posted that and a second later it dawned on me that wasn't dmesg but journal. still, no nvidia mentioned in this dmesg output. so you need   journalctl --since '2018-10-06 12:30' --until '2018-10-06 12:40'        I'd love to see any other messages around the lines where nvidia was failing
[14:54] <TJ-> ovrh: OK, that all looks good. It also confirms no nvidia driver is being loaded, so let's investigate that further. show us "pastebinit <( uname -r; dkms status )"
[14:54] <blackflow> ovrh: or just listen to TJ, let's go step by step
[14:57] <ovrh> TJ-, blackflow: Ok so. This http://paste.ubuntu.com/p/4FQt8ZWw4s/ is the output of `pastebinit <( journalctl --since '2018-10-06 12:30' --until '2018-10-06 12:40' )`. And this http://paste.ubuntu.com/p/4FQt8ZWw4s/ is the output of this: `pastebinit <( uname -r; dkms status )`
[14:58] <TJ-> littlejohnny: I'm doing a source-code build of the sudo package to see if I can spot any problems in using the mailfrom #define
[14:59] <littlejohnny> TJ-, thank you. please let me know what you find
[14:59] <TJ-> ovrh: there's your problem - the nvidia module isn't installed.
[14:59] <ovrh> TJ-, What do you mean?
[15:00] <TJ-> ovrh: this might suggest the build-step failed. So let's try to reproduce that: "sudo dkms install nvidia/396.54 |& tee /tmp/nvidia-dkms.log" then when it finishes "pastebinit /tmp/nvidia-dkms.log"
[15:00] <blackflow> ovrh: you pasted the last link twice
[15:01] <ovrh> blackflow, Sorry, my bad. Here's the journalctl command output: http://paste.ubuntu.com/p/Jz42t4GPVM/
[15:01] <blackflow> and indeed, what TJ discovered here makes sense, explains that failure after line 540 of the previous pastebin
[15:01] <ovrh> TJ-, That failed. https://paste.ubuntu.com/p/DYyXDnKjYF/
[15:02] <TJ-> ovrh: good! that explains why you have problems
[15:02] <ovrh> TJ-, Does it? o.o
[15:02] <TJ-> ovrh: now show us "pastebinit /var/lib/dkms/nvidia/396.54/build/make.log"
[15:02] <TJ-> ovrh: better to have a problem you understand than one you don't
[15:03] <ovrh> TJ-, Here: http://paste.ubuntu.com/p/XXPfrvyrJx/
[15:03] <blackflow> ovrh: did tehse problems start before 12:30 today?
[15:03] <ovrh> Side note: how's my Ubuntu half in italian (for dates and stuff) and half in English? That's nuts
[15:04] <ovrh> blackflow, Yes, they started yesterday night around 23:30 my-system-time
[15:04] <blackflow> beause according to that journal, you installed the nvidia .run file _before_ the subsequent actions which showed a working nvida module
[15:04] <ovrh> (which is when I turned my laptop on and discovered stuff was messed up)
[15:04] <TJ-> ovrh: where did you install the nvidia-396.54 package from? Ubuntu repo? PPA? nvidia .run file?
[15:04] <ovrh> TJ-, ppa
[15:04] <TJ-> ovrh: the gpu-drivers ppa?
[15:04] <ovrh> TJ-, simply did this: sudo apt install nvidia-driver-396
[15:05] <TJ-> ovrh: show us "pastebinit <( apt list --installed nvidia* )"
[15:05] <ovrh> No, the graphics driver
[15:05] <ovrh> TJ-, http://paste.ubuntu.com/p/cBWKzvG28c/
[15:05] <TJ-> blackflow: "make: *** No rule to make target 'modules'" suggests the kernel headers may be missing; we'll check that next
[15:06] <TJ-> ovrh: OK, now show us "pastebinit <( apt-cache policy nvidia-dkms-396; apt list --installed linux-headers* )"
[15:07] <ovrh> http://paste.ubuntu.com/p/vqv7rVh5Ft/
[15:07] <ovrh> Those pastes should really include the command run at the beginning
[15:07] <ovrh> *ran
[15:07] <littlejohnny> TJ-, even the mailto works and i also enabled the mail_always option. EVerything works but mailfrom
[15:08] <TJ-> littlejohnny: yes, I suspect for some reason the mailfrom isn't being added into sudo's internal table
[15:09] <ovrh> Can the two linux headers for two different kernel versions be conflicting?
[15:10] <aidrocsid> Is there an ubuntu live cd utility like unetbootin that can actually be used to load a windows 10 iso? Somebody said startup disk creator last night, but that only makes ubuntu installs.
[15:10] <TJ-> ovrh: that doesn't seem to be the issue - correct header packages are installed. I'm going to pull in the DKMS package here - I suspect a bug in the nvidia package
[15:11] <ovrh> TJ-, Shouldn't other people have that too if it was a bug in the nvidia package?
[15:12] <blackflow> yeah, 396.54 works just fine here
[15:12] <blackflow> and I had the kernel update the other day, dkms rebuilt fine.
[15:16] <vielfarbig> aidrocsid: Do you search for something like this: https://etcher.io/ ?
[15:16] <littlejohnny> TJ-, how can i completely disable mail from sudo when badpass happes?
[15:16] <littlejohnny> happens*
[15:17] <aidrocsid> That looks promising.
[15:17] <blackflow> littlejohnny: comment out the   Defaults mail_badpass   line
[15:17] <R13ose> EoflaOE: I think the energy saving fix worked
[15:18] <EoflaOE> Nice
[15:20] <TJ-> littlejohnny: I'm not sure; I'm trying to wrestle sudo's build system at the mo
[15:21] <littlejohnny> blackflow, thanks. TJ- ok if you come to the conclusion that this is a bug, please let me know so that i can report the bug.
[15:21] <coconut> aidrocsid: you can probably do this from terminal with cp to target device when usb disk is fat32 and when disk is unmounted. Do take notion that all file on usb will get lost.
[15:22] <coconut> Although for file system you're gona have to test this.
[15:22] <coconut> With windows 10.
[15:33] <TJ-> littlejohnny: I'm deep-diving now, I've generated the assembler representation using "gcc -S -fverbose-asm ..." and can see the code at line 2256 here http://paste.ubuntu.com/p/Xpzhq4CX8Z/
[15:33] <ovrh> TJ-, blackflow: Am I going to mess up debugging this issue if I give another shot at installing nvidia-390 drivers?
[15:35] <blackflow> ovrh: only by making things work all of a sudden and losig whatever context there was that caused the error. but then, you have things working, so... :)
[15:35] <TJ-> littlejohnny: in line 2258 you can see where the mailfrom entry is loaded sudo_defs_table[42] (42 since: ./plugins/sudoers/def_data.h:85:#define I_MAILFROM              42 )
[15:36] <TJ-> ovrh: I'm still digging
[15:36] <cooloutac> hello all I created power.d directory and wireless file to shut off power savings for my wireless card.  but it doesn't seem to be working
[15:37] <cooloutac> I have ubuntu 18.04
[15:37] <ovrh> blackflow, My luck? I have a faulty GPU in my new laptop xD
[15:37] <cooloutac> I followed the suggestion here https://ubuntuforums.org/archive/index.php/t-1686641.html
[15:37] <ovrh> TJ-, Thank you, let me know if I can help in any way
[15:37] <blackflow> ovrh: happens
[15:38] <littlejohnny> TJ-, what does all that mean now? or are you still busy ?
[15:38] <ovrh> blackflow, It really shouldn't though. If it turns out that's the problem, I guess buying laptops fro linux-only makers is going to get ruled out
[15:38] <blackflow> ovrh: statistically with hard disks, they're most likely to fail within the first 6 months. then the probability of failure drops significantly and starts going back up with time.
[15:39] <ovrh> blackflow, But hard disks have moving parts. A GPU doesn't, you can test it
[15:39] <blackflow> ovrh: I wouldn't rule it out, could be just a very rare fluke. But, hw issues is just a suggestion, one that's most plausible in the context of nothing else on the software side changing between "it works" and "it doesn't work any more" states.
[15:40] <blackflow> ovrh: there's always the possibility for cold solder joints or hairline fractures or other faults in electronic components
[15:41] <cooloutac> am I supposed to put sudo in front of the line?
[15:41] <cooloutac> in the /power.d/wireless file?
[15:42] <ovrh> blackflow, Yeah you are right. But I still think those hardware things can be addressed
[15:42] <TJ-> ovrh: let's check you do have the headers installed correctly. do you get a couple of hits for this: "grep '^modules:' /usr/src/linux-headers-$(uname -r)/Makefile"
[15:43] <TJ-> ovrh: I doubt there's a hardware fault - the device shows up on the PCI bus correctly
[15:43] <ovrh> TJ-, Yups, exactly two: https://paste.ubuntu.com/p/hVngBGY3qs/
[15:44] <TJ-> littlejohnny: I'm still analysing but the code confirms the executable is using whatever is in index 42 of the sudo defaults table, so now the search switches to when the config file is read is it correctly storing the value in that table in index 42. I'd have thought it was because of the "sudo -l" output but I want to be sure
[15:45] <TJ-> ovrh: right, because the DKMS build.log reported "make: *** No rule to make target 'modules'.  Stop." - so now it looks like some other Makefile that the expected one is being read, so now we dig deeper
[15:45] <littlejohnny> TJ-, oh ok yea
[15:46] <blackflow> TJ-: it needn't be all or nothing fault, but something occurring when the driver attempts something
[15:46] <blackflow> TJ-: note that at some point they ran the nividia .run file from upstream.  so it's possible the system is currently tainted with extraneous makefiles and build files
[15:46] <ovrh> TJ-, Were do we dig?
[15:47] <TJ-> blackflow: no driver is attempting to load
[15:47] <aidrocsid> I missed a highlight somewhere. For future reference, if you're trying to install Windows 10 from Ubuntu, what you want is WoeUSB
[15:47] <ovrh> blackflow, Very possible, yes. But again, it failed. I can run it again and tell you how it failed exactly
[15:47] <TJ-> blackflow: I agree; the .run file has messed things up so let's delete what's there and reinstall
[15:48] <ovrh> TJ-, Shouldn't I be able to load it manually even if it's not attempting to load, with modprobe?
[15:48] <TJ-> ovrh: "sudo apt install --reinstall nvidia-kernel-source-396 nvidia-dkms-396"
[15:48] <TJ-> ovrh: there is no kernel module, it has failed to build
[15:48] <ovrh> Ah
[15:49] <knicklux> hello there, I installed ubuntu with encrypted lvm and dual booted arch linux on the same hard drive and a month after upgrading to 18.04, it stopped asking me for the password during boot. I made sure, that I have the correct entry in /etc/crypttab. How can I inspect the generated initrd.img-4.15.0-23-generic?
[15:49] <TJ-> ovrh: DKMS (Dynamic Kernel Module System) is what is used to take source-code and build the module on your system, and that is failing
[15:50] <ovrh> TJ-, So those drivers in the ppa are actually reversing the code of the closed nvidia driver upstream?
[15:50] <ovrh> TJ-, Reinstall finished
[15:50] <TJ-> knicklux: I have a shell script to do it: http://iam.tj/projects/misc/initrd-extract.bash
[15:51] <TJ-> ovrh: now do "dkms status" and check if nvidia has status 'installed'
[15:51] <ovrh> Yes it does
[15:51] <TJ-> ovrh: so, we've now built it :D
[15:51] <ovrh> nvidia, 396.54, 4.15.0-36-generic, x86_64: installed
[15:52] <ovrh> Wtf, why did it work now and not on all my previous reinstall attempts? o.o
[15:52] <TJ-> ovrh: so "sudo modprobe nvidia" then "pastebinit <( dmesg | tail -n 100  )
[15:52] <knicklux> TJ-, thx, I'll try it
[15:52] <TJ-> ovrh: did you reinstall forcefully, the 'source' and 'dkms' packages?
[15:53] <ovrh> TJ-, Command by command, I did: sudo apt purge nvidia*; reboot; sudo apt install nvidia-driver-396 (which is a wrapper around the whole thing and should install the dkms too, right?)
[15:53] <ovrh> (and reboot again)
[15:54] <knicklux> initrd-extract.bash: line 68: syntax error near unexpected token `<'
[15:54] <knicklux> initrd-extract.bash: line 68: `done < <( echo $1 )'
[15:54] <knicklux> TJ-, I got this :/
[15:54] <TJ-> knicklux: oops!
[15:54] <TJ-> knicklux: I've not used it in a while; let me test it here!
[15:54] <knicklux> ah
[15:54] <knicklux> bash
[15:54] <knicklux> not sh
[15:54] <knicklux> TJ-, I used the wrong shell
[15:54] <TJ-> knicklux: yes, bash :)
[15:55] <TJ-> ovrh: so did the modprobe work?
[15:55] <ovrh> TJ-, Meaning I should try it now?
[15:56] <blackflow> ovrh: yes that purge should've worked, although depending on your shell, that nvidia*  might require to be quited
[15:56] <blackflow> *quoted
[15:56] <ovrh> blackflow, Stock gnome with no changes to the shell/terminal yet
[15:57] <blackflow> ovrh: so this was the first thing I suggested you do, and as you said you did, I guessed there must be some extraneous files somewhere that apt doesn't see.
[15:57] <ovrh> TJ-, Ran modprobe nvidia in the root shell. No output. BUT! Now when I do nvidia-smi it returns stuff!
[15:57] <blackflow> no output is good
[15:57] <blackflow> lsmod | grep nvidia
[15:57] <ovrh> (nvidia settings still don't open though, maybe a reboot is needed)
[15:58] <blackflow> reboot is definitely needed for thedriver to be picked up, do the KMS and have xorg work with it.
[15:58] <ovrh> blackflow, lsmod also returns stuff now! And the nvidia card isn't displayed as UNCLAIMED in lshw -c video anymore either :O
[15:58] <ovrh> Rebooting now
[15:58] <blackflow> very nice :)
[15:59] <ovrh> Rebooted and the nvidia settings are opening now!
[15:59] <blackflow> Note to self: next time be persistent and ask the user do it again even if they said they did before you asked :)
[16:00] <ovrh> blackflow, I swear I'm not kidding, I reinstalled the whole thing 5+ times. I'll paste you my bash_history if you want
[16:00] <ovrh> Though seriously, why did it work now?
[16:00] <knicklux> TJ-, I use lvm on top of dm-crypt, so dm-crypt would need to be handled first. /tmp/initrd/4.15.0-23-generic/scripts/local-top/ORDER seems to be off
[16:00] <ovrh> Is apt so bad that it can't manage removing/reinstalling packages?
[16:01] <blackflow> it's usually good at it, but it's possible some hickup happened and it didn't finish un/installing, but that would've been visible in its output
[16:02] <blackflow> and the question is where in teh timeline of events did you try that .run file that might've caused additional messing.
[16:02] <TJ-> ovrh: it won't remove files the nvdia.run file installed
[16:02] <blackflow> that too
[16:02] <ovrh> blackflow, Last thing before coming in this room was trying the .run file, which failed and I gave up and decided to come here.
[16:02] <TJ-> ovrh: I suspect there was something left around that confused things
[16:03] <ovrh> TJ-, Should I do something else to remove those files then?
[16:03] <TJ-> ovrh: usually you execute the .run file with the --uninstall option I think
[16:03] <blackflow> ovrh: Ideally you could inspect the build logs from previous apt runs that supposedly failed. It's quite possible you have some other problem there that caused dkms to fail. like filesystem/hdd issues.
[16:04] <ovrh> TJ-, Done, it just says "There is no nvidia driver currently installed".
[16:04] <TJ-> knicklux: I use LUKS - if you're using dmcrypt then the system has no way to know the block device is encrypted because there is no metadata on it - so I'd check if the conf/conf.d/ has a crypttab copied in
[16:05] <TJ-> ovrh: right, good :)
[16:05] <ovrh> blackflow, How would I d that?
[16:06] <TJ-> knicklux: you might learn something by using "sudo update-initramfs -u |& tee /tmp/initrd.log" and inspect the log file to see if it triggered crypt hooks to copy files into the initrd
[16:06] <TJ-> ovrh: check out the various logs in /var/log/apt/
[16:07] <blackflow> ovrh: and /var/lib/dkms/**/make.log
[16:07] <blackflow> though subsequent runs for the same kernel version will overwrite the previous file, so now, at this point in time, I don't think you can inspect previous build runs
[16:08] <knicklux> TJ-, I found this one: https://ubuntuforums.org/showthread.php?t=2385932 and I do not have the file in /etc/initramfs-tools/conf.d//cryptroot-script. Do you think, I am missing this file?
[16:09] <ovrh> TJ-, blackflow: From /var/log/apt/history.log: https://paste.ubuntu.com/p/pQ2y96rNTB/ If you check line 22, nvidia-dkms is in there. That's the last attempt I did at installing the 396 drivers from ppa this morning before lunch
[16:10] <TJ-> knicklux: when this stopped working, had you recently edited /etc/crypttab? Have you verified there are no syntax errors in it? that may show up with "sudo update-initramfs -v -u |& tee /tmp/initrd.log"
[16:11] <blackflow> ovrh: but the most interesting info would be about what happened last night when the issue appeared first
[16:12] <knicklux> I hadn't modified crypttab. This is the output: http://paste.debian.net/1046166/ (note: I did this from a systemd-nspawn, and just noticed, that block devices in /dev/mapper/ are not available in the chroot)
[16:12] <TJ-> ovrh: but line 14 suggests you installed the kernel headers, which is what provides the Makefile with the "modules:" target in - so prior to that any build would have failed
[16:12] <ovrh> blackflow, Right, let's see
[16:13] <ovrh> TJ-, Yeah, I did install them manually because this morning I also did the update that the utility was suggesting. Still didn't work. But again, the update was ran this morning, and it stopped working yesterday night
[16:13] <ovrh> Mh, okay, something weird
[16:14] <TJ-> knicklux: nspawn is probably going to be a problem. did you use the "-v -u" flags there?
[16:14] <R13ose> EoflaOE: the laptop is closed now.
[16:14] <ovrh> I see a lot of entries starting from the 4th of October (which is the most the history.log goes back to) with this: Commandline: /usr/bin/unattended-upgrade
[16:14] <ovrh> What's that?
[16:14] <EoflaOE> R13ose: OK. Did you test WiFi issue?
[16:14] <TJ-> ovrh: what it says - it does unattended updates/upgrades
[16:14] <knicklux> TJ-, only -D flag. I can try this: https://wiki.debian.org/CryptsetupDebug to build the initramfs from within the ubuntu
[16:15] <TJ-> ovrh: there are other log files, compressed with gzip, you can view them with "less /var/log/apt/...."
[16:15] <R13ose> EoflaOE: where, moving closer to the router or elsewhere?
[16:15] <ovrh> TJ-, Unattended meaning without my explicit consent?
[16:15] <EoflaOE> R13ose: Try to move closer to the router and see what happens.
[16:15] <TJ-> ovrh: you've installed that package, so presumably you gave consent in that way
[16:16] <ovrh> TJ-, What package?
[16:16] <TJ-> knicklux: sorry, I meant  "update-initramfs -v -u"  (-v gives VERY verbose logging to figure out issues like this?)
[16:16] <TJ-> !info unattended-upgrades | ovrh
[16:17] <ovrh> I definitely didn't install that myself. Probably the vendor did.
[16:17] <R13ose> EoflaOE: I was only able to get down to 60 tabs at the moment.
[16:17] <knicklux> TJ-, I have some output to work with, thx! :) I'll try to paste and analyze it
[16:17] <EoflaOE> R13ose: Does it still crash?
[16:17] <ovrh> TJ-, One of the entries from that unattended-upgrades is this: https://paste.ubuntu.com/p/zmcz7sM7Vy/ Could this be the culprit?
[16:17] <TJ-> ovrh: what does "apt list unattended-upgrades" report? if it doesn't mention "automatic" it was manually installed
[16:18] <R13ose> EoflaOE: it is slow but not crashing
[16:18] <ovrh> TJ-, https://paste.ubuntu.com/p/D5tDX8NQph/ it does mention automatic
[16:19] <EoflaOE> R13ose: It is nice that it didn't crash.
[16:19] <TJ-> ovrh: not the cuplrit - that would be when the entire set of 4.15.0-36 packages (kernel images and headers) were first pulled in
[16:19] <knicklux> this is the paste, I'm still reading through ithttp://paste.debian.net/1046167/
[16:19] <R13ose> EoflaOE: so far.  This could happen
[16:19] <TJ-> ovrh: are you using ubuntu-mate desktop?
[16:20] <EoflaOE> R13ose: Do you have any other issues on Kubuntu?
[16:20] <ovrh> TJ-, But that was on the 4th of october, last time the drivers were working. I don't know exactly what linux-modules is, but it sounds like it has something to do with kernel modules. If it updated that, could it have made the drivers not work until new linux headers were installed?
[16:20] <ovrh> TJ-, No, regular ubuntu with gnome
[16:20] <R13ose> EoflaOE: not that I know about. Wifi is working but I should try and a site that I have never been to.  Can you recommend one?
[16:21] <TJ-> ovrh: I was looking at what depends on that package, using "apt-cache rdepends unattended-upgrades" (rdepends == reverse-depends)
[16:21] <knicklux> TJ-, hooks seem to be in the right order
[16:22] <EoflaOE> R13ose: Can you test www.kubuntu.org?
[16:22] <TJ-> knicklux: line 1183
[16:22] <TJ-> knicklux: At that point I'd expect to see some additional work done to copy in cryptsetup but it isn't so I suspect your /etc/crypttab
[16:23] <littlejohnny> TJ-, sorry got disconnected, any news?
[16:23] <R13ose> EoflaOE: seems to be working.  Why then can't I use this properly in my bedroom?
[16:23] <knicklux> cryptroot -> cryptrrot-unlock -> dmsetup -> lvm2
[16:23] <ovrh> TJ-, I see. No, it's actual Ubuntu, checked the about thing too
[16:23] <knicklux> TJ-, http://paste.debian.net/1046169/
[16:24] <ovrh> Should I remove that unattended-upgrades package? Even though if that wasn't it, I see no other entry in the log that might have upgraded and messed up
[16:24] <EoflaOE> R13ose: What does the signal indicator say in your bedroom (the WiFi bars)?
[16:24] <TJ-> knicklux: see mine (LUKS) line 1361 http://paste.ubuntu.com/p/nvj9GFJF9R/
[16:24] <EoflaOE> I have it in my bedroom, three bars on Lubuntu, and it works fine.
[16:25] <TJ-> knicklux: you said yours was dmcrypt - that shows it set to luks
[16:25] <TJ-> knicklux: check with "sudo blkid /dev/disk/by-uuid/c269f6b4-17fb-4f45-803c-45c5b6940b99"
[16:26] <R13ose> EoflaOE: the problem with my room is that the connection just disappears or doesn't connect at all.  I don't know the bars.
[16:26] <R13ose> Where I am sitting is only one bar.
[16:26] <knicklux> TJ-, sudo blkid /dev/disk/by-uuid/c269f6b4-17fb-4f45-803c-45c5b6940b9 returns nothing in the systemd-chroot. In the host, it does
[16:26] <TJ-> R13ose: EoflaOE are you trying to check signal levels for WiFi? if so, from terminal, "iwconfig" is quite useful at getting the exact signal-to-noise ratio and quality
[16:27] <TJ-> knicklux: right, which is where it needs to run - does it show the device is LUKS?
[16:27] <EoflaOE> R13ose: Use "iwconfig" to get signal. Thanks to TJ- for a command.
[16:27] <TJ-> knicklux: you'd expect to see "TYPE="crypto_LUKS""
[16:27] <knicklux> On the host yes, in the chroot, it shows nothing. I'll try to pass the block devices through
[16:28] <TJ-> knicklux: OK, so the system is using LUKS not plain dmcrypt - you confused me with that
[16:28] <TJ-> knicklux: so when you run update-initramfs in the nspwan container you'll have to map in the dev device else it can't build the correct initrd
[16:28] <knicklux> TJ-, thank you, yes, it uses luks, sorry
[16:29] <TJ-> knicklux: because it needs to read device metadata from the (root) filesystem all the down to the raw physical disk to ensure it can load all the required drivers and tools
[16:29] <R13ose> Signal level says -77 dBm
[16:29] <RoscoePColtrane> oh
[16:29] <TJ-> R13ose: that is low
[16:29] <EoflaOE> R13ose: Too far. Mine says -50 dBm, so it isn't too far for me.
[16:30] <TJ-> R13ose: what does it say about the quality?
[16:30] <R13ose> Link Quality is 33/70
[16:31] <EoflaOE> Too low quality.
[16:31] <ovrh> TJ-, blackflow: Here's the history.log from the 4th to the 5th of October. Omitting the 6th since the problem was there already (it was there already on the 5th when I turned the laptop on too, but maybe that helps. Maybe you can see some packages that could have caused this issue: https://paste.ubuntu.com/p/424nn34VnB/
[16:31] <R13ose> EoflaOE: is there a way to fix that?
[16:32] <TJ-> R13ose: EoflaOE:  a 3db change reduces the signal by 50%, so -77 is an extremely small signal
[16:32] <plm> Hi all
[16:32] <EoflaOE> TJ-: Thanks for the info.
[16:33] <plm> people, I would like to run Ubuntu ARM 18.4 in a VM, what is the best choice?
[16:33] <blackflow> ovrh: well there's that kernel upgrade on 4th . See, that's why I don't really like unattended upgrades. that upgrade just installs files, but you still have to reboot. and might've caused this mess by installing headers and sources different from currently running kernel
[16:34] <blackflow> ovrh: ideally you shouldn't use unattended upgrades but be aware of what updates and when.
[16:34] <RoscoePColtrane> plm: .....it's not like you have many choices
[16:34] <TJ-> ovrh: line 78, the newer kernel image was installed "Start-Date: 2018-10-04  21:56:39" *but* the associated -headers were not so the nvidia driver would fail to build for that version. On next reboot, when  the new kernel is loaded, there was no nvidia module. Once you'd manually installed the -headers package, it built
[16:34] <ovrh> blackflow, I don't like the idea of unattended upgrades either. I didn't know it was there, and I got rid of it. I am just kind of curious to see where this problem originated from.
[16:34] <R13ose> TJ-: what do I do to make the signal stronger from my computer?
[16:34] <EoflaOE> R13ose: I am looking up...
[16:35] <plm> RoscoePColtrane: so, how I do that?
[16:35] <ovrh> TJ-, Oh! So it is actually its fault?!
[16:35] <TJ-> R13ose: the only thing I can think of is a better antenna, or an external (USB) device that can accept an external antenna so you could position it where it can get a better signal
[16:36] <blackflow> ovrh: I would bet on it, yes.
[16:36] <TJ-> ovrh: well possibly except that - unless you've previsouly removed the "linux-headers" package which should cause the latest -header-$VERSION to be fetched, linux-image-$VERSION and linux-headers-$VERSION should be pulled in automatically.
[16:36] <R13ose> EoflaOE: crashed.  So I will get rid of more tabs.
[16:37] <TJ-> ovrh: check with "apt list linux-image linux-headers" that both are 'installed' if not install
[16:37] <EoflaOE> R13ose: OK. Can you paste bin the output of "lsusb -t" if your WiFi is USB?
[16:37] <R13ose> EoflaOE: I don't have a usb key that is wifi
[16:37] <TJ-> ovrh: those packages declare a "Depends:" on the latest version so that the system stays up to date
[16:38] <ovrh> TJ-, apt list linux-image linux-headers returns nothing
[16:38] <RoscoePColtrane> plm: qemu
[16:38] <ovrh> blackflow, Dammit. Definitely gonna remove that from now on
[16:38] <TJ-> R13ose: how far away is the Access Point the PC is connecting to? And do you have a smartphone that is getting a good signal in the same place as the PC?
[16:38] <RoscoePColtrane> plm: good luck
[16:38] <knicklux> TJ-, I passed the ssd through, so it shows up with blkid, but the hook cryptroot still does not do anything
[16:38] <knicklux> is there a way I can modify the hook and have it echo some debug info?
[16:39] <TJ-> ovrh: my mistake, do this: "apt list linux-{image,headers}-generic"
[16:39] <TJ-> ovrh: I forgot the packages have the generic or lowlatency extensions
[16:39] <TJ-> knicklux: hmmm
[16:40] <R13ose> TJ-: the laptop is not far away,I would say 10 feet or a little more.  The phone gets great singal in same place
[16:40] <knicklux> ah, I need to pass it thorugh with /dev/byuuid too
[16:40] <ovrh> TJ-, linux-headers-generic doesn't seem to be installed https://paste.ubuntu.com/p/tk8nh8CSYm/
[16:40] <TJ-> knicklux: did you pass the entire NVMe device, or just the partition?
[16:40] <TJ-> ovrh: there's the problem! install it
[16:40] <TJ-> knicklux: remember, the tooling needs to be able to scan all the block devices from the file-system back to the raw disk, not just partitions
[16:41] <ovrh> TJ-, Done!
[16:41] <TJ-> ovrh: you should be OK from noow on
[16:41] <knicklux> TJ-, I see, on it
[16:42] <ovrh> TJ-, Hopefully so! I'll have to remember to remove unattended-upgrades and install linux-headers-generic for future installations, definitely
[16:42] <TJ-> ovrh: i'd keep unattended-upgrades - it pulls in security fixes without you needing to manually check for them
[16:42] <TJ-> ovrh: after updates that require a reboot the GUI should also pop up a reminder that the system needs a reboot
[16:43] <EoflaOE> R13ose: Paste bin the output of "sudo lshw -C network" for an investigation
[16:43] <ovrh> TJ-, Eh, I don't trust it anymore though xD plus, this time was the nvidia graphics, next time could be the virtual box kernel module that will stop me from working for two days, and that's not good
[16:43] <plm> RoscoePColtrane: thanks
[16:43] <TJ-> R13ose: aha! you just had the laptop in pieces didn't you? did you take any photos of the internals, because I suspect you've got a disconnected antenna, or connected to the wrong outputs on the wifi device
[16:44] <TJ-> R13ose: sometimes you get wifi devices with 3 antenna sockets on, but laptop may only have 2 antennas. if you connect incorrectly it can cause problems in some circumstances.
[16:45] <TJ-> RoscoePColtrane: that nicknames is a blast from the past! :)
[16:45] <R13ose> EoflaOE: http://paste.ubuntu.com/p/Rw6TqGPqv6/
[16:45] <knicklux> TJ-, I'll try to manually mount the disk according to https://wiki.debian.org/CryptsetupDebug no success with the chroot so far
[16:45] <knicklux> TJ-, I will report back in a couple of minutes
[16:45] <TJ-> knicklux: hopefully you can use my initrd.log to know what to expecty
[16:45] <knicklux> Do you think, the debian instructions apply?
[16:46] <ovrh> TJ-, blackflow: By the way, thank you very very much for the help guys and sorry for the bother
[16:46] <R13ose> TJ-: the laptop wasn't in pieces but could be that the antenna moved or something happened. I didn't take photos.  I didn't touch the wifi.
[16:47] <knicklux> I'll just try :)
[16:48] <EoflaOE> R13ose: Your driver is ath9k. I am looking for that.
[16:48] <blackflow> ovrh: np :)
[16:49] <TJ-> R13ose: I think this is likely what the device should look like: https://ae01.alicdn.com/kf/HTB1enRRIVXXXXc_XpXXq6xXFXXXf/Atheros-AR9462-AR5B22-WB222-Half-Mini-PCIe-Bluetooth4-0-WLAN-Wifi-Wireless-Card.jpg
[16:49] <TJ-> R13ose: often the Wifi card is accessible via a screw-removable panel on the base of the laptop, where you can check
[16:50] <R13ose> TJ-: if I look for that, what am I doing with it?
[16:51] <TJ-> R13ose: you see the two antenna connectors at the top (left and right gold circles) - check you have antennas firmly plugged into them. If you find it, take photos before you touch it, and after if you change anything, so we can see when you're able to return to IRC
[16:51] <TJ-> R13ose: those gold components inside white squares - not the mounting holes in the two corners!
[16:52] <TJ-> R13ose: if they're connected firmly then the other possibility is the antennas themselves are in a shielded position. Usually the antenna cables lead into the back of the LCD case and the actual antennas are along its top or side edge
[16:52] <R13ose> TJ-: I will do that as soon as EoflaOE confirms I should. I need to turn off my laptop first.
[16:53] <TJ-> R13ose: indeed :)
[16:54] <R13ose> TJ-: I will take a photo before I do anything and let you advise me.
[16:54] <TJ-> R13ose: EoflaOE there is a software issue you could try...
[16:55] <TJ-> R13ose: ... the driver module may have an antenna-select option to choose which antenna(s) to use, which may be defaulting to the wrong values. We can check that.
[16:55] <EoflaOE> R13ose: There is too many users suffering of this issue. | TJ-: My adapter is RTL8192CU, not ath9k.
[16:56] <R13ose> TJ-: how?
[16:56] <TJ-> R13ose: show us "pastebinit <( lspci -nn -d ::0280 )"
[16:57] <TJ-> R13ose: there are a couple of options that may be relevant that the ath9k driver supports. To see them do "odinfo -F parm ath9k"
[16:58] <TJ-> R13ose: show us what it is currently set to with "pastebinit <( for n in /sys/module/ath9k/parameters/*; do [ -f $n ] && echo $n=$(cat $n); done )"
[16:59] <TJ-> R13ose: I typoed 2 lines ago; it should be "modinfo -F parm ath9k"
[16:59] <R13ose> TJ-: http://paste.ubuntu.com/p/VTPh2XzkfW/
[17:00] <TJ-> R13ose: thanks. From that, the exact device ID is 168c:0034 (vendor:device) which might help us later if we can't solve this via antennas
[17:01] <TJ-> R13ose: also, what is the exact PC model? this will show you: "dmesg | grep DMI:"
[17:02] <d_popara> Hello, I've got a problem with Windows10+Ubuntu dual boot. I've installed Ubuntu using the option to install alongside Windows 10 in the installation wizard, but after it's finished, I can't boot into Ubuntu. It just boots into Windows by itself. I've disabled secure boot in the UEFI settings.
[17:02] <EoflaOE> R13ose: I have to get ready for school. I am going to sleep while TJ- helps you. Goodbye.
[17:02] <R13ose> TJ-: http://paste.ubuntu.com/p/YZKcPwQtzk/
[17:04] <TJ-> R13ose: those settings look sane. The only options that may affect signal are not enabled, and those are the ones for Bluetooth Coexist and Antenna Diversity (BT would use multiple antennas)
[17:04] <R13ose> TJ-: Acer Aspire V5-572/Dazzle_CX , BIOS V2.09 09/05/2013
[17:04] <TJ-> R13ose: right, let me research that model in case it has a reputation for low signal strength
[17:04] <R13ose> EoflaOE: no problem thanks
[17:06] <knicklux> TJ-, this is what I got: https://paste.debian.net/1046172/
[17:06] <knicklux> I also get the same, when booting ubuntu without splash
[17:06] <TJ-> R13ose: seems you aren't alone, there are problems with that model even on Windows.
[17:06] <R13ose> TJ-: are there solutions?
[17:06] <TJ-> R13ose: I've found this thread which suggests there is an internal issue, and helpfully it includes a photo  https://www.ifixit.com/Answers/View/367668/WiFi+Connection+only+possible+directly+next+to+the+router
[17:08] <littlejohnny> TJ-, did you test it?
[17:09] <TJ-> R13ose: and that leads to another thread on the Acer forums, where the user "austen" reports the primary antenna cable was broken where it bends into the screen, so that's something else you can check if you open it up. Austen also says he workded around it by swapping the black and white antenna connectors so black connected to where white was, and visa-versa. See
[17:09] <TJ-> https://community.acer.com/en/discussion/171849/acer-aspire-v5-wireless-range-problems
[17:09] <TJ-> littlejohnny: I've not been able to get it it even send me an email - have you added some additional option to do that?
[17:11] <littlejohnny> TJ-, basically you just set up nullmailer and all the files under /etc/nullmailer/ remotes, defaultdomain, etc. then it will use that to send a mail once you make a mistake when typing your sudo password.
[17:12] <TJ-> littlejohnny: I've already got an MTA installed so it should be using that
[17:12] <R13ose> TJ-: going to open
[17:14] <knicklux> cryptroot in initramfs:scripts/local-top/ has a dependency cryptroot-prepare, where can I find it?
[17:14] <littlejohnny> TJ-, is "Defaults mail_badpass " in the sudoers file? i didnt really configure any additional options. but you can also add the mail_always option in sudoers.
[17:15] <littlejohnny> TJ-, what MTA are you using?   i think sudoers uses sendmail as the default mta. not sure.
[17:16] <TJ-> littlejohnny: it's ok, my fault, I'm on a PC where the lsb-invalid-mta was installed!
[17:16] <TJ-> littlejohnny: it's just sent an email now I've installed sendmail
[17:17] <littlejohnny> ah ok
[17:17] <pagios> hi all, i would like to scale up my docker image which is running mainly nodejs and some backend code and make it dynamic, for instance if i get peak traffic, i would like to automatically spawn a new docker image, and route users to that docker image which in turn is reading some origin server and serving clients. I would like to know how can i orchestrate that (detect the traffic/views, spawn a new instance and route users
[17:17] <pagios> to use say using dns or whatever) Thank you
[17:18] <TJ-> knicklux: generally all hooks/scripts from other packages should be found under /usr/share/initramfs-tools/
[17:18] <TJ-> pagios: that's not really an Ubuntu question; sounds like you need docker people for that
[17:19] <TJ-> littlejohnny: it has workec correctly for me
[17:20] <TJ-> littlejohnny: "From<EMAIL_ADDRESS>[17:20] <littlejohnny> TJ-, are you able to put ANYTHING in mailfrom?
[17:20] <littlejohnny> and still receivie?
[17:20] <TJ-> littlejohnny: I'll try
[17:20] <littlejohnny> receive*
[17:23] <TJ-> littlejohnny: yes: "From: someone@gobbledigook"
[17:24] <littlejohnny> TJ-, hmm.. something weird is happening here
[17:24] <TJ-> littlejohnny: what does "apt list sudo" report for you?
[17:25] <littlejohnny> TJ-,  sudo/bionic,now 1.8.21p2-3ubuntu1 amd64 [installed]
[17:25] <R13ose> TJ-: https://imgur.com/a/sZnA4pE and https://imgur.com/a/Z5wToZA Should I switch wired and if so, how?
[17:25] <R13ose> wires*
[17:26] <TJ-> littlejohnny: same here; it must be something (else) in your config
[17:27] <TJ-> R13ose: the screen hinge would be at the top of the main photo ?
[17:28] <R13ose> TJ-: yep
[17:29] <TJ-> R13ose: From the wifi adapter, follow the 2 antenna coaxs (the black and the white) to the hinge. At the hinge see if there is any 'play' in them by gently tugging/pushing them. As you tug see if you can see any crushed areas on either cable - that's how these usually get broken...
[17:31] <TJ-> R13ose: ... if you want to try swapped them anyway, return to the Wifi adapter and gently disconnect each one. Best way is to slide a pencil point under the cable-side of the connector and gently lever up until the connector 'pops' off the adapter vboard. Then swap them around. To re-fit them gently ensure they're precisely on top of the sockets and then press down firmly and levelly on them until you
[17:31] <TJ-> feel/hear a slight 'snap' sound. They need very little pressure if you have them lined up correctly.
[17:32] <TJ-> littlejohnny: is it possible nullmailer is replacing the From field!?
[17:33] <littlejohnny> TJ-, i dont think nullmailer would choose the UbuntuUser for the from field. its getting populated from somewhere else
[17:34] <R13ose> TJ-: when I press them very lightly, the end does move a little.
[17:34] <TJ-> littlejohnny: possibly, but if the mailer is running as that user it could be getting the user@ part easily. Try changing the bit after the @ in sudoers and see if that gets through
[17:35] <TJ-> R13ose: It might be worth simply disconnecting and reconnecting them where they are - they may just be loose.
[17:35] <R13ose> TJ-: the ends that connect to the wifi might be loose?
[17:36] <TJ-> R13ose: it is possible; I've seen these come completely off if the laptop has been knocked about a bit
[17:37] <TJ-> R13ose: when connecting they make a satisfying slight 'snap' sound and you can feel it too
[17:39] <R13ose> TJ-: done but they felt in before too.
[17:39] <knicklux> TJ-, I found something: Apparently, my luks sits on top of lvm and my initramfs did not have lvmetad or any lvm support. I am trying to get lvm tools inside it
[17:40] <TJ-> R13ose: test them. if no improvement, try swapping them over
[17:40] <R13ose> TJ-: close up and turn on?
[17:41] <TJ-> knicklux: right, as I said earlier, you have to have *everything* down to the raw device inside the container so it can be detected
[17:41] <TJ-> R13ose: if you're careful you should be able to leave the base off whilst testing it
[17:42] <TJ-> knicklux: if you've got e.g. pci > ahci > sda > sda1 > lvm > luks > ext4 then all those have to be detected and initrd needs appropriate drivers/tooling to cover all of them. if you restrict the device view in the container it cannot do that
[17:44] <knicklux> TJ-, I will try a very old kernel, worst case is that I have to install a ubuntu in a vm and copy the intramfs or something like that
[17:44] <knicklux> wish me luck, rebooting :D
[17:45] <R13ose> TJ-: still only one bar and not connecting from where I am which is further away.
[17:46] <TJ-> R13ose: right, so try swapping the leads
[17:51] <R13ose> There were two bars, sorry I made a mistake earlier when I said one, and now only one.  Yet is not connecting still from where I am.
[17:51] <R13ose> TJ-: ^
[17:51] <littlejohnny> TJ-, its working now, however i see that mailfrom is just essentially a display name.  because the source header of the email i received shows envelope-from<EMAIL_ADDRESS>so changing the mailfrom doesnt really change the sender does it?
[17:51] <R13ose> Now I see two bars
[17:52] <littlejohnny> sigh
[17:54] <knicklux> TJ-, the old kernel works :) I will try to generate an initramfs in verbose mode
[17:55] <TJ-> littlejohnny: correct, the MTA is responsible for setting the SMTP envelope. That is down to nullmailer
[17:56] <TJ-> R13ose: when testing Wifi signal strength it's better to rely on the "iwconfig" tool to get accurate values
[17:56] <littlejohnny> TJ-, which means that nullmailer is grabbing my UbuntuUser from somewhere right?
[17:56] <TJ-> R13ose: with 2.4GHz for example even your body can absorb a lot of signal, so the way you sit can have an affect in marginal signal areas
[17:56] <R13ose> TJ-: I am not connected to anything
[17:58] <R13ose> TJ-: keeps staying at setting network address
[17:58] <TJ-> R13ose: ahh. in which case "sudo iwlist scan | grep Quality" might report something useful without needing to connect
[17:58] <littlejohnny> TJ-, what do you think of this: https://stackoverflow.com/questions/54725/change-the-from-address-in-unix-mail  would it be worth a try?
[17:58] <TJ-> R13ose: that may see multiple Access Points though
[18:00] <R13ose> TJ-: first one is quality 24/70 signal level -86 dBm. Second one is quality 25/70 signal level -85 dBm.
[18:00] <R13ose> I am further away
[18:00] <R13ose> And not pointing laptop at router
[18:00] <TJ-> littlejohnny: is there a /etc/nullmailer/me file? if so, what is in it
[18:01] <TJ-> R13ose: possibly we need to make that command better so you know which AP those values refer to
[18:02] <knicklux> TJ-, new initramfs generation (ran from ubuntu system) https://paste.debian.net/1046178/
[18:02] <TJ-> R13ose: try this for added info: " sudo iwlist scan 2>/dev/null | grep -C 3 Quality "
[18:02] <R13ose> TJ-: okay, how and what will that tell us once I know?
[18:02] <littlejohnny> TJ-, no there isnt
[18:02] <TJ-> knicklux: looks good from line 65
[18:03] <TJ-> littlejohnny: OK; I saw that mentioned but it isn't clear what is supposed to be in it!
[18:03] <knicklux> TJ-, it also calls the lvm2 hook
[18:04] <knicklux> I should try to reboot once more
[18:04] <TJ-> littlejohnny: as an experiement, why don't you try installing 'sendmail' to determine if this is a sudo or nullmailer issue?
[18:04] <TJ-> knicklux: right, as we'd expect :)
[18:05] <R13ose> TJ-: the 25/70 one is the one I want
[18:05] <knicklux> Hopefully :D my last working kernel :)
[18:05] <knicklux> c u
[18:05] <TJ-> R13ose: and 25/70 is low, I presume the SNR next to it is rather low as well
[18:06] <TJ-> R13ose: remind me - is this with the antenna cables swapped over?
[18:06] <R13ose> TJ-: yes
[18:06] <R13ose> TJ-: SNR?
[18:06] <TJ-> R13ose: hmmm, not sure what to recommend then. Seems like it's not the easy solution that is going to help
[18:07] <TJ-> R13ose: SNR == Signal to Noise ratio aka "Signal level"
[18:07] <R13ose> TJ-: no way to boost this?
[18:08] <knicklux> TJ-, it seemed to work, thank you very much! :)
[18:08] <TJ-> R13ose: it is possible both cables are damaged passing into the hinge I suppose
[18:09] <R13ose> TJ-: where are the end of the cables suppose to go to?
[18:09] <TJ-> R13ose: I have all sorts of bits lying about so in this situation I'd connect a spare antenna to the card and try it to compare - that'd indicate if it is the built-in antennas at fault, or the card, but you don't have that ability
[18:09] <TJ-> R13ose: usually they lead to short (2-4cm long) antenna printed circuit boards at the top or sides of the screen
[18:10] <TJ-> R13ose: those cables are coaxial - designed to prevent the signal radiating from them. so if 1 or both are broken, the anntenas won't be connected
[18:11] <TJ-> R13ose: I recall earlier you said you had to do something to fix the laptop lid not closing - was that related to the hinge by any chance?
[18:11] <R13ose> TJ-: one end is connected to a circuit board and the other the wifi?
[18:11] <TJ-> R13ose: correct
[18:12] <oooooooooooooooo> how come apt-get install doesnt use bittorrent to source files?
[18:13] <TJ-> R13ose: this is what they look like, and you can buy replacements (as long as you get the correct length of coax (called a pgi-tail) https://ae01.alicdn.com/kf/HTB1JWukPXXXXXbNXXXXq6xXFXXXN/1pcs-Dual-Band-Antenna-Laptop-Wifi-Internal-Antenna-8dbi-for-Pcb-Network-Card.jpg
[18:13] <R13ose> TJ-: yes but I didn't do anything.
[18:13] <RonaldsMazitis> hello, how to install qgifer on 32 bit ubuntu 16.04
[18:13] <RonaldsMazitis> ?
[18:14] <R13ose> TJ-: I didn't see the big end
[18:15] <TJ-> oooooooooooooooo: we used to until 12.04, apt-transport-debtorrent
[18:15] <RonaldsMazitis> https://paste.ubuntu.com/p/VYyg8GsBJt/
[18:15] <RonaldsMazitis> this is compilation
[18:15] <TJ-> R13ose: by 'big end' you mean the antenna PCB?
[18:15] <littlejohnny> TJ-, thanks for your help. I stopped using sendmail a while ago for some reason i was having difficulty with it and nullmailer seemed easier. But nullmailer is lacking this feature i guess.
[18:16] <TJ-> R13ose: you won't - that's the bit buried around the screen
[18:16] <R13ose> TJ-: do you want me to take a photo of what I see at the end?
[18:16] <TJ-> R13ose: no, I know what to expect. I'm just making you aware too.
[18:17] <R13ose> TJ-: what if not connected?
[18:17] <knicklux> TJ-, you fixed it, amazing!
[18:18] <TJ-> R13ose: the coax will be soldered on and likely the coax is glued or taped to the screen plastic too. I doubt both antenna PCBs would be broken.
[18:18] <TJ-> knicklux: it's not rocket science!
[18:18] <coconut> oooooooooooooooo: and before bittorrent got invented, there was jigdo for downloading iso's.
[18:19] <oooooooooooooooo> i just spent way too long downloading 500mb for super tux kart, thats all
[18:19] <TJ-> R13ose: at this point I don't think there's much more we can do. We've checked the software side, we've investigated the hardware. Unless you can buy a couple of those antennas to test with (or borrow some) there's nothing else. It could be, even if you test with other antennas, it turns out the wifi card itself has a problem.
[18:19] <oooooooooooooooo> becuase it was one http source
[18:19] <knicklux> TJ-, If it was rocket science, it would be much easier for me xD
[18:19] <littlejohnny> besides nullmailer/sendmail is there a better alternative MTA that ubuntu can use?
[18:20] <TJ-> knicklux: :P
[18:20] <TJ-> littlejohnny: well, in my experience sendmail needs zero configuration. Just installing
[18:20] <coconut> oooooooooooooooo: yes that happens once a while.
[18:20] <RonaldsMazitis> so no qgifer anymore
[18:20] <R13ose> TJ-: the only thing I can do is cry and buy a usb wifi?
[18:20] <RonaldsMazitis> it used to work
[18:21] <TJ-> RonaldsMazitis: whilst you've got the laptop open, you could try removing and re-seating the wifi card from its slot - weirder things have been fixed by re-seating adapters!
[18:21] <TJ-> Grrr
[18:21] <RonaldsMazitis> :D
[18:21] <TJ-> R13ose: : whilst you've got the laptop open, you could try removing and re-seating the wifi card from its slot - weirder things have been fixed by re-seating adapters!
[18:21] <RonaldsMazitis> lol
[18:21] <RonaldsMazitis> lol
[18:21]  * TJ- confiscates RonaldsMazitis's R
[18:23] <TJ-> R13ose: amazing story - 2 days ago I was helping a user with an Asus ROG gaming desktop PC that has built-in wifi/bluetooth with antennas screwed in at the back. The Bluetooth device (USB) wasn't appearing, we found from the kernel log the USB device was failing to reset. After many hours, being flippant, I suggested the user disconnect the antennas - and the thing started working!
[18:24] <knicklux> R13ose, I used some dongles in the past, if you like advice
[18:24] <TJ-> R13ose: I've got a drawer full of USB wifi devices
[18:25] <R13ose> TJ-: let me show you a photo
[18:28] <RonaldsMazitis> so any alternatives to ffmpeg
[18:28] <RonaldsMazitis> for making a gif
[18:28] <R13ose> TJ-: http://imgur.com/a/Ox5ewbx
[18:28] <RonaldsMazitis> I dont understand why qgifer is depraceted..
[18:28] <R13ose> TJ-: should I now close up and put the laptop back together?
[18:29] <TJ-> R13ose: OH MY GOSH! You clever person!!! That photo looks like the cables have been cut!!
[18:29] <TJ-> R13ose: THAT is your PROBLEM :D
[18:30] <TJ-> R13ose: so, you need 2 replacement antenna/pig-tail units, or use an external USB wifi
[18:30] <R13ose> TJ-: maybe the hinge on that side did it as this is broken on that side a bit.
[18:31] <Furai> Is there any alternative to ubuntu-livepatch?
[18:31] <coz_> RonaldsMazitis, have you looked into imagemagic?
[18:31] <TJ-> R13ose: right - that was what I was suggesting earlier when I asked about what repair you were doing - my guess is when the hinge was detached it cut the cables
[18:31] <RonaldsMazitis> I need easy
[18:31] <RonaldsMazitis> GUI
[18:32] <RonaldsMazitis> like a normal person , coz
[18:32] <TJ-> R13ose: at least you now know the cause and can decide what to do about it. What country are you in?
[18:32] <coz_> RonaldsMazitis, ok hold on let me check
[18:32] <R13ose> TJ-: Canada
[18:32] <R13ose> TJ-: you?
[18:32] <TJ-> R13ose: I'm in the U.K. - I was going to suggest, you can get replacement antennas/pigtails really cheap via eBay, amazon, and the like
[18:33] <coz_> RonaldsMazitis,  never tried this , your own risk  https://www.omgubuntu.co.uk/2017/09/create-gif-from-video-linux-app
[18:33] <R13ose> TJ-: what would I have to do to fix this, if I got them?
[18:33] <TJ-> R13ose: but, to fit them, you would need to also dissemble the screen, or at the least, pop off its cover to replace the antennas, which is a harder job
[18:33] <R13ose> TJ-: I can close the laptop up, right?
[18:34] <RonaldsMazitis> it's not on github anymore
[18:34] <RonaldsMazitis> coz
[18:34] <TJ-> R13ose: usually the coaxial cables are routed around the outside of the LCD in the bezel and likely the PCBs themselves are glued or taped in at the top
[18:34] <TJ-> R13ose: sure, there's nothing else you can do for now
[18:34] <R13ose> TJ-: way too above my knowledge to fix without breaking something.
[18:35] <coz_> RonaldsMazitis,  just google    ubuntu 18.04 make animated gifs application
[18:35] <TJ-> R13ose: maybe you know somone local who could help
[18:35] <TJ-> R13ose: other than that - get a USB dongle
[18:36] <R13ose> TJ-: not a repair shop?
[18:36] <RonaldsMazitis> qgifer was working okay
[18:36] <coz_> RonaldsMazitis,  I haven't used it,
[18:37] <coz_> have to go
[18:37] <TJ-> R13ose: that too although it would be more expensive than a USb dongle I'd expect :)
[18:37] <R13ose> TJ-: how much would it cost if you sent me one of yours?
[18:39] <TJ-> R13ose: trans-atlantic? A lot! You should be able to buy one locally for a few dollars - do a search
[18:39] <R13ose> Okay
[18:39] <R13ose> TJ-: thanks for your help
[18:42] <TJ-> R13ose: you're welcome - it's been an interesting diagnostic project :)
[18:42] <R13ose> Yep
[18:43] <R13ose> TJ-: I had to take out a stick of memory the other day because that was bad
[18:43] <TJ-> R13ose: ouch!
[18:46] <R13ose> TJ-: I actually learned a lot.  How much would it be to replace the cables?
[18:46] <eelstrebor> hmm, i'm wondering why my bash history got wiped
[18:54] <Greyztar> is there any better way to write command for destination dir other than repeating it like this with cp command: cp /docs/file /docs/file
[18:56] <TJ-> R13ose: if you want to replace them I'd suggest first you make sure you can open up the screen and get to the existing cables/antennas. Remove them and the cables attached to the wifi adapter. Measure the cable (pigtail) length. Then you can locate/buy replacements with the correct pigtail length - and know you can fit them.
[18:57] <TJ-> R13ose: I seem to have found the correct ones (in the UK) for your laptop model: https://www.ebay.co.uk/itm/Acer-Aspire-E1-572P-LAPTOP-LID-ANTENNA-WIFI-CABLES/372350524935
[18:58] <TJ-> Greyztar: you mean copying to the same directory but with a different name?
[18:59] <R13ose> TJ-: mine is V5
[18:59] <TJ-> Greyztar: "cp /path/to/dir/{current,newname}"
[18:59] <Greyztar> TJ-: yupp
[18:59] <TJ-> R13ose: oops! sorry, I searched on that and didn't notice the difference!
[19:00] <TJ-> Greyztar: the shell will expand that for you, test it with "echo /path/to/dir/{current,newname}"
[19:00] <Greyztar> TJ-: ok sweet,its just little tedious when theres a file in the deep down under very lengthy path,seems counterintuitiv writing same thing twice :D feels WIndows lol
[19:01] <Greyztar> TJ- thx alot ill try it (,")
[19:02] <TJ-> Greyztar: there's a nicer way if you're using bash shell - "pushd path/to/dir; cp current newname; popd "
[19:02] <R13ose> TJ-: since this is not Ubuntu, we should take this out of this channel
[19:03] <TJ-> R13ose: I cannot find an exact match but you should be able to search in your local eBay and other suppliers to find one. I'd guess the same part will likely match several Aspire models.
[19:03] <Greyztar> TJ-: nailed it (,")
[19:03] <R13ose> TJ-: thanks
[19:21] <alt0id> sup
[19:22] <alt0id> can someone help me with installing ubuntu on a drive that already has a home drive
[19:22] <alt0id> without formating anything
[19:23] <jas> probly google
[19:24] <ioria> alt0id, manual partitionig , and set up that partition as /home
[19:25] <alt0id> ioria: its a small HDD, i cant do that, i'll be a mess
[19:26] <ioria> alt0id, it should be a patition not a drive
[19:45] <R13ose> TJ-: can I on you?
[19:46] <R13ose> pm*
[19:54] <VVD> hi
[19:55] <VVD> Is it planned to add tox to official repo?
[19:55] <VVD> I'm vote for qTox!
[19:59] <doubtful> hi
[19:59] <doubtful> I am using ubuntu 18.04 on dell xps 13 (9370).
[19:59] <doubtful> Issue: repeated keystores, it happened after a update showed in ubuntu software centre from dell.
[20:00] <doubtful> It was related to something about BIOS>
[20:00] <doubtful> any ideas on how to fix this?
[20:03] <doubtful> any IDEA?
[20:07] <courrier> My Dell XPS13 running 18.04.1 4.15.0-36-generic with Mate desktop sometimes crashes (screen displays a blue/green gradient, no kernel panic, not possible to switch tty)
[20:07] <courrier> Here are the last syslog lines before full crash, do you see anything helpful? http://paste.debian.net/1046186/
[20:11] <courrier> Here's the gradient I can see: https://www.cjoint.com/data3/HJgukKeETgJ_IMG-20181006-214957.jpg (Which software is displaying this thing?)
[20:36] <_KaszpiR_> courrier see rahter kernel log or X log
[20:44] <courrier> _KaszpiR_: kernel log looks fine, only some CPU thottling/unthrottling operations
[20:45] <courrier> As for X, the log file contains uptime instead of huma readable time, so it's difficult to search at the right location
[20:45] <courrier> Is there any file that contains both uptime and human readable time? So that I can check in the right time period
[21:25] <arakimo> Hey, having an issue trying to get my VPN working on ubuntu without DNS leaks, ideas?
[21:25] <arakimo> tried installing unbound, which usually solved it for me in 16.04
[21:26] <arakimo> doesn't seem to be working in 18.04 though :/
[21:27] <arakimo> anyone able to help? thanks in advance ^-^
[21:28] <jas> specify dns manually?
[21:28] <jas> @ network settings
[21:29] <jas> https://i.imgur.com/dpRVUz3.png
[21:29] <arakimo> sorry, never really manually configured DNS before :D
[21:31] <jas> if you can make it to that settings screen
[21:31] <jas> <IP_ADDRESS>
[21:31] <jas> opendns
[21:32] <jas> i usually disable ipv6 or set it to "link local only"
[21:32] <jas> should fix your dns leak
[21:53] <eroc> Hiya. Newb question. What's the best way to set my DNS servers. Specifically, I want to use Cloudflare's DNS servers for both my wifi and vpn connections.
[21:54] <eroc> I've seen some articles recommend netplan and others talk about resolv.conf.
[21:54] <MannyLNJ> Possible stupid question but I have 3 PC's I don't use any more. I want to turn them into network storage in my house. I don't know which one has the best performance what is a good benchmark program I can run in a live-cd
[21:57] <ovrh> Hey guys, is there a more or less universally accepted method to provision a desktop installation? I mean, something that allows me to create a "deploy" script of sorts, which I can run say from a live cd, and it will install linux and configure all the settings that I want. Is it even doable
[21:58] <catbeard> mkisofs, helluva thing
[21:58] <catbeard> or do you mean dynamically
[22:00] <tripelb> when I go to UbuntuSoftware there is no place to put the program name to search for it. This seems not right. Help me out on this please.
[22:00] <TJ-> ovrh: yes, read up on preseed
[22:00] <catbeard> ^
[22:00] <catbeard> also perhaps spacewalk
[22:01] <eroc> tripelb: It's not very obvious, but there's a magnifying glass icon in the top bar. Click that to search.
[22:01] <TJ-> ovrh: see https://help.ubuntu.com/lts/installation-guide/amd64/apbs02.html
[22:01] <ovrh> TJ-, Would that allow me to also install apps, config settings in those apps etc?
[22:02] <TJ-> ovrh: as well as controlling configuration and packages to be installed it can trigger scripts to do customisations
[22:07] <ovrh> TJ-, Oh, that's absolutely cool, thank you!
[22:08] <ovrh> catbeard, And thank you too for the suggestion, I'll look into spacewalk too :)
[22:14] <hashicorpsarah> heyhey guys.   I'm assessing  CVE-2018-17456.   It doesn't look like a patch is out for 16.0.4 or 18.0.4.   Is there anyone here who can let me know status on when the patch will be released?
[22:14] <hashicorpsarah> #patchallthethings.
[22:14] <hashicorpsarah> i would really appreciate the help.  patchpatchpatch.
[22:22] <jas> dont think yer gonna find that info here
[22:24] <TJ-> hashicorpsarah: see https://people.canonical.com/~ubuntu-security/cve/2018/CVE-2018-17456.html
[22:25] <TJ-> hashicorpsarah: also, the security team can be reached in #ubuntu-hardened