[00:00] 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] Hello [00:07] Could someone recommend (combinations of) books or study materials that both introduce Computer Science and Ubuntu Linux? [00:07] Please [00:07] lol [00:08] I am a newbie but I am using Ubuntu now [00:08] yeah we can see that from your question [00:08] computer science has not much to do with the operating system youre using [00:10] okay thanks... [00:11] but well.. welcome to the better side of life! :) [00:11] JiZhanHuang: mit has open courseware [00:11] oh. so what i need is actually documentations of Ubuntu? [00:12] also maybe check udemy for linux courses [00:12] yeah.. or linux documentation [00:12] debian will do great aswell. [00:12] or simply get a linux commandline book that will help you to get up and running with the most important commands [00:16] thanks all :) [00:20] 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] :) [00:21] yeah kinda.. you first learn to drive the car and maybe manufacture a car seat [00:21] or a door before going for the whole thing [00:22] thanks :) [00:22] and driving cars is pretty much different then manufacturing a seat [00:23] so you wont find many books helping you with both at once.. you need two books [00:23] :D [00:28] oh you mentioned Debian documentation and Ubuntu Documentation are compatible and both helpful? [00:30] more or less compatible yes [00:30] so if you dont find your answer with ubuntu keyword try debian [00:31] but you probably better start with something like this https://ryanstutorials.net/linuxtutorial/ [00:35] !manual | JiZhanHuang [00:35] JiZhanHuang: The Ubuntu Manual will help you become familiar with everyday tasks such as surfing the web, listening to music and scanning documents. With an emphasis on easy to follow instructions, it is suitable for all levels of experience. http://ubuntu-manual.org/ [00:37] wow thanks Bashing-om :) but this laptop is 32-bit and have upgraded to 18.04 [00:38] have been* [00:40] JiZhanHuang: Basic premises remain the same , just different buttons . [00:41] JiZhanHuang: except networking .. a big change in 18.04 . [00:42] Is there any way to swipe through full screen apps? [00:42] *Fulldcreen [00:42] alt+tab? [00:43] Any way to get back to the desktop/ have multiple full screen apps open at once [00:43] and i wish to ask: what is the alternatives to Adobe Acrobat Pro XI providing functions most similar to Acrobat? [00:44] What I really want is one Fullscreen app in a workspace [00:46] you can do multiple desktops and switch between them, I don't know the shortcut for that offhand though [00:46] Control+Alt+Up [00:47] Now if I could have the desktops be left and right instead of up and down everything would be perfect [00:48] What is the Linux alternatives to Adobe Acrobat Pro XI that providing functions most the same as Adobe Acrobat Pro XI? [00:56] doubt you going to get that close of an alternative. they are general alternatives.. Try https://alternativeto.net/ [00:57] you're* [01:03] JiZhanHuang, might try https://code-industry.net/masterpdfeditor/ [01:06] wow cool i haven't googled out that. thanks Tin_man :) [01:06] no problem, hope it's what you can use [01:15] 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] named ISO and then each ISO in it is treated as a DVD image. === BgLamersTeam is now known as Dreaman [01:21] 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] rfm, thanls [01:26] 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] 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] MannyLNJ, "dpkg -i path-to-the.deb === brainwash_ is now known as brainwash [01:31] ? [01:31] 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] hola everyone === ekshunya_ is now known as ekshunya [01:50] I'm having trouble with formatting a USB drive, can anybody give a hand? [01:50] Using Lubuntu [01:53] lubuntu channel [01:54] ask === tatertots is now known as RoscoePColtrane [02:04] 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] Does anybody know how to fix this? [02:33] it seems like it unmounted on its own? [02:33] oh, left [02:33] try a different drive [02:33] cfhowlett, left [02:57] 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] Was SDL2 built without Vulkan? === Dreaman is now known as BgLamersTeam [04:01] how do I give my non root user access to /dev/tty0 so it can start X? [04:16] hi, I installed wine, using "sudo apt install wine", couldn't find it's icon. [04:16] anyone help regarding this? [04:19] ekshunya: explain what you're trying to accomplish [04:21] 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] then i tried, I install on my system. and I also couldn't find its icon. [04:22] so i can open it and do installation and uninstallation from it. [04:24] Can anyone point me toward a bootable USB making utility that works in Ubuntu? [04:25] Preferably without having to use WINE [04:26] aidrocsid: the ubuntu usb creator [04:27] Oh awesome, thanks! [04:27] aidrocsid: also: http://ubuntuforums.org/showthread.php?t=1958073 <-sudodus/Howto make USB boot drives [04:40] 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] joshumax: wubi is depraced, what are you trying to do exactly? [04:49] 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] joshumax: i think duaboot would be the more usefull option [04:51] joshumax: i have seen an online virtual game emulator once online, but i forgot its name [04:52] joshumax: see also wine, playonlinux,steam and the #gamingonlinux community [04:52] lotuspsychje: Funny story, I'm actually a full-time Wine dev [04:52] Unfortunately the game I'm trying to play is sea of theives [04:53] Which requires a host of UWP support libs and is heavily encumbered by DRM [04:53] right [04:54] !ping [04:54] pong! [04:54] morning cfhowlett [04:54] yowza ^# lotuspsychje! [04:54] joshumax: think best bet will be dualboot [04:54] lotuspsychje: Arrrghhhhhh... I was hoping to avoid repartitioning :/ [04:56] joshumax: you could ask in #gamingonlinux if they know a way for your game..but i doubt === kundancool is now known as anonymousK [04:56] lotuspsychje: Hmm...know anything about paperspace? === anonymousK is now known as kundancool [04:58] joshumax: check this https://gaming.liquidsky.com/ or lookup other cloud gaming services [05:35] hi all.is it possible to password protect (not encrypt) a folder that is located on ext. drive? [05:41] 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] Tin_man, i think i read that before.tested it already.not working [05:44] 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) === Bleeding is now known as NarwhalKing [05:45] 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] Tin_man, tested it on an external drive [05:46] wonder why it didn't work. Because it's a external drive? [05:48] im avoiding encryption..password protect will do [05:48] thats what i thought too [05:49] for my regular docs i use Libre Office Writer, which you can password protect, but I think it encrypts also.. [05:50] yes,im doing that as well.but i want the whole folder with mix contents [05:51] I don't know of a way, maybe a 3 party software out there somewhere. [05:52] Tin_man, tnx man [05:52] i just zip and then openssl enc -e -aes-256-ctr ...external drive might possibly ignore permissions [05:52] asks for a password [05:52] so i guess password+encrypt [05:52] np [05:53] jas il consider that [05:54] openssl enc -e -aes-256-ctr -in /home/you/file -out /home/you/encrypted [05:54] yelowfish, have you tried setting permissions on your Hdd, and then copying to external? [05:54] for decryption -e becomes -d [05:55] not the simplest solution but pretty damn secure :D [05:57] yao_ziyuan: smart test with disktools [05:58] lotuspsychje: you mean the tool called "Disks"? [05:58] yao_ziyuan: yes [05:58] i'm viewing the smart data with "Disks". [05:58] it tells me that one sector is pending reallocation. [05:59] but doesn't tell me which one. [05:59] yao_ziyuan: can you pastebin the report to the channel volunteers might having a look [06:00] 1 sector is currently pending rellocation. that's the only bad smart attribute. === capella|away is now known as capellaScreams [06:01] ok, which sector that is doesn't matter to me... === capellaScreams is now known as capellasDead [06:01] yao_ziyuan: you can ask about that in ##hardware if you want [06:01] it's all managed by the disk, right? === BgLamersTeam is now known as Dreaman [06:12] 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] debian, linux mint, kde or cinnamon, all no sound . [06:13] how can I have sound on ubuntu three days ago, but havn [06:13] havn't it now? [06:15] 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] any kind of help is truly appreciated. [06:21] !sound | laughingtiger [06:21] laughingtiger: If you're having problems with sound, click the Volume applet, then Sound Preferences, and check your Volume, Hardware, Input, and Output settings. If that fails, see https://help.ubuntu.com/community/Sound - https://help.ubuntu.com/community/SoundTroubleshooting - http://alsa.opensrc.org/DmixPlugin - For playing audio files, see !players and !mp3. [06:22] laughingtiger: probably a kernel issue there [06:23] laughingtiger: to debug, you might wanna lookup your dmesg/syslog logs [06:38] lotuspsychje, sorry I went out [06:39] 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. === Dreaman is now known as BgLamersTeam [06:41] also, why ubuntu 18 has no proprietary driver section in settings like before? [06:43] DO you mean "Software & Updates" "Additional Drivers" tab? [06:44] EoflaOE, thanks I will check that out [06:44] laughingtiger: You are welcome. [06:45] laughingtiger: are you chatting from the computer right now? [06:46] RoscoePColtrane, yes [06:46] laughingtiger: in terminal> sudo apt install inxi [06:46] laughingtiger: let me know when done [06:46] i cant install ubuntu on my acer aspire laptop... it had linpus installed [06:46] I could probably install it in legacy boot mode, but I need windows in dual too, so I need to use UEFI [06:46] BIOS version is 1.11 [06:47] RoscoePColtrane, should I put the output of inxi here? [06:47] Outputs to pastebin [06:48] laughingtiger: in terminal> inxi -Fxxprzc0|nc termbin.com 9999 [06:48] laughingtiger: share url/link here..if you do not get a url/link...say so [06:49] RoscoePColtrane, http://termbin.com/x6au [06:50] laughingtiger: amixer > nip.pir [06:50] laughingtiger: aplay -L >> nip.pir [06:50] laughingtiger: aplay -l >> nip.pir [06:51] laughingtiger: cat nip.pir|nc termbin.com 9999 [06:51] laughingtiger: share url/link here..if you do not get a url/link...say so [06:53] RoscoePColtrane, http://termbin.com/aed4 [06:54] wow kubuntu is still 600mb left alone all day [06:54] can someone help me? [06:55] OnceMe, you need a boot loader [06:55] ok, and how do I do that? [06:56] OnceMe, why can't you install ubuntu on a laptop? [06:56] you've given zero insights [06:58] RoscoePColtrane, could this be a hardware malfunction? [06:59] laughingtiger: speaker-test -Dplug:front -c2 [07:00] laughingtiger: explain what occurred when you ran the command above [07:01] https://pastebin.com/Wx5nhiJg I hope this is clear enough [07:02] RoscoePColtrane, some output but no sound. [07:04] laughingtiger: speaker-test -sysdefault:PCH -c2 [07:04] it repeating the time interval [07:05] laughingtiger: speaker-test -Dsysdefault:PCH -c2 [07:06] RoscoePColtrane, this command gives an error, says "-s invalid argument" [07:06] speaker-test 1.1.3 "-s option invalid " or sth like that. [07:07] any help? [07:09] laughingtiger: try this one [07:09] laughingtiger: speaker-test -Dfront:PCH -c2 [07:10] 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] laughingtiger: you should have heard sound at least once by now [07:13] 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] RoscoePColtrane, idk what's happening. but thank you anyway. probably this computer should be sent back. [07:28] help me mpeople [07:30] !patience | OnceMe [07:30] OnceMe: Don't feel ignored and repeat your question quickly; if nobody knows your answer, nobody will answer you. While you wait, try searching https://help.ubuntu.com or https://ubuntuforums.org or https://askubuntu.com/ [07:31] 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] https://pastebin.com/Wx5nhiJg - question [07:33] !uefi | OnceMe start here, read carefully first [07:33] OnceMe start here, read carefully first: UEFI is a specification that defines a software interface between an operating system and platform firmware. It is meant as a replacement for the BIOS. For information on how to set up and install Ubuntu and its derivatives on UEFI machines please read https://help.ubuntu.com/community/UEFI [07:33] I read that last night [07:35] EriC^^: one for you ^^:p [07:36] 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] and Im booting in uefi mode and everything, but grub cannot be found from some reason [08:21] what is the meaning of "shadows" in the context "completely shadows a file with same name in /etc/netplain" [08:51] demu: you mean /etc/netplan don't you?...instead of "plain" [08:53] RoscoePCltrane: yes [08:55] !ping [08:55] pong! [08:55] https://netplan.io/reference section "General structure" [09:12] demu: ask the author(s) of that document, it's not an ubuntu support question [09:15] ducasse: thx! [09:16] demu: you can try #netplan, for example [09:16] ducasse: I will tomorrow, it is getting late. thx again! [09:17] demu: np === capellasDead is now known as capella|away === kundancool is now known as anonymousK === sauvin_ is now known as Sauvin [09:36] 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] 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] bobdobbs: yes, symlinks somewhere in /etc/php... [09:38] 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] oh yup [09:39] $1M question tho: why do you have two PHP versions like that in the same namespace... what problem does that solve. [09:39] ikr [09:39] this is my local webdev environment and I honestly have no idea how or why I have two php's installed [09:39] oh, I think I remember [09:39] so why not drop 7.1 [09:40] I had 7.1 and then upgraded. But the upgrade broke some stuff. I can't remember which stuff. [09:40] doesn't sound like you have regular ubuntu installation theere, in which installing both at the same time would not be possible [09:40] 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] so for the moment I'd rather just keep using 7.1 [09:41] bobdobbs: apache via fpm doesn't care about php version [09:41] it's fastcgi, and httpd doesn't care what's on the other side of the socket [09:41] oh yup. I getcha [09:41] It wasn't apache that broke. It was the apps using it. [09:41] which ubuntu is this? [09:41] 18.04 [09:42] 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] 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 === anonymousK is now known as kundancool [09:50] yeah, they shouldn't have broken. I'm basically just hosting a bunch of wordpress sites [09:50] but for some reason, and somehow they broke. [09:50] I can't remember how. It was so long ago. === kundancool is now known as anonymousK [10:17] 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? === ekshunya_ is now known as ekshunya [10:20] oh wait. I did it. it was easy [10:20] 'service php7.1-fpm stop', 'service php7.2 start'. duh. [10:33] now thats skillz [10:44] Hi R13ose [10:46] Hi EoflaOE [10:51] My laptop is not waking up if I let my computer to sit on for awhile, the monitor turns off and then I can't wake my computer back up. Why? [10:53] have you used the power button and keyboard/mouse to wake the computer up? [10:55] EoflaOE: I think so [10:56] and none of them wakes the computer up (not turning on to switch users screen)? [10:58] Yep. I can't tell why. [10:59] Looking up the reason of the issue... [11:01] actually I have to eat food and look up the issue [11:03] Thanks [11:04] You are welcome [11:23] Hi folks [11:24] Hi [11:25] 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] both fedora and centos worked fine [11:47] 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? === SimonNL is now known as SimonNL_Afk [12:01] littlejohnny: isn't the myuser@ the username used to authenticate to the MTA (SMTP server) nullmailer is connecting to? [12:02] dariken, run sudo update-grub on on one of the other dustos and it will thwn include ubintu in grub's menu , [12:02] littlejohnny: otherwise, it's in the "From:" field of the email file being generated that is passed to nullmailer [12:02] err distros [12:04] err: not enough coffee [12:04] yeah TJ- , going for my 2nd cup :-) [12:05] 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] TJ-, basically its root sending out those mails. but i want to change the FROM address [12:05] 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] littlejohnny: is it perhaps using an email template file? [12:06] TJ-, nullmailer is just a sendmail emulator [12:07] littlejohnny: I know - so what is actually creating the email that nullmailer is sending? That's where you need to look. [12:07] TJ-, not sure. I thought it would be grabbing the user from gecos field /etc/passwd but i dont know now [12:08] littlejohnny: apparently it is 'sudo' [12:09] littlejohnny, don't you have a /etc/nullmailer/adminaddr file ? [12:10] ioria, yes and thats the email it sends TO. not sends FROM. [12:12] 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] TJ-, sometimes i see root, sometimes i see myUbuntuUser@hostname which is what i want to change [12:15] depending on which user made the authentication failure [12:17] 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] 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] TJ-, thanks but how do i configure or change that? === mkv is now known as m4v [12:19] littlejohnny: read "man visudo" [12:23] @c2f 39 [12:23] 102°F [12:35] R13ose, is your hard drive SATA? If so, what is your SATA mode? [12:36] EoflaOE: I am not sure. How do I check? [12:38] Also my computer crashes a lot if I open too many tabs in Opera Browser. [12:40] 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] EoflaOE: it is in AHCI mode === kundancool is now known as anonymousK === anonymousK is now known as kundancool [12:59] I am still looking... === kundancool is now known as anonymousK [13:01] 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] EoflaOE: http://paste.ubuntu.com/p/3RWwMnJSn6 [13:09] 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] 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] EoflaOE: maybe it will turn on but I am too fast [13:13] Do you mean that the screen is blank completely? [13:13] 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 === anonymousK is now known as kundancool === kundancool is now known as anonymousK [13:15] 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] TJ-, got it thanks. So if MAILFROM is not inside sudoers, do i add it with "Defaults mailfrom=user@domain.com ?" [13:17] TJ-: I am on Kubuntu [13:18] 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] EoflaOE: yes but seems the laptop is on. I don't close the lid [13:19] So you used "Suspend" in the KDE start menu or power menu. Is that right? [13:20] * SuntopK sits and waits. [13:21] 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] SuntopK: however... I'd rather try to figure out what went wrong and see if it's fixable. [13:22] s/filesystem checksums/filesystem snapshots/ [13:22] EoflaOE: nope. I just leave the laptop on [13:23] 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] TJ-, i changed it like that but i am still receiving emails from myuser instead of the email i provided in "mailfrom" [13:24] 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] 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] -_- [13:25] SuntopK: the apt archives are under /var/cache/apt/archives/ [13:26] 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] okay [13:27] R13ose: What about posting an output of "cat /sys/power/state"? Does it have "disk"? [13:29] My laptop is so slow. [13:29] littlejohnny: chmod 440 the files in /etc/sudoers.d/ or they won't be applicable === anonymousK is now known as kundancool [13:31] littlejohnny: check the setting is valid with "sudo -l" [13:31] EoflaOE: yes I see disk [13:31] TJ-, it is there when i did "sudo -l" [13:32] but still sending it as my user [13:32] littlejohnny: hehehe I think its playing silly beggars with you :) [13:32] Go to the KDE System Settings. You should see Energy Saving. Did you see that? [13:32] 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] Okay I found them I have installed them I hope this works (fingers crosssed) [13:33] TJ-, for bad pass yes. i am deliberately putting bad password and receiving mail from myuser [13:34] 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] TJ-, yes i have [13:34] littlejohnny: as in Defaults mailfrom="user@mydomain.com@ [13:34] :( [13:34] oops, s/@/"/ [13:35] littlejohnny: hmmm, let me try it here [13:35] but put the same amount of spaces between "Defaults" and the mailfrom [13:35] like the other Defaults ones [13:35] in other words i did not put one space netween "Defaults" and "mailfrom" [13:36] EoflaOE: yes I see that [13:36] TJ- [13:37] 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] Can you try to disable "Screen Energy Saving" on these 3 tabs, AC Power, Battery, and Low Battery if it is checked? [13:38] Done [13:38] Can you see if it fixes this problem? [13:38] TJ-: yeah I hate that. sudoers, apparmor profiles, stupid things. [13:39] EoflaOE: okay, I will not do anything for a bit. [13:39] 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] EoflaOE: while waiting for that, what about my opera crashing? [13:40] littlejohnny: if you include files from sudoers.d, those have to be chmodded 440 [13:40] 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] blackflow, thanks i will give it those permissions now [13:41] blackflow: I've got files chmod 460 there; they work too. [13:42] TJ-: that's a weird perm, but I suppose it'd work as long as its o-w [13:42] littlejohnny: generally you do "sudo visudo -f /etc/sudoers.d/myfile" and that sorts everything out [13:43] blackflow: yeah, and ownership 0:0 I think [13:43] 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] R13ose: Each tab uses some resources. If the tab is a high number, then it uses too many resources. [13:43] EoflaOE: how many are too many tabs? [13:43] varaindemian: nvidia driver? [13:43] varaindemian: check /var/log/kern.log for hardware lockups, possibly the GPU driver [13:44] R13ose: At about 50+ tabs open [13:44] blackflow: what do you mena? [13:44] Oh srry [13:44] no [13:44] I have no nvidia [13:44] varaindemian: there's been a lot of that with Intel i915 recently [13:44] i5 5300u [13:44] TJ-, ok, so inside /etc/sudoers.d/mailfrom i put one line containing "Defaults mailfrom=WhateverUser@domain.com" and then do sudo visudo -f /etc/sudoers.d/mailfrom ? [13:45] EoflaOE: how do I know how many tabs are open? [13:45] varaindemian: I asked because there are known issues with the default nvidia proprietary driver... at least, were. and those were the symptoms. [13:45] I see. No vidia graphics card on my machine [13:46] littlejohnny: Defaults mailfrom="whateveruser@domain.com" [13:46] littlejohnny: Defaults mailfrom="WhateverUser@domain.com" [13:46] varaindemian: check /var/log/kern.log for clues [13:46] yes sorry forgot that. let me try it [13:47] R13ose: Try "Tab Counter" by "daawesomep". It counts all tabs. [13:48] tons of messges in /var/log/kern/log [13:48] tons of messges in /var/log/kern.log [13:48] varaindemian: show us the end: "pastebinit <( tail -n 500 /var/log/kern.log )" [13:49] TJ-, i already made the mistake and now i cannot sudo anything. omg. [13:49] its giving me error [13:49] everytime i sudo [13:49] littlejohnny: you used visudo for all your changes? [13:49] >>> /etc/sudoers.d/mailfrom: syntax error near line 1 <<< [13:49] littlejohnny: visudo should've prevented syntax errors [13:50] TJ-: is pastebinit a program? [13:50] varaindemian: it is yes [13:50] i did not use visudo to create the file.. fuck [13:50] littlejohnny: lessons. :) cherish them. [13:50] No swearing. [13:50] sorry [13:50] littlejohnny: OK, so do you have another terminal shell open that has recently used sudo? [13:50] that is ok littlejohnny. [13:50] blackflow, is there a way i can revert back? [13:50] TJ-, no [13:50] now ur dun goofd, if your root has no password assigned. [13:51] https://askubuntu.com/questions/73864/how-to-modify-an-invalid-etc-sudoers-file [13:51] hmmm pkexec, yes. that might work. [13:52] TJ-: http://paste.ubuntu.com/p/t3YtCgV5gM/ [13:53] varaindemian: that looks perfect, no issues showing there [13:54] tsk tsk tsk [13:54] EoflaOE: I found one tab counter and says 209 tabs so I will close some and see if the number changed [13:54] TJ-: I lost my connection [13:55] littlejohnny: got the askubuntu link above? pkexec does it [13:55] did you guys get the link? [13:55] blackflow, TJ- ok fixed it. thanks vielfarbig. [13:55] OK R13ose [13:55] varaindemian: that looks perfect, no issues showing there [13:55] TJ-, but still receiving from my ubuntu user account instead of the email i gave :( why is it not listening to me? [13:56] EoflaOE: after that I will leave the laptop open and on and see if I can turn this back on [13:56] OK [13:56] EoflaOE: thanks for your help again [13:56] then what could cause my issue [13:56] You are welcome [13:57] Hello [13:57] varaindemian: pastebinit <( journalctl -n 100 -p warning..crit ) [13:57] hi ovrh [13:57] Has anybody had problems with the nvidia drivers version 396 recently? [13:57] Hey EoflaOE [13:57] littlejohnny: I've no idea! is there any clue in /var/log/auth.log ? [13:57] varaindemian: also output of grep EE /var/log/Xorg.0.log [13:58] blackflow: http://paste.ubuntu.com/p/8NgJGZdF45/ [13:58] blackflow: grep: /var/log/Xorg.0.log: No such file or directory [13:59] dear mother of ..... that gnome is such a steaming pile of... [13:59] 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] 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] varaindemian: how about grep EE ~/.local/share/xorg/Xorg.0.log [14:00] I agree. Let me know if the suspend issue is fixed. [14:00] ovrh: logs, anything in them? journal? kern.log? dmesg? [14:01] EoflaOE: do you feel I can fix this myself or need repair shop? [14:02] blackflow, anything I should search for specifically? [14:02] ovrh: anything involving nvidia, graphics, gpu, xorg, display, kernel [14:02] 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] TJ-, I keep seeing this in syslog: nullmailer-send[22014]: From: to: xxxxx@xxxx, Just like before. So its as if its not even reading that inside /etc/sudoers.d/mailfrom file. [14:04] EoflaOE: there might be too many issues to fix on my own but I will see === kundancool is now known as anonymousK [14:04] OK. Fix it carefully and make sure you don't damage anything [14:05] Thanks === anonymousK is now known as kundancool [14:05] You are welcome. [14:06] One question. have you tried repairing a laptop before? === mue is now known as tench [14:06] blackflow: (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [14:06] [ 15.053] (EE) open /dev/fb0: Permission denied [14:07] 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] littlejohnny: but does "sudo -l" show the setting you've made? [14:08] 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 === tench is now known as mue__ [14:09] TJ-, yup it does show it , but doesnt work === kundancool is now known as anonymousK [14:09] EoflaOE: not to this extent [14:09] littlejohnny: hmmm, so either there is a bug in sudo, or the manual is inaccurate [14:09] OK. [14:09] blackflow: I tried with sudo and it gave me the same error === mue__ is now known as mue [14:09] ovrh: well you checked only dmesg, but you should really check the journal too, and the xorg.0.log for any failures. === anonymousK is now known as kundancool [14:10] varaindemian: that's okay, that's log entry, not permission error on grep [14:10] 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] blackflow, How do I tell how old the entries in the Xorg.0.log are? Is there a way? [14:11] TJ-, i have no idea.. where exactly are bugs filed for sudoers file? [14:11] varaindemian: for example, journalctl -b -1 -n 100 will give you last 100 entries of the previous boot session [14:12] 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] ovrh: the numbers is [] brackets are seconds since xorg starte === Butterfly^ is now known as Guest18774 [14:13] *in *started [14:13] TJ-, so what does that mean [14:13] 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] So, it logs things only since last boot? [14:14] blackflow: yep [14:14] Thank you [14:14] 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] ovrh: Xorg.0.log does yes [14:14] TJ-, yes.. its like not using def_mailfrom [14:14] This is the whole output of grepping Xorg.0.log for nvidia: https://paste.ubuntu.com/p/vDJktP5GDK/ [14:15] blackflow, I see, good to know. It means it is doing something [14:15] ovrh: I think Xorg.1.log is the previous Xorg.0.log (they rotate like that) === Tara_w is now known as Tara [14:15] so 0 is current xorg instance, 1 was previous start [14:15] blackflow, I have Xorg.0.log.old which might be the previous one [14:17] 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] 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 === kundancool is now known as anonymousK [14:23] 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] 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] ovrh: ah, so. you say that's supposed to be nvidia 396? from the graphics PPA? [14:25] blackflow, Yes exactly [14:26] 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] did you revert the kernel or something and it didn't trigger DKMS rebuild? [14:26] 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] TJ-, thought of doing that to see if it will work. let me try [14:27] 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] ovrh: and it worked before and now all of a sudden it doesn't? [14:27] 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 === anonymousK is now known as kundancool [14:28] *turned it on [14:30] ovrh: is it possible that lutris tried to mess with nvidia? [14:31] blackflow, At this point everything is possible, but I'm doubtful. Lutris is basically just one utility on top of Wine [14:32] Also, the journal should show that, right? [14:32] TJ-, the subject changes as specified [14:33] its that mailfrom problem [14:33] 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] littlejohnny: really? did you write the "mailsub" entry to a different file, or the same file as mailfrom is in ? [14:33] ovrh: so question, does default bionic's 390 work? [14:33] which GPU is it? possible that 396 is having issues with the card model? [14:33] TJ-, to a file on its own /etc/sudoers.d/mailsub [14:34] yes really. can you believe it? whats the deal with mailfrom.. [14:34] TJ-, i saw a similar issue here: https://bugzilla.redhat.com/show_bug.cgi?id=1324091 [14:34] bugzilla.redhat.com bug 1324091 in sudo "Sudo mailfrom not working as documented" [Unspecified,Closed: errata] [14:34] 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] blackflow, I see, that's weird. Is it supposed to load nvidia-drm instead of nvidia though? [14:35] 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] blackflow, I tried default 390 too, same deal, it still doesn't load and shows as UNCLAIMED in lshw -c video. [14:35] 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] littlejohnny: let me investigate the RH bug in our source [14:36] ok [14:36] Could it be that ubuntu updated the kernel by itself without telling me [14:36] ? [14:36] ^^ good question [14:36] ovrh: it'd be visible in apt history.log unless you have livepatching [14:36] 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] littlejohnny: we use that too in the debian/rules (Makefile): "--disable-root-mailer " [14:37] (ignored = remind me later) [14:37] 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] at any rate, reinstalling nvidia-driver-396 would trigger rebuild against current kernel's headers [14:37] blackflow, that... I don't know, actually (regarding livepatch) [14:38] 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] R13ose did the fix finish? [14:38] 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] 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] now be honest.... :) [14:38] blackflow, Then I don't have it, didn't do any of that explicitly [14:39] 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] TJ-, where should i put --disable-root-mailer ?? [14:40] EoflaOE: which fix? [14:41] littlejohnny: you don't - I was reporting a package build-time configuration flag - confirming we have the 'fix' that RH used [14:41] ovrh: yes the .run file. now, you may think the installation failed, but is it possible it did install (some) files somewhere? [14:41] oh ok [14:41] the laptop case [14:42] EoflaOE: I did close the laptop case once but I want to fix the number of tabs open before I try again [14:42] TJ-, how do you remove the file /etc/sudoers.d/mailfrom? must i rm -rf ? [14:42] 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] Ok. === kundancool is now known as anonymousK [14:43] 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) === anonymousK is now known as kundancool [14:43] 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] EoflaOE: I only have 105 tabs to close left [14:43] 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] OK. When you finish tell me [14:44] TJ-, ok no worries. [14:44] 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] ovrh: blackflow do we have a full dmesg in a pastebin for that issue? [14:45] littlejohnny: the fact that "sudo -l" is reporting the mailfrom value shows sudo sees it [14:45] TJ-, ok. i recreated the mailfrom but still no luck in the change [14:45] TJ-: just the `dmesg | grep nvidia` part if I understood it correctly [14:46] 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] 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] ovrh: can you show us "pastebinit <( dmesg )" ? [14:46] ovrh: can you dmesg | grep "ott 06 12:3" and pastebin that? [14:47] 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] TJ-, is this where you would report a bug? https://github.com/millert/sudo [14:47] TJ-, Yes, I have the pastebin of dmesg grepped: https://paste.ubuntu.com/p/D3ytxrhqwj/ [14:47] !bug | littlejohnny [14:47] littlejohnny: If you find a bug in Ubuntu or any of its derivatives, please report it using the command « ubuntu-bug » - See https://help.ubuntu.com/community/ReportingBugs for other ways to report bugs. [14:48] TJ-, I can pastebin the whole dmesg if you want [14:48] ovrh: please do [14:49] blackflow, That doesn't produce any output [14:49] ovrh: 396.54 is the current one. so what did install at line 540? [14:49] ovrh: it's from your last pastebin. how can it not produce anything [14:49] ovrh: oh wait wait wait... yeah that's not dmesg, but kern.log or journal [14:50] just... pastebin the whole dmesg :) [14:50] TJ-, http://paste.ubuntu.com/p/SZD5STXPpB/ here is it [14:50] TJ-, how can i be the only one with this issue? Did you by any chance try it on your side? [14:51] 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] Here's the full dmesg: http://paste.ubuntu.com/p/SZD5STXPpB/ [14:54] 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] 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] ovrh: or just listen to TJ, let's go step by step [14:57] 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] 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] TJ-, thank you. please let me know what you find [14:59] ovrh: there's your problem - the nvidia module isn't installed. [14:59] TJ-, What do you mean? [15:00] 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] ovrh: you pasted the last link twice [15:01] blackflow, Sorry, my bad. Here's the journalctl command output: http://paste.ubuntu.com/p/Jz42t4GPVM/ [15:01] and indeed, what TJ discovered here makes sense, explains that failure after line 540 of the previous pastebin [15:01] TJ-, That failed. https://paste.ubuntu.com/p/DYyXDnKjYF/ [15:02] ovrh: good! that explains why you have problems [15:02] TJ-, Does it? o.o [15:02] ovrh: now show us "pastebinit /var/lib/dkms/nvidia/396.54/build/make.log" [15:02] ovrh: better to have a problem you understand than one you don't [15:03] TJ-, Here: http://paste.ubuntu.com/p/XXPfrvyrJx/ [15:03] ovrh: did tehse problems start before 12:30 today? [15:03] Side note: how's my Ubuntu half in italian (for dates and stuff) and half in English? That's nuts [15:04] blackflow, Yes, they started yesterday night around 23:30 my-system-time [15:04] beause according to that journal, you installed the nvidia .run file _before_ the subsequent actions which showed a working nvida module [15:04] (which is when I turned my laptop on and discovered stuff was messed up) [15:04] ovrh: where did you install the nvidia-396.54 package from? Ubuntu repo? PPA? nvidia .run file? [15:04] TJ-, ppa [15:04] ovrh: the gpu-drivers ppa? [15:04] TJ-, simply did this: sudo apt install nvidia-driver-396 [15:05] ovrh: show us "pastebinit <( apt list --installed nvidia* )" [15:05] No, the graphics driver [15:05] TJ-, http://paste.ubuntu.com/p/cBWKzvG28c/ [15:05] blackflow: "make: *** No rule to make target 'modules'" suggests the kernel headers may be missing; we'll check that next [15:06] ovrh: OK, now show us "pastebinit <( apt-cache policy nvidia-dkms-396; apt list --installed linux-headers* )" [15:07] http://paste.ubuntu.com/p/vqv7rVh5Ft/ [15:07] Those pastes should really include the command run at the beginning [15:07] *ran [15:07] TJ-, even the mailto works and i also enabled the mail_always option. EVerything works but mailfrom [15:08] littlejohnny: yes, I suspect for some reason the mailfrom isn't being added into sudo's internal table [15:09] Can the two linux headers for two different kernel versions be conflicting? [15:10] 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] 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] TJ-, Shouldn't other people have that too if it was a bug in the nvidia package? [15:12] yeah, 396.54 works just fine here [15:12] and I had the kernel update the other day, dkms rebuilt fine. [15:16] aidrocsid: Do you search for something like this: https://etcher.io/ ? [15:16] TJ-, how can i completely disable mail from sudo when badpass happes? [15:16] happens* [15:17] That looks promising. === mouses_ is now known as mouses [15:17] littlejohnny: comment out the Defaults mail_badpass line [15:17] EoflaOE: I think the energy saving fix worked [15:18] Nice [15:20] littlejohnny: I'm not sure; I'm trying to wrestle sudo's build system at the mo [15:21] 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] 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] Although for file system you're gona have to test this. [15:22] With windows 10. === mouses_ is now known as mouses [15:33] 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] TJ-, blackflow: Am I going to mess up debugging this issue if I give another shot at installing nvidia-390 drivers? [15:35] 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] 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] ovrh: I'm still digging [15:36] 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] I have ubuntu 18.04 [15:37] blackflow, My luck? I have a faulty GPU in my new laptop xD [15:37] I followed the suggestion here https://ubuntuforums.org/archive/index.php/t-1686641.html [15:37] TJ-, Thank you, let me know if I can help in any way [15:37] ovrh: happens [15:38] TJ-, what does all that mean now? or are you still busy ? [15:38] 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] 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] blackflow, But hard disks have moving parts. A GPU doesn't, you can test it [15:39] 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] ovrh: there's always the possibility for cold solder joints or hairline fractures or other faults in electronic components [15:41] am I supposed to put sudo in front of the line? [15:41] in the /power.d/wireless file? [15:42] blackflow, Yeah you are right. But I still think those hardware things can be addressed [15:42] 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] ovrh: I doubt there's a hardware fault - the device shows up on the PCI bus correctly [15:43] TJ-, Yups, exactly two: https://paste.ubuntu.com/p/hVngBGY3qs/ [15:44] 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] 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] TJ-, oh ok yea [15:46] TJ-: it needn't be all or nothing fault, but something occurring when the driver attempts something [15:46] 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] TJ-, Were do we dig? [15:47] blackflow: no driver is attempting to load [15:47] 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] blackflow, Very possible, yes. But again, it failed. I can run it again and tell you how it failed exactly [15:47] blackflow: I agree; the .run file has messed things up so let's delete what's there and reinstall [15:48] TJ-, Shouldn't I be able to load it manually even if it's not attempting to load, with modprobe? [15:48] ovrh: "sudo apt install --reinstall nvidia-kernel-source-396 nvidia-dkms-396" [15:48] ovrh: there is no kernel module, it has failed to build [15:48] Ah [15:49] 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] 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] TJ-, So those drivers in the ppa are actually reversing the code of the closed nvidia driver upstream? [15:50] TJ-, Reinstall finished [15:50] knicklux: I have a shell script to do it: http://iam.tj/projects/misc/initrd-extract.bash [15:51] ovrh: now do "dkms status" and check if nvidia has status 'installed' [15:51] Yes it does [15:51] ovrh: so, we've now built it :D [15:51] nvidia, 396.54, 4.15.0-36-generic, x86_64: installed [15:52] Wtf, why did it work now and not on all my previous reinstall attempts? o.o [15:52] ovrh: so "sudo modprobe nvidia" then "pastebinit <( dmesg | tail -n 100 ) [15:52] TJ-, thx, I'll try it [15:52] ovrh: did you reinstall forcefully, the 'source' and 'dkms' packages? [15:53] 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] (and reboot again) === capella|away is now known as capellasDead [15:54] initrd-extract.bash: line 68: syntax error near unexpected token `<' [15:54] initrd-extract.bash: line 68: `done < <( echo $1 )' [15:54] TJ-, I got this :/ [15:54] knicklux: oops! [15:54] knicklux: I've not used it in a while; let me test it here! [15:54] ah [15:54] bash [15:54] not sh [15:54] TJ-, I used the wrong shell [15:54] knicklux: yes, bash :) [15:55] ovrh: so did the modprobe work? [15:55] TJ-, Meaning I should try it now? [15:56] ovrh: yes that purge should've worked, although depending on your shell, that nvidia* might require to be quited [15:56] *quoted [15:56] blackflow, Stock gnome with no changes to the shell/terminal yet [15:57] 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] TJ-, Ran modprobe nvidia in the root shell. No output. BUT! Now when I do nvidia-smi it returns stuff! [15:57] no output is good [15:57] lsmod | grep nvidia [15:57] (nvidia settings still don't open though, maybe a reboot is needed) [15:58] reboot is definitely needed for thedriver to be picked up, do the KMS and have xorg work with it. [15:58] blackflow, lsmod also returns stuff now! And the nvidia card isn't displayed as UNCLAIMED in lshw -c video anymore either :O [15:58] Rebooting now [15:58] very nice :) === sircmpwn is now known as ddevault [15:59] Rebooted and the nvidia settings are opening now! [15:59] 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] 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] Though seriously, why did it work now? [16:00] 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] Is apt so bad that it can't manage removing/reinstalling packages? [16:01] 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] and the question is where in teh timeline of events did you try that .run file that might've caused additional messing. [16:02] ovrh: it won't remove files the nvdia.run file installed [16:02] that too [16:02] 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] ovrh: I suspect there was something left around that confused things [16:03] TJ-, Should I do something else to remove those files then? [16:03] ovrh: usually you execute the .run file with the --uninstall option I think [16:03] 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] TJ-, Done, it just says "There is no nvidia driver currently installed". [16:04] 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] ovrh: right, good :) [16:05] blackflow, How would I d that? [16:06] 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] ovrh: check out the various logs in /var/log/apt/ [16:07] ovrh: and /var/lib/dkms/**/make.log [16:07] 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] 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] 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] 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] ovrh: but the most interesting info would be about what happened last night when the issue appeared first [16:12] 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] 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] blackflow, Right, let's see [16:13] 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] Mh, okay, something weird [16:14] knicklux: nspawn is probably going to be a problem. did you use the "-v -u" flags there? [16:14] EoflaOE: the laptop is closed now. [16:14] 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] What's that? [16:14] R13ose: OK. Did you test WiFi issue? [16:14] ovrh: what it says - it does unattended updates/upgrades [16:14] TJ-, only -D flag. I can try this: https://wiki.debian.org/CryptsetupDebug to build the initramfs from within the ubuntu [16:15] ovrh: there are other log files, compressed with gzip, you can view them with "less /var/log/apt/...." [16:15] EoflaOE: where, moving closer to the router or elsewhere? [16:15] TJ-, Unattended meaning without my explicit consent? [16:15] R13ose: Try to move closer to the router and see what happens. [16:15] ovrh: you've installed that package, so presumably you gave consent in that way [16:16] TJ-, What package? [16:16] knicklux: sorry, I meant "update-initramfs -v -u" (-v gives VERY verbose logging to figure out issues like this?) [16:16] !info unattended-upgrades | ovrh [16:16] ovrh: unattended-upgrades (source: unattended-upgrades): automatic installation of security upgrades. In component main, is optional. Version 1.1ubuntu1.18.04.5 (bionic), package size 37 kB, installed size 356 kB [16:17] I definitely didn't install that myself. Probably the vendor did. [16:17] EoflaOE: I was only able to get down to 60 tabs at the moment. [16:17] TJ-, I have some output to work with, thx! :) I'll try to paste and analyze it === mouses is now known as Miouseleums [16:17] R13ose: Does it still crash? [16:17] TJ-, One of the entries from that unattended-upgrades is this: https://paste.ubuntu.com/p/zmcz7sM7Vy/ Could this be the culprit? [16:17] ovrh: what does "apt list unattended-upgrades" report? if it doesn't mention "automatic" it was manually installed === Miouseleums is now known as Mouseleums [16:18] EoflaOE: it is slow but not crashing [16:18] TJ-, https://paste.ubuntu.com/p/D5tDX8NQph/ it does mention automatic [16:19] R13ose: It is nice that it didn't crash. [16:19] 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] this is the paste, I'm still reading through ithttp://paste.debian.net/1046167/ [16:19] EoflaOE: so far. This could happen [16:19] ovrh: are you using ubuntu-mate desktop? [16:20] R13ose: Do you have any other issues on Kubuntu? [16:20] 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] TJ-, No, regular ubuntu with gnome [16:20] 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] ovrh: I was looking at what depends on that package, using "apt-cache rdepends unattended-upgrades" (rdepends == reverse-depends) [16:21] TJ-, hooks seem to be in the right order [16:22] R13ose: Can you test www.kubuntu.org? [16:22] knicklux: line 1183 [16:22] 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] TJ-, sorry got disconnected, any news? [16:23] EoflaOE: seems to be working. Why then can't I use this properly in my bedroom? [16:23] cryptroot -> cryptrrot-unlock -> dmsetup -> lvm2 [16:23] TJ-, I see. No, it's actual Ubuntu, checked the about thing too [16:23] TJ-, http://paste.debian.net/1046169/ [16:24] 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] R13ose: What does the signal indicator say in your bedroom (the WiFi bars)? [16:24] knicklux: see mine (LUKS) line 1361 http://paste.ubuntu.com/p/nvj9GFJF9R/ [16:24] I have it in my bedroom, three bars on Lubuntu, and it works fine. [16:25] knicklux: you said yours was dmcrypt - that shows it set to luks [16:25] knicklux: check with "sudo blkid /dev/disk/by-uuid/c269f6b4-17fb-4f45-803c-45c5b6940b99" [16:26] 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] Where I am sitting is only one bar. [16:26] 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] 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] knicklux: right, which is where it needs to run - does it show the device is LUKS? [16:27] R13ose: Use "iwconfig" to get signal. Thanks to TJ- for a command. [16:27] knicklux: you'd expect to see "TYPE="crypto_LUKS"" [16:27] On the host yes, in the chroot, it shows nothing. I'll try to pass the block devices through [16:28] knicklux: OK, so the system is using LUKS not plain dmcrypt - you confused me with that [16:28] 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] TJ-, thank you, yes, it uses luks, sorry [16:29] 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] Signal level says -77 dBm [16:29] oh [16:29] R13ose: that is low [16:29] R13ose: Too far. Mine says -50 dBm, so it isn't too far for me. [16:30] R13ose: what does it say about the quality? [16:30] Link Quality is 33/70 [16:31] Too low quality. [16:31] 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] EoflaOE: is there a way to fix that? [16:32] R13ose: EoflaOE: a 3db change reduces the signal by 50%, so -77 is an extremely small signal [16:32] Hi all [16:32] TJ-: Thanks for the info. [16:33] people, I would like to run Ubuntu ARM 18.4 in a VM, what is the best choice? [16:33] 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] ovrh: ideally you shouldn't use unattended upgrades but be aware of what updates and when. [16:34] plm: .....it's not like you have many choices === [1]MrMobius is now known as MrMobius [16:34] 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] 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] TJ-: what do I do to make the signal stronger from my computer? [16:34] R13ose: I am looking up... [16:35] RoscoePColtrane: so, how I do that? [16:35] TJ-, Oh! So it is actually its fault?! [16:35] 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] ovrh: I would bet on it, yes. [16:36] 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] EoflaOE: crashed. So I will get rid of more tabs. [16:37] ovrh: check with "apt list linux-image linux-headers" that both are 'installed' if not install [16:37] R13ose: OK. Can you paste bin the output of "lsusb -t" if your WiFi is USB? [16:37] EoflaOE: I don't have a usb key that is wifi [16:37] ovrh: those packages declare a "Depends:" on the latest version so that the system stays up to date [16:38] TJ-, apt list linux-image linux-headers returns nothing [16:38] plm: qemu [16:38] blackflow, Dammit. Definitely gonna remove that from now on [16:38] 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] plm: good luck [16:38] TJ-, I passed the ssd through, so it shows up with blkid, but the hook cryptroot still does not do anything [16:38] is there a way I can modify the hook and have it echo some debug info? [16:39] ovrh: my mistake, do this: "apt list linux-{image,headers}-generic" [16:39] ovrh: I forgot the packages have the generic or lowlatency extensions [16:39] knicklux: hmmm [16:40] 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] ah, I need to pass it thorugh with /dev/byuuid too [16:40] TJ-, linux-headers-generic doesn't seem to be installed https://paste.ubuntu.com/p/tk8nh8CSYm/ [16:40] knicklux: did you pass the entire NVMe device, or just the partition? [16:40] ovrh: there's the problem! install it [16:40] 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] TJ-, Done! [16:41] ovrh: you should be OK from noow on [16:41] TJ-, I see, on it [16:42] TJ-, Hopefully so! I'll have to remember to remove unattended-upgrades and install linux-headers-generic for future installations, definitely [16:42] ovrh: i'd keep unattended-upgrades - it pulls in security fixes without you needing to manually check for them [16:42] ovrh: after updates that require a reboot the GUI should also pop up a reminder that the system needs a reboot [16:43] R13ose: Paste bin the output of "sudo lshw -C network" for an investigation [16:43] 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] RoscoePColtrane: thanks [16:43] 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] 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] RoscoePColtrane: that nicknames is a blast from the past! :) [16:45] EoflaOE: http://paste.ubuntu.com/p/Rw6TqGPqv6/ [16:45] 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] TJ-, I will report back in a couple of minutes [16:45] knicklux: hopefully you can use my initrd.log to know what to expecty [16:45] Do you think, the debian instructions apply? [16:46] TJ-, blackflow: By the way, thank you very very much for the help guys and sorry for the bother [16:46] 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] I'll just try :) [16:48] R13ose: Your driver is ath9k. I am looking for that. [16:48] ovrh: np :) [16:49] 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] R13ose: often the Wifi card is accessible via a screw-removable panel on the base of the laptop, where you can check [16:50] TJ-: if I look for that, what am I doing with it? [16:51] 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] R13ose: those gold components inside white squares - not the mounting holes in the two corners! [16:52] 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] TJ-: I will do that as soon as EoflaOE confirms I should. I need to turn off my laptop first. [16:53] R13ose: indeed :) [16:54] TJ-: I will take a photo before I do anything and let you advise me. [16:54] R13ose: EoflaOE there is a software issue you could try... [16:55] 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] R13ose: There is too many users suffering of this issue. | TJ-: My adapter is RTL8192CU, not ath9k. [16:56] TJ-: how? [16:56] R13ose: show us "pastebinit <( lspci -nn -d ::0280 )" [16:57] 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] 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] R13ose: I typoed 2 lines ago; it should be "modinfo -F parm ath9k" [16:59] TJ-: http://paste.ubuntu.com/p/VTPh2XzkfW/ [17:00] 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] R13ose: also, what is the exact PC model? this will show you: "dmesg | grep DMI:" [17:02] 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] R13ose: I have to get ready for school. I am going to sleep while TJ- helps you. Goodbye. [17:02] TJ-: http://paste.ubuntu.com/p/YZKcPwQtzk/ [17:04] 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] TJ-: Acer Aspire V5-572/Dazzle_CX , BIOS V2.09 09/05/2013 [17:04] R13ose: right, let me research that model in case it has a reputation for low signal strength [17:04] EoflaOE: no problem thanks [17:06] TJ-, this is what I got: https://paste.debian.net/1046172/ [17:06] I also get the same, when booting ubuntu without splash [17:06] R13ose: seems you aren't alone, there are problems with that model even on Windows. [17:06] TJ-: are there solutions? [17:06] 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] TJ-, did you test it? [17:09] 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] https://community.acer.com/en/discussion/171849/acer-aspire-v5-wireless-range-problems [17:09] 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] 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] littlejohnny: I've already got an MTA installed so it should be using that [17:12] TJ-: going to open [17:14] cryptroot in initramfs:scripts/local-top/ has a dependency cryptroot-prepare, where can I find it? [17:14] 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] TJ-, what MTA are you using? i think sudoers uses sendmail as the default mta. not sure. [17:16] littlejohnny: it's ok, my fault, I'm on a PC where the lsb-invalid-mta was installed! [17:16] littlejohnny: it's just sent an email now I've installed sendmail [17:17] ah ok [17:17] 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] to use say using dns or whatever) Thank you [17:18] knicklux: generally all hooks/scripts from other packages should be found under /usr/share/initramfs-tools/ [17:18] pagios: that's not really an Ubuntu question; sounds like you need docker people for that [17:19] littlejohnny: it has workec correctly for me [17:20] littlejohnny: "From: someone@iam.tj" [17:20] TJ-, are you able to put ANYTHING in mailfrom? [17:20] and still receivie? [17:20] littlejohnny: I'll try [17:20] receive* === not_phunyguy is now known as phunyguy [17:23] littlejohnny: yes: "From: someone@gobbledigook" [17:24] TJ-, hmm.. something weird is happening here [17:24] littlejohnny: what does "apt list sudo" report for you? [17:25] TJ-, sudo/bionic,now 1.8.21p2-3ubuntu1 amd64 [installed] [17:25] TJ-: https://imgur.com/a/sZnA4pE and https://imgur.com/a/Z5wToZA Should I switch wired and if so, how? [17:25] wires* [17:26] littlejohnny: same here; it must be something (else) in your config [17:27] R13ose: the screen hinge would be at the top of the main photo ? [17:28] TJ-: yep [17:29] 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] 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] feel/hear a slight 'snap' sound. They need very little pressure if you have them lined up correctly. [17:32] littlejohnny: is it possible nullmailer is replacing the From field!? [17:33] TJ-, i dont think nullmailer would choose the UbuntuUser for the from field. its getting populated from somewhere else [17:34] TJ-: when I press them very lightly, the end does move a little. [17:34] 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] R13ose: It might be worth simply disconnecting and reconnecting them where they are - they may just be loose. [17:35] TJ-: the ends that connect to the wifi might be loose? [17:36] R13ose: it is possible; I've seen these come completely off if the laptop has been knocked about a bit [17:37] R13ose: when connecting they make a satisfying slight 'snap' sound and you can feel it too [17:39] TJ-: done but they felt in before too. [17:39] 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] R13ose: test them. if no improvement, try swapping them over [17:40] TJ-: close up and turn on? [17:41] knicklux: right, as I said earlier, you have to have *everything* down to the raw device inside the container so it can be detected === benages is now known as jubenages [17:41] R13ose: if you're careful you should be able to leave the base off whilst testing it [17:42] 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] 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] wish me luck, rebooting :D [17:45] TJ-: still only one bar and not connecting from where I am which is further away. [17:46] R13ose: right, so try swapping the leads [17:51] 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] TJ-: ^ [17:51] 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 , so changing the mailfrom doesnt really change the sender does it? [17:51] Now I see two bars [17:52] sigh [17:54] TJ-, the old kernel works :) I will try to generate an initramfs in verbose mode [17:55] littlejohnny: correct, the MTA is responsible for setting the SMTP envelope. That is down to nullmailer [17:56] R13ose: when testing Wifi signal strength it's better to rely on the "iwconfig" tool to get accurate values [17:56] TJ-, which means that nullmailer is grabbing my UbuntuUser from somewhere right? [17:56] 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] TJ-: I am not connected to anything [17:58] TJ-: keeps staying at setting network address [17:58] R13ose: ahh. in which case "sudo iwlist scan | grep Quality" might report something useful without needing to connect [17:58] 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] R13ose: that may see multiple Access Points though [18:00] TJ-: first one is quality 24/70 signal level -86 dBm. Second one is quality 25/70 signal level -85 dBm. [18:00] I am further away [18:00] And not pointing laptop at router [18:00] littlejohnny: is there a /etc/nullmailer/me file? if so, what is in it [18:01] R13ose: possibly we need to make that command better so you know which AP those values refer to [18:02] TJ-, new initramfs generation (ran from ubuntu system) https://paste.debian.net/1046178/ [18:02] R13ose: try this for added info: " sudo iwlist scan 2>/dev/null | grep -C 3 Quality " [18:02] TJ-: okay, how and what will that tell us once I know? [18:02] TJ-, no there isnt [18:02] knicklux: looks good from line 65 [18:03] littlejohnny: OK; I saw that mentioned but it isn't clear what is supposed to be in it! [18:03] TJ-, it also calls the lvm2 hook [18:04] I should try to reboot once more [18:04] littlejohnny: as an experiement, why don't you try installing 'sendmail' to determine if this is a sudo or nullmailer issue? [18:04] knicklux: right, as we'd expect :) [18:05] TJ-: the 25/70 one is the one I want [18:05] Hopefully :D my last working kernel :) [18:05] c u [18:05] R13ose: and 25/70 is low, I presume the SNR next to it is rather low as well [18:06] R13ose: remind me - is this with the antenna cables swapped over? [18:06] TJ-: yes [18:06] TJ-: SNR? [18:06] R13ose: hmmm, not sure what to recommend then. Seems like it's not the easy solution that is going to help [18:07] R13ose: SNR == Signal to Noise ratio aka "Signal level" [18:07] TJ-: no way to boost this? [18:08] TJ-, it seemed to work, thank you very much! :) [18:08] R13ose: it is possible both cables are damaged passing into the hinge I suppose [18:09] TJ-: where are the end of the cables suppose to go to? [18:09] 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] R13ose: usually they lead to short (2-4cm long) antenna printed circuit boards at the top or sides of the screen [18:10] 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] 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] TJ-: one end is connected to a circuit board and the other the wifi? [18:11] R13ose: correct [18:12] how come apt-get install doesnt use bittorrent to source files? [18:13] 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] TJ-: yes but I didn't do anything. [18:13] hello, how to install qgifer on 32 bit ubuntu 16.04 [18:13] ? [18:14] TJ-: I didn't see the big end [18:15] oooooooooooooooo: we used to until 12.04, apt-transport-debtorrent [18:15] https://paste.ubuntu.com/p/VYyg8GsBJt/ [18:15] this is compilation [18:15] R13ose: by 'big end' you mean the antenna PCB? [18:15] 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] R13ose: you won't - that's the bit buried around the screen [18:16] TJ-: do you want me to take a photo of what I see at the end? [18:16] R13ose: no, I know what to expect. I'm just making you aware too. [18:17] TJ-: what if not connected? [18:17] TJ-, you fixed it, amazing! [18:18] 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] knicklux: it's not rocket science! [18:18] oooooooooooooooo: and before bittorrent got invented, there was jigdo for downloading iso's. [18:19] i just spent way too long downloading 500mb for super tux kart, thats all [18:19] 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] becuase it was one http source [18:19] TJ-, If it was rocket science, it would be much easier for me xD [18:19] besides nullmailer/sendmail is there a better alternative MTA that ubuntu can use? [18:20] knicklux: :P [18:20] littlejohnny: well, in my experience sendmail needs zero configuration. Just installing [18:20] oooooooooooooooo: yes that happens once a while. [18:20] so no qgifer anymore [18:20] TJ-: the only thing I can do is cry and buy a usb wifi? [18:20] it used to work [18:21] 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] Grrr [18:21] :D [18:21] 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] lol [18:21] lol [18:21] * TJ- confiscates RonaldsMazitis's R [18:23] 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] R13ose, I used some dongles in the past, if you like advice [18:24] R13ose: I've got a drawer full of USB wifi devices [18:25] TJ-: let me show you a photo === BgLamersTeam is now known as Dreaman === Dreaman is now known as addicted [18:28] so any alternatives to ffmpeg [18:28] for making a gif [18:28] TJ-: http://imgur.com/a/Ox5ewbx [18:28] I dont understand why qgifer is depraceted.. [18:28] TJ-: should I now close up and put the laptop back together? [18:29] R13ose: OH MY GOSH! You clever person!!! That photo looks like the cables have been cut!! [18:29] R13ose: THAT is your PROBLEM :D [18:30] R13ose: so, you need 2 replacement antenna/pig-tail units, or use an external USB wifi [18:30] TJ-: maybe the hinge on that side did it as this is broken on that side a bit. [18:31] Is there any alternative to ubuntu-livepatch? [18:31] RonaldsMazitis, have you looked into imagemagic? [18:31] 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] I need easy [18:31] GUI [18:32] like a normal person , coz [18:32] R13ose: at least you now know the cause and can decide what to do about it. What country are you in? [18:32] RonaldsMazitis, ok hold on let me check [18:32] TJ-: Canada [18:32] TJ-: you? [18:32] 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] RonaldsMazitis, never tried this , your own risk https://www.omgubuntu.co.uk/2017/09/create-gif-from-video-linux-app [18:33] TJ-: what would I have to do to fix this, if I got them? [18:33] 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] TJ-: I can close the laptop up, right? [18:34] it's not on github anymore [18:34] coz [18:34] 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] R13ose: sure, there's nothing else you can do for now [18:34] TJ-: way too above my knowledge to fix without breaking something. [18:35] RonaldsMazitis, just google ubuntu 18.04 make animated gifs application [18:35] R13ose: maybe you know somone local who could help [18:35] R13ose: other than that - get a USB dongle [18:36] TJ-: not a repair shop? [18:36] qgifer was working okay [18:36] RonaldsMazitis, I haven't used it, [18:37] have to go [18:37] R13ose: that too although it would be more expensive than a USb dongle I'd expect :) [18:37] TJ-: how much would it cost if you sent me one of yours? [18:39] R13ose: trans-atlantic? A lot! You should be able to buy one locally for a few dollars - do a search [18:39] Okay [18:39] TJ-: thanks for your help [18:42] R13ose: you're welcome - it's been an interesting diagnostic project :) [18:42] Yep [18:43] TJ-: I had to take out a stick of memory the other day because that was bad [18:43] R13ose: ouch! [18:46] TJ-: I actually learned a lot. How much would it be to replace the cables? [18:46] hmm, i'm wondering why my bash history got wiped === capellasDead is now known as capella|away [18:54] 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] 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] 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] Greyztar: you mean copying to the same directory but with a different name? [18:59] TJ-: mine is V5 [18:59] Greyztar: "cp /path/to/dir/{current,newname}" [18:59] TJ-: yupp [18:59] R13ose: oops! sorry, I searched on that and didn't notice the difference! [19:00] Greyztar: the shell will expand that for you, test it with "echo /path/to/dir/{current,newname}" [19:00] 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] TJ- thx alot ill try it (,") [19:02] Greyztar: there's a nicer way if you're using bash shell - "pushd path/to/dir; cp current newname; popd " [19:02] TJ-: since this is not Ubuntu, we should take this out of this channel [19:03] 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] TJ-: nailed it (,") [19:03] TJ-: thanks [19:21] sup [19:22] can someone help me with installing ubuntu on a drive that already has a home drive [19:22] without formating anything [19:23] probly google [19:24] alt0id, manual partitionig , and set up that partition as /home [19:25] ioria: its a small HDD, i cant do that, i'll be a mess [19:26] alt0id, it should be a patition not a drive === addicted is now known as BgLamersTeam [19:45] TJ-: can I on you? [19:46] pm* [19:54] hi [19:55] Is it planned to add tox to official repo? [19:55] I'm vote for qTox! [19:59] hi [19:59] I am using ubuntu 18.04 on dell xps 13 (9370). [19:59] Issue: repeated keystores, it happened after a update showed in ubuntu software centre from dell. [20:00] It was related to something about BIOS> [20:00] any ideas on how to fix this? === semeion is now known as mnemonic [20:03] any IDEA? [20:07] 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] Here are the last syslog lines before full crash, do you see anything helpful? http://paste.debian.net/1046186/ [20:11] 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] _KaszpiR_: kernel log looks fine, only some CPU thottling/unthrottling operations [20:45] 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] Is there any file that contains both uptime and human readable time? So that I can check in the right time period [21:25] Hey, having an issue trying to get my VPN working on ubuntu without DNS leaks, ideas? [21:25] tried installing unbound, which usually solved it for me in 16.04 [21:26] doesn't seem to be working in 18.04 though :/ [21:27] anyone able to help? thanks in advance ^-^ === mouses is now known as mouseleums [21:28] specify dns manually? [21:28] @ network settings [21:29] https://i.imgur.com/dpRVUz3.png [21:29] sorry, never really manually configured DNS before :D [21:31] if you can make it to that settings screen [21:31] 208.67.220.220 [21:31] opendns [21:32] i usually disable ipv6 or set it to "link local only" [21:32] should fix your dns leak [21:53] 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] I've seen some articles recommend netplan and others talk about resolv.conf. [21:54] 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] 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] mkisofs, helluva thing [21:58] or do you mean dynamically [22:00] 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] ovrh: yes, read up on preseed [22:00] ^ [22:00] also perhaps spacewalk [22:01] tripelb: It's not very obvious, but there's a magnifying glass icon in the top bar. Click that to search. [22:01] ovrh: see https://help.ubuntu.com/lts/installation-guide/amd64/apbs02.html [22:01] TJ-, Would that allow me to also install apps, config settings in those apps etc? [22:02] ovrh: as well as controlling configuration and packages to be installed it can trigger scripts to do customisations [22:07] TJ-, Oh, that's absolutely cool, thank you! [22:08] catbeard, And thank you too for the suggestion, I'll look into spacewalk too :) [22:14] 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] #patchallthethings. [22:14] i would really appreciate the help. patchpatchpatch. [22:22] dont think yer gonna find that info here [22:24] hashicorpsarah: see https://people.canonical.com/~ubuntu-security/cve/2018/CVE-2018-17456.html [22:25] hashicorpsarah: also, the security team can be reached in #ubuntu-hardened