[00:10] wouldn't be the first time this helped fix dhcp ;) [00:11] I am running 16.04LTS and am trying to connect to a Western Digital NAS that is plugged into my wireless router. Ubuntu will see the folders on teh drive but will not allow me to connect as it asks for credentials. I have used every combination that I can think of with no luck. I have been able to connect by allowing guest login, but I don't want that all the time. I also tried to make a new account in the router to allow read/write [00:11] access but that also didn't work. Can anyone offer any suggestions? [00:16] Zemmy_: i assume you were able to connect to that NAS and access your files there before? when it worked, how did you do it? [00:17] also which product is it precisely. [00:17] I was using a Windows laptop. [00:17] with some vendor specific software on it? [00:18] It is an Asus TM-AC1900 router supplied by T-Mobile [00:19] and the NAS is attached to the router how? via usb or network? [00:19] USB [00:19] Zemmy_: does it not have a network interface then? [00:20] Zemmy_: how are you trying to connect? SMB? NFS? FTP? SFTP? [00:20] Zemmy_: btw, hi :) [00:20] Hi lefty [00:20] So probably some SMB other daemon on the router [00:21] the page is titled "USB Application - Network Place (Samba) Share" [00:21] ok, Samba/SMB [00:21] Zemmy_: what'S the product name of the NAS exactly? [00:21] It is an Asus TM-AC1900 router supplied by T-Mobile [00:22] Zemmy_: that's your router, not your storage [00:22] NAS= network attached storage [00:23] which normally suggests it has a network interface card / chip and a network jack. [00:23] tomreyn: The storage is an external USB which is plugged into the router, which shaes the drive to the network [00:23] Oh, sorry. I read that wrong. Western Digital My Book [00:23] its plugged into the USB port on the router [00:23] okay right that's not NAS, just an external HDD [00:25] ahh, OK. [00:25] Zemmy_: on windows, did you have some software by t-mobile or asus installed to support your router or its configuration? [00:25] no [00:25] I did all the work by pointing to it in Chrome [00:26] "cellspot.router" takes me there [00:27] when starting Ubuntu the entire drive appears and when I try to access it Ubuntu asks for credentials [00:29] Zemmy_: okay, so what i don't understand yet is that you say you had it set to guest access temporarily but you liked it better when it was somehow different. when it was somehow different, how did it work then? [00:30] Zemmy_: my point is that if you accessed it from windows before, and there were credentials configured to access it on your router, then you must have entered those crdentials in windows (and it stored /cached them), and you'd need the same credentials to access from linux now. [00:31] the only way to connec to the drives from the Ubuntu computer is to set it to guest access. From my Windows machine no such change is necessary and I can access the files [00:31] and you can probably configure different credentials on the asus routers' web interface [00:32] the only credentials I have entered are the username and password to access the router settings. those credentials do not work on the Ubuntu machine [00:33] I attempted to make another user account for the Ubuntu machine but I am still asked for credentials when trying to access it from Ubuntu [00:33] "Password required for share documents on 192.xxx.xxx.xxx" [00:38] Since Samba was involved I was wondering if there was something in Ubuntu that I wasn't aware of [00:38] Zemmy_: try this: on the router's web interface, go to "usb application", "servers center", "network place". [00:38] Zemmy_: that's where you should be able to configure a user whose credentials you'll use on ubuntu [00:40] is there a chance I would need to reboot Ubuntu for it to work? [00:40] <[n0mad]> doubtful [00:40] Zemmy_: not really, no. did you try what i suggested, though? [00:42] yes. I created an account giving it Read/Write to the necessary folders but it still asks for the password [00:42] you may need to select "share with account" on that screen to be able to configure an account [00:42] himom: Please pastebin the output of "dmesg" after or while you're seeing these artifacts. [00:42] Zemmy_: hmm, well, it might be you need to restart the router, but i would think not. it's worth a try rebooting both the router and ubuntu at this point, though. [00:43] thanks. I will try. [00:43] Zemmy_: you could also try to access the files using the FTP protocol instead of SMB (which you were trying so far) [00:44] if it still fails I will explore that. [00:50] luckily this thing is vulnerable to CVE-2017-7494 so you can just get remote code execution if needed ;) [00:52] <[n0mad]> lol [00:53] tomreyn: I'm sure it's a feature! [00:53] i'm sure t-mobile thinks so, too [00:53] is it safe to show people my dmesg? [00:54] safe: yes, usually. if you worry a lot about privacy, though, maybe you need to strip some serials nad MAC addresses. [00:55] that would be a lot of stripping though? [00:56] Hi, could someone take a look at this problem I am having//., [00:56] oops [00:57] well, anyway, trying to reinstall ubuntu and having trouble partitioning [00:57] what's wrong? [00:58] I dont understand what these SCSI things mean, the latter picture. Do they refer to the same partitions, on the upper picture, that are formatted as ext4 and linux-swap? [00:58] http://imgur.com/a/SyAin [01:00] the guided partitioning thing offers those SCSI partitions, when I choose reinstall ubuntu [01:01] it says partition 7 on sda - that is sda7 [01:01] hal9002: "SCSI1 (0,0,0) (sda)" refers to your first hard disk. please be sure to have current backups before proceeding. [01:01] so look at the numbers [01:01] oh, okay [01:01] sda, sdb, sdc that's which disk [01:02] 0, 1, 2, 3... that's which partition [01:02] don't worry that it says SCSI, check which partitions on which disks you edited to make sure you didn't make a mistake [01:03] strange, fdisk -l claims there is no partition sda7 [01:03] what a mess .. 1.84 gb and 2.44 gb unallocated [01:03] oerheks, I supposedly need to leave them as such. Using a mac, alas [01:03] hal9002: I think it means it will create one doesn' it? [01:03] himom, probably, yeah [01:04] well, thats not ideal, I suppose I will just manually edit the partition table then [01:04] hal9002: if you created a partition there with ext4 file system then you know it's the one you made [01:04] hal9002: but the changes are not applied yet until you accept everything [01:04] okay [01:04] thanks [01:04] i read sda5 will be reused, and sda7 will come on the 1st piece unallocated.. if you hit continue [01:05] 1.84 gb is really not enough [01:05] yup [01:06] Jordan_U: I know you try to help and thanks for that, but I'm not sure if it's safe to send this. Nothing changes in dmsg when I run those 3d apps that display artifacts [01:07] oerheks, actually, those small unallocated partitions had something to do with optimizing SSD performance, not os x, but anyway [01:08] anyway, thanks for your help oerheks and himom. I think I might manage it from here [01:08] good luck! [01:08] thanks :D [01:12] oerheks: do you remember my problem with artifacts? I tested Ubuntu live usb and on 16.04.1 it doesn't happen at all, on 16.04.3 it happens in Blender but not in games (so still better than on my 17.04. Do you know what that could mean? Maybe it's the kernel, but even then what do I do? [01:13] himom: If you can narrow it down to being the kernel then a process called bisection could tell you exactly what change to the kernel introduced the problem, if you're willing to do the work required to find out. [01:14] Not really, all you can do is wait for amdgpu support for 4.10 [01:14] Jordan_U: how can I do that? === Schnabel1 is now known as Schnabeltierchen [01:15] oerheks: that is sad. I hope that's not true and that there is some way. Being dependent from a single company that has failed me in the past with their drivers is probably the worst thing that could happen in this case [01:16] himom: https://wiki.ubuntu.com/Kernel/KernelBisection [01:18] himom: I expect that you'll get the best results testing from Ubuntu 16.04.1 and not upgrading anything other than the kernel. [01:18] Jordan_U: interesting, so it's like a binary search [01:18] himom: Exactly that, yes. [01:18] Jordan_U: this sounds like a great method. If I learn the exact version that starts causing the problem what will this information give me? [01:21] himom: In the best case it will tell you exactly what change caused the problem and you'll be able to just revert that change and use the latest kernel with just a single patch reverting the small change. More likely it won't be quite that simple but knowing a commit that makes the problem worse will probably give developers a very strong hint as to what the underlying problem is. [01:22] Jordan_U: that's awesome! I will try it then [01:23] Jordan_U: thanks for help [01:25] himom: You're welcome. When you do file a bug report please subscribe me to it, user jordanu . [01:26] Jordan_U: ok, I will! where should I file the report once I find out which version is causing the problem? [01:27] Jordan_U: one more thing: can I install kernels on live usb with persistence or do I need to install the OS on a hard drive? [01:32] himom: You can boot different kernel images from a LiveUSB but in that case persistance would actually likely just confuse you rather than make it easier to do so. It would be a manual process of changing the grub.cfg to point to the new kernel image, and you would *not* (for sanity's sake) want that new kernel image to be part of the "persistant" filesystem. [01:37] Jordan_U: I see [01:40] himom: You can do a normal installation to a USB drive. Main downside is that it will likely be *very* slow and may replace the UEFI boot entry for your internal drive (which can be fixed by using the USB install's grub to boot the internal Ubuntu, then running "sudo grub-install"). [01:43] Jordan_U: live usb seems like a better option then [01:46] noob question: if i get a dual band router should i get a dual band wirelss network adapter? [01:47] where else can i ask this? [01:47] ohlolz: if and only if you want to use 5GHz and 2.4GHz. You can get by with just a 2.4GHz adapter. ##networking is probably a better place to ask this though [01:47] teward: i'm getting lower wifi speed in 2.4Hz [01:48] so should i change both? the router and adapter? [01:50] himom: So then after "installing" a test kernel package copy the kernel and initramfs from /boot/ to the USB drive's fat32 partition, which should be mounted to /cdrom/ when you're booted from the LiveUSB, and edit /cdrom/boot/grub/grub.cfg adding an entry for booting your test kernel and initramfs. [01:53] ohlolz: i'd try just the adapter first, but keep in mind that "lower wifi speed" isn't necessarily the router OR the wifi adapter's fault. And you haven't stated if you're on Ubuntu or not, so unless you're on Ubuntu I can't help you here :p [01:53] Jordan_U: which files for each kernel do I have to copy from /boot ? [01:54] teward: why the adapter first? if the router doesn't have 5GHz? [01:57] himom: /boot/vmlinuz-VERSION and /boot/initrd.img-VERSION . [01:59] ohlolz: i have my reasons for suggesting the adapter first - but 5GHz isn't going to give you much of a speed boost compared to 2.4GHz for the average residential network and average consumer router. [02:01] Jordan_U: in Ubuntu repo there are kernels 4.8.x and 4.10.x but no 4.9. Does that mean I'm missing something or they just didn't use that version? === Kitlith_ is now known as Kitlith [02:03] himom: It's likely that they didn't use that version. I'm realizing that looking at the instructions these instructions only test Ubuntu changes, where a single commit could take you from one major kernel release to another. If the problem doesn't start with one of the smaller Ubuntu changes you may need to switch to bisecting the upstream git tree. [02:06] Jordan_U: ok I see. Should I use kernels from here https://www.kernel.org/ or from here http://kernel.ubuntu.com/~kernel-ppa/mainline or it doesn't matter? [02:17] himom: You would use the git repository git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git . [02:23] Jordan_U: I'm gonna try those kernels now, thanks! [02:53] hi has anyone had any issues mount smb shares hosted from a Sierra 10.12.6 client on 16.04? [02:53] Hello? Could you guys help me with my Ubuntu install? [02:58] I made a live USB that works fine on my other machine but in my new acer it boots past he bios and gives a blank screen. I looks like the boot screen where you get a bunch of text reports as unbuntu starts, but it just sits there. [03:11] fearnothing: Acer: http://ubuntuforums.org/showthread.php?t=2330267 <- set "trust" on the Ubuntu/grub .efi files. [03:21] Hello. If I wanted to change the partition my system uses for swap, all I need to do is turn swap off and change the entry in /etc/fstab right? [03:21] My system wont fail to boot? [03:24] Era: you can do swapoff for existing, change fstab, then do swapon -a , and if that succeeds then you should be fine. Swap is not required for booting [03:25] Ok, Thanks [03:30] do you guys offer support here? [03:31] can't boot into ubuntu, get the error "end kernel panic - not syncing VFS: unable to mount root fs on unknown-block" [03:31] i tried some things with a live usb but it didnt work === Servant is now known as Mittens [03:32] bex: Is this after a fresh installation of Ubuntu? [03:33] no but after a reboot [03:34] bex: So you installed Ubuntu, rebooted once and it worked, but then the second time you tried to boot after installing it failed? [03:34] no it's been working fine for a while [03:35] i think there was a problem with upgrading [03:35] bex: Upgrading to a new release of Ubuntu or just updates within a release? [03:35] within [03:36] I have installed Ubuntu and I get a blank screen on boot. issue with my gfx card. how to solve? [03:36] bex: Have you tried selecting "Advanced Options for Ubuntu" at the grub menu and selecting the third entry (which will be the second most recent kernel)? [03:37] yes i tried all of them i think but it doesnt boot [03:37] bex: What things did you try from a LiveUSB? [03:37] the recovery modes too [03:38] https://askubuntu.com/questions/41930/kernel-panic-not-syncing-vfs-unable-to-mount-root-fs-on-unknown-block0-0 [03:38] https://linoxide.com/linux-how-to/fixing-broken-initrd-image-linux/ [03:39] bex: Please boot from an Ubuntu LIveUSB and run boot info script: https://github.com/arvidjaar/bootinfoscript and pastebin the RESULTS.txt that it produces. [03:40] hey guys, i just installed ubuntu mate on a tablet and im trying to tether my android phone for internet access, but only get local network access (can ping my other pc and router but not google.com) [03:41] i've tried bringing it up with ip link but it goes into state=unknown [03:41] also tried to create a neew network file in systemd/network but that didnt work [03:41] jcbitter: Is the phone acting as a Wireless AP or are you connecting by USB / Bluetooth? [03:42] USB tethering, phone is connected to home wifi [03:42] cant connect to wifi with tablet because i need to get some packages and drivers for it to work [03:43] HarendraSingh: A fresh install ? Try booting with "nomodeset" and install the proprietary driver if this is nvidia . [03:43] jcbitter: Your phone likely won't act as a gateway when it's connected via wifi rather than 3g/4g. [03:44] oh damn :/ i was afraid that might be it lol, im gonna have to go pay for data [03:46] jcbitter: Or you could download the packages and transfer them to the tablet via USB. [03:46] jcbitter: Or actually, try manually adding your router as the default gateway. Should work fine. [03:47] how would i go about adding my router as the default gateway? [03:50] jcbitter: First, check that you don't already have a default route by running "ip route list". [03:51] nop [03:51] using a different one [03:51] jcbitter: If you don't, then run "sudo ip route add default via XXX.XXX.XXX.XXX" substituting in the ip address of your router. [03:52] which is usually 192.168.0.1? [03:52] i can't figure out how to run bootinfoscript. i copied it to another usb stick [03:52] and mounted it [03:52] jcbitter: Usually, yes. [03:55] jcbitter: Then "sudo ip route delete default via XXX.XXX.XXX.XXX" where you're substituting the ip address of your old default route (probably your phone's ip). [03:56] the first command gives me a Network is unreachable [03:57] Jordan_U, btw thanks for the assist with this [03:57] jcbitter: What is the exact command you ran? [03:57] sudo ip route add default via 192.168.0.1 [04:00] jcbitter: And you can ping 192.168.0.1? [04:00] yup [04:03] jcbitter: What is the device name of the connection to your phone? [04:04] jcbitter: Try "sudo ip route add default via 192.168.0.1 dev DEVICE" [04:05] looks like it doesnt want to work, i'll go with your first advice and get the packages on my arch box and pass them via usb [04:23] "hexdump" could not be found. "mawk v1.3.3" has known bugs. Install mawk v.13.4 or newer or use gawk instead. [04:23] this when trying to run boot info script [04:23] couldnt install gawk because it wants me to put in an ubuntu cd but i only have it on a usb stick [04:26] bex: Comment out the CD entries in /etc/apt/source.list then "sudo apt update" then "sudo apt install gawk". === r0Oter is now known as r00ter [05:17] is systemd evil? [05:21] hi [05:22] I'm going to install a base Ubuntu system and then install and config as much as possible with ansible [05:23] I tried to install Ubuntu desktop with LVM, but I couldn't start the installer in advanced mode [05:24] so I've installed server edition instead, now how can I set up my wifi from cli just to clone my config repo from github? [05:24] I have ip and iw commands, but nothing network manager, etc [05:26] I can see the wlan nic with 'ip link' [05:29] leventel: See "man nmcli" for how to add connections via nmcli. [05:31] Jordan_U: thanks, but I have not installed nm yet [05:31] Jordan_U: should I install it at the base server installation? [05:38] leventel: It's up to your requirements when you install it as far as I can tell. [05:41] Jordan_U: it seems to me that wpa_supplicant is a necessary at least... thanks for your help [05:43] leventel: You're welcome. === juboxi is now known as jubo2 [07:34] Hi, Can anyone help me? I have ubuntu 14.04 lts samba server and wanna make guest users to connect to shared folder but also wants to give 2-3 people with account limited access to it. Network users will be on pc and mac [07:58] Greetings, I'm having a bit of trouble with an Nvidia Multi-Monitor setup on Lubuntu v16.04.2 (I have been to #Lubuntu, hehe). I don't mind whether I use two Xscreens or just one, but I need to span a wallpaper between both screens, and have both screens function after login. Currently the best I have is one Xscreen with a tiled wallpaper, but the secondary monitor disables *after* I've logged [07:58] in. [07:59] At the login screen, everything appears to function fine. No amount of toiling with xorg.conf has remedied the issue thus far. [08:05] The fact it seems to work flawlessly at the login screen, suggests (in my limited experience) there is a file hiding somewhere within my User account that's over-riding /etc/X11/xorg.conf [08:06] Guys, my displaylink stopped working after a kernel upgrade. I see the two monitors that are attached, but the when I wan tot move windows over to the monitors they are not seen [08:06] *not shown [08:06] I'm on ubuntu 16.04. Does anyone have experience with displaylink on ubuntu? === JanC is now known as Guest77859 === JanC_ is now known as JanC [08:11] hello, in gnome when you press super can you find files by file-name if in-file cache is disabled in tracker? === Attoy_ is now known as Attoy [08:18] hello every one! this is a support section, right? [09:11] hi [09:15] hey guys, have a new machine, and am torn between Ubuntu LTS and Debian 9. Both LTS, what would you say are advantages and disadvantages? Or Ubuntu's strenghts compared to Debian? Thanks for your help in making this choice! [09:16] After updating 16.04 to 17.04, my console does not turn off screen anymore. Used to automatically blank the screen after 5 minutes of inactivity. Trying to google this just leads to people wanting to disable that. Can anyone help me with this? [09:16] I'm having so many issues after 17.04, it's making me really frustrated. [09:17] Is HWE included in every normal point release for Ubuntu? For example, does the update automatically include HWE on a normal ubuntu desktop ISO? [09:19] moskovcan: you can see how it works here - https://wiki.ubuntu.com/Kernel/Support?action=AttachFile&do=get&target=Ubuntu+Kernel+Support+Schedule.svg [09:25] ducasse: so that basically means a new kernel every normal point release? am i seeing this right? [09:26] ah, forget it, see it already [09:27] ducasse: aaaah , i think i get it now. If you install only 16.04, not a point release, you don't get HWE, but if you install a point release, you get HWE and it is enabled automatically? [09:28] moskovcan: exactly. 16.04.3 contains the kernel + x stack from 17.04 etc [09:28] and will be upgraded to 16.04.4 automatically when that is released [09:29] Hi, Can anyone help me? I have ubuntu 14.04 lts samba server and wanna make guest users to connect to shared folder but also wants to give 2-3 people with account limited access to it. Network users will be on pc and mac [09:29] moskovcan, if you install 16.04.2 you will get the newers stack automatically [09:30] moskovcan, or 16.04.3 for that matter [09:32] thanks for your help. And basically, the iso that's available by default for download is a point release? [09:32] Waddup: have you seen # https://help.ubuntu.com/community/Samba/SambaServerGuide [09:33] moskovcan, yes, 16.04.3 since yesterday [09:34] thanks kostkon: and, hipothetically, when 18.04 is released, what do you have to do to upgrade it to a point release? is there a dialogue window askign you or something? [09:34] !hwe | moskovcan you do this [09:34] moskovcan you do this: The Ubuntu LTS enablement stacks provide newer kernel and X support for existing LTS releases, see https://wiki.ubuntu.com/Kernel/LTSEnablementStack [09:35] sary ill go check it now thank you :) [09:36] moskovcan, exactly [09:36] ubottu: thanks, and after installing by the mentioned command, you are from thereonafter automatically updated [09:36] moskovcan: I am only a bot, please don't think I'm intelligent :) [09:36] kostkon: it was meant for you :) [09:36] moskovcan, you wil get a dialogue asking you if you want to upgrade to 18.04 [09:37] and one final question: after the canonical layoffs, is ubuntu still invested into desktop? [09:37] moskovcan, upgrade 18.04 to a point release? it will happen automatically through your regular updates afaik [09:37] Any takers? how to re-enable console powersave screen off lost after upgrade? [09:37] when is 18.04 coming out? [09:38] xorpad: end of april 2018 :) [09:38] Also, anyone else excited about the new binutils, glibc, and gcc that came out yesterday? [09:38] what!?!?! [09:38] I can't wait that long [09:39] gcc 7.2 RC2 has a bunch of my code in it, so i'm really happy to see it released [09:39] kostkon: no, you need to install the packages mentioned in the hwe link to get the hwe stack, or it will remain on the original stack [09:39] kostkon: yes, that's what i thought, i meant for hwe for 18.04. If i install 18.04 next april, i have to manually enable hwe? [09:40] ducasse: and when i once install it manually, it will also be alway updated when a new point release occurs? [09:40] moskovcan: exactly, same as for 16.04 [09:41] sary: there is only adding users here, Im wondering if you can add users while allowing guests also on a single share folder ? [09:42] thank you all [09:42] it's now clear [09:43] and is ubuntu still invested in desktop ? [09:43] of course [09:44] thank you, that's good to hear [09:44] I've been torn between debian and ubuntu, but HWE is something that's very convenient for a desktop user [09:45] What's the best way to share a directory on a linux server over a network to a linux desktop for read-only? nfs? samba? sshfs? [09:48] Zta: sftp, or compress and http(s) === bazhang_ is now known as bazhang [09:49] I basically want to mount a directory fill of images and movies [09:49] Zta: i use both nfs and sshfs here at home [09:49] oh you want to mount it, then use nfs [09:50] Zta: if security is not that important, then nfs is nice [09:50] nfs tends to rot and die. I don't have any happy memories with nfs. Nor samba for that matter. [09:50] does anyone know when/if Ubuntu is going to recompile everything for ryzen? [09:51] security isn't important. [09:51] Zta: rot and die? [09:51] ubuntu packages are compiled with gcc 5.4.0 right now. 6.3.0 or greater is needed to prevent segfaults during heavy multitasking loads [09:52] One day it works. Stop using it for a few month, return and it has stopped working. [09:52] basically i just wanted windows users to login to the shared folder by guest accounts and mac users by certain usernames. i tried adding "user only = username" and guest only = yes in the same shared folder but both cant login [09:53] I'll try this first: https://github.com/dperson/samba Then nfs perhaps. [09:55] Is it possible that I always find issues nobody knows how to answer? =\ [09:56] Hi. I have a ubuntu server. [09:56] It suddenly started spiking to 100% CPU usage yesterday, and the socket connections in PHP-fpm started timing out [09:57] I restarted the server, and since then CPU occassionally spikes to about 50% whereas before it was never above 10%. And the connections are dropping even when the CPU is not so high [09:57] I dont know anything that was done that could have caused the change. [09:58] I tried using the tools I know of (top et al) and the new relic stats I have, but they all show that combined all process really are always below 50% CPU, and they dont show anything about connections [09:59] Are there any recomended tutorials for debugging this sort of stuff [10:00] Hello, has anybody had any issues running ubuntu 17.04 as a virtualbox guest [10:00] I am having no end of issues getting the vbox guest services running properly [10:06] When doing apt-get update I have a repository that is unsigned how do I get rid of it [10:07] have a look in /etc/apt/sources.list or /etc/apt/sources.list.d and remove the offending repo [10:07] or look into finding the appropriate keys for it [10:08] tomeaton17_: identify the repository by it's url / the warning given in "apt-get update" output (maybe check against "apt-cache policy"), then remove the repository from either /etc/apt/sources.list.d/ or the respective lines off /etc/apt/sources.list (but it should not be in this file really) [10:09] if the warning is that the repository is unsigned then there are no keys for it [10:09] if the warning is that you lack the keys to check its authentiticy then get the keys [10:10] No its the repository, I just used it ages ago to install shadowproxy but thanks I got rid of it now [10:12] samgoody: what changed between when it worked well and now? what you discuss sounds very much like changed (php web) application code. [10:14] samgoody: to inspect which software updates were installed when you can check in /var/log/apt/term.log* - correlate timing to the output of 'last' (or /var/log/auth.log) if you want to understand who or which mechanism installed them. [10:16] Hi [10:16] samgoody: if it turns out that an application code change may have introduced the lad spikes then look into debugging your web application, which is not really on topic here (ask in #php, look into kcallgrind etc.) [10:16] Why does sometimes a command shows usage even though syntax is correct [10:16] ? [10:17] hi save_me. it usually doesn't which command does? [10:17] it usually doesn't. which command does? [10:17] tftp [10:18] without any arguments? [10:18] anyhow [10:20] save_me: when i run 'tftp' from package 'tftp' without arguments i get the Commmand line interface [10:24] WoLf: maybe you just need to repeat them occasionally or ask at a different time of day. [10:25] could anyone tell me if its possible? having guest users and users created to access one same shared folder on samba? [10:27] Waddup: i think you can configure twho shares with different authentication configurations which provide access to the same file system locations [10:28] *two [10:29] tomreyn: wouldn't that make a conflict? I tried adding "user only=username" & "guest Only=yes" lines below the shared directory but none worked. === kostkon_ is now known as kostkon [10:33] Waddup: why a conflict? and no, i don't think you can mix guest access and authenticated access on a single share, at least not 5years ago when i last worked with samba ;) === tomeaton17_ is now known as tomeaton17 [10:41] Hey folks [10:43] Hiya [10:44] sary, Hi [10:48] I'm getting "Subquery returns more than 1 row" The weird part is that the sub-query that returns "multiple rows" have a parameter from the general query that should prevent that multiple row returning. [10:48] That shouldn't go here, sorry [11:16] hello everybody! [11:16] a question: I am trying to install the best possible graphics driver for 3D on my ubuntu 16.04, "lspci" lists "Intel Corporation Haswell-ULT DRAM Controller", [11:16] can I just install de nvidia driver? I don't understand if it is compatible or not (excuse my ignorance) [11:18] Intel's Graphics Update Tool doesn't have very good reviews [11:19] pelusso: ubuntu should come and update to the lastest supported driver version automatically. [11:20] thanks mas886, but it isn't doing a good job with the 3d [11:21] I'm trying to use Equinox 3D [11:22] intel integrated GPUs generally won't perform well on 3d intensive stuff. [11:22] I found lots of forums recommending to install the nvidia driver... [11:22] But you can always try updating Mesa drivers [11:22] pelusso, open a console and run this, lspci -k|grep -iEA5 'vga|3d, then paste the output in pastebin [11:23] or what is your recommendation? [11:23] Hi. Why checksums are distributed not over https bu over http: http://releases.ubuntu.com/17.04/ ? [11:30] I guess because "https" security is flawed and admins don't want users to be deluded. But how is it flawed? [11:32] the code is not doing anything, just hangs up with > [11:32] Hi guys, there is something i don’t understand about apache virtual host. How can i get my website to appear as http://www.mydomain.com? Which ServerName or ServerAlias should i use? Thanks! [11:33] Corneille: do you need it only for testing or in production? [11:34] hello [11:34] how to enable iptables extensions on 16.04 lts? [11:34] I would like this for production. [11:34] there is no package iptables-extensions [11:34] i need ip_conntrack_max and so on [11:36] Corneille: did you try searching apache chat room? [11:36] pelusso, copy and paste this lspci -k|grep -iEA5 'vga|3d [11:37] i'll try thanks [11:37] oops sorry pelusso lspci -k|grep -iEA5 'vga|3d' [11:39] jajajaj that made the trick BluesKaj [11:39] !pastebin | pelusso [11:39] pelusso: 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. [11:40] Corneille: /msg alis list httpd [11:41] pelusso, let's have alook at your hardware and drivers on pastebin [11:41] https://pastebin.com/XfXyiFHG [11:46] pelusso, do you have this installed? libegl1-mesa [11:48] it's required for 3D rendering [11:51] hi all is this the right place to ask questions? [11:52] yes, terminal says it is in its newest version [11:54] esuohrD, yes [11:55] Im having a touch time with openvpn setup. It keeps asking me to due the system-ask-password thing but if I use that command nothing happens. I just keeps asking me. [11:58] i've been folling the directions on the htpcquides website [11:58] esuohrD, did you install network-manager-openvpn [11:59] no. just the openvpn. Im running mint on a raspberry pi3, command line only. [12:01] esuohrD, then you have to add the server provided .ovpn files to /etc/openvpn [12:02] !mint | esuohrD [12:02] esuohrD: The Ubuntu channels can only provide support for Ubuntu and its official flavors, since other distributions and derivatives have repository and software changes. So please use their dedicated support venues, for example: Linux Mint (#linuxmint-help on irc.spotchat.org), Kali Linux (#kali-linux), and LXLE (#lxle) [12:02] hmm ok. === KindTwo is now known as KindOne [12:16] Hi [12:18] I have "Realtek Semiconductor Co., Ltd. RTL8821AE 802.11ac PCIe Wireless Network Adapter" And i am geeting frequent network disconnection issue. Sometimes wifi does not work. [12:18] I have tried installing https://github.com/lwfinger/rtlwifi_new.git , but still hard luck. [12:28] bipul: in different terminal tab/window run: tail -f /var/log/syslog , and tail -f /var/log/dmesg , then try to connect , paste the result into this forum in http://sprunge.us/ . also, what does dmesg | grep rtlwifi shows! [12:28] ok. [12:35] can anyone help? what string should i add to be able to set user and guest to access single shared folder by samba? [12:38] I don't like Broadcom , Ralink , or Realtek.. the forums is full of issues with these. Intel's and Qualcomm Atheros are the best! bipul [12:38] Waddup: Are you on a server or a desktop ! [12:38] sary: im using Ubuntu 14.04lts Server === the_ant1 is now known as the_ant [12:45] Waddup: i think you can configure two shares with different authentication configurations which provide access to the same file system locations [12:45] Waddup: do you remember this conversation from before you got disconnected? [12:46] you can review how it contineud on http://irclogs.ubuntu.com [12:46] tomreyn: yes i actually answered to it "tomreyn: wouldn't that make a conflict? I tried adding "user only=username" & "guest Only=yes" lines below the shared directory but none worked." [12:46] tomreyn: im thinking it is possible its just that i have wrong line inserted. [12:47] Waddup: and then i responded again, which you probably did not get to see, yet, since your connection dropped. which is why i'm pointing you to irclogs. [12:49] tomreyn: yeah saw it just now. the thing is im not very knowledgeable in this field so you think adding "guest=yes" and "user=username" would work? or do i have the wrong line to insert? [12:49] Waddup: So your best bit is to tweak the smb.conf. shouldn't be guest ok = yes , how does your smb.conf looks like! [12:55] Waddup: you want a combination of "valid users = ...", "guest ok = yes" and (optionally) "guest account = ...". you do not want to use "guest only", unless you split it up into two shares. also, guest account generally requires share-level security, so be sure to enable that. [12:56] i.e. security = share [12:58] actually, use "username = ..." instead of "valid users = ..." with ahre-level access [13:08] Maybe I'm searching in the wrong direction, this is what the website of Equinox 3D says: [13:08] "Please, install the proper graphics driver for your system. The one provided by the manufacturer of your graphics hardware (NVidia or AMD). [13:09] The default driver on most Linux systems (Mesa) does not support proper 3D graphics! [13:10] Mesa doesn't support 3D .. what! [13:11] :s [13:11] hey on tftp command for accessing a file server says access violation [13:12] By proper they may mean certain GL_ functions [13:12] but on server file perm is 777 [13:12] These days Mesa is mostly up to par tho, so [13:12] and chown is to nobody [13:12] any reason ? [13:13] but the program is not working correctly, so I thought that should be the reason [13:14] pelusso: well, what chipset are you using? [13:15] pelusso: for AMD there is really nothing but mesa, for nvidia the binary blob usually works better than nouveau for most things [13:17] when I draw anything, it won't show [13:17] how can I check my chipset? [13:17] pelusso: lspci|grep VGA [13:17] or inxi -G [13:17] Well inxi isnt installed by default :) [13:18] tomreyn: thankyou ! [13:18] Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09) [13:18] which app is that pelusso .. [13:18] true hateball :) [13:18] is Equinox 3D [13:19] sary: Here is the log https://paste.ubuntu.com/25239894/ [13:20] pelusso: so, what chipset are you using? [13:20] pelusso: this string will give even better output: lspci -k | grep -EA3 'VGA|3D|Display' [13:21] shows you what kernel module is used as well [13:22] tomreyn: would this work? https://paste.ubuntu.com/25239903/ [13:22] http://paste.ubuntu.com/25239906/ [13:23] can anyone suggest a simpler gimp alternative? krita pulls in about a billion kde/qt dependencies, and pinta does the same but with mono [13:23] I just want a gtk/gnome version of those :P [13:23] I also tryed installing nvidia current drivers, but it didn't do anything, just slowing the laptop down [13:24] pelusso: uh... that's only an intel card [13:24] there's no nvidia card in your paste === br00tal1 is now known as br00tal [13:25] :( [13:26] danslo, you could install the snap version of krita which is self contained [13:27] pelusso: what does "glxinfo | grep "OpenGL version"" say? [13:30] pelusso: heh, I just tried the app (I use intel also) and I can draw lines, they just dont show when you draw. Press F5 after and they appear [13:30] the whole app looks... not awesome [13:30] says OpenGL version string: 3.0 Mesa 17.0.7 [13:30] that's good [13:30] bipul: you didn't try to use wpa_supplicant manaually , and connect through network manager, right! and you're not roming between 2,5GHZ bands! [13:31] I have "Realtek Semiconductor Co., Ltd. RTL8821AE 802.11ac PCIe Wireless Network Adapter" And i am geeting frequent network disconnection issue. Sometimes wifi does not work. I have tried installing https://github.com/lwfinger/rtlwifi_new.git , but still hard luck. [13:31] pelusso: I am not sure what this program does that Blender doesnt [13:31] pelusso: But at least Blender works like it should [13:32] sary: How did you know? "you're not roming between 2,5GHZ bands" ? [13:32] jajajajja is the best I've found for my CAD needs [13:33] I discarded blender because it was focused on the 3d part, and not on the CAD [13:34] pelusso: I see. Well I dont really know much about CAD tbh. I know there are some online tools like TinkerCAD [13:34] but if you think blender will do for drawing plans and stuff, I'll give it a try [13:34] pelusso: there is also FreeCAD [13:37] nice page about cad https://help.ubuntu.com/community/UbuntuEngineering#CAD [13:37] last edited 2017-04-12 [13:38] I used FreeCAD, but was trying to improve the experience. I'll give it a second chance [13:39] I'll check the info on the link [13:39] thanks guys [13:39] Freecad is among them [13:40] I want to run a python3.5 script on boot of my system. I have got a working init script in /etc/init.d/servicename but I want to be able to respawn it on process failure. I read that I might need to make a file in /etc/systemd to do this but... does this replace the init script? And if so, how do I uninstall said script so I don't get two instances pop up [13:40] there's also the brl-CAD, I'll try them [13:41] I really don't want to have to write a cronjob to do it, as that feels messy. [13:42] !systemd [13:42] systemd is the default init system for Ubuntu 15.04 onwards. For information on transitioning from upstart to systemd, see https://wiki.ubuntu.com/SystemdForUpstartUsers For a guide to basic service management with systemd, see https://www.digitalocean.com/community/tutorials/how-to-use-systemctl-to-manage-systemd-services-and-units [13:45] @hateball thanks, but I was wondering if someone could talk me through it, as I am doing it over SSH on a headless remote machine, so if I mess anything up... [13:47] espyespeonage: ah, then I am not the right person at any rate :) [13:48] bipul: the logs shows, #see http://sprunge.us/AbJL [13:50] espyespeonage: if you look at the arch wiki page for systemd, there are example service units you can use [13:51] hateball no worries! ducasse thanks! [13:52] hi, i am trying to mount a USB harddisk, wrong fs type, bad option, bad superblock on -dev-sdb [13:53] ok sary thank you. [13:53] i am suing mount /dev/sdb /media/samsung [13:53] if i specify -t vfat still got same error [13:54] Akuw: what if you use sdb1 instead of sdb? [14:00] hello [14:01] I wrote Ubuntu iso into my pendrive with startup disk creator, but now the pendrive is read only and I can't even format it anymore [14:01] how can I change that? [14:02] bipul: I don't think it's a driver issue , but #see https://github.com/lwfinger/rtlwifi_new/issues/183 [14:02] himom, plugout/plugin and try again with gparted [14:03] oerheks: I plugged it in and out and that didn't help. Do you think gparted will work better than the disk utility in Ubuntu? [14:03] Thank you sary for your kind support. [14:03] himom, that is the same tool, else you could try to dd the driver : dd if=/dev/zero of=/dev/sdX [14:04] bipul: You're welcome. [14:07] oerheks: can I somehow see the progress of that? the command doesn't output anything [14:07] oerheks: unless I stop it [14:08] just be patient, i guess [14:08] zeroing a drive takes a lot longer thatn just wiping the blocks [14:08] himom: yes, add status=progress to the command [14:08] ooh right ok [14:09] ducasse: thanks! [14:09] good thing is, after this you will automatic create a fresh mbr [14:09] I will then be able to format it how I want? [14:09] * oerheks loves a clean MBR [14:09] :D [14:10] the thing is I want to put Ubuntu on it and be able to add a few different kernels. I earlier used startup disk creator, but I'm worried that it will make it read only again [14:12] and it all started with artifacts [14:13] can I use dd to make a live usb that will not be read only? [14:16] himom, yes, make sure you unmount the usb before running dd. and of=/dev/sdX ,not sdX1 [14:17] wait, live usb is read only... [14:17] damn [14:17] only if you add a persistence part, that would be writable [14:17] how am I supposed to add new kernels to it then? [14:17] hi [14:17] not [14:17] again, you need an installation to add kernels, not the installer usb, [14:18] so I can't add another kernel to live usb? what if I modified the iso? [14:18] himom, why would you do that? add kernels after the insatallion , not before [14:18] BluesKaj: I don't want to install the OS, I only want to test if a certain kernel is causing issues [14:19] himom, you'd have to find a way top add the kernel to the live iso [14:20] I see. Does anyone know how to do that? How to edit the iso? [14:21] there used to be uck, but it is a dead project for years [14:21] !uck [14:21] uck is a tool that helps you customise official Ubuntu Live CDs (including Kubuntu/Xubuntu and Edubuntu) to your needs. See http://uck.sourceforge.net/ [14:21] factoid should be removed [14:22] I will try using uck [14:23] there is Cubic, but that needs an installation to create .. still you could end up with garbage, when the kernel does not meet the installed packages .. [14:23] https://askubuntu.com/questions/741753/how-to-use-cubic-to-create-a-custom-ubuntu-live-cd-image [14:24] anyway, i am not going to try this, as it seems useless to me. [14:24] http://www.wikihow.com/Create-an-ISO-File-in-Linux [14:25] nux [14:25] old tuts for cd/dvd [14:25] himom: there is https://help.ubuntu.com/community/LiveCDCustomization , but why would wnat to go through all this, install and test different kernels on the system just make sure there is enough space in/for /boot . [14:25] sary, that is uck = dead project [14:26] Did anyone here ever try to use Ubuntu on a 2017 MacBook Pro (with Touch Bar) [14:27] sary: remember my problem with artifacts? I don't get them on 16.04.1, get them only partially on 16.04.3 and get a lot of them on 17.04. I'm thinking it's probably the kernel, so I think I should find out which one and then file a bug report [14:28] so I want to use a live usb with different kernels [14:28] i ran sensors-detect on 16.04 on a t530 and my gpu sensor is NA, what do [14:30] Hi guys [14:30] I have a question [14:31] something to do with systemd-resolvd [14:31] I connected to a VPN earlier today (work-related) [14:31] himom: Yeah, So this tells us it's the stack kerenl+xorg,etc difference bettwen these versions .. [14:31] I was unable to access a certain hostname because it was not in my resolv.conf [14:32] Instead, I had 127.0.0.53 [14:32] for some reason, resolvd did not update my resolv.conf [14:32] It was my first time connecting to the VPN with this Ubuntu installation [14:33] So I just disabled resolvd [14:33] I would like to understand how to configure it to have it update my /etc/resolv.conf [14:33] whenever openvpn connects [14:34] any leads anyone? [14:37] Saichovsky, could be a dns problem in /etc/systemd/resolved.conf ...have you added any dns entries there? [14:38] BluesKaj: I didn't even know of such a file. I'm sure I've never touched it [14:39] Saichovsky, it's a good place to enter your dns nameservers if you use any [14:40] I'm trying to add an ipv6 gateway to my ubuntu 16.04 server. how do I get the server to discover the gateway? I am using statically configured IPs in an interfaces file [14:41] BluesKaj how about dynamically assigned DNS entries, such as whenever I log in to a VPN or other network? [14:41] limbo_, not using network-manager I asume [14:42] I just checked out my /etc/systemd/resolved.conf for the first time and why is there google DNS in it? fortunatelly it's commented out, but still scary [14:42] Saichovsky, not sure, a startup scipt might work [14:43] BluesKaj: I don't know what that is. It's been a long time since I set this up, and I can't remember if I edited this file manually or not. [14:43] himom, it's there as an example ..I use my iSP suggested dns IPs and they work fine with or without vpn connected [14:44] BluesKaj: oh that's interesting [14:46] on 15.10, added NOPASSWD to my username in /etc/sudoers but it's not being applied [14:47] scorch: 15.10 is eol [14:47] just read topic, sorry [14:47] scorch: how did you add it to your name? [14:47] first tried vim, then visudo [14:47] 22 scorch ALL=(ALL) NOPASSWD: ALL [14:47] 22 is the line number [14:48] that looks right [14:48] did you log out and back in? [14:48] no, from googling it seems next time sudo runs it checks the file [14:48] !eolupgrades | scorch check here btw on how to upgrade [14:48] scorch check here btw on how to upgrade: End-Of-Life is the time when security updates and support for an Ubuntu release stop, see https://wiki.ubuntu.com/Releases for more information. Looking to upgrade from an EOL release? See https://help.ubuntu.com/community/EOLUpgrades [14:48] can't I restart a service? [14:48] scorch: ah right [14:49] if it's a 15.10 thing I'll upgrade first then ask again if it persists lol [14:49] limbo_, https://askubuntu.com/questions/616856/how-do-i-add-an-additional-ipv6-address-to-etc-network-interfaces [14:49] scorch: no it's not a 15.10 thing [14:50] scorch: try putting the entry before %sudo in case your user is a part of the group, maybe it goes over the stuff consecutively [14:50] scorch: on 2nd thought i dont think that's it, no idea though [14:50] it is before sudo group [14:51] scorch: does "sudo -l" mention anything about it? [14:51] User scorch may run the following commands on stink: (ALL) NOPASSWD: ALL (ALL : ALL) ALL [14:51] (two lines) [14:51] one with NOPASSWD one without [14:53] odd [14:56] EriC^^: I'll just upgrade and see if it helps, didn't realize it was old, haven't gotten a single notification about it [14:56] scorch: alright [15:06] heh, this might be why I've gotten no notices: "$ sudo do-release-upgrade[newline]Checking for a new Ubuntu release[newline]No new release found" [15:13] scorch: in software sources > updates -> release uograde .. which option is it set for there! [15:16] sary: any [15:16] Hi, I have a laptop with ubuntu 16.04 lts installed. What's the correct way to configure /tmp to be its own mountpoint, with a tmpfs or ramfs filesystem? [15:16] sary: and release-upgrades said Prompt=normal [15:17] no stackoverflow tips seem to make a difference [15:23] scorch: which version you on..! [15:23] sary: EOL, 15.10 [15:24] trying to upgrade [15:24] !eolupgrade | scorch [15:24] scorch: End-Of-Life is the time when security updates and support for an Ubuntu release stop, see https://wiki.ubuntu.com/Releases for more information. Looking to upgrade from an EOL release? See https://help.ubuntu.com/community/EOLUpgrades [15:24] scorch: you have to go through the above route [15:24] scorch: in release-upgrades set prompt to lts , make sure you do sudo apt update && sudo apt upgrade [15:25] sary: but I don't need lts, any is better for me; [15:25] or you want me to try? [15:25] I'll try "cd /etc/systemd/system; ln -s /usr/share/systemd/tmp.mount" first. [15:26] jelly: not sure i understand. /tmp is already a mountpoint (a mountpoint is just any path) [15:26] jelly: and to put a tmpfs on it, you can just edit /etc/fstab [15:26] scorch: is there "any" release between 15.10 and 16.04 ! [15:26] sary: no. [15:26] can't upgrade to 17.04 directly? [15:27] scorch: no [15:27] wouldn't "any" qualify as 16.04 as well? [15:27] BluesKaj: I found this https://github.com/jonathanio/update-systemd-resolved [15:27] nacc: trying to tell him that.. [15:27] Let me reboot and see how it goes [15:27] scorch: the fact that you're on an unsupported release makes me believe you don't upgrade all that often, which would make me point you at LTS rather than any release [15:28] since an LTS is supported for 5 years and any other release is only supported for 9 months [15:28] tgm4883: thing is I've never gotten a notice about a new versino so never thought about it. My other ubuntu installations I've upgraded because they've notified me [15:28] actually never since 15.10 (I started on 13.04 on this machine it seems) [15:29] sary: changed to lts, still says "No new release found" [15:29] nacc, it's not really a mountpoint until there's a filesystem mounted there, and editing fstab might be suboptimal or not needed at all. [15:29] scorch: which is neither here nor there. You need to follow the EOL path now [15:30] for the record: "cd /etc/systemd/system; ln -s /usr/share/systemd/tmp.mount" worked! After a reboot, I now have a [15:30] tmpfs 8155672 4 8155668 1% /tmp [15:30] with correct permissions (sticky bit) [15:37] scorch: well, that's strange .. you're connected to the network right! [15:38] !eolupgrade [15:38] End-Of-Life is the time when security updates and support for an Ubuntu release stop, see https://wiki.ubuntu.com/Releases for more information. Looking to upgrade from an EOL release? See https://help.ubuntu.com/community/EOLUpgrades [15:39] just edit to deb http://old-releases.ubuntu.com/ubuntu/ and run update / upgrade again [15:41] I am getting a permissions error from firefox when installing an add on. When I open firefox from terminal with sudo I can install the add on, but it does not persist without opening in terminal [15:42] MWM: try setting the permissions of your home dir back to original, "sudo chown -R $USER: ~/" [15:42] close firefox first [15:42] hi, new to ubuntu 16.04, experienced with linux in general... was playing around as a user, using xfce(xubuntu install), when i noticed a message from upstart... huh!? i thought 16.04 was systemd... what is going on here? it looks like upstart is running for managing user stuff? is this like systemd --user? what is going on here? :( [15:43] MWM, what ubuntu version, firefox version and what add-on? [15:43] oerheks: Kubuntu 17.04, Firefox 54.0, and Flashgot [15:45] sary: might be a china issue; couldn't connect to old-releases.ubuntu.com. Have vpn on now and it seems to do better just crazy slow [15:45] Going to try EriC^^'s solution. I will stop back in after restarting firefox [15:46] not having much luck googling about this either... -_- [15:46] MWM, "No longer works with Youtube" and last update 11-2016 .. https://addons.mozilla.org/en-US/firefox/addon/flashgot/ [15:46] FlashGot doesn't work with Firefox 54.0 [15:46] etc [15:47] i really hate to see upstart on here... :| [15:48] Dan there is still this upstart thing during transit to systemd, on user basis, systemd takes over system services [15:48] so it is perfectly alright, i guess [15:49] sounds like a cluster -_- [15:49] Hello, I have a question, I entered 'top' in the terminal (ubuntu 16.4), and I saw a process that disapeared fast that was run by user 'message+', what is it? [15:50] that is a handy one for fixing permissions and it fixed the issue. I cant imagine how the permissions were broken, but that is a topic for a different day I guess. Thanks [15:54] whoever thought it was a good idea to leave both systemd and upstart running by default needs to be beaten [15:56] doing release upgrade at a wooping 2.6kbps [15:58] scorch: is your internet usually that slow? [16:01] Can someone help me understand what is message+ in the process list? It keeps appearing and disappearing periodically. http://imgur.com/a/DnVW7 [16:03] pavlos: hi [16:03] dedze: hi there [16:04] pavlos: Can you help me with something please? http://imgur.com/a/DnVW7 in this image, does the 'message+' user mean anything bad or is it normal? I cant find much about it on google [16:06] dedze: I seea top screen, message+ is the user running the process dbus-daemon. Dont see an issue [16:06] pavlos: I mean, is it legit?? I never created such a user on my laptop! [16:09] dedze: try a reboot and see if that persists. I'm rebooting mine to compare [16:09] pavlos: Thank I'm doing this [16:09] I'd like to have an applet that executes a script in the background and give a message using notify [16:10] Is small there such an applet? [16:11] dedze: message+ 817 1 0 09:09 ? 00:00:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation [16:11] dedze: as you see it runs under message+ [16:15] pavlos: I rebooting my laptop and it's still doing it [16:15] rebooted* [16:15] dedze, on your last screenshot, you had 2 zombies ... [16:16] oerheks: what is a zombie? [16:16] dedze: seems the user is messagebus (if you look in /etc/passwd) but is truncated to message+ [16:16] zombie = uncontrolled runaway process/child [16:16] dedze, are they still there ? [16:17] oerheks: I dont know what it means, I will do a new screenshot [16:17] dedze: if you just rebooted, there should be no zombies [16:17] dedze: messagebus is mentioned on http://manpages.ubuntu.com/manpages/trusty/man1/dbus-daemon.1.html [16:18] oerheks: pavlos http://imgur.com/a/6Br4W new screenshot [16:19] dedze: zero zombies, good [16:19] looks alright, skype uses a lot of systemresources though [16:20] dedze: https://en.wikipedia.org/wiki/Zombie_process [16:20] pavlos: oerheks Are zombie process something I should learn about ASAP or is it not important? [16:20] pavlos: Thanks [16:20] It is good to know about it, when your system responds slowly [16:21] oerheks: Actually I'm always so paranoid about someone remotely controling my laptop, not so worried about slow laptop hehe [16:22] install gufw, and turn your firewall on in systemsettings [16:23] oerheks I did sudo ufw enable, is it the same? [16:23] dedze: sudo ufw status [16:24] Ok wait I need to change user account, I cant use sudo with this one [16:24] it is enabled by default, without rules AFAIK [16:24] gufw is just a gui with some standard rules for the most common tasks [16:25] https://help.ubuntu.com/community/UFW [16:29] pavlos: ufw is active [16:31] scorch: why connect to old-releases.ubuntu.com in the first place ! connecting through vpn might break . [16:32] dedze: read the link oerheks gave to familiarize yourself with ufw [16:32] How do I show my grub boot options during boot time? [16:33] The boot process is hidden [16:34] njs126: ESC , or right shift. [16:34] Omg pavlos I saw a process ran by user rtkit, is it a rootkit? :'( [16:35] sary: ok [16:35] dedze: that's Realtimekit, a dbus service [16:36] no rootkit would name itself rtkit :-D [16:37] how can i find out if and when the 4.10.1 kernel will come to 17.04? [16:38] hi [16:39] pavlos: oerheks Basically what would be suspicious in top? [16:41] or even 4.11? [16:42] imbezol, no idea about that, 4.10.x ... i guess 4.11 only appears in the next 17.10 [16:43] dedze, depends per configuration, zombies, high cpu use.. [16:43] on yours, i would say: kill skype, it takes 30% + [16:44] dedze: security is a big subject, I dont think 'top' tells you much. You can type 'who' which tells you who logged on and when, you can tighten with ufw. [16:46] Please guys I downloaded kernel 4.4.25 on my Ubuntu 16.04 then deleted it and that messed up my grub , I went ahead to run grub-install /dev/sda on my Kali Linux since I happened to have both installed and the new grub didn't show Ubuntu in the menu, any help please¯\_(ツ)_/¯ [16:46] sary: That worked and how do I ensure I can run sudo commands? [16:46] pavlos: Oki thanks, also when I was using windows, like a few months ago, I opened a port on the routeur for a game, could someone have installed a malware on my routeur? [16:47] snowweb, 1. that kernel is not supported on 16.04, and we surely do not support kali [16:47] !kali [16:47] The Ubuntu channels can only provide support for Ubuntu and its official flavors, since other distributions and derivatives have repository and software changes. So please use their dedicated support venues, for example: Linux Mint (#linuxmint-help on irc.spotchat.org), Kali Linux (#kali-linux), and LXLE (#lxle) [16:48] Please guys I downloaded kernel 4.4.25 on my Ubuntu 16.04 then deleted it and that messed up my grub , I went ahead to run grub-install /dev/sda on my Kali Linux since I happened to have both installed and the new grub didn't show Ubuntu in the menu, any help please¯\_(ツ)_/ [16:48] dedze: routers can be compromised so if you dont play anymore, close that port [16:48] snowweb, run sudo os-prober then sudo update-grub [16:48] @oerheks is there any way out of this mess? [16:48] BluesKaj, he messes up with kali and ubuntu, and should stick with ubuntu + update grub .. [16:48] njs126: run sudo for/from where .. are you in recovery mode! [16:49] Should I run these codes on an Ubuntu LiveCd or on Kali Linux?? [16:50] sary: No we got linux workstations at work and I'm trying to ensure I can run commands on behalf of root :-) [16:50] .. kali ?? lolz [16:50] lol [16:50] Please I can't access my Ubuntu on the new grub I installed [16:51] njs126: well ok, that's what sudo is for. [16:52] sary: Thanks [16:54] why? [16:55] snowweb, can you ssh into ubuntu from your phone,? that would be the best methos [16:55] method [16:55] How would I go about that?? [16:57] Hello friends. I'm having an issue with apt. Every time I run any command it starts running some mysql-server upgrade, which fails, and then thing I tried to do never happens. I can't even purge mysql-server because apt starts a mysql_upgrade before the purge. [16:58] pavlos: how do I know if my routeur is compromised? [16:58] Which fails, so my apt-get remove --purge mysql-server never happens. [16:59] How can I stop apt from performing a mysql_upgrade before doing the command I tell it to? [17:01] drewbert, have you added external ppa's of any kind? [17:01] dedze: I assume you can change pw on router often, you can monitor traffic, firmware loaded, ... search for "router compromise" [17:02] sudo systemctl stop mysql.service [17:02] lotuspsychje: I have not. I just double checked. There are no PPAs outside of the standard ones. [17:06] oerheks: mysql is already not running [17:07] drewbert: what mysql_upgrade? that would imply some package is partially installed? [17:07] drewbert: please use a pastebin and paste the exact output and command you ran [17:07] drewbert: how can a package preform an upgrade without a user's input.. ! [17:08] Here is an example, note that this will happen for any apt-command I've tried so far http://paste.ubuntu.com/25241230/ [17:09] drewbert: "1 not fully installed or removed" [17:09] sary: look up unattended-upgrade [17:09] hi [17:09] drewbert: do you need/use MySQL? [17:09] nacc: yes, but you clearly see that I want to remove it, but I can't, because it's not fully installed [17:09] Does anybody know why Pitivi adds black borders to Top Right Bottom and Left when I just render a Video which was initially 16:9? [17:09] drewbert: if not, you can use dpkg (rather than apt) to remove it [17:10] nacc: I do need it, but if I could uninstall it, then reinstall it, I think this problem would go away [17:10] drewbert: wait [17:11] drewbert: read the actual output "Package 'mysql-server' is not installed, so not removed" [17:11] drewbert: i think you want to remove mysql-server-5.7 [17:11] OnkelTem, perhaps the #pitivi channel might know that [17:11] drewbert: if that also fails, use `dpkg -P` [17:11] drewbert: dpkg -l | grep mysql | nc termbin.com 9999 [17:14] pavlos: oerheks thanks for everything guys [17:14] nacc: Thanks, I removed the package with dpkg, then reinstalled it with apt., then did a apt-get remove --purge mysql-server-5.7, then reinstalled mysql-server [17:16] drewbert: ok [17:31] why do most distros have their own versions of programs? [17:31] Gedit, Kate, Mousepad, etc [17:31] Konqueror... [17:31] it's unreal, and much of the software is unmaintained duo to fragmentation [17:32] those names correspondent with the desktop, KDE -> Kate Kbreakout, Kmnines and so on [17:32] Cobrax: That's more of a discussion for #ubuntu-offtopic. [17:34] you want me to go to a sub-channel that barely has a 1/10th of this and waste my time talking to a wall? [17:34] oh boy .. [17:35] it is the spirit of the DE, develop own packages [17:35] gedit - gnome edit .. [17:35] Cobrax: This channel is for productive Ubuntu support discussion only. There are many other channels where you are encouraged to discuss such things, but this isn't one of them. [17:35] * oerheks wonders Konqueror unmaintained??? [17:37] oerheks, still available as one of the default browsers in debian [17:38] BluesKaj, i thought so too .. [17:49] Cobrax: -offtopic is more active than this channel most days. [18:08] !pm [18:08] Please ask your questions in the channel so that other people can help you, benefit from your questions and answers, and ensure that you're not getting bad advice. [18:11] hi. anyone have problems using the chrome repository? === JanC_ is now known as JanC [18:12] http://dl.google.com/linux/chrome/deb returns 404 [18:13] gabrielc, on what ubuntu version? [18:14] oerheks: Ubuntu 16.04.3 LTS [18:14] i am on 17.04, fine here.. but 16.04 just got upgraded to v3 [18:15] where did you spot that 404? can you paste the update output on paste.ubuntu.com ? [18:16] Ive never used xpad before and I am not sure if it is acting up or not. I should be able to change note colors and move the notes around right? [18:17] oerheks: http://paste.ubuntu.com/25241606/ [18:19] gabrielc, i see, same happening here now with google-chrome only .. [18:19] maybe their mirror is just being updated, try again after a few minutes [18:20] oerheks: ok [18:21] Google Chrome repository key changed? [18:21] New key 6494C6D6997C215E [18:22] metaphysician, no ifo about that, likely it is a mirror update.. key is the same btw [18:22] https://www.google.com/linuxrepositories/ [18:23] see the command for "Command line key installation for APT" [18:23] solved the error [18:41] i have ubuntu 16.04 lts and I'm trying to set the time manually but it keeps on updating every few seconds [18:41] I uninstalled ntpdate, turned off ntp [18:41] not sure what else to try [18:41] any ideas? [18:43] maslo: Please pastebin the output of "timedatectl". Also, why do you not want network time? [18:45] maslo: dhcp client [18:45] cant seem to sync it up to my time [18:45] and I can't use s3 buckets because of time difference [18:45] so I figured i would set it manually [18:45] ill paste the output give me a second [18:46] https://gist.github.com/anonymous/341c3e90f1f90c037fe396868aa28b46 [18:47] hello [18:48] did you get a chance to see the paste? @gabrielc [18:48] oops, @Jordan_U [18:48] maslo: yes. is the problem on vm? [18:49] hello :3 [18:49] it's a vagrant box [18:49] window host [18:49] anyone using conky here? [18:49] I'm in Montreal (canada) currenty fri 2017-08-04 14:29:00pm [18:49] maslo: what about vagrant's documentation? [18:51] not sure i didn't even think it could be a vagrant thing [18:51] I'll look into it thanks for the thought [18:52] no one?: ((( [18:52] maslo: to set time use 'date' command [18:56] yeah I used date -s [18:56] and i also tried to set the timezoen with timedatectl [18:56] but ill look in vagrantfile (vagrant's config file) [18:59] does anyone knows why command use thru crontab gives another result than in terminal? [18:59] for example I have a bash script to check my ip thru one address, the ip given thru terminal has another value than crontab gives when it runs [19:00] anyone knows why? :D [19:02] I tried and failed to install the native client for Google Chrome. Now when I start Chrome it says "You are using an unsupported command line-flag: --extensions-on-chrome-urls. Stability and security will suffer." I have checked the menu entry and the command to run Chrome is "/usr/bin/google-chrome-stable %U". Any idea how to fix this? [19:03] F4RR3LL: ip address show gives you ip but maybe the PATH env is different when running crontab or cli === jstein_ is now known as jstein [19:05] pavlos: the bash script looks like this ip=$(curl -s https://api.ipify.org)echo "$ip" >| ip.log [19:05] tor is installed ofc course [19:05] and when i run the bash script thru terminal it gives me the hidden ip and save it in the file [19:06] but when i set the bash to run thru crontab each 30mn, it saves my real ip in the file [19:06] which I dont understand the same command is setup in crontab which is: sh ip.sh [19:08] I know how to get rid of kernels, just delete them :) [19:10] does this mean that crontab does not take account that tor service is active when he fetches the ip? [19:10] !who | fedorafan [19:10] fedorafan: As you can see, this is a large channel. If you're speaking to someone in particular, please put their nickname in what you say (use !tab), or else messages get lost and it becomes confusing :) [19:11] nacc its just a statement [19:11] F4RR3LL: I dont use tor so cannot test ... when I'd vpn to europe, my ip would change. BTW, another way is, curl ipinfo.io/ip [19:11] I have asked for it last time what to do to get older kernel back [19:13] pavlos: with ipinfo.io/ip the result is the same as well. When run in terminal it displays the hidden ip, even when I go thru the website, but when command goes thru crontab it displays my real ip [19:13] F4RR3LL: did you forget to paste the && between the assignment and echo ? [19:14] also, if you just want to write curl's output to a file, why do you bother with a variable and echo? [19:14] geirha: u mean it should be echo:"$ip" && >| ip.log ? [19:14] geirha: because im using the result into conky on my desktop [19:14] no, ip=$(curl...) && echo "$ip" > ip.log [19:14] the conky app reads the content of the file and displays it on the desktop [19:15] so the content of the file in this case is the address ip [19:15] geirha: ok i will try [19:16] geirha: but why && since after the variable ip on the new line is the echo command? [19:16] maybe i i will pastebin the scrip to make it easy [19:17] also be aware that sh is not bash; you said you had a bash script earlier, but you actually run the script with sh [19:17] hi, can you please help me with installing libindi packages? [19:18] F4RR3LL: also always use full paths in a crontab, you don't know what PATH is set to (it's very limited) [19:18] geirha: yeah i run the script thru sh https://hastebin.com/raw/oteripaxad [19:18] F4RR3LL: made ip.sh with curl ipinfo.io/ip > /tmp/ip.log, moved it to /etc/cron.hourly and +x in an hour I'll see if anything changed [19:18] F4RR3LL: Oh you had a newline between them? didn't show in the code you pasted. Well, the && causes the echo to only be run if the curl succeeds [19:20] pavlos: the sh script is located in user home folder [19:20] F4RR3LL: that'll bite you at some point. Don't run bash scripts with sh. In this case, you happened to use a subset of the syntax that is the same in both sh and bash, so it happened to work [19:20] well, mostly the same [19:21] geirha: with what should i run bash scripts? im new :P [19:21] F4RR3LL: Oh, the cronjob is run from /, so that means if you put sh ip.sh as the job, it won't find your script [19:22] F4RR3LL: either with ''bash yourscript'' or make it executable with chmod +x and run it directly [19:22] geirha: this is my crontab setting 30 * * * * sh ~/ip.sh [19:22] ah ok, so then it should find it at least, and run it once an hour [19:22] also don't forget the hashbang if writing script yourself... #!/bin/bash [19:24] geirha: the thing is it execute the command correctly on crontab, and save the result in the file. What i just dont understand is why on crontab the script give my real ip and when the same script runs thru terminal it gives me the hidden ip [19:24] missing an environment variable, probably [19:25] F4RR3LL: use absolute paths, for commands and for destination files [19:25] F4RR3LL: to emulate running it from cron in your terminal, try: env -i PATH=/usr/bin:/bin bash ~/ip.sh [19:26] what is the tool called to show the space is used by [19:26] this diagram [19:26] need to delete some stuff [19:26] fedorafan: you mean, df -h ? [19:27] no [19:27] that gives absoulate spaceinfo [19:27] geirha: pavlos so it should be like this? 30 * * * * env -i PATH=/usr/bin:bin bashh ~/ip.sh ? [19:27] in a terminal, you can use du -haxd1 | sort -h to see the usage of the files and directories in the current directory. Then cd into a big one and run it again there [19:27] I try [19:27] moment [19:27] F4RR3LL: No, in your terminal, to emulate running it from cron [19:28] but its a guitool [19:28] F4RR3LL: It's a debugging step to see if you need to pass an environment variable to your cron job [19:28] fedorafan: du is text, not gui [19:28] I understand [19:28] gui is more better I think [19:29] noboby can help me? i became: http://paste.ubuntu.com/25242003/ and sudo apt-get -f install and sudo dpkg --configure -a doesnt work [19:30] fedorafan: you are probably thinking of baobab [19:30] geirha: i pasted it in the terminal i gave me this env: ‘bash’: No such file or directory [19:30] :D [19:30] fedorafan: install Baobab (Disk Usage Analyzer) [19:30] o_O you don't have bash installed? [19:30] du works right but not that good [19:30] Baobab hmm [19:30] I got some well need to survey [19:30] geirha: bash is installed [19:31] peto: Unfortunately I am not familiar with your language, though I suspect it may be a disk space issue, can you please paste the contents of "df -h" ? [19:31] geirha: what command should I paste in the terminal in this case? maybe I was lost somewhere [19:31] disk usage analyzer [19:31] peto, what exactly are you doing? and why did you not copy the comand used? [19:31] F4RR3LL: env -i PATH=/usr/bin:/bin bash ~/ip.sh [19:31] fedorafan: https://apps.ubuntu.com/cat/applications/natty/baobab/ [19:31] geirha: yeah that's what I did :D [19:31] F4RR3LL: i think it is best to avoid cron and run a script in the background at boot [19:31] I got it its installed standardly [19:31] F4RR3LL: bash should be installed as /bin/bash, so it should find bash with that PATH variable [19:32] now need to delete some [19:32] Poster, http://paste.ubuntu.com/25242027/ here is the command [19:32] ? [19:32] geirha: I check /etc/bin and I dont see bash there. [19:33] I see basename and then bashbug and thats all [19:33] checked* [19:33] where did /etc come from? [19:33] so terminal didnt lie, he didnt find bash [19:33] F4RR3LL: /bin/bash [19:33] F4RR3LL: run "cat /etc/shells" [19:33] fatalhalt: type ''type -a bash'' it should list /bin/bash [19:34] oerheks, sorry i ran: http://paste.ubuntu.com/25242034/ [19:34] !info libindi xenial [19:34] bash is already the newest version (4.4-5). [19:34] when I try to install bash i have this info [19:34] Package libindi does not exist in xenial [19:35] libindi exist but u need add the repository : sudo apt-add-repository ppa:mutlaqja/ppa [19:35] peto: ok that all looks ok, try ; apt-get clean ; apt-get -y autoremove ; apt-get update ; apt-get -fy install [19:35] geirha: sorry xD not etc, but usr hahaha [19:35] peto, it does exist, https://packages.ubuntu.com/source/xenial/libindi .. but PPA is unsupported here [19:35] !ppa [19:35] A Personal Package Archive (PPA) can provide alternate software not normally available in the offical Ubuntu repositories - Looking for a PPA? See https://launchpad.net/ubuntu/+ppas - WARNING: PPAs are unsupported third-party packages, and you use them at your own risk. See also !addppa and !ppa-purge [19:35] F4RR3LL: not /usr/bin, just /bin [19:36] F4RR3LL: type -a bash should output "bash is /bin/bash" [19:36] geirha: but u suggested me to run this on terminal env -i PATH=/usr/bin:bin bash ~/ip.sh [19:36] i see /usr/bin there :P [19:37] F4RR3LL: you removed the / in front of bin [19:37] PATH=/usr/bin:/bin, not PATH=/usr/bin:bin [19:38] F4RR3LL: env -i PATH=/usr/bin:/bin bash ~/ip.sh [19:38] Poster, i became following : http://paste.ubuntu.com/25242056/ [19:38] F4RR3LL: add a / before the bin [19:38] geirha: alright [19:38] geirha: it worked and displays me my real ip :P [19:38] oerheks, I must add this repository : sudo apt-add-repository ppa:mutlaqja/ppa ... see http://www.indilib.org/download/ubuntu.html [19:38] F4RR3LL: right, which is the wrong one, right? [19:38] but when i run bash ip.sh it displays the hidden ip [19:38] the wrong one is the command u suggested me to do [19:39] at a loss...don't know how to stop the time from auto syncing.. [19:39] the right one is from the command bash ip.sh [19:39] so curl is using an environment variable to tell it to use this tor thing. Probably http_proxy ? [19:39] can't finda nything related to virutalbox or vagrant [19:39] that works [19:39] amazon s3 allows up to 15 minutes difference [19:39] cant have the time be more > 3 hours apart [19:39] peto, contact the ppa maintainer, nothing we can do [19:40] geirha: yeah there is http_proxy involved since tor service is running. How can I use the http_proxy env to run with the command in crontab? [19:40] F4RR3LL: try to avoid crontab [19:40] 30 * * * * http_proxy=http://or.whatever bash ~/ip.sh [19:41] geirha: I am using crontab for this only to bypass the same issue in conky desktop app [19:41] oerheks, on rasperry pi it works hmm , but now i cannot install any package [19:41] also, I recommend not using .sh extension for bash scripts, as it is misleading [19:41] geirha: what extension should I use for bash scripts? [19:41] F4RR3LL: oh, so it's an XY problem. You've set http_proxy in .bashrc probably [19:42] F4RR3LL: none, since the extension is redundant anyway, but if you insist, use .bash [19:43] How do I install an older version of the nvidia driver? I assumed I could do "sudo apt install nvidia-361" to get the 631 version, but - it seems apt is ALSO installing the 375 version which seems to have issues with my graphicscard. output from apt: https://pastebin.ca/3850853 [19:43] F4RR3LL: Anyway, if conky doesn't have that environment variable, it means you've set it at the wrong place [19:43] geirha: no I didnt set http_proxy there, I just installed tor and run the service thats all and then I configured tor http proxy on localhost [19:44] F4RR3LL, so you wonder why tor gives you an other ip ? [19:44] I've never user tor, so I have no idea how all this works, but it matters greatly where and when that environment variable gets set [19:45] oerheks: I am aware of it, thats what I want :P [19:45] oerheks: I am just using something to display those ips and the app reads them from a file [19:45] what does "I configured tor http proxy on localhost" mean? did you edit any files? [19:47] geirha: to access darknet u need to reconfigure some file to make proxy work, tor service on the other hand does not need any files to be edited as if tor service work, ur ip should be hidden already [19:49] geirha: can't he just specify 'curl --local-port 9050' in the script to use tor? or is that not how it works? i could be wrong. [19:49] geirha: we will see if after 30 mn crontab will execute the command [19:49] F4RR3LL: well, at some place the http_proxy variable has to be set, and it sounds very much like it gets set in the wrong place in your case. [19:49] geirha: this is the crontab settings now 30 * * * * http_proxy=http://localhost:9050 bash ~/ip.bash [19:50] i will check the result in 30 mn :P [19:50] if it will work [19:50] 40 minutes you mean [19:50] geirha: wy 40? :P [19:50] you told it to run at HH:30 every hour [19:51] Right now it's HH:50 [19:51] * wipesh sent a long message: wipesh_2017-08-04_19:51:04.txt [19:52] F4RR3LL: but surely, the proper solution to your problem is just to tell conky about that proxy in the first place [19:52] geirha: then the settings is wrong, i want crontab to execute the command every 30 mn :P [19:52] F4RR3LL: "every 30 minutes" in a crontab doesn't make sense [19:52] geirha: conky has a command cat ip.log to read the ip [19:52] F4RR3LL: */30 will run it at HH:00 and HH:30 [19:52] geirha: every hour then? [19:53] F4RR3LL: you want it to execute every 30 minutes from whenever you edited the crontab? [19:53] F4RR3LL: yes, I get how your current kludge work, I'm talking about doing it properly in the first place, avoiding this kludge [19:53] change the entry to */5 * * * * and wait 5 min [19:54] nacc: yeah I wanted to make crontab run the command every 30 mns [19:54] F4RR3LL: 30 * * * * runs once an hour, */30 * * * * runs every thirty minuts, at HH:00 and HH:30 [19:54] geirha: i dont know if http_proxy works with conky i will try [19:54] F4RR3LL: yes, I think you misunderstand how crontab works -- it's not relative to when you edit he crontab, it's using the clock [19:55] nacc: im new so perhaps i missunderstood how it works [19:55] F4RR3LL: as geirha and pavlos are saying, you can have it run on the :00 and :30 of every hour, or other options [19:55] why is it that when I set timedatectl to Canada/Eastern i get [19:55] Local time: Fri 2017-08-04 18:55:08 EDT [19:56] when in reality it's 15:55 [19:57] maslo: utc on bios? [19:57] maslo: `timedatectl status` in a pastebin [19:57] nacc: geirha pavlos nice guys thx :) we will see if it will work ;p i like solving problems, i can learn from it and I wouldn't let this go until it will work haha [19:57] https://pastebin.com/3egA9y6j [19:57] maslo: all you did was change the timezone [19:58] maslo: you're not using ntp so there's no change to the time [19:58] the time does change when i change the timezone [19:58] maslo: yes, relative to whatever the current time is in the current timezone your system thinks it is [19:58] maslo: but it doesn't 'synchronize' with any external time source, since you have that disabled [19:58] maslo: so if your time starts out wrong, it will stay wrong [19:58] so how do i change what time the system think it is? [19:59] service cron reload should be enough to restart it [19:59] ? [19:59] F4RR3LL: hrm? you don't need to reload cron normally [19:59] maslo: enable ntp? [19:59] i tried [19:59] maslo: how did you try? [19:59] timedatectl set-ntp 1 [20:00] maslo: timedatectl set-local-rtc 1 (set real time clock to local [20:00] yes I did it [20:00] geirha: it didnt work xD [20:00] maslo: i think it's 'true' not 1? [20:00] maslo: did that succeed with 1? your output indicates ntp is not on [20:00] cron still run the script without http_proxy [20:00] nacc: sometimes is necessary restart cron service, when i change something on crontab i allways restart the service [20:00] the output was with it off [20:00] i will paste the output now [20:01] https://pastebin.com/YCY9GhEY [20:01] never needed to restart cron after adding a rule.. [20:01] gabrielc: i guess it could be, but editing your user crontab never requires restarting the cron service [20:01] nacc: on theory [20:01] maslo: do you see how it says "NTP synchronized: no"? [20:02] gabrielc, just curious, did this google-chrome key change happen *after* you got chrome 60 ? [20:02] is there another way to execute command on terminal hidden? [20:02] I tried with true nacc, not too sure howt o enable it other than that command [20:02] maybe I will take it with another approach [20:03] maslo: yes, it's enabled but not yet done [20:03] maslo: I use this to setup my time, sudo dpkg-reconfigure tzdata [20:03] maslo: see `man timedatectl`, i think you need to check if systemd-timesyncd is running and has recently sync'd your clock [20:03] oerks: no, I have version 60 of before [20:03] maslo: you can also, of course, run it manually [20:03] that does the same as timedatectl set-timezone but with a ui paylos [20:04] oerheks: after the change I did not get a new version of chrome [20:05] gabrielc, that is oke, 60.0.3112.90 is the latest. [20:05] still wonder why the key changed after that.. [20:05] F4RR3LL: run "nohup script.sh &" [20:06] oerheks: same version here [20:08] maslo: I just changed my zone to Toronto and it tells me it is 4pm [20:08] gabrielc: ok I will try, i will let know at 22:30 if it worked :P [20:08] How do you set autostart apllications with a custom xsession ?? [20:08] mine does not do that paylos [20:09] maslo: I have ntp running === Davros is now known as N3LRX [20:10] can't seem to start mine [20:10] gabrielc: */30 * * * * nohup bash ~/ip.bash & ___ yes? [20:10] F4RR3LL: for bash programming http://tldp.org/LDP/abs/html/ [20:10] can't F4RR3LL just specify 'curl --local-port 9050' to tell curl to use tor? [20:11] jje: i will try that as well, noted [20:11] F4RR3LL. try it, but i recommend you avoid cron and make your script run all the time on background === Mittens is now known as MittensAFK [20:12] F4RR3LL: script as a service [20:12] gabrielc: can u link me a tutorial for that pls? [20:12] even if i run set-ntp to true, 1 or on, it does not run.every links from google tells me the same things I've already tried [20:12] I have to go out. I will be back later [20:12] so annoying to do such a simple task -.- [20:12] k [20:13] maslo: did you look at the manpage and service output? [20:14] yes [20:15] gabrielc, F4RR3LL: No don't read http://tldp.org/LDP/abs/html/, that's garbage. Read http://mywiki.wooledge.org/BashGuide instead [20:17] maslo: I'm wondering if your hipervisor is constantly "fixing" the clock in the VM, and the hipervisor's clock is off. [20:18] maybe it is windows 10 issue, time control offset .. http://ubuntuhandbook.org/index.php/2016/05/time-differences-ubuntu-1604-windows-10/ [20:19] Hello all, I'm currently on Ubuntu 16.04.03 LTS when I click on 'Software Updater' it's telling me it 'Failed to download repository information -- check your internet connection'. Anyone got any idea on how to fix it or is the main server down at the moment? [20:20] HomelessSanta, did you add google-chrome to your install ? [20:20] oerheks, I have Google Chrome installed yes Chrome had recently been upgraded since yesterday. [20:21] HomelessSanta: Please pastebin the output of "sudo apt update". [20:21] it is a kown issue, new key after google-chrome 60 .. https://www.google.com/linuxrepositories/ [20:21] wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add - # and you are fine [20:22] Jordan_U, https://pastebin.com/DS8pVJHm [20:22] if you run Jordan_U's command, you will find chrome being the culprit [20:22] Yeah, seems Chrome is being failed to be fetched. [20:22] From the output. [20:22] <[n0mad]> glad i was lurking to see that! [20:23] Now my Q: howto remove the old key, i cannot delete it in sources gui [20:23] oerheks, Essentially I should enter the command you gave right? [20:24] jups, as described in the url [20:24] Ahh, I see it on the link. [20:25] A040830F7FaC5991 2007-03-08 is the key i want to flush [20:26] oerheks, Jordan_U -- Thanks for the information that seemed to fix the issue. [20:26] <[n0mad]> oerheks: not sure, i just clicked it and clicked remove and put in my pw and it removed [20:27] sudo apt-key list gives "pub dsa1024 2007-03-08 [SC] " so it would be: sudo apt-key del dsa1024 [20:28] tried that oerherks [20:28] no luck [20:28] ntp still wont sync [20:29] doest the command nohup with & at the end close the terminal after running the script? [20:31] F4RR3LL: No. If you want to start a command and exit the terminal, leaving the command running in the background, do: thecmd & exit [20:32] nohup is pointless for that purpose [20:32] maslo: sudo systemctl status ntp.service is is active? [20:32] let me see [20:33] active and running [20:33] or so it says [20:34] maslo: I'm changing zone from Phoenix to Toronto and it syncs up within 30sec [20:34] time changes, just wrongly [20:34] whenever i change timezone [20:34] ntp still says it's not synchronized though [20:40] maslo: sudo timedatectl set-timezone America/Toronto ... and http://paste.ubuntu.com/25242353/ [20:41] my timezone is america/toronto.... [20:41] my universal time and rtc time is 3hours too late [20:41] 3hours ahead [20:41] maslo: upper case T [20:41] maslo: upper case A [20:41] ? [20:41] i know [20:41] look at any of the pastebin ive posted [20:41] they all say america toront [20:41] America/Toronto [20:43] maslo: have you tried just running ntpdate? [20:44] maslo: Any way to ask your hosting provider what time the physical machine thinks it is? [20:45] there is no hosting provider [20:45] it's a virtual machine (viortualbox) [20:45] through vagrant [20:46] maslo: OK. What is the time according to the host OS? [20:46] i tried nacc [20:46] my time is 4:46pm [20:46] windows 10 host [20:47] hey guys the aws packer ami builds on us-east-1 using the latest images is very slow [20:47] any ideas [20:48] its taking 20 mins + to run a coule of chef recpies that just do apt-get installs from the repos [20:49] 16.04 installs ? maybe your issue is that 16.04 got updated to 16.04.3 .. [20:49] (yesterday) [20:49] else i have no clue about aws [20:50] maslo: check if the vm is getting the time from host, and if the host is getting the time from bios or ntp, and check the time on bios [20:50] such a pain lol [20:52] maslo: strange because ... I started a VM in VB and told it to set time to Toronto, it did. My host has time in Phoenix. Can you restart the VM? [20:53] i must of restarted at least 5 times, including my host computer after disabling/ewnabling the time from internet [20:53] maslo: check if host uses bios time as utc or local time [20:53] 16.04.3? [20:54] oerheks: yeah its 16.04 and its using latest [20:54] FatDarrel, yes, not sure it conflicts with scripts you use [20:54] I am gonna build another vm just to see if I get the same issue [20:54] this is such bs lol [20:55] How come only Software Updater can do a "Partial Upgrade" but the command: "apt-get upgrade" doesn't actually do the upgrade "Partial Upgrade"? [20:55] Mate 16.04 [20:56] doux: I think there was a issue with one package, do the partial upgrade and it will be fine. [20:57] doux: check at #ubuntu-mate [20:57] pavlos, ok, thanks [20:57] maslo: hwclock maybe it will be useful [21:02] I have an ubuntu 14.04 desktop as htpc connected with an ubuntu 14.04 server on the LAN. The server acts as an NFS server and the client an NFS client with the correct entries in /etc/fstab. This setup worked fine for over a year. Recently, often when resuming the client system from suspend, something will go wrong with the NFS mount. As soon as one tried to access it in a file manager, or terminal, or even run somet [21:02] hing like $ df -h, the process freezes. I can still Alt-out to another tty but I usually have to end up rebooting to get it to work again. Anything common I could check? [21:04] RBoreal_Frippery: fsck ? [21:04] on the server? I will try it, but it does not feel like that type of error. I dont get anything about input/output problems, just a hang. [21:05] And when rebooting everything comes up find and working as usual [21:05] you can try to do a lazy umount of the NFS mount point then remount with "mount -a" [21:05] umount -l /mnt/nfs [21:05] RBoreal_Frippery: with nfs service off check the partition with fsck [21:06] the unmount could help to avoid rebooting but I assume it will not fix the underlying issue. [21:07] RBoreal_Frippery: backup the data and check for logical or physical errors [21:08] RBoreal_Frippery: can you post the /etc/fstab line where the nfs mount shows its options? [21:09] RBoreal_Frippery: if there are no physical or logical errors should be a configuration issue [21:10] the end looks like this: nfs rw,rsize=32768,wsize=32768,vers=3,intr 0 0 [21:13] RBoreal_Frippery: As pavlos advises . verify all UUIDs match ' sudo blkid -c /dev/null -o list ' . [21:14] ok [21:14] RBoreal_Frippery: you can try to replicate the issue mounting locally on server [21:25] RBoreal_Frippery: you can add ,hard next to intr ... per manual nfs requests will be retried indefinitely, intr says process can be interrupted. Just a thought [21:27] Hello, I'm having a hard time installing 16.04 where /boot is 1G and the rest of the drive is encrypted. Anyone try this that can give me any advice? [21:28] and if this isn't the right channel i apologize [21:28] donu7: What problem are you running into specifically? [21:29] donu7: Ubuntu's installer supports encrypting the root FS with LUKS as one of the default options. [21:30] the automatic drive partitioning doesn't allow for customizing partition sizes so i get /boot w/ 500m which isn't enough. so i choose >something else for partition options. when I make an encrypted root partition, i get an error about a non-encrypted swap partition and the install fails but i cant make an encrypted root AND swap partitions [21:31] so i just made partitions by hand (/boot & and lvm for / and swap) and during install, i can choose to encrypt the swap partition and specify it as swap but when i try to encrypted the root partition i get the same error about an unsafe swap partition and install closes. [21:31] whats going on ppl [21:32] i've been googling this all week and haven't found anything that makes this work. The closest thing I'm seeing is to set up the encrypted partitions manually and set up the /etc/cryptab file manually but that article doesn't specify if the installer will pick up on those partitions :/ [21:33] donu7: So you have partition 1 Swap, partition 2 LUKS. On top of LUKS you have an LVM PV containing VGs, one for root and another for swap. Is that correct? [21:34] correct. here's my lsblk: [21:34] erp just realized i can't screen cap or copy paste it lol >_< [21:34] sda1 - boot -- sda2 has lvm w/ lvroot & lvswap [21:35] donu7: can you use the root partition encrypted and the swap as a file? [21:36] I don't follow what steps you're referring to [21:36] as in, in the installer, use the primary lvroot partition as encrypted and set up the swap partition as a normal, non-encrypted swap partition? [21:37] donu7: To confirm,sda2 is a LUKS volume, not an LVM PV. Crrect? [21:37] no -- sda2 is lvm [21:37] which i copied from what the installer does by default [21:38] donu7: install the os without swap partition, boot the os and then make a large file (ie /swap) and use as swap [21:38] donu7: Then where does LUKS come into play? [21:38] i need root encrypted and afaik swap should also be encrypted [21:39] donu7: I know, which is why I'm still trying to find out where you're using LUKS. Right now you haven't mentioned any LUKS volumes at all. [21:40] Right, I see. I really have no preference or knowledge of where and how to introduce luks. [21:40] I copied the general setup of how the ubuntu installer setups up the HDD. [21:41] so how is it setting up in ubuntu? [21:41] in the general setup [21:41] donu7: Do you need to be able to hibernate (suspend to disk)? [21:41] yes [21:42] and @psychoticwarrior -- general setup creates a 500m /boot (which is too small), then makes a separate partition with lvm, and inthe lvm there's a root and swap partitions that are encrypted [21:43] at least i'm preferring to have the option to hibernate [21:43] i would suggests having /boot as 50 Megs [21:43] O_o that's really small [21:43] thats how i usually have it [21:44] as is just installing ubuntu on a 500m /boot part, it eats up 30% of the /boot partition. [21:44] after a few rounds of kernel updates it fills up to 100% and apt crashes mid-update usually causing some problems with some binaries [21:44] install ubuntu as a / partition [21:44] i have my /boot at 100 megs [21:44] no problem [21:45] psychoticwarrior: 50 MiB won't even fit a single default Ubuntu kernel and initramfs. [21:45] i have 100 megs for my /boot partition [21:46] psychoticwarrior: And do you never have more than two kernels (and their corresponding initramfss) in /boot/? [21:46] not sure [21:46] let me check [21:46] yes there are different kernels [21:47] psychoticwarrior: Please pastebin the output of "du -h /boot/" and "df -h | grep /boot/" [21:47] donu7: do you discard swapfile instead of swap partition? === semeion is now known as mnemonic [21:47] 2.4M /boot/grub/i386-pc [21:47] 140K /boot/grub/locale [21:47] 2.3M /boot/grub/fonts [21:47] 7.2M /boot/grub [21:47] 792M /boot [21:48] all: Have apt-get install errors on WINE. Writeup at: askubuntu.com/questions/943153/apt-get-package-errors [21:48] No package shown as hold! [21:48] psychoticwarrior: In the future, please don't paste more than one line into the channel. Please use http://pastebin.ubuntu.com instead. [21:48] gabrielc: i think I'm missing a difference between swap file and swap partition [21:48] ok for sure [21:48] my bad [21:49] i run a triple boot also [21:49] donu7: swap file is a big file on root partition for example [21:50] psychoticwarrior: Your /boot/ has 792M worth of files in it. That's 14 times larger than you're recommending that donu7 make his /boot/ partition, and 7 times larger than you said yours was. [21:51] donu: so you can have 2 partitions, /boot and root, and a big file inside root as swap [21:51] psychoticwarrior: Why not VM instead, so you have all at once. CHEF does it well with little performance impact. Great tool, still learning it though! [21:51] ok for sure [21:51] im satisfied with my system as it is. if i feel like changing it I will :) [21:51] right, makes sense. how can i specify to the installer to use a swapfile? or just install ubuntu without swap then manually specify a swap file? [21:52] and is there a performance tradeoff to having a separate swap partition compared to a swap file ? [21:52] donu7: Using a swap file (especially with an encrypted root fs) will not allow you to hibernate. [21:52] so /boot is 792 M? [21:52] donu7: i think that you have to install the OS without swap, then, inside os create the big file and setup to use as swap [21:53] hey guys, how do I use a wireless XBOX one controller (via USB dongle) on Ubuntu 16.04 [21:53] <[n0mad]> yes psychoticwarrior you pasted it as such [21:53] I have tried installing xboxdrv package and this https://github.com/paroj/xpad [21:53] ok but it says i have 72.76 megs for /boot [21:53] unused [21:53] psychoticwarrior: That is how much data you currently have in your /boot/ directory. If you pastebin the output of "df -h | grep /boot/" it will tell you how large your /boot/ partition is. If that command produces no output then you don't have a separate /boot/ partition at all. [21:55] br [21:55] brg [21:55] brb [21:55] hmm [21:56] does ubuntu desktop hypernate automatically? [21:56] hibernate * wow [21:57] hibernation power off the disks, right? [21:57] back [21:57] donu7: hibernation, also called suspend to disk, powers off the entire computer. [21:57] Trying to remove mysql with 'sudo apt-get remove --purge mysql*' and getting this error: http://paste.debian.net/979897/ Tried to uninstall that mariadb-client package but it's not installed [21:57] so idk how I can have unmet deps for something I don't even have [21:58] right, Jordan_U does ubuntu-desktop automatically hibernate? i always assumed under a default install it just goes to sleep but not hibernate [21:58] well what do you have a problem with just sleep [21:58] or lock it when you walk away [21:58] just in case someone messes with it [22:00] this will be a desktop in an office [22:01] ok [22:02] either way, i'm used to fedora/centos. So i want to double check. [22:06] having trouble with hibernate too but suspends works [22:10] donu7: So it seems that you just need to create an encrypted volume on top of your "swap" LV , then make a swap volume on top of that. [22:10] donu7: I'm not certain that will work with hibernation , but I'm hoping that it will. [22:10] I see -- ty I'll try that out [22:11] how come hibernate doesnt work but suspends does [22:12] hibernate requires writing and reading to the drive and it conflicts with the encryption [22:12] psychoticwarrior: Because suspending to RAM doesn't require swap and suspending to disk does. [22:12] ^ [22:13] all: Have apt-get install errors on WINE. Writeup at: askubuntu.com/questions/943153/apt-get-package-errors. No packages shown on hold! [22:13] ok [22:13] its okay ill just use suspend [22:13] donu7: I seem to recall there being a fancy swap specific encryption setup that allowed for hibernation using a randomly generated key at each boot but I don't have the time to research it at the moment. [22:14] All: have tried several reboots but nothing clears! [22:15] @Jordan_U, i have an article on it and the thing is I'm not sure how manageable that is going to be because I have some employees that will be using the same setup i'm creating here [22:16] but I'm going to test it out since at this point there I'm not finding anything that's going to work :/ [22:16] donu7: Well, when Ubuntu sets it up it's all automagic and shouldn't require anything special from the users once the system is installed. [22:17] right. I'm also just realizing that I may have been trying to set it up backwards -- I'm reading through a walkthrough from 2014 that suggests creating the luks format partition first then setting up LVM [22:18] donu7: That was indeed my first instinct, but I think the special treatment of swap to allow for hibernation may be why Ubuntu doesn't do that by default. [22:19] yeah, i think you're on the right track tho i'm goign to test it out now and report back with what I find [22:23] how can I add a command after adding execStart=gnome-terminal into the service system file? [22:32] <|Night|> hey, is there an easy way to get output and delete it? I woud like to delete all files ending in .srt [22:32] F4RR3LL: What "service system file" are you editing? What is your end goal? [22:33] |Night|, you may want to check out the bash irc channel -- you can list files using ls and pipe it using | to grep which searches the output of the ls command for whatever text you want [22:33] |Night|: First, be *very* careful any time you script the removal of files. One typo could leave you very unhappy. [22:33] ^ [22:33] <|Night|> Jordan_U: i knwo :p [22:33] <|Night|> need to to remove 10k files [22:33] <|Night|> on a server 100TB ++ [22:33] donu7: |Night|: Never parse the output of ls for scripting. [22:34] <|Night|> how would you delete *.srt from /mnt/* then? [22:34] |Night|: rm -i /mnt/*.srt [22:34] <|Night|> hmm [22:34] <|Night|> so -i does all sub folders on /mnt? [22:35] <|Night|> 7254 files when i did locate *.srt | nl [22:35] why would you not use ls ? and night did not mention using a script over a 1-liner [22:35] <|Night|> just need to do soem cleanup [22:36] |Night|: No. -i makes rm interactive (checking before delteting). The command I gave would not search in subdirectories. [22:36] <|Night|> ah would not work then [22:36] <|Night|> since i have 10 mounted drives in /mnt/ [22:36] <|Night|> (drives) [22:36] <|Night|> some are radied [22:37] <|Night|> raided [22:37] donu7: http://mywiki.wooledge.org/BashPitfalls#for_i_in_.24.28ls_.2A.mp3.29 [22:38] ah -- that's in a for loop tho and I can see why that would be an issue. I had that issue a few months ago [22:39] <|Night|> would be painfull to use ls in every dir [22:39] you could optionally try a `find -name` command [22:40] <|Night|> donu7: locate command gives me the output i need with location [22:40] <|Night|> would need to prhase that and delete §file [22:40] donu7: Just never parse the output of ls i scripts. There are pitfalls everywhere. [22:40] right, depending on the output you could pipe it to a file or to the rm command [22:41] <|Night|> locate foobar | xargs -ixxx rm -f 'xxx' [22:41] <|Night|> might work [22:41] @Jordan_U, yeah, i'm interested in giving that page a thorough read to better understand why [22:42] <|Night|> yup that did the tiric [22:42] <|Night|> trict [22:42] donu7: |Night|: My ssh connection is incredibly laggy and I can't respond to all orf your wrong answers. Please stop. This is an area where there are many wrong ways to do it. [22:42] |Night|: find -iname '*\.srt' -print [22:43] That's a little elitist but I'm new here so I'm just going to get back to working on my encrypted install issue [22:43] <|Night|> Jordan_U: that gives me output simular to locate command [22:43] donu7: That came off much ruder than I intended. It's mainly because of the lag and the fact that I've had to stop wrigint responses to the original question to respond to the solutions that have been proposed. Sorry. [22:44] It's all good I'm very used to that treatment from my last job where people would act extremely elitist. Here on IRC i personally really appreciate people being willing to converse and help find the right answers [22:44] |Night|: If the output looks good, and you have good backups as well, then switch to "find -iname '*\.srt' -delete". (This is what I've been trying to type for the past several minutes :) [22:45] donu7: I really do apologise> I should not have said what I did. [22:45] you're ok :) [22:45] <|Night|> Jordan_U: thank you very much :) worked great [22:45] <|Night|> abit slow but ill leave it in a screen [22:46] |Night|: You're welcome. [22:46] <|Night|> there are a few drives that are mounted as virtual drives with 0 wrtie permissions so might fail there, but that not important as those drives are mirror of other with some sw ontop [22:47] <|Night|> yup done, 8910 files deleted [22:48] |Night|: If you wanted to use locate and still be safe no matter what odd filenames might come up you could use "locate --null '*.srt' | xargs --null rm -i". (Throwing in the -i again for safety in case I got something wrong). [22:49] (And to be completely filename safe I'm actually also missing a "--" argument after -i) [22:49] <|Night|> Jordan_U: indeed, your first script worked and gives me no file when checking iwth cat/vim [22:49] guys how can I open a terminal with a command using execstart= in service file? [22:56] F4RR3LL: What service file are you editing specifically? For system services, as opposed to user services, I would say that starting a GUI app (like gnome-terminal) is just not possible (directly at least). What is your end goal? [22:57] Jordan_U: run a script that would open gnome-terminal with a command [22:58] Jordan_U: i dont want to use cron so I want to create system service instead [22:58] and run the script every 1800s [22:58] F4RR3LL: When would this script be run? What is the command? What is your end goal? [22:58] Jordan_U: to fetch ip and to save it in a file [22:59] but i want the ip to be fetched by using terminal, i am trying to do a bypass [22:59] to resolve an issue [22:59] so i want to use execStart= to force it to open gnome-terminal [22:59] F4RR3LL: Please explain the most high level problem you're trying to solve. [23:00] Jordan_U: well like I said I want to try to create a service that would start a gnome-terminal with a command [23:01] so im creating a .service file [23:01] F4RR3L: you really need a terminal? [23:01] in that file u have ExecStart= [23:01] gabrielc: yes our solution before didnt work [23:01] F4RR3LL: But why do you want to do that? (And keep asking yourself "why" until you are at the highest reasonable level, what I would call your "end goal"). [23:02] seems like it will work only if the script runs thru terminal [23:02] Jordan_U: I already explained everything like few hours ago, sorry but I dont want to repeat myself again and again [23:02] gabrielc: understand what I mean [23:02] I only need to know how to start a terminal from .service [23:02] the rest is not relevant to know [23:04] Jordan_U: I am trying to display my hidden ip, all the script i run displays my real ip. Only if I run the scrip thru terminal would display the fake ip. Im using tor. Thats the explanation in a nutshel [23:04] F4RR3LL: The problem is that the direct answer to that is problably "you can't due to the way systemd services and X11 work" so I'm hoping that there is a better way to solve your original problem. [23:04] nutshell* [23:04] F4RR3LL. he wants to run a script every x seconds. and i tell him that can avoid cron and make a script with a endless while [23:05] I was suggested to run scripts using services instead of cron [23:05] which i am trying to do xD [23:05] So i want that terminal to be open and run the command :D [23:06] F4RR3LL. you can run a terminal at gui session login [23:06] gabrielc: I want it to be automate [23:06] which the purpose of using cron or service system [23:07] otherwise I would not bother and do it manually [23:07] but I want to automate it because I want to display the ip somewhere else after the command saves the value into a file === KindTwo is now known as KindOne [23:09] F4RR3LL: Does hthe following give you your real external ip address?: http_proxy= wget -qO- ifconfig.co [23:09] u want me to run the command in terminal? [23:10] yeah [23:10] F4RR3LL: Try it there first, yes. If it does what you want then see if it also works as you want from a systemd service. [23:10] it gives me the real ip [23:19] F4RR3LL: So your systemd service file might look something like this: http://paste.ubuntu.com/25243220/ but note that it doesn't do anything useful yet. Since you want to write to a file and maybe do other things, it's probably best to make a script that does everything that you want, then execute the script in ExecStart= . [23:20] if I can't open terminal thru services I will try to run bash script thru service and add start gnome terminal thru bash [23:24] F4RR3LL: If you try to start gnome-terminal from a script that has been executed as part of a systemd service it will fail to start because it will not be able to connect to the X server. [23:25] Jordan_U: I didnt understand. What do u mean? [23:26] he is not using a proxy but tor,.. [23:26] and should say that properly... [23:26] oerheks: i mentioned many times that i am using tor services [23:27] F4RR3LL: To be clear, do is what you're calling your "hidden" ip the ip address of the tor exit node that you happen to be using at the moment? [23:28] F4RR3LL, just to clear up "real ip", no worries [23:29] if I go to this website http://ipinfo.io/ip the ip thas is displayed 89.234.157.254 [23:29] which is correct because its a fake ip from tor service [23:30] but when I create a service that fetch the ip automatically or if I set a the command to fetch ip on cron, the result is that they display my real ip not the fake ip [23:30] F4RR3LL: OK. And that is the ip that you want this script to show as well? [23:30] Jordan_U: nothing else than the fake ip that are displayed in those "ip fetching" website [23:31] F4RR3LL: OK, the I apologise my previous answer I was answering how to get your "real" ip as I misunderstood your question. [23:31] manually when I run the command thru terminal, it fetches the fake public ip from tor nodes [23:31] but when I set it on autorun from the system, it fetches my real ip out of tor node [23:31] F4RR3LL: What is the output of "echo $http_proxy" from a gnome-terminal terminal? [23:32] so for if I do manually: curl -s http:ipinfo.io/ip in terminal, it fetches me the fake public ip [23:32] but if I set a script with the same command in cron or services it fetches my real ip [23:32] SO i am trying to understand why [23:32] if this is true, running that script as root gives your real ip too ? [23:33] Jordan_U: echo $http_proxy shows me blanl [23:33] blank* [23:33] oerheks: im on root [23:33] F4RR3LL: It's almost certainly because your environment (meaning the set of your environment variables) is different. We need to figure out in what crucial way it is different. [23:34] but I have not idea :D it seems that the command runs correctly in the terminal but out of the terminal environnment it gives the real ip [23:35] so thats why I want to open the terminal with the command from services to see if it will fetch the fake public ip or the real ip [23:35] F4RR3LL: with "set" you can view the environment variables [23:36] F4RR3LL: gabrielc: Warning though that bash_completion clutters the environment signifigantly. "bash -c set" should give you something a little more digestible. [23:37] ok [23:38] FARR3LL: run "bash -c set |less" and read the output [23:40] what are we looking exactly from bash -c set? [23:40] ALL_PROXY=socks://localhost:9050/ [23:41] Well, looks like F4RR3LL found it. Hopefully they come back :) [23:43] what are we looking exactly from bash -c set? [23:43] ALL_PROXY=socks://localhost:9050/ [23:43] i had to restart my router [23:48] F4RR3LL: My guess would be that setting ALL_PROXY in your script will make it run the same in cron/systemd services as it does from a user shell. [23:50] Jordan_U: then it should not give my real ip from cron/systemd. But unfortunately it does the opposite xD [23:51] F4RR3LL: Add the line "ALL_PROXY=socks://localhost:9050/" to the top of your script (as the second line, after the #!/bin/bash line). Then try executing your script in a user shell and via systemd service. [23:52] anyone have a URL of a good tutorial for headless ubuntu server to boot, connect to PIA (Private Internet Access) with OPENVPN and then run transmission-cli access via web page, i built one 2 years ago with a guide, also a fedora server one, now trying to go back to ubuntu server and cannot for sake of my find any guides close that work [23:52] im trying to piece several guides together right now and i cant get PIA to connect on boot even though i did the AUTOCONNECT= and the login.conf [23:53] Jordan_U: I will try, standby. [23:53] anyone? === jasunto_ is now known as jasunto [23:56] Jordan_U: was it ExecStart=/bin/bash ? [23:57] F4RR3LL: ExecStart=/path/to/your/script (And make sure that your script is executeable and starts with "#!/bin/bash" as the first line) [23:59] ExecStart=/bin/bash /tmp/ip.bash [23:59] would work/ [23:59] ? [23:59] F4RR3LL: Yes, it's just not the "proper" way to do it.