/srv/irclogs.ubuntu.com/2017/06/02/#ubuntu.txt

ColomboHi, I am trying to give access to folder in my home folder to other users, but it didn't work.00:02
ColomboI created a new group00:03
Colomboassigned both users to said group and change the folder permission to group permission00:03
Colombobut users can't still access said folder, even the symlink I created is not accessible00:03
Colombowhy I can access to folder and symlink.00:03
ColomboIs it because my home folder does not have read permission for this group and thus they can't access that folder?00:04
Colomboi.e., I did this https://askubuntu.com/questions/573138/want-to-share-folders-with-another-user-in-ubuntu-14-0400:05
IntelCoreyou want share /home00:12
IntelCorewhich is.. not ideal00:12
ColomboI want to share home/folder00:13
IntelCoreColombo, I know two ways to share files00:13
Colombosamba00:14
Colombobut samba is often buggy00:14
IntelCoreIf they are not in the same pc there are more advanced things to do00:14
Colombothey are on the same PC, on the same HD00:14
Colomboeven on the same partition00:14
IntelCorewell.. hmm00:15
Colomboso should I create a new folder in folder where are user folders00:15
Colomboi.e., home/user1, home/user2, home/sharedfolder?00:15
ColomboThat could solve some issues00:15
IntelCorenFs shares.. possibly LDAP use00:16
IntelCoreit is over networking, but idk if it work local machine00:17
IntelCoreColombo, https://ubuntuforums.org/showthread.php?t=178575800:19
IntelCoreColombo, that's prob not helping your question00:21
ColomboIntelCore: I was about to write it:)00:21
=== alexandre9099_ is now known as alexandre9099
IntelCorecolints,  http://ubuntuhandbook.org/index.php/2015/02/share-a-folder-in-ubuntu-14-04/00:22
IntelCorethis for 14.0400:23
ColomboIntelCore: thats Samba, I would rather not used Samba, Samba seems to be really buggy00:23
Colombowhen I was sharing between my notebook and desktop, setting up SSH server on desktop is easier than solving all the issues with samba00:24
IntelCoreyea00:25
IntelCoreDoesn't a guest get a desktop and full-apps to use?00:26
IntelCoreColombo, so you perscribe permissions for their use00:27
IntelCoreThey get their usr directory00:28
ColomboIntelCore: Yes, they get their home directory00:28
ColomboIntelCore: I am just trying to make my movie folder accessible to said user00:28
IntelCoreso can the app/ files be put into a share directory?00:28
ColomboIntelCore: yes?00:29
IntelCoreYes00:29
ColomboIntelCore: I think that I will just give my GF my password, this seems to be the easiest solution. But I hoped for something better.00:29
IntelCoremp3, video, photos docs00:29
ColomboIntelCore: I hoped that there could be more... systematic solution, i.e., making folder actually shared by granting permission00:30
ColomboI thought that this shouldn't be problem on Linux, I thought that linux as multi-user system would be fine with that.00:30
IntelCoreYou yourself might have a super user single sign-on. also a sudo signon, and maybe a guest sign-on00:30
IntelCoresharing them video is easy00:31
IntelCoretake a while to copy to a share directory00:31
Colombothats why I wanted to just give rights, avoiding all the copy thing and just symlink00:32
IntelCorethen u set permissions.. if so00:32
IntelCoregah.. idk if windo works that way either00:32
IntelCorei'fink, in that.. can share root00:33
IntelCorever dangerous00:33
bazhangIntelCore, what is dangerous00:33
IntelCoretrying share /home, or root00:34
Colombohome/user/specific_folder00:34
ColomboI gave permission to specific folder00:34
Colombocreated new group, put both users into said group00:34
Colombochanged ownership of folder and all subfolders to that group00:35
Colombouser2 still can't access that folder even through created symlink00:35
Colomboit has nothing to do with windows00:35
IntelCorebazhang, And I just said move/copy video to a shared00:35
bazhangIntelCore, how is that dangerous, having a shared folder00:36
IntelCoreno no.. share /root.. especialy windo roots c:00:37
bazhangIntelCore, keep the nonsense out of here please00:37
IntelCorewell that is.. danger00:37
bazhangIntelCore, I will not ask you again00:38
IntelCore?00:38
bazhangIntelCore, windows c: has nothing to do with ubuntu, dont even need to ever mention it here00:38
IntelCoreyah know.. I have successfully helped others that visit. I don't think I will no more.  And, I'll find my own way..00:41
bjrohanI have just shrunk my hdd partition, and then installed Kali linux on that partition. How do I now update GRUB to access that partition?00:43
jouleshi, where to get python 2.7.13?01:05
zacky83Hi everybody,  I have a ubuntu server 16.04 . it works , but whenever I remove the PCI graphic card , it does not work anymore , I am unable to access it via SSH01:06
jouleszacky83: pc wont boot?01:06
zacky83joules pc will boot but  network light is off01:07
joulesplease check your bios configuration01:07
zacky83I wish I could start ubuntu server without any graphic card01:07
joulesyou can the OS doesn't care.01:07
zacky83joules what should I do in the BIOS ?01:07
joulescheck the MB manual. for "Halt on ..." or set the primary graphics card to onboard OR select a legacy bios boot mode.01:09
zacky83I already switched to onboard graphics01:09
zacky83what should I change ibn Halt on ?01:09
joulesthis really isn't a ubuntu related question.01:10
joulescheck ##hardware01:10
joulesbut if you are doing something funky with pci bus binds/unbinds!01:10
joulesya im psychic01:11
zacky83joules tell me what to do01:12
joulesyou unbind the pci bus where the ethernet nic is on!01:12
joulesforget it.01:12
zacky83joules , how can I do this ?01:12
GWMHi I got a Lenovo Y700 laptop that currently have 2 Windows partitions in GPT and installed in UEFI, SecureBoot is disabled, can I simply strip a part of the SSD and install an ubuntu variant on it without any issues?01:12
GWMData loss of original windows partitions is unacceptable in mysetup and they must remain with all data intact01:13
GWMSimply want to dual boot and let GRUB or whatever bootloader is used these days01:13
jouleszacky83: omg! own up to EXACTLY what you are doing.01:13
joulesyou cannot unbind the pci bus for your video card and expect other devices on that bus stop working.01:14
GWMI haven't had any experience with linux in the past 7 years or so on laptops with GPT and UEFI, last I used Linux I simply had BIOS01:14
* joules applies for the IRC psychic award of the week.01:14
zacky83joules should I try to activate legacy bios boot mode01:14
jouleszacky83: tell me what you are trying to do.01:15
zacky83joules .   my ubuntu server only works if I plug the PCI graphic card01:15
joulesyou have onboard graphics.01:16
joulesdone.01:16
zacky83if I unplug it , I can not access the PC with ssh because the network seems to be off01:16
jouleshow are you unpluging it.01:16
GWMI apologize, am I registered and can people see what I type? NickServe says I am logged in  but I got a msg from it saying I need to re-join after identifying01:16
zacky83I remove the PCI card once the ubuntu server is off01:16
joulesGWM: #freenode01:16
jouleszacky83: so attach a monitor to the onboard graphics.01:17
GWMSo you can see what I type, which means nickserve have me logged in, thx01:17
joules=d01:17
zacky83joules , there is no onboard graphics01:17
joulesOMFG01:17
Drone4fouri borked my Apache vhost configuration for 3 tiny websites I administer.  i'm starting over. so i backed up my old /etc/apache2/.  How do I repopulate my default configuration files? I tried uninstalling and reinstalling apache with apt, but 000-default.conf is still not present inside /etc/apache2/sites-available/01:18
Drone4fourhow do i regen all those key files?01:18
joulesDrone4four: hmm reinstall?01:18
Drone4fourjoules, i already did that, as i said01:18
Drone4fourusing apt01:18
Drone4foursudo apt-get remove apache2*01:18
joulesDrone4four: apt-get install --reinstall01:19
joules<package>01:19
Drone4fourthanks, joules. i'll try that now01:19
zacky83joules , now  I replugged the PCI  , I am in the BIOS : boot device is UEFI and LEGACY OPROM01:19
GWMHave you checked /etc/apache2/sites-available/default?01:19
joulesDrone4four: I would backup /etc/apache2 and apt-get purge.01:20
GWMOh well, I guess Linux UEFI/GPT is still something of voodoo01:21
GWMalso aren't there files for apache in /etc/default?01:21
zacky83joules , I am completely lost01:21
zacky83but the NIC is not on the graphic card .... I can not understand01:24
Drone4fourjoules, that worked01:24
Drone4fourthanks, Friend01:24
jouleszacky83: https://help.ubuntu.com/community/UEFI01:25
GWMDid Nickserv at last accept me?01:28
zacky83joules , I don't know what to do to make ubunut server work without the pci card01:28
GWMHi, anyone know anything about GPT/UEFI and if you can install ubuntu on existing SSD with 2 Windows partitions in GPT/UEFI, and not lose any existing Windows data? This might be a stupid question but last I used Linux on the desktop this was problematic, and I mostly use Linux for servers these days01:42
GWMSecureboot is disabled01:42
bumblefuzzwhen I try to set up a new device for bluetooth, ubuntu says there's no adapters found01:43
thewilloHow can I make it so when I plug in a drive, it's accessible to all users not just the currently logged in one?01:43
bumblefuzzwhy does ubuntu not see my bluetooth adapter01:43
thewillobumblefuzz, google search your bluetooth adapters model number + your ubuntu version. You'll find your answer, and probably a solution01:44
bumblefuzzhow do I know what bluetooth adapter I have?01:45
thewillodepends on how it's connected to your motherboard01:46
LjLGWM, i've done that successfully, something like gparted can shrink one window partition, and ubuntu normally works fine from UEFI and a GPT partition01:47
thewilloif it's USB, you can use 'sudo lsusb -v'01:47
irislBumblefuzz, is it integrated or usb?01:47
grazfatherhey guys, I am running 16.04 in a headless vm on vbox, but i need a gui for now. i have installed what i need and get to the login screen, but there are no users visible (I can only log in as guest). How do I make it so that my user 'vagrant' shows up?01:47
thewilloif it's PCI, lspci -v01:47
bumblefuzzintegrated01:48
GWMI have W10 so I can just remove as much as I need from one partition and free it up01:48
irislthewillo answer is correct01:48
GWMYou've answered my question, thanks :)01:48
GWMTomorrow I install Kubuntu, and hope my data isn't lost!01:49
LjLGWM, well afterwards the partition will still have to be shrunk using something like gparted anyway, just freeing space won't do the trick (unless the ubuntu installer can shrink the partition itself, i haven't actually installed *ubuntu* in a while)01:49
thewillodata lost? how is the data you are wanting to keep stored?01:49
bumblefuzzI don't know what I'm seeing01:49
thewillopersonally, I use a different partition for /home, and another drive for media/important file storage01:49
irislPastebin, bumblefuzz01:50
GWMI mean Kubuntu would go on a third parition, and then preferably /home and /boot and on separate partitions as well, thank god for GPT allowing more than 4 partition tables01:50
thewilloGPT is good:D01:50
bumblefuzzhttp://paste.ubuntu.com/24743383/01:51
akikGWM: mbr allows for more than 4 partitions in a partition table if that's what you meant01:51
GWMLast I installed Linux on dual boot (2009ish?) it was a paaaaaaaaain with MBR and enough partitions01:51
GWMoops, damn lenovo shortcuts01:52
thewilloakik is right... You can install windows(if you want it) and /boot as primary, then install linux to your extended partition01:52
GWMwho makes a button to close current window and put it next to f5?01:52
=== JonathanD is now known as to
GWMThat's right, the geniuouses over at Lenovo01:52
=== to is now known as JonathanD
thewilloGWM, better than acer01:52
LjLGWM, GPT can actually be easier if you don't have weird UEFI setups. i also suggest you check out the Refind bootloader. Ubuntu will just install GRUB by default like on BIOS systems, but Refind can start Linux as an EFI app directly and it's pretty cool01:52
GWMI have UEFI01:53
GWMWindows is installed as UEFI01:53
LjLGWM, yes, i know, or you wouldn't be using GPT01:53
LjLi mean literally UEFI setups that are *weird*01:53
thewillowhat's the problem with UEFI GWM?01:53
LjLlike for instance the computer i'm typing on right now has a 64bit processor but the UEFI is 32bit, and Ubuntu used to be pretty unhappy about that01:53
GWMOr well, it reports EFI in C:\Windows\Panther\setupact.log01:53
GWMI'm afraid I can't trust Lenovo on much, so why would UEFI be different?01:54
GWMthewillo: Nothing hopefully, I just have PTSD from 2009-2010 and Linux on desktops01:54
thewillooh01:54
LjLGWM, it'll probably be alright, my computer is a bit special as it's one of those inexpensive half-tablet half-laptop things01:55
GWMI pretty much use Linux only for servers but now I've decided to try Kubuntu (or maybe kde-neon)01:55
thewilloUbuntu supports UEFI fully01:55
GWMCan secureboot be enabled?01:55
thewilloMy laptop though, does not comply with UEFI standards, and the only way to get linux to boot, is to have dual-boot enabled and tell WINDOWS not UEFI to look for grub01:55
GWM(Does it matter?)01:55
bumblefuzzanyone?01:55
thewilloUbuntu can boot with secureboot01:56
thewillobut just... turn it off01:56
GWMIt is off01:56
irislI like kde, but God does it hog resourses01:56
LjL(at least until Microsoft invalidates the certificate for it for whatever reason)01:56
thewilloI like lxde... My lubuntu boots in 3 seconds from the time I tell grub to boot it, until it's fully loaded and running01:57
GWMThis is a 850€ish lenovo ideapad 700 (Y700ISKI or something), that I put a 960 EVO NVMe in01:57
GWMI had hoped that NTFS-3g still works well and I can just share my windows D: with ubuntu without any problems01:58
bumblefuzzcan anyone tell me wht kind of bluetooth adapter I have? http://paste.ubuntu.com/24743383/01:58
thewillowhat do you mean share your windows?01:58
thewilloyou want to install linux onto windows?01:58
GWMMount my D: drive using NTFS-3g01:58
GWMor similar01:58
iCherrybumblefuzz, what flavour are you using?01:58
GWMBack in 2010ish it was ntfs-3g that was used to mount r/w windows partitions01:58
GWMbut yeah, long time ago01:58
LjLGWM, i read/write NTFS routinely from Debian as i keep my SD cards as that for compatibility with Windows01:59
bumblefuzzubuntu mate01:59
irislLsusb01:59
irislLspci01:59
bumblefuzzme?01:59
thewilloyou can mount your windows paritition in ubuntu no problem, and if you use ext3 instead of ext4, there is drivers to mount your linux partitions in windows too01:59
GWMYes01:59
GWMAbout that, on a NVMe SSD, are there any recommendations on EXT3 vs 402:00
thewillobut the drivers are third-party, you have to download and install them02:00
GWMI've heard rumours that EXT3 works better02:00
GWMand will eh, consume the lifetime of the disk less02:00
iCherrybumblefuzz02:00
GWMDo we still make ReiserFS jokes?02:00
iCherrycan you run " $rfkill list  " and paste the output?02:00
GWMIt was a killer FS02:00
LjLGWM, i'm not sure about that, but do mount ext with relatime02:00
thewilloext4 when it was newly added to linux, well, certain linux setups would cause data corruption, but ext4 support is perfect now in linux02:00
sirru5hbumblefuzz, 00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI02:01
kostkonGWM, you're talking about ext2 which lacks journaling02:01
thewilloext4 can't be mounted on windows though unless there is a new driver I don't know about02:01
bumblefuzzhttp://paste.ubuntu.com/24743486/02:01
sirru5hHCI denotes Host Controller Interface02:02
GWMLjL, is that bootloader available default instead of GRUB?02:02
thewillobut ext4 is faster than ext3, not sure by how much, but I read some reviews/blogs and everyone said ext4 is the most efficient/fastest partition type for typical users on linux02:02
bumblefuzzk02:02
GWMOr do I have to uninstall grub and then install it?02:02
bumblefuzzwhat does that mean?02:02
GWMRefind bootloader that is02:02
LjLGWM, no, but it's available as a package in Ubuntu, and no, you don't have to remove GRUB because UEFI supports having as many bootloaders at the same time as you can fit in the EFI ESP partition02:02
sirru5hbumblefuzz, you can google up  Intel Corporation Sunrise Point-LP USB 3.0 xHCI I found multiple threads02:03
LjLGWM, you just tell your UEFI setup which of them you want to load by default02:03
sirru5hI'm guessing that you have a HP ProBook?02:03
LjLGWM, in fact, technically you don't need a bootloader at all as you could just set a Linux kernel up to be booted directly by UEFI. but that's generally not too practical02:04
GWMAll I say is that this is a lenovo laptop and they can never be trusted to have a sane implementation02:04
iCherrybumblefuzz, do you have a directory called " hci0 " in /sys/class/bluetooth   ?02:05
GWMat least it's the chinese government that have the backdoors and not the US02:05
GWMOh right, intel ME, shit02:05
bumblefuzziCherry: yep02:06
bumblefuzzis that the chinese backdoor for my bluetooth?02:08
Bashing-omGWM: Pretty good SSD guide : https://sites.google.com/site/easylinuxtipsproject/ssd .02:09
LangleyHello, running Ubuntu Gnome 16.04, full screen windows open on the wrong (secondary) monitor. It worked fine when secondary was to the right of primary, but not now that it is above02:09
Vampire0[![Stories in Progress](https://badge.waffle.io/waffleio/waffle.io.svg?label=waffle%3Ain%20progress&title=In%20Progress)](http://waffle.io/waffleio/waffle.io)02:09
Vampire0sry, wrong channel02:10
iCherrybumblefuzz, hmm, can you paste some logs?  run  " journalctl -xb | grep blue "02:10
bumblefuzzhttp://paste.ubuntu.com/24743541/02:12
bumblefuzziCherry: done02:13
iCherrywell, theres definitely some errors there02:13
bumblefuzzokayyy02:13
iCherryhold on02:13
bumblefuzzsorry I'm noobish02:14
iCherrybtw, from your logs: http://paste.ubuntu.com/24743568/02:14
iCherrybumblefuzz, this is a COMPLETELY blind shot, but can you try to install this package, and see if it fixes anything?  http://people.canonical.com/~sforshee/lp1686815/linux-firmware_1.157.11~pre201704282144_all.deb02:16
bumblefuzzok02:17
bumblefuzz...and what is that?02:17
iCherrywell, the errors were "firmware errors", so i simply googled it02:17
iCherrycame up with an answer pointing to that02:18
iCherrybumblefuzz, https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1686815 relates to something different, but has the same error02:19
ubottuLaunchpad bug 1686815 in linux-firmware (Ubuntu Xenial) "Missing Bluetooth firmware for intel 8265 on Ubuntu 16.04" [Medium,Fix committed]02:19
bumblefuzziCherry: I get an error02:22
iCherrycan you pastebin it?02:22
bumblefuzzno longer provides linux-firmware02:22
bumblefuzzit isn't cli02:22
iCherryah02:23
iCherryhmm, ok02:23
bumblefuzzI used the package installer02:23
iCherrybumblefuzz, can you try this in terminal? " wget http://mirrors.kernel.org/ubuntu/pool/main/l/linux-firmware/linux-firmware_1.161.1_all.deb " followed by " sudo dpkg -i linux-firmware_1.161.1_all.deb "02:27
bumblefuzzit's doing stufff02:28
bumblefuzzok02:28
bumblefuzzdone02:28
iCherryboth of them?02:28
bumblefuzzyep02:28
iCherryalright, can you try running the bluetooth application again?02:29
iCherryand see if it works?02:29
bumblefuzzstill doesn't work02:30
akikiCherry: probably needs to reload the blutooth module again02:30
iCherrybumblefuzz, " sudo /etc/init.d/bluetooth restart " should restart bluetooth module, as akik said02:31
bumblefuzzstill says no adapters found02:32
iCherrycan you pastebin it/02:32
iCherry?02:32
bumblefuzzI'm just using the bluetooth icon on my menubar02:32
bumblefuzznot a cli command02:32
iCherrydid it restart though?02:33
bumblefuzzI can pastebin a command if you tell me what you want me to type02:33
iCherrythe bluetooth restart command, mentioned above02:33
bumblefuzzhttp://paste.ubuntu.com/24743774/02:34
bumblefuzzit restarted, yes02:34
akiki was thinking of modprobe -r module and modprobe module02:35
iCherrybumblefuzz, can you paste the whole output of " lspci -knn | grep Net -A2; lsusb "02:37
=== Piece_Maker is now known as Acou_Bass
bumblefuzziCherry: http://paste.ubuntu.com/24743806/02:39
jushurany way to get the deault terminal to color url's?02:39
iCherrybumblefuzz, has bluetooth worked before?02:41
=== r0Oter is now known as r00ter
bumblefuzznope02:41
bumblefuzzbrand new laptop02:41
iCherrycan you give the output of " uname -a "02:42
bumblefuzzhttp://paste.ubuntu.com/24743835/02:43
iCherryim clueless02:45
bumblefuzzwell, that makes two of us02:46
jushurbumblefuzz: what laptop is it? model name and full number. should be a sticker at bottom02:54
bumblefuzzLenovo X27002:55
=== andyhuzhill1 is now known as andyhuzhill
=== nolsen is now known as Donald_Trump
=== Donald_Trump is now known as nolsen
jushurbumblefuzz: what version of linux-firmware you have?03:05
bumblefuzziCherry: don't know03:07
bumblefuzzjushur: don't know03:07
jushurbumblefuzz: apt show linux-firmware03:09
bumblefuzzhttp://paste.ubuntu.com/24744037/03:10
jushurbumblefuzz: can you paste lsmod output to03:12
bumblefuzzhttp://paste.ubuntu.com/24744050/03:13
jushurthe linux-firmware is "suposed" to be new enough. but i have my doubts.03:13
jushurbumblefuzz: you have the hardware button toggled to enabled for bluetooth?03:14
jushurbumblefuzz: can you reboot the computer. as you upgraded firmware you should try a fresh cooldboot.03:16
jushurbumblefuzz: also you can take the newest firmware from that site.03:17
Squarismim on 14.04 - when i surf to http://localhost it says "Not Found: vhost: localhost /"03:24
Squarismso i assume i have a webserver running. But cannot figure out what03:24
iCherrySquarism03:25
iCherrycan you run "ps aux" and look for "apache"03:25
Squarismdont have it running03:25
Squarismsudo ps aux | grep apache03:26
Squarismgives nothing03:26
Squarism^iCherry03:26
iCherrywell, apache is the most common03:26
Squarismlistens says:03:26
Squarismtcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      -03:26
Squarismno pid associated03:26
Squarismnetstat -l03:27
Squarismthat is03:27
iCherrycan you run03:29
iCherryapache2 --version03:30
iCherryto check if its installed03:30
iCherrySquarism?03:40
Squarismits not installed03:41
iCherryhow about03:41
iCherryps aux | grep -E 'httpd|apache'03:41
iCherryanything there?03:41
iCherrySquarism ^^03:42
Squarismnope03:43
iCherrylsof -Pni :8003:43
iCherry?03:43
sirru5hhas he tried lsof -i :port#03:43
iCherrySquarism, that last command might return your browser, but anything beside that?03:44
=== deathonater is now known as Smeef
Squarismim giving up on it03:45
iCherrylsof -Pni :8003:45
iCherrydoes that give anything?03:45
iCherrySquarism if " lsof -Pni :80 " doesnt give anything,then its nothing03:47
tgm4883iCherry: 'ps aux | grep nginx'03:47
iCherryhm, on this same note03:48
iCherrysame process, pid keeps changing03:49
iCherryhttp://paste.ubuntu.com/24744324/03:49
flatloopI'm having some trouble with my boot/grub on my Precise install.  Where is the best place to go for help?04:03
sirru5hhmm iCherry you should be able to stop the service04:05
iCherrysirru5h, whenever i try to kill it, it says there is no such project04:07
jenniehello, I am wondering how much lag I am getting in this Oracle virtual box Ubuntu 16.04 installation inside a Windows10x64 machine, 8gb ram and SSD on a laptop?04:21
thewillojennie, it depends on your cpu04:21
thewillosome cpu's support hardware acceleration of virtual machines, some don't04:21
jenniethewillo: cpu is i5 6300 2.40ghz04:22
jennie6300U*04:22
thewillooh, then very little lag04:22
thewillounless you configure the vm wrong and disable hardware acceleration, or have it disabled in your bios/UEFI firmware04:22
jenniehow to configure it correctlyy? i went with default settings04:23
thewilloalso, you need 2d and 3d hardware acceleration supported by your video card04:23
jennieThis is Dell latitude E557004:24
thewillowhat kind of graphics chip does it have?04:24
jennieI have intel HD graphics 53004:25
thewilloOh, then you should run lubuntu not normal ubuntu04:25
thewillobecause normal ubuntu uses unity which is heavy on the graphical processing04:25
thewillolubuntu is ubuntu, with lxde instead of unity, and it comes with lighter weight programs by default but you can install with apt-get all the same programs that normal ubuntu comes iwth04:26
thewillo*with04:26
thewillothey are the same distribution almost, and use the same software repositories04:26
thewilloanyways I gotta reboot, be back in a few04:27
jennieHow can I download stuff from ubuntu software center, its asking for ubuntu ID and I do not liek to make one.04:30
jennieEarlier it was free04:30
jennielike no ID and all04:30
flatloopIf my installation suddenly only boots to the memtest image, what is the best way to get this corrected and back to my Precise Pangolin?04:35
kenrinSelect the non memtest image at the boot menu?04:37
flatloop@kenrin That's the rub, and I should have been more clear in my post, but there are no other options to choose from.04:38
kenrinNot even recovery ?  Probably going to have to boot with liveusb|cd and fix the menu listings then04:39
flatloop@kenrin thanks.  Once on the LIVE distro, is it as easy as "grub-install" to get things back on track?04:41
kenrinIf you got only one hard-drive,  yes04:42
kenrinIf you messed up something in /boot and deleted a kernel it might take a bit more work04:44
flatloopOne system drive, and 3 spanned in a software RAID5, complications?04:45
flatloopI don't remember doing anything drastic, especially in /boot.  I was not home when the power went out and this was the problem that manifested.04:47
=== andyhuzhill1 is now known as andyhuzhill
kenrinJust make sure you mount the system drive.  I think you need to specify the boot dir too04:50
kenrinsomething similar to:  grub-install --boot-directory=/mnt/boot /dev/sda04:52
flatloopThanks @kenrin, I'm downloading the iso and making a bootable flash now.04:52
* flatloop crosses his fingers04:52
EriC^^flatloop: what's the problem?04:54
kenrinSomehow his kernel and recovery got removed from grub04:54
flatloopWhat Kenrin said.04:55
EriC^^what error is he getting04:55
kenrinJust memtest at boot04:55
EriC^^oh04:55
EriC^^try hitting "c" and browse with "ls /boot" to see what you have there04:55
flatloopI tried just an ls and it doesn't like that command.04:56
EriC^^in the grub> prompt?04:56
flatloopCorrect.04:57
EriC^^odd04:57
kenrinThats why I don't like write-cache04:57
flatloopOkay my boot disk is done.  Shall return.  Thanks again kenrin.04:59
RenegadeZedhello, first time user of Lubuntu here. i'm having trouble. i'm a noob but i am somewhat resourceful. anyone able to provide me some help? i'm sure it will be a piece of cake for all of you :)05:14
RenegadeZedi had windows xp installed on my laptop, couldn't make it work. for some reasons internet explorer would just show msn.com and nothing else05:15
RenegadeZedso i got tired of it and installed lubuntu05:15
RenegadeZedall i get is a black screen after the lubuntu load screen tho05:15
RenegadeZedi've tried some stuff around the net.. nomodeset and such. i'm sure i haven't done anything correctly tho. i'm totally lost with linux/ubuntu05:16
Squarismis tntnet part of ubuntu?05:16
Squarismdefault web server so to speak?05:17
kenrinBlack screen?  Can you drop to a shell and check|install your graphics drivers05:22
RenegadeZedyes, is there some info on how to do that step by step tho?05:24
RenegadeZedlike i said, i'm a total newby to this05:24
RenegadeZedi'm just trying to get that thing working so that i can use my celestron neximage with my telescope.. gonna be my astro image grabber lol05:25
darthanubiswhat are the pc specs?05:26
RenegadeZedso boot, hold right shift, then recovery, then root05:26
darthanubiswhat video card?05:27
RenegadeZed@darthanubis a toshiba satellite m70 .. an old thing05:27
darthanubiswhat video card?05:27
RenegadeZedit's integrated, not sure how to check that05:28
RenegadeZedcan't boot for now05:29
darthanubisgoogle your pc model05:29
RenegadeZedit's amd for sure, i remember that,  ATI catalyst and all05:30
darthanubiswhat install media did you use?05:31
darthanubisusb stick, cdrom?05:31
RenegadeZedusb05:32
darthanubishow was it made?05:33
darthanubisRenegadeZed, https://www.ubuntu.com/download/desktop/create-a-usb-stick-on-ubuntu05:34
darthanubisFollow that to the letter and redo the usb stick. Install again. This time choose opensource video drivers05:35
darthanubisLet us know how you get on:)05:35
RenegadeZedhmm, i used rufus to use the iso on the usb05:35
darthanubisRenegadeZed, sorry05:36
darthanubisInstall again. This time choose opensource video drivers05:37
RenegadeZedfound it ATI RADEON® XPRESS 200M with 128MB DDR shared video memory05:37
RenegadeZedlubuntu can only be downloaded as an ISO?05:38
darthanubisright05:38
kenrinI know rufus needs to be write in DD mode05:38
darthanubisthat's how install media comes, unless you have a linux running system already05:38
RenegadeZedok so lubuntu.net and i choose download lubuntu desktop cd05:39
RenegadeZedx8605:39
RenegadeZedsorry, i'm gonna sound stupid, but i don't want to mess this up again lol05:39
krytarikRenegadeZed: DID you really install any drivers?05:40
RenegadeZedi'm not sure actually... like i said, i followed what ever was on screen05:40
RenegadeZedfirst time using anything with linux, ima noob05:40
hateballRenegadeZed: There's no option to install restricted video drivers during install05:41
=== andyhuzhill1 is now known as andyhuzhill
RenegadeZedthen i did something wrong, idk. i thought lubuntu was an entry level to linux lol05:43
RenegadeZed1 min left till download complete05:43
hipp  /discon05:45
hippd'oh05:46
RenegadeZedok whats a dash?  /facepalm05:46
hateballRenegadeZed: -05:47
hateballRenegadeZed: Context is everything05:47
RenegadeZedOpen the dash and search for Startup Disk Creator05:47
kenrinlike a start menu05:47
Jordan_URenegadeZed: To be clear, you installed Lubuntu and the installation seemed to go fine but on the first boot of your newly installed system you get a black screen?05:47
RenegadeZedi'm on windows 10 tho.. darth ?05:47
RenegadeZedyes jordan05:47
hateballRenegadeZed: On Windows 10 you would use something like Rufus05:47
hateball!usb05:47
ubottuFor information about installing Ubuntu from USB flash drives, see https://help.ubuntu.com/community/Installation/FromUSBStick - For a persistent live USB install, see: https://wiki.ubuntu.com/LiveUsbPendrivePersistent05:47
RenegadeZedthanks hate05:48
hateballRenegadeZed: If you get the black screen problem again directly after install you can try booting with nomodeset05:48
hateballAnd then perhaps upgrading mesa05:48
RenegadeZedi tried nomodeset, with my very limited understanding and skill05:50
RenegadeZeddidnt work lol05:51
RenegadeZedok ive got rufus05:51
RenegadeZednow i open it, mount the iso on the usb05:51
RenegadeZedand boom?05:51
kenrinDD mode05:51
RenegadeZeddd image from the iso05:52
RenegadeZedi can only choose iso image05:52
=== andyhuzhill1 is now known as andyhuzhill
RenegadeZedcreate a bootable disk using: freedos, iso image, dd image05:55
RenegadeZedif i choose dd image, the lubuntu iso file doesn't show05:56
kenrinafter you hit start05:56
RenegadeZedok so i leave it on freedos then hit start?05:57
Jordan_URenegadeZed: For you, if the disk integrity check at boot (which you get to by pressing any key while the screen shows the "keyboard = accessibilty" symbol) succeeds when booting the installation media, it doesn't really matter how you created it. The resulting installation doesn't change depending on how you put the installer on the USB drive.05:59
RenegadeZedso far i have done everything like the first time.. which isn't good loll06:00
RenegadeZedok it's done06:03
RenegadeZedso laptop's boot menu, choosing usb key06:04
RenegadeZeddo i check disc for defects or install lubuntu06:05
Jordan_URenegadeZed: Check disk for defects.06:05
RenegadeZedtook a while but it's now checking06:08
RenegadeZedno errors found06:10
RenegadeZeddo i install, any specific options? anything i gotta do before i press enter06:11
=== JanC is now known as Guest29977
=== JanC_ is now known as JanC
hateballRenegadeZed: you've managed to live-boot properly?06:16
Jordan_URenegadeZed: Choose "Try before installing" (which will still allow you to run the installer).06:17
RenegadeZedok06:18
RenegadeZedhateball: nope, just trying to install everything properly06:19
RenegadeZedand see if the bug happens again06:20
Jordan_URenegadeZed: When you get to the option "Install third-party software for graphics and Wi-Fi hardware, flash, mp3, and other media" do *not* check it.06:20
hateballRenegadeZed: is this 16.04 or 17.04 btw?06:20
Jordan_URenegadeZed: To be honest, I expect that the bug will happen again, but we'll see.06:21
ElinKattungeHi06:23
RenegadeZed17.0406:23
hateballRenegadeZed: is it booting to a desktop session properly now?06:24
RenegadeZedjordan, i went afk.. came back and i was booted, desktop if showing06:24
RenegadeZedtrash and install lubuntu 17.04 on it06:24
RenegadeZedit's so beautiful06:24
RenegadeZedi'm crying06:24
RenegadeZedlol jk06:25
hateballRenegadeZed: Install, and like Jordan_U said dont check the tickbox for thirdparty stuff06:25
ElinKattungeHi Jordan_U06:25
RenegadeZedi did check that thing on the first install, that's probably what effed me up.. it tried to install some drivers from ati or something?06:26
RenegadeZedso just to make sure, download updates: yes .. install third-party thingy: no06:27
Jordan_URenegadeZed: Correct.06:27
RenegadeZedthanks jordan06:27
Jordan_URenegadeZed: You're welcome.06:27
hateballIf it's 17.04, it shouldnt try to install any drivers from AMD... since amdgpu is the new black06:28
RenegadeZederase old ubuntu and resinstall (this is the equivalent of a fresh install?)06:28
Jordan_URenegadeZed: Correct.06:29
RenegadeZedwait, i just saw erase disk, even better?06:29
RenegadeZedjust to make sure.. lol06:29
Jordan_URenegadeZed: Sure.06:30
hhzhk2532500W00004306:30
Jordan_Uhhzhk2: ?06:31
RenegadeZedit's a go06:33
RenegadeZedi'm so hyped06:33
RenegadeZedbtw, if it's not too personal, where are you guys from?06:34
bobdobbsthose of you running ubuntu 16.04 on the desktop and have their packages up-to-date: which version of chrome are you running?06:35
bobdobbsI've got chrome installed via a default channel. My version is 58.something06:36
bobdobbsbut I understand that 59 has been out for some time06:36
Jordan_Ubobdobbs: You understand wrong, unless you count the beta channel: https://chromereleases.googleblog.com/06:38
bobdobbsso 58 is the current version?06:40
Jordan_Ubobdobbs: Correct.06:41
bobdobbsah, I see06:41
bobdobbsI think I assumed that there was a distributed version 59 due to this: https://developers.google.com/web/tools/chrome-devtools/evaluate-performance/06:41
bobdobbsso I wonder what this version 59 is that they are talking about06:42
WeggDoes anyone know why VLC would behave differently on Ubuntu vs Debian?  On Debian I can view my baby's rtsp:// stream without issue.  On ubuntu it won't connect06:43
bobdobbsmaybe it's a versioning thing and 59 was a dev build or something?06:43
RenegadeZedjordan: black screen again /sadface06:44
Jordan_Ubobdobbs: 59 is still just in the beta channel, when it's declared stable it will move to the stable channel: https://www.chromium.org/getting-involved/dev-channel06:44
bobdobbsJordan_U: thanks06:45
Jordan_URenegadeZed: Hold shift during boot to get to the grub menu. Then select "advanced options for Ubuntu" then select the "Recovery mode" option. That should hopefully get you to something slightly better than just a black screen.06:45
RenegadeZedyup, i have a menu there06:47
Jordan_URenegadeZed: OK. I think there should be an option to just continue booting. If so, select it.06:50
RenegadeZedsame black screen, looks like the laptop is going in hibernate/sleep mode.. with the power button flashing orange06:51
RenegadeZedok when recovery was loading i saw something error radeon, but it was too fast, i reloaded recovery and filmed the text06:56
RenegadeZed15.793603 drm:radeon_init radeon error no ums support in radeon module!06:57
Jordan_URenegadeZed: OK. Recovery mode automatically includes "nomodeset", so no use trying that separately.06:57
Jordan_URenegadeZed: That error is actually because you booted with nomodeset.06:58
RenegadeZedoh lol06:58
RenegadeZedand i thought i was being clever XD06:58
hateballRenegadeZed, Jordan_U: So the install went fine, but after that it's black screen and nomodeset doesnt work either?06:59
Jordan_Uhateball: Correct.07:00
RenegadeZedit was all good in the "try ubuntu from usb" thing07:00
hateballJordan_U, RenegadeZed: Can you at least get to a recovery console?07:00
hateballOr was that broken as well? That'd be... bad07:01
Jordan_URenegadeZed: If it were me, I would install openssh-server and ssh in from another machine to diagnose what's going wrong, but I need to leave now so I can't walk you through that.07:01
hateballIf you can get a text console going we could try installing newer mesa from oibaf ppa07:01
RenegadeZedi can boot to grub07:01
Jordan_Uhateball: The recovery mode menu comes up fine, it's only when RenegadeZed selects "Continue booting" from the recovery mode menu that he gets the black screen.07:01
RenegadeZedthanks for your help jordan, have a nice day!07:04
Jordan_URenegadeZed: Adding "GRUB_TERMINAL_OUTPUT=console" (without the quotes) to /etc/default/grub then running "sudo update-grub" may get things working.07:04
RenegadeZedwhere do i add that?07:05
hateballRenegadeZed: You'd need to have either a local shell or ssh07:05
Jordan_URenegadeZed: The only difference that I can think of between booting the LiveUSB and booting the installed system is the mode that the bootloader puts the graphics card in before handing off to the kernel. This should make things closer to what you get in the LiveUSB with syslinux.07:05
hateballRenegadeZed: when you edit the grub line, can you remove "quiet splash" and only use nomodeset?07:07
hateballmakes it easier to see messages07:07
RenegadeZedhow do i edit the grub line07:07
hateballRenegadeZed: hold shift to get into grub, then press 'e' to edit07:08
RenegadeZedoh07:08
Jordan_Uhateball: The recovery mode grub entry does this by default (and is easier for new users to use).07:08
hateballJordan_U: ah, right07:08
hateballstill, I am googling some other options to try, like "acpi_osi=Linux"07:08
hateballwhich requires editing the boot params07:09
RenegadeZedi'm also in #lubuntu explaining my problem07:11
hateballI can see that07:12
hateballcrossposting is generally not very nice, when you're getting help somewhere07:13
RenegadeZedoh sorry07:13
=== CRogers_________ is now known as CRogers
hateballRenegadeZed: right, so, can hold left shift to get to grub menu and then be able to edit the bootline?07:19
RenegadeZeddo you mean from recovery menu?07:19
hateballRenegadeZed: sure07:19
RenegadeZedyep im there07:20
munskingHello, i have 2 drives in my machine, 1 1TB SSD (sda /) and 1 2TB HDD (sdb /media/black1/). i changed /etc/fstab to auto mount that 2tb drive, but after a while it becomes read-only which hangs my VM and messes up netbeans etc. my fstab looks like this07:24
munskingUUID=e4e11f70-cf3e-4c32-9150-36ef1c0076fe       /media/black1   ext4    defaults        0       207:24
munsking(the ssd functions perfectly)07:24
EriC^^munsking: try to umount it right now and then do07:25
EriC^^sudo mount /media/black107:25
EriC^^munsking: is there anything in "dmesg" about it?07:26
munskingEriC^^: that mounts it correctly07:26
EriC^^dmesg | grep -i " ro "07:26
EriC^^dmesg | grep -i "read.*only"07:27
munskingnope, that only shows 2 lines about /boot/vmlinuz07:27
munskingoh wait that did show something07:27
munskingand i mixed up the device names, the 2tb one is sda, ssd is sdb, but i went with the UUIDs anyway07:28
EriC^^ah07:28
munskingEXT4-fs error (device sda1): ext4_journal_check_start:56: Detected aborted journal07:29
munskingand right after that it remounts as read only07:29
RenegadeZedhateball are you still there?07:30
EriC^^munsking: https://bbs.archlinux.org/viewtopic.php?id=7007707:31
munskinghttps://pastebin.com/NS51ykdW07:31
munskingah, i'll have a look at s.m.a.r.t.07:32
EriC^^munsking: try to unmount it them run sudo fsck -f /dev/sda107:32
EriC^^munsking: also this http://www.linuxquestions.org/questions/linux-newbie-8/aborted-journal-and-volume-remounted-read-only-812216/07:32
hateballRenegadeZed: Yep07:32
hateballRenegadeZed: Did you have any option to edit your bootline? It should say "press 'e' to edit" or some such07:33
RenegadeZedso after recovery menu then root?07:33
munskingEriC^^: ty, i'll have a look07:33
EriC^^RenegadeZed: in grub menu before pressing on recovery or anything07:33
hateballRenegadeZed: ^07:33
RenegadeZedoh geez07:33
EriC^^munsking: np, some guy also said it might be the controller07:34
RenegadeZedok i got it07:35
RenegadeZedi so some codes07:35
RenegadeZedis that the matrix? the matrix is based on linux :O07:35
RenegadeZedi see some codes**07:35
hateballRenegadeZed: you should see a line that says "Ubuntu whatever", and to press 'e' to edit07:39
RenegadeZedthe one with (recovery mode) or the normal one?07:39
hateballRenegadeZed: then you should have 4 or so lines, naviagte to the one containing quiet splash at the end and backspace those away. In their place you type: acpi_osi=Linux07:39
hateballRenegadeZed: normal. and then press... is it F10 to boot? it should say on the bottom07:40
hateballI must brb07:40
=== rory is now known as guest
RenegadeZeddone, same thing hateball07:44
dudejiif i use command date -d does it takes my time zone automatically ? and converts epoch timestamp to my time zone and gives me out put ?07:48
hateballRenegadeZed: and is it just pure black, no interesting feedback during boot?07:58
RenegadeZedi see the logo, then some line of codes that ends with "clean" and then goes black08:01
RenegadeZedit was booting fine with the usb key08:01
hateballRenegadeZed: at the point it goes black, can you press ctrl+alt+F1? Does that show a text login?08:07
hateballRenegadeZed: also, what is the exact model of your laptop? will make it easier to google08:08
RenegadeZedtoshiba satellite m7008:09
RenegadeZedctrl alt f1 doesnt work08:09
nschoeHi everyone, I'm getting very frustrated: I'm running a docker container based on ubuntu:16.04 (no problem 'til here), but when I run `apt update` or `apt-get update`, it is _constantly_ stuck at '0% [Working]'08:14
nschoeAnd nothing happens for... hours.08:14
hateballRenegadeZed: hmmm... can you try using the parameter: radeon.modeset=008:14
hateballRenegadeZed: starting to run out of ideas here :|08:14
nschoeThis is very frustrating, and I don't understand where the problem comes from, can somebody help? I've scouted the ubuntu forums, seems like a recurrent bug that used to happen but was supposed to be fixed. :/08:15
hateballRenegadeZed: if that fails, replace "quiet splash" with "single" and see if that works08:15
RenegadeZedhateball where do i write radeon.modeset=008:17
hateballRenegadeZed: grub -> edit, same place as before08:18
hateballRenegadeZed: backspace the quiet splash, and write that instead, boot with F1008:19
RenegadeZedok08:19
RenegadeZedreplacing with single has now a blinking ling to left08:21
RenegadeZeddoesnt look like its going in sleep mode08:21
RenegadeZedbut black screen08:21
nschoeNobody for me '0% [Working]'?08:21
vltnschoe: Does DNS reolution work?08:23
hateballRenegadeZed: ughhhhhh08:25
RenegadeZedmodeset=0 gave me a tty1 window, then black screen08:26
hateballRenegadeZed: ok, maybe it tries to load the wrong module or something.. we can try using this bootline then: modprobe.blacklist=radeon08:27
RenegadeZedsame thing08:31
nschoevlt, yes it does.08:31
RenegadeZedgotta go to bed.. gotta work tomorrow.. will try my luck with irc when i wake up, before going to work08:32
RenegadeZedthanks for your time hateball08:33
vltnschoe: Can you post the contents of /etc/apt/sources.list?08:33
MrCrackPotBuildeI'm having a problem with android studio on ubuntu 16.04. it says VT-x not supported but it is. I believe te problem is i have a windows 7 host virtualbox 5 and ubuntu runnig through the vm. Is there a fix i can use??08:33
hateballRenegadeZed: oh well, good luck08:35
hateballRenegadeZed: I havent used AMD for a decade+ due to... things like this :p08:35
RenegadeZedyeah its an old laptop i am trying to recycle for my astrophotography hobby lol08:35
fallentreehateball: running apt "inside" the docker container?08:38
hateballfallentree: sorry, no proper experience with docker08:39
fallentreehateball: well WHERE are you running apt?08:39
fallentreehateball: I'm sorry, I mistabbed, that was for nschoe ....08:40
fallentreenschoe: running apt "inside" the docker container?08:41
dreamon_hello. using xfce. menu bar of example firefox is shown in panelbar. I dont want this unity stuff. I want old fashion menubar on windowtop of firefox08:58
dreamon_how can I do?08:58
YankDownUnderdreamon_, https://askubuntu.com/questions/762137/applications-menu-missing-from-menu-bar09:20
nschoefallentree, sirry for delay, was trying to diagnose with sysadmin09:28
nschoefallentree, yes, `apt` inside the container09:28
nschoefallentree, other colleagues don't have the problem. The only difference is the docker version, I'm updating now, see if this solves the pb09:29
fallentreenschoe: afaik docker containers are immutable, you can't update software inside them and should re-create the entire container with updated software09:34
fallentreeat least, that's what they're designed for. if you want regular containers that you use as if they're VMs, you should use LXC or even better LXD.09:35
nschoefallentree, no no I was talking about updating docker itself.09:35
nschoefallentree, but alas it did not change anything.09:36
fallentreenschoe: that's contradicting the "yes apt inside the container". so which is it?09:36
fallentreeif you're upgrading/updating docker software itself, you do it on the host side, not from within containers09:36
nschoefallentree, okay let me clarify: I have instantiated a docker container, based on ubuntu:16.04 official image. Inside this container, I need to install software (for a test), so the plan is to run `apt update` and then `apt install my-package-name`, all of this inside the container.09:37
nschoefallentree, all of this is perfectly possible, and I have done it a million times.09:37
fallentreenschoe: not gonna work, docker containers are designed to be immutable, ie. you have to use manifests and docker tools to create/update a container to use09:37
nschoefallentree, when **I**'m doing this, it doesn't work. So I aksed a colleague to do it. And it worked. So we comapred and the only thing that was different was our docker version. So yes I just updated my docker verison and re-tried everything, and it still fails :/09:38
nschoefallentree, no no, that's not a problem09:38
nschoefallentree, I know docker, don't worry. The problem doesn't come from docker, as I said: I have a hundred containers runing right now, based on Ubuntu images, (on our remote server). Everythign works fine.09:39
nschoeIt just so happens that *I* am getting this problem, for a reason I can't explain.09:39
nschoeyou can totally update software inside a container.09:39
nschoefallentree, by the way, after a lot of fidgeting, I have installed `apt-transport-https` and `apt-utils` which were missing. Now, `apt update` is not stuck on `0% [Working]` anymore, but I've got a `repostiry XXX does not have a Release file` :/09:41
fallentreewell then good luck with that.09:41
nschoeyou don't happen to have an idea?09:42
nschoefallentree, because the repository is totally valid: we all use it here :/09:42
faisal_hi there, anyone knows if it is possible to restrict the bandwidth used by a service thats listening to incoming connections on a localport. for instance i have a service listening at localhost.localdomain:81 and anything connected to it, can go at full speed, i would like to restrict bandwidth to that service only to 5mbps. is it possible ? thanks a lot09:54
mahdi_jahi all09:57
mahdi_jaany one work with icedtea plugin in ubuntu 16.0409:57
SimonNLfaisal_: does this help.  https://www.google.nl/?gfe_rd=cr&ei=MnbKVfmjAaKx8wfC9aq4Cg&gws_rd=ssl#q=restrict+the+bandwidth+of+incoming+calls+linux09:57
mahdi_jai install icedtea-8-plugin in ubuntu 16.04 but this plugin not add to firefox09:58
faisal_Hi SimonNL for the lmgtfy link, its appreciated, but my question is for the loopback interface, i forgot to mention works fine with a real interfce, but when ran on the lo interface, it seems to restrict the whole lo interface not just the one port i want, and i m thinking this could be by design as lo isnt a real interface10:00
SimonNLfaisal_: sorry my knowledge is very limited.10:01
faisal_SimonNL:  np at all, i appreciate the help10:01
faisal_thanks10:01
=== jmatuidi is now known as senaa
=== dreamon_ is now known as dreamon
fallentreefaisal_: how are you limiting bandwidth, with tc?10:11
faisal_fallentree: yes10:11
faisal_fallentree: just realized im being stupid10:12
faisal_tc works with data we send10:12
fallentreefaisal_: can you pastebin the qdisc?10:12
faisal_not whats received10:12
faisal_so ill try a few other things first10:12
faisal_might have figured it out10:12
fallentreefaisal_: may I ask why do you need this?10:14
faisal_fallentree: no particular reason besides learning10:15
jophishHi all10:23
jophishI've got an intermittent name resolution failure10:23
jophishother machines on this network seem to be working without issue10:23
jophishon this particular machine sometimes host/nslookup/dig/ping work10:23
jophishand other times they don't10:23
jophishWhat can I do to debug this?10:23
jophishnmcli device show  | grep IP4.DNS # This displays the correct server (192.168.1.1, the router running ddwrt)10:24
jophishOh, it's important to know that the names I can't resolve are all on the LAN10:27
jophishexternal names are fine10:27
fallentreejophish: to debug this, when, say, ping doesn't work, you can check if it's dns issue by trying both hostname and ip address. if it's hostname, and it doesn't resolve (but sometimes does), check the journal, in particular the systemd-resolved service10:31
fallentreeI've noticed that systemd-resolved has issues with some response packets and errors out while, say, bind happily accepts the response. I've seen that happen as of 16.1010:31
jophishfallentree: ip addresses work fine, it's definitely a dns issue :)10:32
jophishI'll check the logs10:32
fallentreeyou can also install dnsutils, and use dig to query the upstream directly.   dig <hostname> @192.168.1.1   when it doesn't resolve locally, that way you'll know if it's a local resolver issue or you're not getting proper info from the router10:34
fallentreeso if the `host` command fails, but `dig @192.168.1.1` shows a valid reply, it's definitely the local resolver or config problem.10:35
jinxi1hi, can I use these images with KVM? http://cloud-images.ubuntu.com/xenial/current/10:36
fallentreeimho Ubuntu has had too much issues with DNS with last few releases, I'm always overriding it with a custom bind9 installation forced in resolv.conf, though in 17.04 I can't even do that, but have to use resolved.conf to specify my own upstream manually.10:36
jophishfallentree: using an explicit nameserver with dig works10:37
jophishso it is a local config10:37
fallentreejophish: try systemd-resolve <hostname>10:38
jophishI knew I shouldn't have rebooted my machine10:38
jophishresolve call failed: All attempts to contact name servers or networks failed10:38
fallentreejophish: which Ubuntu, btw?10:38
jophishfallentree: 16.1010:39
fallentreejophish: try forcing DNS=192.168.1.1 in /etc/systemd/resolved.conf10:39
Aginorjophish: what's the computer's ip address?10:39
fallentreejophish: need to systemctl restart systemd-resolved.service after changing that conf10:39
Aginorjophish: it might pay to check that your computer is on the network and able to talk to your router10:39
fallentreeAginor: it does, read scrollback10:40
jophishAginor: it is on the network I can connect to other machines without a problem with their ip address10:40
jophishI've also got connections open to them which haven't stopped working10:40
Aginorok10:40
Aginorsorry :)10:40
jophishfallentree: I'll give that a go, thanks10:40
jophishAginor: no problem, thanks anyway :)10:40
jophishfallentree: although would that explain why the error is transient?10:40
jophishhmm, it's started working again now without me changing anything...10:41
fallentreejophish: let me know when you find out :) that's the DNS issues I've had since 16.10 and so I always force my local bind9 as resolver (and because I also use custom blacklists, etc...)10:41
Aginorjophish: did you just renew your dhcp lease?10:41
jophishAginor: I don't think so, how can I check?10:43
fallentreeyeah the blame is probably somewhere in the dhcp update chain, because if you force DNS= then it always works10:43
fallentree(except for those reply packets systemd doesn't like)10:43
jophishI don't think that the dhcp lease ever expires10:44
jophishat least that's what the router sayd10:44
BluesKajGreetings all10:44
jophishah, it's stopped again10:45
fallentreejophish: did you try forcing DNS= ?10:45
jophishI'll fiddle with resolved.conf10:45
Aginorjophish: I'm trying to figure that one out myself right now :)10:45
fallentreejophish: another option could be to set DNSSEC=no, it appears that 17.04 is having huge issues with it, and disabling DNSSEC for resolved fixed those. But then.... no DNSSEC which is kinda bad.10:46
fallentreereally running your own resolver, bind or unbound, is the best solution. systemd-resolved is a pile of...10:46
jophishfallentree: that didn't work sadly. (I did restart the service)10:46
Aginorjophish: have a look in /var/lib/NetworkManager, it'll have a file that's called something like dhclient-<uuid>-<iface>.lease10:47
rafaelcenteioHi, I'm using Ubuntu 16.04. When I activate the Intel Virtualization Technology, I come up with no sound (dummy output). This happens when using a Logitech sound device. Here's the paste with lshw, lspci and uname -a. Thanks.10:48
fallentreejophish: it's possible you're having the same issue I had, it simply hates SOME dns replies and errors out on them.10:48
rafaelcenteiohttps://pastebin.com/2whdSimD10:48
fallentreejophish: you can verify that with tcpdump. observe if the packets are sent AND received, but reslolved still errors out, that's the same problem then.10:48
fallentreejophish: "tcpdump -n port 53"10:48
Aginor+1 for sniffing the network10:49
Aginorjophish: there's also wireshark if you want a pretty interface10:50
fallentreea bit of overkill to just verify the packets are sent and received. :)   sudo tcpdump -n port 53 | grep -P "A\?| A "   should do    then try `host <hostname>` in another shell10:51
jophishno packets are sent with systemd-resolv10:51
Aginorit might be worth actually checking the responses too (errors, or not), etc10:51
fallentreejophish: maybe it's caching the response, try restarting resolved first10:52
rafaelcenteioI don't know exactly the model of the sound device, but I'm almost sure it is z213 Logitech.10:52
jophishfallentree: nothing10:52
fallentreeAginor: dig worked fine, so the upstream sends valid replies10:52
jophish'host name' does send packets10:52
jophishand (at the moment) resolves correctly10:52
fallentree(but indeed, you can verify that by inspecting the contents of replies with wireshark or tcpdump, I think it's -X)10:52
fallentreejophish: can you ping by hostname?10:53
jophishfallentree: nope10:54
Aginorjophish: do be carful sharing a packet trace if you're unfamiliar with sanitising them, they may contain critical/private information you do not want to share with someone else10:54
fallentreejophish: so, `host` resolves, but ping by hostname doesn't work?10:54
Aginorjophish: so if in doubt, don't :)10:54
jophishThis is the output of 'ping ed' https://gist.github.com/700dcca956150e01da97e1c11d56f376 (in tcpdump)10:55
jophishfallentree: correct10:55
fallentreejophish: you're getting NXDOMAIN replies10:55
jophishAginor: will do, thanks10:56
fallentreeand you're using 8.8.8.810:56
jophishfallentree: yeah, just seen that10:56
fallentreewhich kinda makes sense as google wouldn't know about your LAN names :)10:56
jophishI wonder why it's not using the router10:56
fallentreewhere is 8.8.8.8 set up?10:56
jophishfallentree: I think it's from the router10:58
fallentreejophish: double check: the networkmanager connection settings, /etc/dhcp/dhclient.conf, /etc/resolv.conf, /etc/systemd/resolved.conf10:59
fallentreeif it's from the router then it's coming via dhcp. bad router set up then.11:00
jophishfallentree: as far as I know the router is sending 192.168.1.1 first11:00
jophishthe other machines work fine11:00
jophishhttps://gist.github.com/4f39fdc4887f539b85a515735c23c3f611:00
jophishthose configs look ok to me11:00
fallentreejophish: according to resolved.conf manpage, if FallbackDNS is not set, a compiled list of DNS servers is used instead. I don't know if the commented default is THE compiled list, if it is, then that would explain it.11:02
fallentreejophish: which means, uncomment FallbackDNS= in resolved.conf and specify 192.168.1.111:02
jophishfallentree: still doesn't explain why it's not using DNS11:02
jophishfallentree: I'll try that11:02
fallentreejophish: FallbackDNS would explain it. resolved fails on default then falls back to, well, FallbackDNS :)11:03
fallentreeif 8.8.8.8 is part of that compiled list, that's the cause.11:03
jophishfallentree: still nothing from systemd-resolve (and still no tcpdump output)11:03
fallentreebut it doesn't solve WHY primary query is failing.11:03
=== notadeveloper is now known as indiedev
jophishfallentree: 'host ed' does query 192.168.1.111:04
fallentreejophish: please pastebin `systemd-resolve --status`11:05
jophishfallentree: https://gist.github.com/5a75040e42407831aedbea494c803a1011:05
fallentreejophish: add office.myrtlesoftware.com  to Domains=  in resolved.conf, restart systemd-resolved.service, try again11:06
jophishfallentree: ah, now I get some tcpdump output11:09
jophishalthough it's only checking jet.office.myrtlesoftware.com11:09
jophishand not jet.11:09
fallentreewell I don't know what the lookup policy is with systemd-resolved when it sees non-fqdn hostname, but this at least shows that it forwards using specified search domain11:10
fallentreejophish: to clarify, `dig jet @192.168.1.1` responds with the IP of jet?11:11
jophishfallentree: yes11:11
fallentreewhich means the router is doing the job properly resolving non-fqdn names. so it's possible systemd-resolved has no clue without telling it to search through Domains=11:11
fallentreein my configs I always explicitly set up my own DNS= resolver, and my own Domains= for search, ignoring resolv.conf, dhcp or NM, the last two not even being able to set up DNS in 17.0411:12
fallentreeso I guess specifying the search through Domains= is your solution, though you'd have to manually change it should it change upstream as it won't come over dhcp11:13
fallentreething is, systemd reall hijacked a lot of stuff and there's now a split-brain situation in Ubuntu. some tools work with resolve.conf (the `host` command), some things rely on systemd-resolved's config (any resolving, like pinging by hostname), it's a huge mess and I think it's best to configure everything through resolved.conf so there's no doubt about it.11:13
jophishfallentree: hmm, Domains= didn't seem to work11:14
fallentreeoh I thought you said you had tcpdump output, I thought that was in response to Domains= setting11:15
jophishinterestingly, systemd-resolve works fine for 'hoogle.hydra' for which the router has a special rule for11:15
jophishfallentree: sorry, I got tcpdump output for Domains=office.myrtlesoftware.com11:16
fallentreethat's correc then. what do you mean by "Domains= didn't seem to work"?11:16
jophishah, I left it blank11:16
fallentreeyeah, Domains= in resolved.conf has the function of "search" in resolv.conf11:17
jophishalthough I get tcpdump output for jet.office.ms.com the router doens't know where that is11:17
jophishfallentree: oh11:17
fallentreejophish: you get NXDOMAIN from the router?11:17
jophishyeah11:17
fallentreebut dig @192.168.1.1 responds with an IP?11:17
jophishfallentree: for jet, but not for jet.office.ms.com11:18
jophishjet.office.ms.com is not something we're using11:18
fallentreeooh I see11:18
fallentreeoh I assumed because it's in your resolve.conf ouput11:18
fallentreethat explains it then11:18
jophishsorry if I wasn't clear11:18
fallentreeyou have search in resolv.conf, which means any non-fqdn query will be attached to that.11:18
jophishshould I remove that then?11:19
fallentreeI don't know, was it set by dhcp?11:19
jophishoh, I shouldn't edit that my hand11:19
jophishfallentree: yes, I think so11:19
fallentreethen it's routers fault. it's advertising a search domain it has no clue how to resolve11:19
jophishfallentree: all the other machines seem to work fine though11:20
jophishI'll change the router though11:20
jophishah, systemd-resolve jet fails on the other machines too11:20
jophishthey must have something else going on11:20
fallentreeit's quite possible the router is not replying to your IP properly, as it's possible to set "views" with dns servers, which is different responses for same query, to different IPs11:21
jophishhmm, seems unlikely11:21
=== beaver is now known as evilnewbie
fallentreejophish: in 16.10 systemd-resolved is not the sole resolver yet, it goes through dnsmasq which, iirc, is querying resolved. at any rate you had 127.0.1.1 in your tcpdump, that's systemd-resolved if I'm not mistaken11:22
jophishwhat a mess11:23
fallentree.... which is why I run my own resolver on Ubuntu :)11:24
fallentreein my case, systemd-resolved (even on 16.10, actually that's where it started) simply couldn't accept replies for SOME domains from my router. no idea why, it deems them broken.11:24
fallentreeI spent two days convincing my ISP that their resolvers are broken until I realized that 16.04 works fine, 16.10+ doesn't, so I gave up and installed bind :)11:24
jophishfallentree: do you know of a good guide for setting up bind9 or something?11:25
jophishI don't think my config is complicated, basically I'd like to just do whatever dhcp told me to :)11:25
jophish..., systemd-resolve is working now11:26
=== fallentr1e is now known as fallentree
jophishah, just for one domain11:26
jophishperhaps I put it in the cache some other way11:26
* fallentree explodes and disappears in a poof of smoke.11:26
jophishthanks for all the help fallentree :)11:26
fallentreeyou can flush caches11:26
jophishI'll let you know if I puzzle it out11:26
fallentreesystemd-resolve --flush-caches11:27
jophishhmm, still works11:27
jophishalthough there's nothing on tcpdump still11:28
fallentreejophish: but... if you specify that domain in Domains= of resolved.conf, and then ping jet (just jet) by hostname, it should work fine, no?11:33
fallentreeoh, no you said the router couldn't resolve the fqdn11:33
fallentreewell, good luck untangling that one, I'm out of ideas.11:33
jophishthanks for all the help, fallentree!11:34
fallentreeexcept... setting just FallbackDNS=192.168.1.1 in your resolved.conf. Leave Domains= empty so it doesn't attach jet to fqdn, leave DNS= empty so it comes over dhcp (unless you know it'll always be 192.168.1.1)11:35
fallentreethat would solve that 8.8.8.8 problem, as it should always send requests to 192.168.1.111:35
fallentreeuh, leave Domains= empty, I meant comment it out, and DNS= too, leave them UNSET rather than empty11:35
ppfso, fill me in, what's the problem?11:38
thewillois there a way to compress ram in ubunut?11:39
ppfthewillo: "compress ram"?11:39
fallentreejophish: although come to think of it, I think the root of the problem is your router advertising a search domain but not resolving by it. dhcp sets that search in resolv.conf and whatever you do with just "jet" SHOULD get queried out as fqdn... which the router responds with NXDOMAIN11:39
thewilloyeah, you've never heard of the concept of compressing the data in ram?11:39
thewilloit can be useful for some things but is significantly performance degrading11:40
thewilloWindows does it... when I don't want it to... lol11:40
ppfwell, yes, compressing data i've heard of11:40
ppf!info zram11:40
ubottuPackage zram does not exist in zesty11:40
ppf!search zram11:41
ubottuFound: zram11:41
ppfhelpful ...11:41
thewillolol11:41
ppf!info zram-config11:41
ubottuzram-config (source: zram-config): Upstart job to enable zram support. In component universe, is extra. Version 0.5 (zesty), package size 4 kB, installed size 54 kB11:41
fallentreethewillo: I believe you should look up "Ubuntu zram" in google11:41
fallentreeoh, beaten by ppf :)11:41
thewillofallentree, thanks:D I will google it11:41
lovepreet Hi, trying to setup Graylog. Have successfully installed it and the rest api is working as expected. But the web interface is not working which uses the same rest api. Can anyone help?11:42
fallentreeI don't think it's a package but kernel module11:42
ppffallentree: it is, but you need to turn it on11:42
ppfthat's what  that package does11:42
anchnkhi, I am using i3 as a window manager and I would like to know what would be the cleanest way to use dunst instead of notify-osd as dbus'notification client ?11:42
anchnkis it to kill the notify-osd daemon and then launch dunst process or can i replace notify-osd ?11:42
ppfanchnk: #i311:43
fallentreeppf: hmm yeah, zram-config, it seems11:43
anchnkppf thx11:43
thewillohrm, zram.... Not exactly what I need11:43
thewillobut good to know it's there11:43
thewillothanks11:43
thewillowait... I have an SSD now... swap will be much faster than it used to be11:44
thewilloI was running a hdd until recently, i just realized how much better it will be for swap11:45
fallentreesounds like the solution to your problem is... just adding moar RAM :)11:46
thewillofallentree, yep... but that's $20011:46
fallentreeor perhaps experiment with higher swappiness settings, to earlier page out what the kernel thinks is unused pages11:46
ppffor what, 1TB of ram?11:46
fallentreeadd ECC to that. 1TB of ECC :)11:47
thewillono, for 2 sticks of 8gb 1866mhz ddr3 ram for my laptop from a brand I trust11:47
fallentreeah, here come arbitrary constraints :)11:47
thewilloWell, if I'm buying ram I'll do the upgrade I planned to do next month, which is go from 8gb 1600mhz to 16gb 1866mhz...11:49
thewilloI'll just borrow the moneys from the bank i guess... It's the responsible thing to do11:49
fallentreethewillo: just note that swapping frequently on an SSD is going to add a lot to that "LSB written" killer of SSDs :)11:50
thewillofallentree, that's why i bought the extended warranty11:50
fallentreeyeah, gotta support the money changers yacths. the summer is coming on the northen hemisphere, those yacths need prepping.11:50
thewillobecause I don't trust NAND storage11:50
fallentreebakcups, backups, backups.11:51
fallentrees/LSB/LBAs   oh my mind is somewhere else11:52
thewilloyeah, I have automated backing up11:52
thewilloI have a script that backs up everything I do11:53
thewillomy friend wrote it11:53
=== indiedev is now known as intodeving
=== intodeving is now known as intodev
annihilatorim unable to get hp printer drivers. can anyone help please?12:00
hateballannihilator: If you're using a standard Ubuntu install you should already have hplip installed12:00
hateballannihilator: What is your printer model? How have you tried installing it?12:01
annihilatorok nvm12:01
annihilatori feel like an idiot12:01
annihilatori just went to printers......and it was there12:01
hateballIt's nice like that, using HP printers12:02
annihilatorLOL12:02
annihilatorit is a network printer and it still auto populated12:04
hateballthe wonders of bonjour12:05
annihilatorso true12:05
hateballgreat at home, a curse anywhere else12:05
annihilatorlol12:05
fallentreeyou mean avahi :)12:06
hateballfallentree: I do12:09
thewillois there a way in ubuntu to force my cpu's clock multiplier? my chip is locked but in windows i have a tool that I can use to force it to always stay at the full turbo frequency12:09
thewilloI can't do it via firmware, because firmware is featureless and disappointing12:09
fallentreethewillo: switch cpufreq to performance profile, I suppose.12:10
thewillowould that force turbo to stay on? I know both heat and power requirements are met12:10
fallentreeit'll clock the CPU at maximum frequency advertised by it. does that include turbo? I don't know.12:11
fallentreethewillo: cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq   does that list the turbo frequency ?12:14
thewillothe maximum frequency the cpu can do is 2.7ghz, which is it's turbo frequency, but by deafault it watches for power consumption to not go over it's TDP, but I was monitoring the settings in windows 10, and when I forced the clock multiplier, it adjusted the voltage automatically12:14
thewilloyes, that lists the max12:14
=== evilnewbie is now known as beaver
thewilloit lists 2.7ghz, the advertised speed is 2.2ghz with 2.7ghz turbo12:15
fallentreethewillo: cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor ?12:15
thewilloperformance12:15
fallentreethen it should be maxed out already. cat cpuinfo_cur_freq at that path, instead of scaling_governor12:17
thewillonah it's sitting at 2.2ghz12:17
fallentreethewillo: what about scaling_driver at that path?12:18
thewilloit does go up to 2.7, but not stay there12:18
thewillointel_pstate12:18
fallentreeyeah... I guess you could try installing cpufreqd and set the performance profile. I don't know if there's a way to do so without it, never toyed with it in that detail.12:19
fallentreethen it'll use cpufreq, not pstates12:19
thewilloI have cpufreqd on and set to performance12:19
thewilloi wonder if I can force it by modding the kernel12:20
thewillowell, I know I can12:21
thewillobut I wonder if it's a good idea12:21
fallentreethewillo: there's also /sys/devices/system/cpu/intel_pstate/turbo_pct and other elements on that path, maybe google for it and see if you can sysctl your way into permanent turbo freq12:21
thewillofallentree, thanks12:21
fallentreechances are the settings are settable from the userland with sysctl, no need to recompile the kernel12:22
thewilloi'll try that, and if no luck... well I guess I'm making another contribution to linux kernel12:22
TheLawyerAfter using multiple terminals and close them all, I try to history grep some commands and found out that history is not showing all what I was doing. are ther any suggestions what i was doing wrong?12:22
TheLawyeror is it just the nature of ubuntu history!!!12:22
fallentreethewillo: worst case, you could rebuild the kernel and set the governor directly, unconditionally, to acpi and performance12:22
fallentreebut that's still all settable from the userland anyway12:22
fallentreeTheLawyer: I'd say it's the nature of shell history with multiple shells in general12:23
thewillofallentree, yeah, but I have to check what my windows tool sets the voltage to when it's fully loaded to keep it stable,12:23
thewillothe windows tool does it automatically12:23
thewillo(scales the voltage)12:24
thewilloso if I watch the windows tool and load it at 2.7ghz, I'll know what voltage to enforce12:24
fallentreesounds like a ticket for the fry your cpu movie night :)12:24
fallentreethewillo: btw, to use cpufreq, the scaling_driver must not be pstate, iirc12:25
hateballTheLawyer: each time you exit a shell, it overwrites bash_history12:25
fallentreethe defaults are to choose automagically, and you can also block the intel_pstate from being engaged with a kernel command line option, so it's all acpi and cpufreq12:25
thewilloactually, not that I enabled cpufreqd(I installed it and forgot to enable/start it since this convo started)12:26
thewillo*now that I enable it, it's staying CLOSE to 2.712:26
hateballTheLawyer: other shells like zsh lets you keep persistent history across sessions12:26
thewillolike 2.55-2.65 while loaded12:26
fallentreethewillo: installing it starts it and enables it automatically12:26
fallentreethewillo: question, though. why do you need this? modern CPUs are well capable of automatically setting the right frequency for the task.12:27
thewillofallentree, when I tried to use cpufreqd-get it said it wasn't running12:27
fallentreethe scaling overhead is insignificant12:27
thewilloI just want faster compile times12:27
fallentreeyou're not going to see any significant difference12:28
hateballThat's what distcc is for!12:28
thewillo2.2 vs 2.7... I think I'll see a difference on a project that takes 7 hours to compile normally12:28
ppfCPU is _not_ the bottleneck12:28
fallentreeindeed.12:29
lavinhogood afternoon12:29
lavinhoubuntu 17.04 crashes12:29
lavinhohow to solved ?12:29
thewillothat is a lot of info there you gave to help solve your problem12:29
fallentreelavinho: pastebin the output of  `sudo journalctl -p err -n 40`  please12:30
lavinhowhat ?12:30
hateball!paste | lavinho12:30
ubottulavinho: For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.12:30
SchrodingersScatlavinho: yes, check your logs.  There's at least one known issue that's been causing a lot of trouble ;(12:31
fallentreethewillo: 2.2 vs 2.7 is 8% difference. That would reflect in the 8% of compiling time difference ONLY if it were only cpu bound, but it isn't. you're going to see much less % of improvement12:31
fallentreeSchrodingersScat: the swapops one?12:31
lavinhohttps://pastebin.com/LHZQh7Hg12:32
ppffallentree: i concur with your opinion, but you might recheck those numbers :)12:32
SchrodingersScatfallentree: yessssss. is that fixed now?12:32
thewilloso if i'm compiling to and from a ramfs the ram is the bottleneck?12:32
ppfyes12:33
fallentreeppf: oh lol I misread the calc12:33
fallentreeyah 20% more like it12:33
fallentreestill not gonna be 20% of compile time12:33
fallentreeSchrodingersScat: the new kernel is coming up on June 5th, they said, or you can use the one from zesty-proposed12:33
lavinhohateball, https://pastebin.com/LHZQh7Hg12:34
SchrodingersScatfallentree: mine actually hasn't crashed in a while, I'll just deal with it.12:34
fallentreeSchrodingersScat: I disabled swap, but someone in the bug thread said it didn't stop the crash12:35
fallentreelavinho: that shows logs since last boot (and lots of errors there). also check /var/log/kern.log for error entries right before boot starts with "jun 02 13:23:16"12:37
lavinhohow to solved ?12:40
fallentreethewillo: well with files in RAM yeah the CPU is becoming a bottleneck12:40
fallentreelavinho: start with identifying the problem by checking the logs, especially right before it crashed and rebooted12:41
fallentreethewillo: but good part of the cpu activity is shuffling data around, so increasing cpu freq ain't gonna help much. you need more cores. either by adding chips, upgrading existing one, or use distcc as advised12:42
thewillofallentree, I need a whole new computer lol12:45
thewilloI need to get a proper compiling rig on my local network12:45
lavinhohttps://pastebin.com/YcDvubJP12:47
fallentreethewillo: and if the cost-benefit allows it, you can always spawn temporary AWS instances with lots of cpu for that distcc :)12:47
fallentreelavinho: your last boot was 13:23:16, so you need to look into kern.log for entries before that time12:48
lavinhono understand13:02
=== juboxi is now known as jubo2
wadieDoes anyone have any experience with Lenovo battery conservation mode on Ubuntu ?13:27
wadieIt's the mode where battery stays around 55%-60%13:27
TheLawyerty fallentree , hateball ... is it possible to change this behavior of bash shell and let it keep all history?13:35
hateballTheLawyer: you can save all history, but the last shell will still overwrite the previous13:39
hateballTheLawyer: say you have 10 things in bash history, and open 2 shells. then you run 20 different commands in each shell. only the last shell you close gets those 20 commands saved to the global history13:40
=== CRogers_________ is now known as CRogers
OlofLWhy do I have two of some gnome apps?? http://imgur.com/a/CQpDm13:51
BluesKajOlofL, looks like they're just listed twice14:01
sdx23mh!14:35
parsnipis there a proper way to have an init script  like `taskdctl start` occur on reboot?15:14
grazfatherhey guys, I am running 16.04 in a headless vm on vbox, but i need a gui for now. i have installed what i need and get to the login screen, but there are no users visible (I can only log in as guest). How do I make it so that my user 'vagrant' shows up?15:18
lucidguyWhere is is logrotate told to rotate the syslog.. I don't see it in /etc/logrotate.d/rsyslog  ???15:20
wadiehttps://ubuntuforums.org/showthread.php?t=2362825&p=13652018#post1365201815:20
lucidguyThere are a few other files being rotated also not mentioned in that file15:21
nacclucidguy: what version of ubuntu?15:24
lucidguynacc: forget it .. found it.  It was in the file, first line just missed it.15:26
lucidguynacc: thanks for responding.15:26
nacclucidguy: ah yeah, ok :)15:30
jophishls15:38
jophishI mean, hello15:39
jophishfallentree: this is happening on other computers too15:39
jophishI was incorrect in my assumption earlier15:39
jophishI have four *identical* machinnes15:40
jophishset up yesterday15:40
john_ramboPlease have a look at this image and and tell me how to fix this https://postimg.org/image/5jwwogrct/15:40
jophishsome can resolve hydra, others cant15:41
naccjohn_rambo: do what it tells you?15:42
jophisheverything always works with 'dig something @192.168.1.1'15:42
john_rambonacc, I did apt-get update / upgrade there's nothing left to upgrade15:43
naccjohn_rambo: try `sudo apt-get -f install`15:44
john_rambonacc, https://paste2.org/BkFJBa8P15:45
swati_27Hi.15:54
=== zenguy is now known as coffeeguy
swati_27Anyone can please tell me how to access data in HDD partition in ubuntu?15:54
swati_27using only command line? (I've lost GUI, and I wish to transfer all data to pendrive from New Volume)15:54
akikswati_27: basically create a mountpoint and mount the storage device into that mountpoint15:57
swati_27i created a mount point in Desktop/nv15:58
akikswati_27: use lsblk to see your storage devices15:58
swati_27i already know the name of partition i want to copy15:58
swati_27dev/sda515:58
akikswati_27: then "sudo mount /dev/sdxn /home/username/Desktop/nv"15:58
swati_27https://www.irccloud.com/pastebin/aaBpGAJ7/15:59
jophishSo, my dns resolution for local names is very sporadic16:00
akikswati_27: so it's already mounted?16:00
jophishI've managed to capture a tcp trace where it starts working in the middle: https://gist.github.com/anonymous/910a6cf31a0210541e64c6a14654af7e16:00
jophishtwo failed requests, and two succeeding ones16:00
swati_27i am not sure akik16:00
jophishfor some reason Ubuntu is deciding not to use two of the DNS servers16:01
akikswati_27: look into /proc/mounts to see16:01
swati_27not a directory16:01
akikswati_27: use cat or less to open it16:01
swati_27opened16:02
swati_27it's mounted at a different folder in Desktop16:02
swati_27but when i ls in folder, it gives nothing16:03
swati_27akik: it's available now.. Sorry for trouble.16:03
swati_27akik: Thank you so much.16:03
jophishfallentree: you might be interested in this: https://gist.github.com/anonymous/910a6cf31a0210541e64c6a14654af7e16:06
jophishI just can't understand why ubuntu would decide from time to time to not use those DNS servers16:06
fallentreejophish: it's not, you're getting NXDOMAIN from the router16:08
jophishfallentree: I can't see that16:08
jophishin the first two lookups, 192.168.1.1 isn't mentioned16:09
jophishin the last two it's working OK16:09
fallentreejophish: line 26, your PC is asking for A of faye. line 27, response is given. line 28, resolved (127.0.1.1) is forwarding to requester at 127.0.0.116:10
jophishfallentree: yeah, faye and jet worked ok16:10
fallentreejophish: but before that16:10
jophishbut ed and spike failed, and they never even queried 192.168.1.116:10
fallentreejophish: line 20 asked for fqdn, the router responded with NXDOMAIN at line 2316:11
fallentreejophish: so your router responds with NXDOMAIN to fqdn requests, and with A to non-fqdn requests16:11
jophishsure, but in the lower two requests my machine eventually asks for faye.16:12
jophishand it queries 192.168.1.116:12
fallentreejophish: for some reason, systemd-resolved is also asking fallback servers (which can't answer of course), probably because it's getting NXDOMAIN from the router16:12
jophishbut that doesn't happen  at all in the other two16:12
jophishsorry if I'm being dense16:13
fallentreejophish: it's probably caching NXDOMAIN from before so you don't see the same in this output, you can try turn off the systemd-resolved caching in resolved.conf and see again16:13
jophishfallentree: ah, so it *could* still be a router issue16:14
fallentreejophish: from what I understand your problem, and you can verify with dig @192.168.1.1, requesting non-fqdn responds okay, but fqdn doesn't16:14
jophishfallentree: yes, that's correct16:14
fallentreejophish: so if your router responds with NXDOMAIN for fqdn requests, that's bad config on the router because it advertises that domain via dhcp for "search"16:14
fallentreeit shouldn't advertise it and then respond to NXDOMAIN for requests16:15
jophishI wonder what the dnsmasq option is for responding to those16:15
fallentreejophish: to cut out fallbackdns from polluting your cache with NXDOMAIN (which have a TTL as well!), set FallbackDNS=192.168.1.1, turn off caching, and try again16:16
fallentreeI have to leave now, will be back later.16:16
jophishcool, thanks fallentree16:16
stevencan I set different dpi16:41
stevendpi's for different monitors?16:41
ppfdpi is a physical property of the screen16:43
stevenyeah but I can still change the dpi settings in my OS16:43
stevenand I h ave different screens, they have a different DPI16:43
steventhe OS just assumes it has 96, but thats not the case for one screen so I wanna tell the system to use a different dpi setting on that screen16:44
stevenmakes sense ppf ?16:44
naccsteven: it's not easy, and it often leads to bad behavior -- there is a AskUbuntu question that has a summary, let me see if i can find it16:46
stevenI know how to get the right dpi nacc16:47
naccsteven: oh then why are you asking us?16:47
stevenjust wondering whether I can set the DPI for one monitor only, cos so far all I can see is xrandr --dpi $value16:47
naccsteven: my comment wasn't about the 'right DPI', but about differing dpi per monitor16:47
stevenbut I want that value for only one output device16:47
stevenoh, yeah ok than sorry. go on nacc :D16:47
naccsteven: https://askubuntu.com/questions/393400/is-it-possible-to-have-two-different-dpi-configurations-for-two-different-screen is what i recall -- i don't think you can set the dpi per monitor in X itself16:49
stevenoh he just scales it16:50
naccsteven: yeah, i think that's the best solution currently -- but i'm not sure (nor am I an expert)16:51
Jack3k3hey all, I was using nomachine before in my virtualbox ubuntu machine but recently its become fairly laggy16:56
Jack3k3any ideas on what would cause this? besides a crappy internet connection (which I don't seem to have)16:57
ppfJack3k3: no idea, but are you aware that vbox has a builtin remote desktop?17:03
Jack3k3no i wasnt17:09
raynoldahh it's a wonderful day17:10
Jack3k3but i did get some better performance by disableing some on the fly encoding and network speed adjustments17:10
Jack3k3so should be fine17:10
philm88Hey all. I'm trying to set up a rsyslog.d rule that will create per-container log files for docker containers. This is my rsyslog.d/10-docker.conf: https://pastebin.mozilla.org/9023383 -- I did a service rsyslog restart but docker is still logging to /var/log/syslog - anyone spot anything I've missed or know how to debug this?17:10
naccphilm88: what version of ubuntu?17:16
philm88nacc: 16.0417:20
naccphilm88: hrm, the syntax you are using isn't mentiond at all on http://manpages.ubuntu.com/manpages/xenial/man5/rsyslog.conf.5.html17:23
naccphilm88: are you sure it's correct? (or where did you derive it from)?17:24
philm88nacc: ... I may or may not....more may than may not...have just blindly copied it from a github gist17:25
* philm88 reads tfm and starts again17:25
naccphilm88: sorry for that! i'm just wondering if rsyslog is seeing your file, and saying ... 'welp, can't use this!'17:26
naccphilm88: I genuinely don't know17:26
philm88I kept an eye on the various logs to see if syslog did chuck a 'welp' in there - but it made no mention of the config file so I just assumed it was ok with it17:27
naccphilm88: yeah, given the level rsyslog operates at (and given it is the logger itself), I'm not sure how it handles bad conf. you could also run rsyslogd in debug mode, in the foreground17:30
naccphilm88: oh! ther is also `rsyslogd -N`17:31
=== UrsidaeJohn is now known as drjnovak
=== drjnovak is now known as jnovak
philm88nacc: thanks, I'll give that a go17:33
=== jnovak is now known as drjnovak
MWMI am tryig to find the correct procedure to remove the stock gpu driver from 16.04 so I can install the driver package directly from AMD.17:36
MWMso fat I have done:  lshw -c video to find what the stock driver is but I am not sure if I have found the correct package to remove.17:36
RenegadeZedhello, how do i fix a black screen after a fresh install of lubuntu. was booting just fine from the usb key in "try" mode17:52
RenegadeZedlaptop is toshiba satellite m70 .. graphic is radeon xpress 200m17:52
nacc!nomodeset17:52
ubottuA common kernel (boot)parameter is nomodeset, which is needed for some graphic cards that otherwise boot into a black screen or show corrupted splash screen. See http://ubuntuforums.org/showthread.php?t=1613132 on how to use this parameter17:52
naccRenegadeZed: --^ try that17:52
RenegadeZedtried nomodeset yesterday, doesn't work17:53
RenegadeZedit's by default what recovery menu uses17:53
vimarHi17:54
ioriaRenegadeZed, which lubuntu version ?17:56
RenegadeZedlast one, which is 17.04 iirc17:57
ioriaRenegadeZed, are you fully upgraded ?17:57
=== [iczero] is now known as wlp1s1
RenegadeZedwhat do you mean?17:58
ioriaRenegadeZed,  sudo apt update && sudo apt full-upgrade17:58
RenegadeZedi'm a noob btw, don't assume i know anything about lubuntu, i started 2 days ago17:58
RenegadeZedwhere do i need to enter these?17:59
ioriaRenegadeZed,  in terminal17:59
RenegadeZedroot&17:59
RenegadeZed?*17:59
RenegadeZedis the terminal ctrl alt f1?17:59
RenegadeZedi can't access it, when the screen goes black, the computer looks like it's in hibernating mode, power button flashing orange, no light to show HDD activity18:00
ioriaRenegadeZed,  you can find it in  menu or alt+f2 and type lxterminal18:00
ioriaRenegadeZed, ha, ok18:00
Jordan_URenegadeZed: Did you ever try adding GRUB_TERMINAL_OUTPUT=console to /etc/default/grub then running "sudo update-grub"?18:01
tgm4883ioria: finding it in the menu would be pretty difficult with a black screen ;)18:01
RenegadeZedjordan! good morning!18:01
ioriatgm4883, yep, sy18:01
ioriaRenegadeZed,  i'd try to open a console ?18:01
RenegadeZedhavent tried that, how would a noob do these things? hold shift for grub, then ?18:01
ioriaRenegadeZed,  as you said, ctrl alt f118:02
RenegadeZedctrl alt f1 doesnt work in grub18:02
ioriaRenegadeZed,  not in grub18:02
ioriaRenegadeZed,  boot the system, wait a minute, and try to open a console18:03
RenegadeZedcomputer isnt responding when screen goes black, tried ctrl alt f1 already18:03
RenegadeZedbut, jordan_u how do i add the console thing to the default/grub thing18:04
ioriaRenegadeZed,  your card is supported by radeon, so there should be something else .... try Recovery from grub -> advanced options -> root shell18:04
RenegadeZedbooting recovery as we speak18:05
* pavlushka crossed his finger on this18:05
RenegadeZedin root18:05
ioriaRenegadeZed,  and if you can't open a console it's not only a graphic issue, i guess18:05
tgm4883I think the "power button flashing orange, no light to show HDD activity" would indicate it's not a graphics issue and that the computer is going to sleep/hibernate18:06
RenegadeZedtgm yep, it looks and feels like this, not sure why18:06
RenegadeZedbut it boots perfectly fine with the "try mode" from usb key18:07
tgm4883ACPI issues maybe?18:07
ioriaRenegadeZed,  you can try acpi=off18:07
RenegadeZedi type that in root?18:07
tgm4883ioria: +118:07
jazmanZzZHey. The past month or so, certain sites (reddit / imgur / freecodecamp) won't load (intermintent). Pinging doesnt resolve their hostnames. I tried switching to google nameservers via resolv.conf but no change.18:07
ioriaRenegadeZed,  but it does not explain the behaviour ...18:07
jazmanZzZThe problem happens.. I don't know, 3 or 4 times a month. After 20 in to 1 hourish, the sites come back up as normal18:08
ioriaRenegadeZed,  no, you need to set it in the grub kernel line18:08
jazmanZzZThe only real info I have about the problem is that when I can't access reddit, I also cannot access imgur18:08
RenegadeZedjust a reminder, im a noob, i need specific details, don't assume i know where to type stuff lol18:09
RenegadeZedok so pressed e on ubuntu from grub to edit18:09
RenegadeZedreplace quiet splash?18:10
pavlushkaI think that's a good idea for troubleshooting18:10
spider_xRenegadeZed: I remember there being a GUI program to edit the grub stuff, like changing the background image and so on.18:11
ioriaRenegadeZed,  you'll something like this : https://askubuntu.com/questions/38780/how-do-i-set-nomodeset-after-ive-already-installed-ubuntu18:11
SummitRidgehey, how do i, using only CLI, set it up so a volume auto mounts on startup?18:11
RenegadeZedby default recovery has nomodeset in it18:12
ioriaRenegadeZed,  why ?18:12
ioriaRenegadeZed,  ho, yes18:12
SummitRidgebecause nomodeset is a neccesary flag for some systems ioria18:12
pavlushkaSummitRidge: set mountpoints for that patition on /etc/fstab18:12
ioriaSummitRidge, yeah18:12
SummitRidgei remember my system used to not boot with an nvidia gpu before installing the nvidia closed driver18:12
SummitRidgewithout nomodeset18:13
SummitRidgepavlushka, thank you, can it be mounted into any location i want, say, /home/myuser/directory name here?18:13
SummitRidgeinstead of in /mnt?18:13
RenegadeZedJordan_U, are you available?18:14
ioriaRenegadeZed, have you tried resume from recovery menu ?18:14
pavlushkaSummitRidge: yes, create the directory you wish and set that as your partition mount point18:14
RenegadeZedyes, ioria, in fact we tried a lot of stuff yesterdat OMG18:14
RenegadeZedit booted18:14
SummitRidgewhat permissions should the directory have?18:14
RenegadeZedacpi=off added before quiet splash18:15
ioriaRenegadeZed, ok, if desktop loads, open lxterminal so we can have a look at your sys18:15
pavlushkaRenegadeZed: you better remove that "quiet splash"18:16
RenegadeZedhmm looks like the direct wire connection to internet isnt working18:16
RenegadeZedhow do i open a lxterminal?18:17
RenegadeZedfirst time on the actual desktop lol18:17
ioriaRenegadeZed,  you can find it in  menu -> system settings or alt+f2 and type lxterminal18:17
solarbeeEvery time I restart (16.04), my system "forgets" which monitor is primary and where they are positioned. Using nVidia 375.66 drivers, and they save the config to /etc/X11/xorg.conf. How can I make it remember permanently?18:18
RenegadeZedok now that lxterminal is opened, what do i do? im so excited XD18:19
ioriaRenegadeZed,  sudo lshw -C Video | nc termbin.com 999918:19
pavlushkaSummitRidge: https://help.ubuntu.com/community/Fstab18:20
ioriaRenegadeZed, ha, no connection ?18:20
SummitRidgeok pavlushka i've partitioned the second drive with fdisk, i now have /dev/sdb1, so sudo nano /etc/fstab and add an entry for /dev/sdb1 pointed to the folder i made in /home?18:20
SummitRidgehow do i mount it myself afterwards so i dont have to restart the system?18:20
RenegadeZedioria, kept getting a disconnect message18:20
RenegadeZedturned off the wifi for now, thought it was effing up the wired connection18:21
RenegadeZedbut still nothing18:21
ioriaRenegadeZed,  suso systemctl restart network-manager18:21
ioriaRenegadeZed,  sudo systemctl restart network-manager18:21
pavlushkaSummitRidge: for now you just mount that to that folder manually like this, "sudo mount /dev/sdb1 /location_of_your_desired_folder"18:22
SummitRidgepavlushka, thanks, i'm not familiar with the commandline, as much as i should be18:23
pavlushkaSummitRidge: me too :p18:23
SummitRidgejust picked up a cheap dedicated server from sys, setting up the second disk since i dont need raid118:23
RenegadeZedit's doing the circle dance at the bottom18:23
SummitRidgeif you choose not to use raid1 the second disk is left unpartitioned18:23
SummitRidgeso... having to sort this out18:23
RenegadeZedand keeps showing that black window that says network disconnected18:24
pavlushkaSummitRidge: aha18:24
RenegadeZedi'll go get another ethernet cable gimme a few seconds18:24
ioriaRenegadeZed,  it's your router set for dhcp ?18:24
GP_MikeDI have a strange issue where some users have group X as their secondary group, but cannot view a directory with X as the group and permissions rwxrwx---    .... can anyone explain the reason?18:25
ioriaRenegadeZed, you can try a static/manual connection18:25
SummitRidgeer.... i have no idea what partition type the new disk is now using18:25
SummitRidgefdisk just says Linux when i -l it lol18:25
pavlushkaGP_MikeD: that X group has no ownership to that folder I guess18:26
SummitRidgepavlushka,  any idea on that one?18:26
GP_MikeDpavlushka, it does. It's group X18:26
naccGP_MikeD: they need permissions all the way up the path too18:27
naccGP_MikeD: you need to provide more details (an example) really18:27
GP_MikeDIf I change the users' primary group to X, then they can enter the dir without issue18:27
pavlushkaGP_MikeD: you can check that by "sudo ls -l /that_folder"18:27
ElectrumGuyhi, why is this crontab not working: @reboot sh ~/startup_scripts/startup_sockshub1.sh18:27
ElectrumGuyhowever, if I do ~/startup_scripts/startup_sockshub1.sh the script starts up fine.18:27
naccElectrumGuy: don't use relative paths in a crontab18:28
ElectrumGuynacc, i'll try it without one.18:28
ElectrumGuylets see.18:28
SummitRidgepavlushka, ok, i think i have a valid fstab entry, can you double check my work for me pretty please?18:28
RenegadeZedioria, everything is stock from videotron, not sure if anything is set for linux18:28
ElectrumGuynacc, it is still not starting.18:29
GP_MikeDOK, here's my example            drwxrwxr-x  44 500 gotprint  44 Jun  2 04:36 2017-06-0218:29
RenegadeZedhow do i make a static manual connection618:29
naccElectrumGuy: did you change ~ ?18:29
ElectrumGuyI have the same command in /etc/rc.local and it works fine, but it starts it as root.18:29
GP_MikeDgotprint is the group18:29
ElectrumGuyI want to start it as a user.18:29
SummitRidgepavlushka, this is what i have /dev/sdb1       /home/summitridge/driveD ext4 defaults  0 218:29
naccElectrumGuy: then use the system crontab and specify the user to run as18:29
ElectrumGuynacc, I have the absolute path: @reboot sh /home/jorged/startup_scripts/startup_sockshub1.sh18:29
ioriaRenegadeZed,  click on the network icon -> edit connection -> ipv4 tab -> manual18:29
GP_MikeDSorry, 1 level deeper18:29
naccElectrumGuy: sh is a relative path18:29
GP_MikeDExample:    drwxrwx--- 4 500 gotprint 4 Jun  1 19:59 4000615718:30
ElectrumGuyso I'll need to specify that, ok.18:30
GP_MikeDgotprint is the group for the directory18:30
ElectrumGuynacc, do you know the absolute path for shell?18:30
ElectrumGuyon ubuntu 14.04?18:30
naccGP_MikeD: use a pastebin, show the permissions of hte directory, group membership, etc. of all the path members18:30
naccElectrumGuy: `which sh`18:30
GP_MikeDwhen a user has gotprint as a secondary group, they have no permissions to that dir. However, when I change the user's primary group to gotprint, it works.18:31
ElectrumGuythank you.18:31
naccGP_MikeD: are the users logging out/in after the group membership change(s)18:31
ioriaRenegadeZed,  the you need to pick an ip , set netmask 255.255.255.0 , enter your router ip (gateway) and set dns 8.8.8.818:32
ElectrumGuynacc, so on the user I want to run this script on18:32
ElectrumGuyI am doing "crontab -e"18:32
ElectrumGuyfirst line is this: @reboot /bin/sh /home/jorged/startup_scripts/startup_sockshub1.sh18:32
ElectrumGuybut it still refuses to start.18:32
ElectrumGuyMy goal is to run that .sh script as a specific user (jorged).18:32
naccElectrumGuy: and you are testing this by rebooting?18:33
ElectrumGuyyes sudo @reboot18:33
ElectrumGuysudo reboot*18:33
johnnyfiveHowdy, I have a bunch of questions about how apt-get behaves when looking for updates to a package. Is this the right place to ask, or is there another, more specific channel, I should go to?18:33
GP_MikeDyes18:33
naccjohnnyfive: what are your questions?18:33
ElectrumGuynacc, I am doing sudo reboot so yes.18:33
RenegadeZedhow does one find the gateway ip18:34
naccElectrumGuy: hrm18:34
ElectrumGuyIf I can use /etc/rc.local I know that works18:34
ioriaRenegadeZed,  it's your router ...18:34
ElectrumGuybut I do not want to run it as root18:34
ElectrumGuyI want to run it as jorged.18:34
johnnyfiveI have a scenario where I want to compile a bunch of the repo myself, and then host a private repo of those packages. No patches to software, just compiled slightly differently, resulting in new hashes for the same version of each package.18:35
RenegadeZedits a router provided by my ISP18:35
naccElectrumGuy: do you see anything in the logs (syslog) about reboot jobs being skipped or othewrise?18:35
ioriaRenegadeZed,  yes, and it has an ip18:35
RenegadeZedwhich i don't know lol18:35
johnnyfiveIf I point apt-get to my repo, and tell it to reinstall some packages, will there be some issues b/c the SHA's are no longer the same compared to other repos?18:35
RenegadeZedi'm trying 192.168.1.1 in browser address18:36
ElectrumGuynacc, I do not. If I did su - jorged -c commandhere in rc.local18:36
ElectrumGuywould it run that command as jorged?18:36
ioriaRenegadeZed,  yeah18:36
RenegadeZeddoesnt work18:36
RenegadeZedwhats the netstat command prompt in windows again?18:36
johnnyfiveAnd are there any other gotchas in that scenario I may be overlooking?18:36
ioriaRenegadeZed,  run   'route'   in terminal   (without quotes)18:37
naccElectrumGuy: also, do you have a file /var/run/crond.reboot ?18:37
tgm4883johnnyfive: You couldn't just replace the debs. You'd need to regenerate the rest of the repo stuff18:37
lettyElectrumGuy: try @reboot sleep 5 && ...18:37
johnnyfivetgm4883, that's planned as well18:37
RenegadeZedroute not installed18:37
naccjohnnyfive: you're not going to reversion the debs?18:37
tgm4883johnnyfive: then I don't see why there would be an issue. You'd need to trust them as well18:38
johnnyfivenacc, no18:38
naccjohnnyfive: if you're going to reversion the debs, then I don't understand your question at all18:38
ioriaRenegadeZed,  and please highlight  the nick of the person you're talking to18:38
naccjohnnyfive: then you're doing it wrong.18:38
tgm4883johnnyfive: I'm not sure why you wouldn't reversion the debs18:38
tgm4883nacc: +118:38
naccjohnnyfive: as you're lying about what you are doing18:38
ElectrumGuyletty, trying it.18:38
naccjohnnyfive: lying to apt, that is :)18:38
johnnyfiveWe are? It's the same software, just recompiled18:38
=== KDDLB_ is now known as KDDLB
naccjohnnyfive: which is *not* the same software.18:38
naccjohnnyfive: same source package, different binary package18:39
tgm4883johnnyfive: you need to add a revision18:39
naccjohnnyfive: so you should rev it18:39
RenegadeZedioria how do i do that? highlight your name18:39
tgm4883something like 5.8-0ubuntu1+johnnyfive18:39
ElectrumGuyletty, that worked!!!!18:39
RenegadeZedi think i'm connmected to internet18:39
johnnyfiveOk, so then we're lying to apt-get. The issue is we can't revision, because we may make 100s of the same package recompiled18:39
lettyElectrumGuy: woot18:39
johnnyfivethat'd create a dependency nightmare18:39
tgm4883I think that would be the correct addition18:39
naccjohnnyfive: even rebuilds require a new version18:39
ElectrumGuyletty, I bet its because its on a ssd?18:39
ioriaRenegadeZed,  ping www.google.com18:39
tgm4883johnnyfive: no it wouldn't create a dependency nightmare18:40
naccElectrumGuy: oh do you have /home on its own partition?18:40
ElectrumGuyno.18:40
lettyElectrumGuy: no idea why but i find things work @reboot better after a small sleep18:40
tgm4883johnnyfive: out of curiosity, why are you recompiling a bunch of packages anyway18:40
johnnyfiveNo? I guess I should read up on revision for debs18:40
naccElectrumGuy: cron runs @reboot jobs right when cron starts18:40
lettyespecially if they are network related18:40
naccElectrumGuy: read `man 5 crontab`18:40
Sleakerhaving a wierd issue on a customized kickstart.18:40
johnnyfivetgm4883, binary scrambling for security18:40
naccElectrumGuy: @reboot runs *really* early in the system process (before anything is mounted potentailly)18:40
naccjohnnyfive: and you understand that you are not supported here once you do this?18:41
Sleakerethernet detection works on the base 14.04.5 disk, but in my customized version the driver fails to load with unknown symbol errors.18:41
johnnyfivenacc, yes, we've already done it for the entire centos repo18:41
tgm4883johnnyfive: what security does that add?18:41
johnnyfivenext up is ubuntu/debian18:41
ElectrumGuynacc, does crontab run the commands in it in sequence or in parallel?18:41
naccElectrumGuy: i believe in the order listed18:42
naccElectrumGuy: the file is parsed in that order, at least18:42
RenegadeZedioria name or service not know18:42
RenegadeZedknown*18:42
naccjohnnyfive: so you're shadowing an entire distribution?18:42
johnnyfiveyes18:42
ioriaRenegadeZed,  you're not connected18:42
naccjohnnyfive: then do whatever you want, it's not really an ubuntu topic :)18:42
naccjohnnyfive: you're going to rebuild all of ubuntu, you can do what you want with it18:43
naccjohnnyfive: but you need to host the entire repository, including all the hashes18:43
johnnyfiveuh, well understanding how ubuntu works is an ubuntu topic, that's all i'm trying to understand18:43
ioriaRenegadeZed,  you need your router ip  to set it as gateway18:43
tgm4883johnnyfive: nacc he doesn't need to host the entire repository. Just everything that he rebuilds18:43
johnnyfiveyea, we are planning on it, I just am trying to understand how apt-get will behave when pointed at a repo that has all the packages/hashes recompiled/recomputed18:43
nacctgm4883: oh true18:44
RenegadeZedi can get that form my PC on windows?18:44
tgm4883johnnyfive: it wouldn't care as long as you add the signatures to the PC's you're going to update18:44
ioriaRenegadeZed,  yes18:44
nacctgm4883: how does that work for by-hash? if they don't reversion, won't the two repositories disagree about the hash for the same versioned package?18:44
pavlushkaWhere's my client SummitRidge :(18:44
tgm4883nacc: oh, good point. Hmm, I'm not sure how that would be handled18:45
ioriaRenegadeZed,  but also in its manual18:45
tgm4883nacc: I guess another reason to add a revision18:45
johnnyfiveExactly my question...18:45
Sleakeranyone able to help or point in direction on how to resolve the net issue?18:45
ioriaRenegadeZed,  netstat -r18:45
naccjohnnyfive: right, but that question itself is not a 'supported' ubuntu thing -- you don't rebuild and not reversion in ubuntu18:45
tgm4883johnnyfive: that was not really your question. If you're hosting the entire repository then it doesn't matter18:45
naccjohnnyfive: you can probably post a forum (askubuntu) question about apt -- but i really don't think it will work without changing the version. Also, how would apt know which version to install if it sees two packages with the same version?18:46
naccjohnnyfive: i guess you can pin your repo higher?18:46
johnnyfivewell in centos you can tell it to prioritize a specific repo18:46
naccjohnnyfive: that might be how it would resolve, but i'm not sure18:46
johnnyfivewhich is what I assumed we could do in ubuntu18:46
tgm4883nacc: if he's hosting the entire repo, then it doesn't matter.18:46
RenegadeZedioria why the netmask keeps chaning in my options even tho i made it 255.255.255.018:46
nacctgm4883: right18:46
naccjohnnyfive: i guess try it and see?18:47
naccjohnnyfive: should be possible to try it with one package18:47
ioriaRenegadeZed,  netstat -r     what's the output ?18:47
johnnyfiveyep, already in the works ;)18:47
RenegadeZedioria 192.168.0.18618:47
tgm4883johnnyfive: if you host the entire repo, rebuild parts of it, and then recreate the repo parts, Then it would work fine as long as you A) Add the signing stuff to the pc's you're going to update. and B) Disable the official repos18:47
ioriaRenegadeZed,  try that as gateway18:48
johnnyfiveThat's what I was hoping for. Thanks nacc tgm4883 !18:48
tgm4883johnnyfive: anything outside of that is both A) going to need you to figure it out, and B) is off topic for this channel I would guess18:48
johnnyfiveThat's all I was looking for18:48
nacctgm4883: yep, that seems right18:48
ioriaRenegadeZed,  and your ip  should be like 192.168.0.18818:48
tgm4883I'm still unsure of why one would want to scramble their binaries, which is an honest question18:48
naccjohnnyfive: the conflict would only exist if you had the same binary package in two repos, i think18:49
SummitRidgepavlushka,  success!18:49
SummitRidgei had to chmod the mount point so i could actually write to it, for some reason18:49
SummitRidgebut i got it working18:49
SummitRidgeman, remembering all this shit about *nix is sorta hard18:50
johnnyfivetgm4883, I don't understand all of it myself tbh, but from what I understand it changes the memory footprint for every package, reducing known attack vectors18:50
naccjohnnyfive: did you mean address randomization?18:51
johnnyfiveIs that not what I said?18:51
RenegadeZedi've tried a lot of combinations18:51
naccjohnnyfive: binary scrambling would be... changing the binary you run18:51
RenegadeZednot much working18:51
naccjohnnyfive: address randomization happens at runtime18:51
RenegadeZedioria, maybe the driver for networking isn't installed properly? idk18:51
naccjohnnyfive: on my intuitive reading of the terms :)18:51
ioriaRenegadeZed,  cable should work out of the box18:52
=== jackNemrod_ is now known as jackNemrod
naccjohnnyfive: also, the kernel already does aslr in ubuntu (afaik)18:52
johnnyfiveYes, ASLR however has many caveats18:52
tgm4883johnnyfive: yea binary randomization means something completely different to me18:52
ioriaRenegadeZed,  can you ping your router ?18:53
johnnyfiveAll I know is Chris Fraser of LCC fame wrote a new compiler that scrambles the end result in a way that reduces the attack vectors for known exploits. https://en.wikipedia.org/wiki/LCC_(compiler)18:54
johnnyfiveI myself am learning the technology as well, so that's all I got. Thanks for the tips!18:54
=== Introoter is now known as covfefe_the_grea
hackelIs there any way to enable unattended-upgrades for snaps?18:57
=== wlp1s1 is now known as [iczero]
RenegadeZed_ioria, doesn't look to be working18:57
RenegadeZed_ioria, says unreachable18:57
RenegadeZed_great lol18:58
Zalabasleahi im running ubuntu 17.0419:01
=== jstein_ is now known as jstein
buhduhexit19:12
mzazaHello, I installed NodeJS on a server and add the reposotories for yarn and installed it. Then I un-installed yarn and tried installing npm, however I get this error when trying to install it. https://pastebin.com/ryXhfmP719:13
badet0sany recommendations for a good supported wifi usb adapter ?19:16
naccmzaza: more than likel you didn't purge everyting from this external repo (I don't know what yarn is)19:17
=== covfefe_the_grea is now known as Introoter
dm_compbadet0s: I have this one and it does the job https://www.amazon.com/Panda-300Mbps-Wireless-USB-Adapter/dp/B00EQT0YK219:18
mzazanacc: I found a file in source.list.d for called yarn.list and I went ahead and deleted it. I didn't find any thing for yarn in source.list and I will try updating the repo.19:18
badet0sdm_comp: thx19:19
naccmzaza: um, that's not how you delete a repository19:19
naccmzaza: well, i mean it literally is, but it's not what you watned to do19:19
Jordan_Umzaza: Deleting an entry in sorces.list.d doesn't remove any of the packages you installed from that repo.19:19
naccmzaza: all you did was remove apt's knowledge of your repository19:19
naccmzaza: every package from that repo that you installed is still installed19:19
naccJordan_U: said far more concisely :)19:19
mzazanacc: Jordan_U what should I do :D ?19:20
Jordan_Umzaza: Add the entry back then use ppa-purge which will remove all packages from that repo (or revert them to the versions in the default repositories, take note of that possibility!) and will then remove the source from sources.list.d/ .19:21
mzazaJordan_U: I will try that out. Thanks ;)19:23
Jordan_Umzaza: You're welcome.19:30
mzazaJordan_U: I try ppa-purge -h https://dl.yarnpkg.com/debian/19:40
mzazaJordan_U: https://yarnpkg.com/lang/en/docs/install/, that's the step i followed for installation19:40
ioriamzaza, have you tried sudo apt purge yarn ?19:42
mzazaioria: Yes, I did that and it caused me some problem while trying to install npm.19:42
ioria!info npm19:43
ubottunpm (source: npm): package manager for Node.js. In component universe, is extra. Version 3.5.2-0ubuntu4 (zesty), package size 1548 kB, installed size 10408 kB19:43
mzazaioria: https://pastebin.com/ryXhfmP719:43
ioriamzaza, so if you run apt purge yarn   what you got ?19:44
Sleakerhmm so no one knows anything about the installer media in here and can help with driver detection issues?19:44
=== jackNemrod_ is now known as jackNemrod
Jordan_Umzaza: OK, and did ppa-purge report success?19:48
mzazaJordan_U: No, I could even use it.19:48
mzaza*couldn't19:48
ioriait's not a ppa, i guess19:48
Jordan_Umzaza: Why did you pass "-h"?19:48
mzazahttps://yarnpkg.com/lang/en/docs/install/19:48
mzazaioria: That's what I get while using apt purge https://pastebin.com/4WiqPbjJ and the problem I mentioned earlier stil persists.19:50
mzazaJordan_U: That's the steps i followed while installing yarn https://yarnpkg.com/lang/en/docs/install/19:50
Jordan_Umzaza: Looks like ppa-purge really only does expect ppas, and that repository is not a ppa.19:50
Jordan_Umzaza: What version of Ubuntu are you using?19:51
ioriamzaza,  and sudo apt autoremove ?19:51
wadiehttps://ubuntuforums.org/showthread.php?t=2362825&p=13652018#post1365201819:53
Jordan_Umzaza: You can use https://serverfault.com/questions/252333/list-all-packages-from-a-repository-in-ubuntu-debian to find all of the packages you need to remove or revert from that repository with a little modification, but unfortunately I need to leave now so I cannot help you further today.19:53
mzazaioria: nothing go uninstalled.19:55
ioriamzaza,  dpkg -l | grep yarn19:55
mzazaioria: nothing19:57
ioriamzaza,  dpkg -l | grep npm19:57
mzazaioria: nothing too19:59
mzazaioria: but there is nodejs and i purged it too19:59
ioriamzaza,  apt-cache policy nodejs20:01
mzazaioria: https://pastebin.com/64hjVFKX20:02
ioria!info nodejs xenial20:03
ubottunodejs (source: nodejs): evented I/O for V8 javascript. In component universe, is extra. Version 4.2.6~dfsg-1ubuntu4.1 (xenial), package size 3029 kB, installed size 12250 kB20:03
mzazaioria: and that's for yarn https://pastebin.com/DFBKSNy320:03
wadiecan someone give advice on limiting the battery charge ?20:03
ioriamzaza,  have you removed the .list in /etc/apt/sources.list.d  ?20:04
mzazaioria: I did remove the list of yarn and then re-downloaded it again. So now it's still there. Regarding nodejs I didn't delete any source.20:05
ioriamzaza,  are you on xenial ? yes ?20:05
=== Tayl is now known as Taylor
ioriamzaza,  you need to remove the source in /etc/apt/sources.list or in sources.list.d20:08
DaemonFCHey guys, I had a problem with bug 1670336 where it doesn't set up an encrypted swap file in a way that it can be used later and the system hangs for a couple of minutes on reboot. I used the workaround provided to get the system to boot without hanging, but the system still leaves an error that it "failed to activate /swapfile".20:10
ubottubug 1670336 in ubiquity (Ubuntu Zesty) "Ubiquity problem with encrypted home option: system hangs because of ecryptfs-setup-swap not working with swapfiles" [High,Triaged] https://launchpad.net/bugs/167033620:10
DaemonFCAny idea on how to fix this? (I suppose that Ubuntu should release new installers because this is breaking a feature of the installer quite badly.20:10
coffeeguyhi i'm running ubuntu 16.04 in vm on windows 10 host, i keep getting ubuntu system error dialog box with a report option..is there anything i can do Or just keep updating till the bug is fixed?20:16
ikoniadepends why you're getting the error/whats failing20:16
coffeeguyrunning unity and it usually pops up on start up20:16
coffeeguyhm how would i find that our sys log?20:17
=== Zalabaslea is now known as m0d
ikoniasyslog is a good option, the xlog is good too (your session not the overall one) normally you get a bit of detail on the popup too20:17
m0dhappy friday guyz20:17
Ichimusaim0d: Back at ya! :)20:17
m0dthanks.20:22
coffeeguyhmm i'm going to reboot ubuntu and see if i get the error again on startup ty20:25
wadie My laptop is usually connected to power and therefore I would like it to stop charging around 80% or maybe stay in the range of 55%-60%..any ideas ?20:25
=== Zalabaslea is now known as Betlehem
ikoniawadie: it's not going to happen20:26
ikoniawadie: that is hardware controlled over software normally20:26
senaafer20:27
ikoniayour hardware should control the charging cycle/battery conditioning20:27
ZtaHow do I run the disk partitioning tool used during the installation of my Ubuntu Server?20:27
wadieikonia, then what is this http://linrunner.de/en/tlp/docs/tlp-linux-advanced-power-management.html20:27
wadieI've seen some solutions for this, but I need something that works for 16.04 on lenovo ideapad20:28
ikoniawadie: what about it ?20:28
wadieikonia, TLP has a battery charge threshold feature for thinkpads and IBMs20:30
wadieso it exists. it's possible.20:30
ikoniayes, and that page says it works with 16.0420:30
wadiebut I guess not ideapad20:30
ikoniahowever as I've said, this is not the norm, and I wouldn't be surprised if this broke on a regular basis20:30
wadiethat was my questions20:30
ikoniathe thinkpads are quite uninuqe in what IBM providers20:30
ikoniaprovides20:30
wadieikonia, it exists on Lenovo settings windows 7, 8.1 and 1020:30
ikoniaand how much is open/known20:30
Betlehemhmmm20:31
wadieand it works on all lenovo laptops20:31
ikoniawadie: you're not using windows though....20:31
IchimusaiZta: Read the guide http://ubuntuserverguide.com/2013/02/manual-disk-partition-guide-for-ubuntu-server-edition.html20:31
wadiebut you said it's related to hardware..so it's not ;)20:31
ikoniawadie: no, I didn't say that20:31
wadie your hardware should control the charging cycle/battery conditioning20:32
wadie<ikonia> wadie: that is hardware controlled over software normally20:32
ZtaIchimusai: That's the tool I want. How do I start it from the shell?20:32
ikoniawadie: thats right, it's "normally controller via hardware over software"20:32
wadieso basically you don't know of an alternative for Ubuntu, correct ?20:32
DaemonFCwadie, The Lenovo Companion on Windows installs a system service that stops the battery from charging to more than 60% if that's what you want it to do, but there is no such utility for Linux. The battery still can't be overcharged on a modern system because the hardware won't allow it.20:32
wadieDaemonFC now that's a better answer :)20:33
ikoniawadie: there are thinkpad tools for Linux yes, however as I've said, you'll find they will be hit and miss and are targeted at the thinkpad20:33
wadieDaemonFC, did you check TLP that I linked to ?20:33
ikoniaand again the battery is normally controlled via hardware so I'm not sure what you're trying to do20:33
DaemonFCSo, basically, it'll stop at 100% no matter what OS you use, but I don't think there's a way to keep it below 100% if you're plugged in. The battery itself stops you from charging to 100% if you're just a few % below though. This seems to confuse Linux distributions because they will say something like "96% charged 12 minutes to full".20:34
DaemonFCThen the time keeps going up.20:34
DaemonFCBut it's harmless. It's the same thing as Windows saying "Plugged in, not charging.".20:34
wadieDaemonFC, except for when the battery is heating on 100% then it's not healthy20:35
wadieusually it's not a problem to have a 100% all the time20:35
DaemonFCThe battery stops taking a charge and the laptop starts running off of AC at or near 100% though.20:35
DaemonFCSo it shouldn't reach a point where oerheating is a concern.20:35
wadieDaemonFC, I've read otherwise from different sources20:35
DaemonFCThe 60% option in Windows with Lenovo is there because the battery wear is slightly less if you don't store it with a full charge all the time.20:36
wadieand I guess there's a reason Lenovo would offer such a feature..20:36
DaemonFCIt toggles a setting on the battery's firmware though. That's all it does.20:36
wadiethe battery's lifespan would be maximized I guess20:36
DaemonFCSo someone could _probably_ write a program for other operating systems that does that.20:36
wadiehmm ok20:37
coffeeguy iknonia i think i fixed it , i set the ubuntu guest to a set resolution?? i dunno i don't get system error at start up also there was an update yesterday20:37
wadiethanks for the explanation, I appreciate DaemonFC :)20:37
DaemonFCLenovo is pretty openly hostile towards Linux though, so if you can even install it at all, it's hit or miss.20:37
ikoniacoffeeguy: excellent, well done20:37
coffeeguy:)20:37
wadieI hate it when people here say what you're trying to do isn't possible, what you want doesn't make sense and stuff like that..you either understand and try to explain or don't say anything20:38
wadieDaemonFC, true20:38
DaemonFCAfter my complaint to the Illinois Attorney General, they released new BIOS firmware for 3 laptops and made the Yoga 910 capable of installing Linux by toggling storage mode, but I heard from someone else that he got a laptop with no BIOS fix available, so they might be at it again.20:38
DaemonFCFly by night company through and through.20:38
ikoniawadie: is what you want to do possible on linux on your hardware ?20:38
wadieIt is ikonia20:38
ikoniawadie: how do you do it ?20:38
DaemonFCwadie, You may want to use powertop's auto-tune and set it to run on each boot to optimize the tunable settings.20:39
Sleakerreally really need help with this.20:39
DaemonFCI managed to get the battery power consumption down quite a bit vs. defaults. That will probably save you more wear than anything.20:39
wadieikonia, DaemonFC can explain it better for you if you really wanna know :)20:39
ikoniawadie: no, I'd like you to explain20:39
ikoniawadie: as so far I've not seen any information that shows how you can do it on linux on your hardware20:39
SleakerTrying to debug why a customized ubuntu kickstart isn't loading network drivers but the original 14.04.5 disk does.20:39
naccSleaker: is it the same kernel/initrd in both cases?20:40
Sleakeri get mii_ethtool_sset module not found errors on my kickstart, but the kernel images look indentical.20:40
Sleakernacc yes20:40
DaemonFCThe way I understand it the "stop at 60%" thing is just something in the battery firmware that the Lenovo Cmpanion toggles.20:40
Betlehem:<20:40
ikoniaDaemonFC: interesting so "firmware" as in hardware controlled interaction20:40
Sleakercopied the vmlinuz/initrd/squashfs from the new 14.04.5 to mine.20:40
DaemonFCThat's what one of their moderators said on their forums anyway.20:40
DaemonFCikonia, It appears that way.20:40
Sleakerand all of the udebs. regenerated the udeb pacakges.gz20:40
Sleakerthey all load, then ethdetect fails in the debian-installer.20:41
ikoniaDaemonFC: so what I've just told wadie that he is attempting to mock me for being "wrong" about, interesting20:41
wadiedidn't say wrong..I said not helpful20:41
naccSleaker: in your system's case, is the 'mii' module loaded?20:41
wadiesaying impossible20:41
ikoniawadie: how is telling you the truth not helpful20:41
DaemonFCThe battery has onboard firmware now that has tunable settings, but good luck getting Lenovo to tell anyone exactly how that works.20:41
wadieyou can say I'm not sure20:41
ikoniawadie: but I was sure about what I said and I still am20:41
DaemonFCMaybe someone could figure it out, is what I was trying to say.20:41
Sleakernacc nope.20:41
Sleakermodprobe mii gives module not found20:42
naccSleaker: that is the reason for the missing symbol error -- if you load it, does your module load?20:42
naccSleaker: hrm, that seems wrong20:42
Sleakeragree.20:42
naccSleaker: let me double check in 14.0420:42
Sleakerthanks20:42
DaemonFCikonia, It seems to work well enough in Linux with default settings, but if you want to switch from Windows, I would strongly recommend changing the "stop at 60%" thing to "off" first.20:42
ikoniaDaemonFC: I don't disagree, I run thinkpads with linux all the time, hence why I'm confident with what I've said20:43
DaemonFCOr else you might get stuck with a laptop that only charges to 60% with no way to back that out without installing Windows and Lenovo Companion again!20:43
Sleakernacc  there's no mii.ko on mine, but there is on the base image.20:43
wadieikonia, again it's possible even if it's not easily available right now. and if you knew how it works then you could've explained like DaemonFC did so maybe I could look into it further from there.. just saying, because this isn't the first time I see such respond where if the answer isn't simple enough then it's a "what you want doesn't make sense" kinda response20:43
naccSleaker: so .. they aren't the same :)20:43
naccSleaker: that's the bug, not sure why it happens -- but solve that and it should all work20:43
DaemonFCI'm not sure if it's persistent or not, but I wouldn't want to dive in and then find out later.20:44
wadieikonia, so you do say it can work..you said impossible :)20:44
ikoniawadie: how do you know it's possible ?20:44
Sleakerwell is the mii.ko even in initrd?20:44
ikoniawadie: no, I'm not saying it "can work"20:44
ikoniawadie: please tell me how you do this in linux ?20:44
wadieyou don't know it's impossible..you could've said I'm not sure20:44
ikoniawadie: do you know it's possible20:44
wadiewe're still discussing this20:44
DaemonFCwadie, I've been running the Yoga 900 ISK2 for about a year and my battery still charges to 93%. That's with me storing it at 100% quite often and mostly on AC.20:45
wadiebetter than eliminating any chance of finding a solution20:45
ikoniawadie: yes we are because you are making statements that are incorrect,20:45
DaemonFCThe battery will definitely last you 4-5 years before it becomes a pain in the butt, and then you could just flip it over and unscrew the bottom of the case and the battery and change it out with a replacement part.20:45
ikoniawadie: there isnt' a solution, it's hardware controlled interaction and these devices are not "open source" - the thinkpads are a minor exception due to IBM's work before lenovo took over, and even then it breaks a lot20:45
ikoniawadie: so at this moment in time "it's impossible"20:45
ikoniauntil someone reverse engineers the software and the apci calls for apm interaction with your lenvo device....it's not going to happen20:46
ikoniawhich I'm pretty sure no-one is looking at doing as no-one really cares about what youa re asking for because it's not a real problem20:46
DaemonFCOh, good luck with that. Lenovo's "press release" before they gave up because the AG was looking into them at my request read off like they were offended that anyone would want to run Linux instead of Windows 10.20:47
DaemonFCAnd, for the record, you *can* flip it over in GNOME and use it as a tablet.20:47
wadieI'll look into it further..but you see, now you gave a better explanation because I'm not a kid who is ok with a this is impossible answer..we are here to discuss the matter20:47
DaemonFCSo that part of their press release was an outright lie.20:47
ikoniawadie: "it's impossible"20:47
ikoniawadie: that is the answer,20:47
wadiethank you for your precious time ikonia20:48
Sleakernacc the initrd doesn't even have the mii on it, so it's not that20:48
ikoniayou're welcome20:48
naccSleaker: no i mean the symbol that is missing is provided by the mii.ko module20:48
naccSleaker: so it clearly is present in the base installer, whether in the initrd or not20:48
DaemonFCLenovo's nutty firmware went beyond simply hiding AHCI storage mode from a user that shouldn't be playing with things.20:48
Sleakerright.20:48
SleakerI just don't know where it gets extracted from.20:48
DaemonFCThey wrote new code to keep you from toggling it with an EFI variable too.20:48
DaemonFCSo I doubt anyone is ever going to walk up to Lenovo and ask how ACPI stuff works and get an answer other than "Your 360 degree hinge was designed specifically for Window 10.".20:49
naccSleaker: ok, can you clarify again? with the base ubuntu image, your network card works. You made a new image based off of the 14.04.5 one, and network doesn't work? In the base ubuntu image, is mii loaded (lsmod | grep mii)? In your image is mii loaded?20:49
Sleakernacc yes, and no. in that order20:50
DaemonFCI'm telling people now to just go after the Dell XPS developer edition and they know it'll work.20:50
Sleakermii.ko is not even extracted when I check what files are present on the booted ramdisk in my installer env.20:50
Sleakerbut it is present in the base 14.04.5 one.20:50
naccSleaker: so then it's not the same initrd and kernel? :)20:51
Sleakerit is?20:51
naccSleaker: what changes are you making to the base image?20:51
Sleakeradding packages to pool20:51
Sleakerand rebuilding the dists pacakge list.20:52
naccSleaker: such as ...?20:52
Sleakercustom packages.20:52
Sleakerirrelevant since .debs dont' get installed until after package selection.20:52
akikDaemonFC: which lenovo yoga model is now getting the treatment by lenovo?20:53
naccSleaker: so, to be clear, in the base ubuntu installer, you can drop to a shell and do `sudo modprobe -r mii; sudo modprobe mii`? But in your installer enviroment, you can't?20:53
Sleakersudo doesn't even exist in the d-i :-/20:53
Sleakermodprobe -r mii wont work on the base image since it's in-use.20:53
ikonianacc: do you really need/want mii ?20:54
naccSleaker: you know what i meant, i think20:54
naccikonia: Sleaker's card needs it20:54
ikoniareally ?20:54
ikoniait actually "needs" it ?20:54
naccikonia: dunno, pcnet32 something something20:54
ikoniais it an old card ?20:54
naccikonia: yeah, i'd assume it's old if using that driver20:54
Sleakerikonia: it's necessary for pcnet32 VMware to detect properly in the d-i environment.20:54
naccSleaker: ok, but i meant basically the module is present in the one20:54
naccSleaker: so bisect it down20:54
naccSleaker: figure out what chagne you are making is breaking it20:55
Sleakernacc hard to bisect when I don't know where the mii module even comes from20:55
naccSleaker: alternatively, try to rebuild the base image withotu modification and see if you break it too20:55
naccSleaker: no, that's not true at all20:55
naccSleaker: you have some set of changes, you can bisect in them for a behavior without knowing the source of the behavior20:55
naccSleaker: that's the whole point of bisecting your changes20:55
Sleaker...20:56
naccSleaker: let's say you are making 5 changes to the base image. You've tested with all 5 changes. It's broken (that's one endpoint). So go and only make one change (or like I said, no changes) and see if it's broken (but still rebuild the image).20:57
naccSleaker: then you figure out if you have any good datapoints20:57
naccSleaker: it could also be something you're breaking in your image build process20:58
naccSleaker: in any case, the issue is the lack of mii.ko in your image, which is a problem in your image (not ubuntu)20:58
Sleakercorrect.20:58
Sleakerit would be helpful to know where the mii.ko gets loaded from.20:58
DaemonFCakik, I do not recall. I read it on their forums.20:58
senaaHow to exec in bash not directly exit?21:00
senaaexample21:00
naccSleaker: what you've been saying doesn't make sense to me. If you need mii.ko for networking to work in your env, then you konw it's on the initrd (installer initrd, I think you mean)21:00
senaaexec curl .......21:00
naccSleaker: as the only other source of data for the installer is the network (or an ISO i guess)21:00
senaaexec curl .......21:01
Sleakernacc, I verified the 14.04.5 initrd does not contain the mii.ko21:01
DaemonFCakik, I just skimmed it again. Two affected models. 710S Plus-13IKB  and Miix 720, apparently.21:01
DaemonFCNo "Linux BIOS" and forces the RAID controller. Same problem mine had when I bought it.21:02
naccsenaa: that isn't a clear example to me21:02
DaemonFCUnfortunately, since I don't own either model, I can't file a consumer complaint with the Illinois Attorney General because I haven't been harmed. I would encourage people who are affected to contact their state's Attorney General office. They usually have a "consumer affairs" division or something similar to that.21:03
naccSleaker: i just verified that at least the 14.04.5 installer initrd absolutely has mii.ko init21:03
nacc*in it21:04
naccSleaker: the netboot installer, i meant21:04
naccSleaker: http://archive.ubuntu.com/ubuntu/dists/trusty-updates/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64/initrd.gz21:04
DaemonFCLooks like the 710 Plus-13IKL is also affected.21:04
Sleakerhmmm.21:04
naccSleaker: which installer are you using?21:04
Sleakerstandard server one.21:04
DaemonFCLenovo is like a weed. You pull one and two more grow in its place. :P21:04
naccDaemonFC: i would like to know how you verified the initrd does or does not contain a module?21:04
Sleakernon-netboot.21:04
Sleakernacc, cpio the files into a directory and check the modules directory.21:04
DaemonFCAnyway, back to my question from a while back. Does anyone know how to make Ubuntu 17.04 activate an encrypted swap file?21:06
DaemonFCUbuiquity creates one, apparently using the wrong settings.21:06
naccSleaker: any chance you can md5sum the initrd -- want to make sure i'm looking at the same one21:08
Sleaker3d1ecd1fabd5699ef45613673e1e565  initrd.gz21:08
Sleakermy inclination is that it's a udeb that's not correctly getting selected by the d-i system21:10
Sleakerfyi, this *was* working prior to the upgrade.21:10
Sleakerie: I have a 14.04.1 image that works fine with the customizations21:10
Sleakerjust need to get updated to the new 4.4 kernel21:10
Jordan_Usenaa: What is your end goal?21:11
nicomachushi all. I'm trying to unzip a .zip archive and am getting an error I've never seen before: https://paste.ubuntu.com/24752305/21:11
senaaso i want to run the first command without exit and then continue with the second21:12
nicomachusmediainfo shows it as a .zip file21:12
Sleakeror if it's on the netboot image, I could probably just use that one.21:12
Jordan_Unicomachus: Please pastebin the output of "file so_young_digital_single.zip".21:13
nicomachusso_young_digital_single.zip: Zip archive data, at least v2.0 to extract21:13
nicomachusJordan_U: ^21:13
Jordan_Unicomachus: Where did you get this file from?21:13
ElectrumGuyis there anyway to have a single xvfb instance, and have ALL my selenium python tests use that single one instead of every single python test script using its own?21:14
nicomachusJordan_U: it's a digital download of a single for an album that I pre-ordered. They emailed the link.21:14
naccElectrumGuy: that sounds like a question for a different channel? python or selenium or ...21:14
ElectrumGuyits a mix really.21:14
naccSleaker: well, it's weird that the base image works21:15
naccElectrumGuy: still, not really an ubuntu support question21:15
ElectrumGuybut ubuntu has xvfb :(21:15
Jordan_Usenaa: It is very difficult to understand what you're trying to ask. Is English your first language? If not, what is your first language?21:15
naccElectrumGuy: but your question isn't about xvfb, it's about python and selenium21:16
ElectrumGuyits about using xvfb with python but I get your point21:16
Sleakernacc i agree.21:16
nicomachusJordan_U: additionally: https://paste.ubuntu.com/24752331/21:16
Jordan_Unicomachus: It's odd that a single audio file would be distributed as a .zip file. Do you expect it to have multiple files? Are other people who have ordered and received this able to unzip it?21:18
Sleakernacc the txt.cfg from isolinux loads /install/initrd.gz too, I don't see anywhere that it would even try to load the netboot image.21:18
naccSleaker: sure, i wasn't necessarily saying it was -- but i was just looking at initrds i can while i wait for the iso to download :)21:18
annihilatoris there a big different between stock ubuntu and ubuntu gamepack?21:18
annihilatorbesides the obvious21:19
nicomachusJordan_U: it should only be one file. They delivered the other singles as .zip's when I ordered last week and they didn't give any trouble. I'll ask around and see if anyone could open it.21:19
naccannihilator: you would have to ask them, it's not an official flavor21:19
annihilatorah ok21:19
annihilatorif its not an official flavor then im not worried ill just make my own gamepack LMAO21:20
senaaJordan_U: I want to exec bash script without exit. when I  run the first command with and then continue with the second21:20
Jordan_Uannihilator: It is not an official flavor, and so they shouldn't have "ubuntu" in their name. Also, it is not supported here, which would be a pretty big downside to using it IMHO.21:21
naccsenaa: don't use exec in that case?21:21
nicomachusJordan_U: actually, the weird part is that when I click the download link it's downloading 9.2 MB21:21
naccsenaa: do you understand what `exec` does?21:21
annihilatorwhich is easier install flash or using chrome?21:22
Jordan_Unicomachus: Maybe download the link with wget, which is more reliable than many other download managers.21:22
Jordan_Unicomachus: If it fails part way through the download, you can use "wget -c http://example.com/stuff" to continue the download where it left off.21:23
Sleakerannihilator: imo they are the same.21:24
Jordan_Uannihilator: What do you need flash for?21:24
nicomachusJordan_U: I can't download again. One time use link.21:26
nicomachusI emailed someone at Atlantic records. Thanks for the help anyway.21:26
Jordan_Unicomachus: You're welcome. Good luck.21:27
CountryfiedLinuxhowdy21:35
psychoticwarriorhowdy whats up21:36
CountryfiedLinuxMy laptop has an AMD A10-8700p. Would it be a good idea to install Ubuntu on this or should I get an Intel-based laptop for that?21:37
Betlehemnot needed21:37
Betlehemif u want speed egt a ssd21:38
CountryfiedLinuxI have an SSD.21:38
Betlehemon the AMD? well i use AMD and ubuntu 17.04 is doing well... AMD Vision E35021:39
CountryfiedLinuxWhat I don't have is a GPU officially supported by AMD. How are the free drivers for my card compared to the AMD proprietary on Windows?21:39
Betlehempropietary drivers are better21:39
CountryfiedLinuxoh ok thanks21:40
CountryfiedLinuxI suppose Ubuntu would be better suited on an Intel-based laptop.21:40
Betlehemim sorry im not the best person to ask you just wait21:40
Betlehemlet me see21:40
Betlehemi use a lowned ati 6000 series integrated gddr 256 or 51221:40
Betlehemgddr: 3. without ubuntu amd64-microcode graphics arent fast21:41
naccSleaker: ok, so i did some digging -- i have no idea for sure, but this is what i see21:41
naccSleaker: the base server install iso's initrd.gz does not contain a mii.ko21:42
Sleakeryaaah _/21:42
Sleaker:-/21:42
naccSleaker: but the install/netboot/ubuntu-installer/amd64/initrd.gz *does*21:42
Sleakerright21:42
naccSleaker: presumably that gets loaded when you are in the server iso and configure networking (or something like that?)21:43
Sleakernot sure how?21:43
SleakerI have that one on my system anyhow.21:43
naccSleaker: probably by d-i itself, in ubuntu, but i'm really not sure either21:43
Sleakeror rather on the image21:43
Sleakeri didn't see it in the squashfs either in case that gets loaded.21:43
naccSleaker: right, i agree not there21:44
SleakerF6 + enter even shows it's loading /install/initrd.gz from grub.21:44
DaemonFC"<Betlehem> propietary drivers are better"21:45
DaemonFCI'm just happy that I don't need any to run this computer.21:46
Betlehemfor amd yes21:46
DaemonFCFGLRX was not a pleasant experience.21:46
Betlehemthat i mention worrs fine, k. i will try a game21:46
BetlehemATI 200 FPS nvida 6021:46
Betlehemdid that said something21:46
DaemonFCI was using the open source radeon drivers when I did have an AMD card because of all the bugs in the proprietary one.21:47
DaemonFCLosing a few fps on something is preferable to having the entire desktop crash like it's Windows 98 all over again.21:47
Betlehemfew is not x321:48
Sleakernacc do you know if ubuntu has a package search feature like debian.packages.org?21:48
Betlehembut yeah everybody likes INTEL or nVidia... i agree21:48
geniiSleaker: https://packages.ubuntu.com/21:48
DaemonFCKDE was carrying around dozens of workarounds for AMD's proprietary driver (at least at the time) and it also dropped you back down to the OpenGL 1 backend.21:49
DaemonFCAnd the tearing was painful to see.21:49
DaemonFCI certainly hope that they've gotten it into better shape than it was in the last time I encountered it.21:50
Sleakerworst case I guess I just add the mii.ko to the initrd manually lol.21:51
Sleakerseems shoddy though21:52
naccSleaker: you should see if in 14.04.1 it's in the initrd?21:52
naccSleaker: i understand that /install/initrd.gz is being loaded -- that's the base installer env. I'm saying that once you tell theinstaller that you want networking (or when it tries to configure it), maybe it uses the netboot initrd's contents to load some extra modules? i'm really not sure21:53
Sleakerit's not21:53
Sleakerto your first question.21:54
skinnymg1hola everyone21:55
Betlehemholitas vecino21:55
Betlehemwoot!21:57
Sleakerdebian installer is so cryptic it's annoying :(22:06
Sleakeryah, so using the netboot image technically works for getting the mii loaded, but it also wont use any of the modules on the disc.22:15
Sleakerso it tries to download everything which wont work for what I need :-/22:15
=== hanna` is now known as hanna
pagzanyone able to point me in the right direction to reset/remove mysql password, im following a guide from ubuntu but getting this error https://pastebin.com/z3T4LUf722:37
=== Betlehem is now known as DoSeR
=== ejat is now known as fenris
=== fenris is now known as ejat
=== ShaRose_ is now known as ShaRose
=== marcoslater_ is now known as marcoslater
=== [iczero] is now known as iczero
Loshkipagz: "[1]+  Exit 1 sudo /usr/sbin/mysqld --skip-grant-tables --skip-networking" <-- I think this means your mysql server crashed. You need to fix that first.22:58
MuimiIsn't it possible to install ubuntu from within windows?23:02
naccpagz: don't run it in the background23:02
naccpagz: just have two terminals open23:02
naccpagz: you can see that lin 9 indicates an error23:03
naccpagz: so the sql server failed to start23:03
Loshkipagz: next step, look at the mysql logs and see if it says why it won't stay up23:05
keepOwn23:26
MuimiANy problem with using Wubi?23:34
Dreaman:)~23:34
Dreamanno but old23:35
YankDownUnderWubi isn't supported any longer - nor is being developed. There are better tools.23:37
LoshkiMuimi: And wubi was dodgy even when it *was* supported. Consider running it under virtualbox instead...23:49
vimarHi23:55

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!