[00:00] TJ-, I first noticed it, because I was wondering why I'd get prompted for my pw twice [00:01] I got confused when light-locker wanted it's password (which it doesn't have) not mine! [00:01] When it gets silly now I Ctrl+Alt+F1, "pkill light-locker", Alt+F7 back to Desktop [00:01] I need some help :( I'm stuck in "emergency mode" I think it had something to do with my video drivers. I finally managed to get it into a tty mode with nomodeset, and I can startx successfully under maintainence mode [00:02] I was stuck without the ability to call up tty with ctrl+alt+f [00:02] just a black screen [00:02] even after apt-get remove --purge nvidia* from rw mounted recovery [00:03] trying systemctl default was no dice either. [00:03] just brings me right back to emergency mode. [00:03] Term1nal, which kind of nvidia device do you have? [00:03] jvelasquez: GTX 1070m [00:04] Term1nal, and which version of driver did you try? and which source was it, from distro, or from nvidia.com ? [00:04] graphics-drivers/ppa [00:04] Term1nal: best thing to begin with is to get the system booting to CLI only, but in multi-user mode. At the boot menu edit the entry and add to the kernel-command line (linux ...) "systemd.unit=multi-user.target" and press Ctrl+X to boot with that. [00:04] tried nvidia-current, tried nvidia-367 [00:05] tried reloading nouveau [00:05] Term1nal, did you blacklist nouvuo or whatever it is? [00:05] Term1nal: with full multi-user you've then got all the ttys and you can manually test starting the GUI with "sudo systemctl start lightdm.service" (or whatever DM you're using) [00:05] jvelasquez: at this point trying to get rid of nvidia since it seems to be problematic [00:05] I agree with TJ- [00:05] but I will try that TJ- [00:05] one moment [00:06] TJ-, doesn't he also need nomodeset in that kernel cmnd line? [00:06] the only thing that even got me this far was removing gfxmode=$linux-gfxmode or whatever the line was. [00:06] and adding nomodeset [00:06] and adding nouveau to modules [00:07] TJ-, would new video drivers get into his initramfs ? [00:08] TJ-: do I just append it to the same line within the quotes? [00:08] TJ-, he describes his problem as sounding early in boot [00:08] jvelasquez: Term1nal no, not loaded until rootfs is available [00:09] jvelasquez: "nomodeset" may help if you get a black screen when starting with the multi-user.target, yes [00:09] TJ-, so, if it's on the network, sshd running, he could ssh right into the machine? [00:09] jvelasquez: it'll use the standard VESA modes then [00:09] jvelasquez: indeed. [00:09] trying it now with the added parameter [00:09] Term1nal: don't need the quotes - I use those to show commands are separate from my commentary [00:09] Term1nal, if you have a second machine, turn on sshd as soon as you can too [00:10] I still have the line: gfxmode=$linux_gfx_mode [00:10] Term1nal, well get rid of it [00:12] jvelasquez: no dice. hits emergency mode once again [00:13] reached target system time synchronized is the last systemd output [00:14] there is one failure, which is the mounting of a storage filesystem on a secondary hard drive, non-critical to operation [00:14] TJ-, so, in single usr mode, if he disables X, then he'd have no issue reaching a degraded multi-user mode right? [00:15] "failed to mount /media/Storage.... " which gives dependency failed for Local File Systems [00:15] jvelasquez: it'd be a regular multi-user mode [00:15] Term1nal: that's not an issue, external media [00:15] Term1nal, try, systemd.debug-shell=true and then trying to get to tty9 after boot [00:16] Term1nal: emergency mode means something else is wrong. [00:16] I "appear" to be in a tty currently. [00:16] since it goes straight from grub to the sytsemd [ OK ] message scrolls [00:16] Term1nal: you can always add "init=/bin/bash" to the kernel command line and then you've got a shell in rootfs, where you can disable things without systemd running [00:17] yeah, I can ctrl+alt+f and get to other TTYs, but they're all just a cursor [00:17] chmod a-x `which Xorg` would work unless you run wayland [00:17] I appear to be on the first tty (ctrl+alt+f1) [00:17] I'll try the debug-shell thing [00:18] but it's a horrible way to do it. [00:18] do I still want to keep the multi-user.target in the parameters as well? [00:18] i think so. [00:19] you want to try, multi-user, and open a debug shell [00:19] but the debug shell doesn't always work. but init=/bin/bash will almost always work. but you won't have process control here, and so you'll have to be Very careful what you type. [00:20] debug shell did not appear to work. [00:20] still hit emergency mode. [00:21] ok. init=/bin/bash [00:21] but you won't have process control. [00:21] you'll want to think about what you want to do. which is why I had thought, chmod a-x `which Xorg` [00:21] jvelasquez: can't I just use the root shell from "maintainence" ? [00:21] I can do package management and so forth there [00:21] Term1nal, yep [00:22] okay, so I'm at the root shell [00:23] well, emergency mode root shell, I put in the root password to get it [00:23] if you've got systemd, you can just do "systemctl disable lightdm.service" to prevent the DM and GUI from starting [00:23] get a consensus here on a plan of action first [00:24] TJ-: strangely, I can actually startx from this shell and get an almost-working gui [00:24] just not seem to be able to launch apps [00:24] it seems most people run lightdm in ubuntu, so TJ's suggesting sounds best. [00:24] disable lightdm [00:25] ok, done [00:26] TJ, what about, systemctl set-default multi-user ? [00:27] Term1nal, that should be good, reboot [00:27] sorry, I'm in and out. Fixing an android phone [00:28] TJ, what about grub's gfxmode ? what's with that? [00:28] TJ, he didn't have a problem before installing this nvidia package, yet now grub's gfxmode is enough to disable the screen? [00:29] if you've got editing control now, then edit "/etc/default/grub" and uncomment the line "GRUB_TERMINAL=console" and then "update-grub" [00:29] that way the system will remain in a text-only console [00:29] get some stability back then you can focus on getting the correct drivers sorted [00:29] somehow, update-grub isn't changing things. [00:30] error? [00:30] no, just doesn't do anything. [00:30] Term1nal, i think that's good [00:30] Term1nal: have you "mount -o remount,rw /" ? [00:30] Term1nal, grub-install is the one that has output [00:30] when I boot and check the config (press e) it still shows a paramter that shouldn't be there anymore because I removed it from /etc/default/grub [00:30] ahh [00:30] update-grub should report the entries it adds to /boot/grub/grbu.cfg [00:31] I had added novdeau.modeset=0 [00:31] noveau* [00:31] but I remove it and update-grub, it persists [00:31] but I know for a fact I'm in rw [00:32] Term1nal: it's not in "/etc/default/grub" ? [00:32] TJ-: definitely not there. [00:33] Term1nal: is /boot/ on a separate file-system? is it mounted currently at /boot/ or are you generating the file into the rootfs, which will then have the real /boot/ FS mounted over it [00:33] which would mean the file you're updating neve gets seen by GRUB :) [00:33] Term1nal: "grep boot /et/fstab" ... anything? [00:33] Term1nal: "grep boot /etc/fstab" ... anything? [00:34] TJ-: if I run update-grub from "recovery mode" proper it works [00:34] but not when I hit "emergency mode" [00:35] Term1nal, also, i believe update-grub likes to keep old configs as backups [00:35] i imagine emergency mode might be a onionfs for rootfs or something [00:36] well, scrap that it didn't actually change it [00:36] still has that noveau thing I added in before [00:36] I checked /boot/grub/grub.cfg and it shows the entries as they should be. [00:37] Term1nal: do you have multiple distros installed on the PC? [00:38] Term1nal: I'm wondering if GRUB's root isn't the one you think it is [00:38] EFI or BIOS? === capella|away is now known as capellaGoesBOO [00:39] i swear, sometimes EFI has two different part for boot, /boot and /boot/foo [00:40] Term1nal, what about, update-grub -o /tmp/myGrub [00:40] does that work? [00:42] yeqah [00:43] do you know if you're using EFI or BIOS? [00:43] efi [00:44] can you confirm if /boot is mounted ? [00:44] yes it is. [00:44] rw ? [00:44] "grep boot /proc/mounts" [00:44] ahh! [00:44] always check /proc/mounts ! [00:45] not `mount` [00:45] I got it to stay this time [00:45] mount lies ~ [00:45] but I had to go in at boot and remove the gfxmode line again [00:45] so it wouldn't just show a black screen [00:45] mount used to consult /etc/mtab which could be stale; now it's usually a symlink to /proc/mounts so should be correct, but reading the kernel's list directly avoids any doubt [00:47] /proc/mounts shows /boot/efi [00:47] /dev/nvme0n1p1 [00:48] how do I find out what is "causing" it to hit emergency mode? [00:49] Term1nal: "journalctl -xb" may help [00:49] no idea. journalctl -xe ? tail -1000 /var/log/syslog ? [00:53] what should I look for? [00:55] unit apparmor.service has begun starting up. [00:56] followed immediately by something abut /var/log duplicate line for path [00:56] then reached target emergency mode [00:57] Term1nal: have you attempted booting with "systemd.unit=multi-user.target" and did it still hit the emergency.target ? [00:57] systemd-tmpfiles-setup.service has begun starting up, then next line is started emergency shell [00:58] TJ-: I have that systemd.unit=multi-user.target at the end of the line containing "linux..." [00:58] it's in the grub.cfg as well [01:00] Term1nal: OK, so it's something beforehand, for sure. [01:01] do you have a separate file-system for /tmp/ ? [01:01] The cause of the emergency may appear in messages earlier in the log - it is running several service start-ups in parallel [01:03] TJ-: no, /tmp is not a separate filesystem [01:03] the only error I have in red text is regarding that secondary storage drive. [01:04] local-fs.target: triggering onfailure dependencies [01:05] Term1nal: that must be it then; Systemd must have somehow generated a dependency for it [01:06] Term1nal: check in /var/run/systemd/generator/ see if you can see one there that matches the external media. Removing it might be enough [01:06] hmm [01:06] could be right. [01:07] so just get rid of the .mount entry for that storage drive? [01:08] there's an entry -.mount [01:09] I can't cat it or anything [01:10] cause it keeps trying to see the dash as a paramter [01:10] parameter* [01:10] in that situation do ./-.mount [01:10] (or a full path) [01:11] I guess it's the root .mount [01:11] because it says Where:/ [01:11] What:/dev/mapper/vgroup-lvroot [01:12] so I removed the symlink in local-fs.service.requires/ [01:12] to the storage drive [01:14] Anyone know much about apparmor ? my /etc/hosts file is a symlink to /etc/@/$(hostname)/etc/hosts, and so now I get tons of errors about apparmor. how can I get apparmor to follow the symlink? [01:18] jvelasquez: you can set additional permissions under /etc/apparmor.d/abstractions/ [01:19] hello ppl, I'm attempting to write a script/plugin for gimp that just scales selection by certain criteria .. can you please gimme output from followung command on hw displays ? returns thing like this: http://sprunge.us/GTGV ,, command is: [01:19] perl -e 'for $x ("-v", "--listmonitors", "-q") { print foreach("### xrandr $x\n", qx/xrandr $x/); }' | curl -F 'sprunge=<-' http://sprunge.us [01:19] thanks much!! === patche is now known as _sebbot [01:21] Anyone that uses preload..that sees it actually increases speed? [01:22] ntz curl: (6) Could not resolve host: sprunge.us [01:24] I was looking at the list of startup applications,and I was curious as to what 'has' to be there for ubuntu to startup well....what can i remove so startup is faster, any ideas? [01:24] ArMedic: in an age of SSDs high speed RAM I don't think it'll gain much in observable speed IMHO. Unless you are using a platter based disk for your Ubuntu installation I can't see it doing much [01:24] ntz, ohh. it was me@! [01:26] ntz, you need this? http://sprunge.us/CZDj [01:26] Actionparsnip, I don't have a SSD so I am guessing this one is platter based. [01:27] ArMedic: bum used to be able to enable / disable startup services and you can research what each is. I'm not sure if it works with systemd. Maybe there is something similar for systemd [01:27] jvelasquez: :D, thanks much!! ,, groovy [01:28] ArMedic: if you move your Web browser cache to tempfs it can make Web browsing a little faster. [01:29] Actionparsnip, This computer has 2.16GHZ cpu, and 8GB RAM...I just believe the reaction time for opening stuff should be faster than what it is. Trying to improve on speed. [01:31] Actionparsnip, Its a fresh install so that isn't the issue. [01:31] ArMedic:seems systemctl can be used to disable and enable startup services. See man pages. Your system isn't too bad. I've ran Ubuntu on way less. If you switch to XFCE or LXQT then you will get a snappier desktop [01:32] ArMedic:reducing vm.swappiness will keep applications in RAM. Set it to 2 and it should help [01:33] Actionparsnip, Thanks! [01:33] ArMedic:nw [01:38] please help me i think i'm going crazy: $ ls -al bin/ioncube_encoder55_8.3 >>> -rwxrwxrwx 1 moshe moshe 830784 Oct 1 00:05 bin/ioncube_encoder55_8.3 [01:38] $ bin/ioncube_encoder55_8.3 >>> zsh: no such file or directory: bin/ioncube_encoder55_8.3 [01:39] use a different shell maybe? [01:39] Myrth: is it on a mount that has noexec option? [01:39] # bin/ioncube_encoder55_8.3 >>> bash: bin/ioncube_encoder55_8.3: No such file or directory [01:39] TJ-: how do i check this [01:40] Myrth: the other possibility is that it's for another architecture. You can check arch with "file " [01:40] use stat [01:41] ioncube_encoder55_8.3: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.2.5, stripped [01:41] Myrth: well, you know where the file is, so work out which mount it is on and check the options for that mount with "cat /proc/mounts" [01:41] it was working today [01:41] Myrth: is the system 32-bit i386 install? [01:41] and just suddenly [01:41] i've tried that for both _64 and not [01:41] bhuh [01:41] you're right [01:41] i'm on 64 [01:41] shouldn't it be able to run 32 [01:42] you need to ensure the foreign arch is added and install multilibs [01:42] how do i do that? [01:42] Myrth: "sudo dpkg --add-architecture i386" [01:42] Myrth: then "sudo apt update" to get the 32-bit package lists fetched [01:43] Myrth: you will also likely need "sudo apt install multiarch-support" [01:44] is there anyway to install a .deb package using aptitude only? [01:45] thank you [01:45] ntz: xrandr: unrecognized option '--listmonitors' [01:45] TJ-: apparently i do have multiarch-support already installed [01:46] did --add-architecture and apt update [01:46] still runs only x64 [01:46] ntz: http://sprunge.us/KGLd you need this? [01:46] Myrth: OK, so you need the libraries for i386 that that program requires. Identify them with "ldd " [01:47] Myrth: you'll see some "not founds" or similar message there. For each, you have to discover which package contains that file and then install it (for the i386 arch)... [01:47] ok i guess will have to ask the publisher of the soft for those [01:48] Myrth: ... so for example lets say it is missing "/usr/lib/foorbar.so" - then first see if the equivalent 64-bit library is installed with "dpkg -S /usr/lib/foorbar.so" ... if you get a package name there you can install the i386 version with "apt install :i386" [01:48] Myrth: rinse and repeat for each missing lbirary. [01:48] thank you so much [01:49] Myrth: if you can't find a 64-bit package installed you either need to install "apt-file" or use http://packages.ubuntu.com/ and advanced search to find packages containing the file, and then do "sudo apt install :i386" [01:49] i guess i'm used too much to windows where both 32 and 64 work seamlessly [01:49] Myrth: they do on Linux if you install from the package archive because the packages declare their dependencies so everything required is installed automatically [01:50] Myrth: but you put something on the system manually, you're responsible for installing its dependencies too - whether that is 64 or 32 bit [01:51] Myrth, they don't make ioncube for 64bit ? [01:51] jvelasquez: they do, but not for all loader versions [01:52] old ones don't have _64 version [01:55] Myrth, Wow64 on windows you mean? [01:56] i don't really have a good understand about windows internals [01:56] *good understanding [01:56] I had thought it consumes a GB+ just for wow64 [01:56] me neither. too complicated. [01:56] and manual is incomplete [02:10] so I have to reboot after changing an apparmor profile huh? [02:18] jvelasquez: I'd have thought "systemctl restart apparmor.service" [02:18] ohh it's a service? [02:19] jvelasquez: although I wouldn't be surprised if it uses inotify to watch it's config directories to automatically detect changes. many services do [02:19] the part that loads the profiles into the kernel is, yes [02:19] same as iptables loading rules into kernel netfilters [02:19] iptables is a service now? [02:20] no, but iptables-restore is often run by firewall services at start-up to reapply the rules [02:21] the point being a userspace 'service' runs once to load profiles into the kernel. They don't need to continue to run unless they monitor their config directories for changes and reload them [02:22] I'm surprized inotify rules aren't part of systemd unit scripts [02:22] systemd uses inotify to watch for changes to its own configs [02:23] echo "inotify IN_CLOSE_WRITE /etc/apache2" >> apache.service [02:24] I'm gonna whine to the systemd guys about that right now [02:25] hi im having a problem with wired connection on a ubuntu machine [02:25] mattfly, me too. [02:25] ive installed wicd but wanst able to connect [02:25] does anyone know how to stop irssi from joining a channel at startup? [02:25] its not a startedup [02:25] its been some hours of googling and trying [02:25] mattfly: what release of ubuntu? [02:26] 14.04 [02:26] it used to work normally but then there was a lightning and i suspect the board can be damaged [02:26] mattfly: so that usually uses ifupdown's /etc/network/interfaces [02:26] but kinda weird since the router is ok [02:26] mattfly: ahhh... now you tell us :) [02:26] how can i know if there is still a board that works there? [02:27] there were other compters connected to the lan and they werent damaged [02:27] mattfly: have you used ethtool to check if the device looks good? also /var/log/kern.log for any reported errors from the driver. [02:27] not really [02:27] mattfly: when the cable is in ethtool should indicate if the link is active. kern.log should report it UP as should "ip link show" [02:27] wont dmesg show anything? [02:27] because it doesnt [02:28] mattfly: maybe try a different cable too [02:28] dmesg is where kern.log gets its messages from [02:28] yeah it is a looong cable [02:28] it exists because wifi didnt work on that distance [02:28] mattfly: the kernel should report the device being detected and initialised. You've got an 'eth0' node for it I assume? [02:29] mattfly: if there's an ethX node then the driver is fine [02:29] there is [02:29] i didnt get that error [02:30] mattfly: ok, so I'd goto "ethtool" and do some diagnostics, check it reports the link active and connected (at some speed) [02:30] and there is a eth0 interface after ifconfig [02:30] okay, how should i use ethtool? [02:30] mattfly: is the PC configured to use DHCP? [02:30] yeah it was [02:30] mattfly: and is it getting an IP at all? [02:30] but i also tried static [02:30] no [02:30] mattfly: OK, focus on the link status first then [02:30] and when i try dhclient [02:31] it starts sending those dhcp idk what now and never ends [02:31] or after i do ifup eth0 [02:31] mattfly: start with "ip link show eth0" ... it should say it's UP [02:32] mattfly: check the system does have ethtool with "which ethtool" ... obviously without net you can't easily install it :) [02:33] mattfly: if it's there do "sudo ethtool eth0" and look for the line "Speed: XXXXMb/s" if it isn't there then the link isn't established [02:34] mattfly: can try "mii-tool eth0" to show link status [02:34] okay [02:34] mattfly: however even when mii-tool indicates link ok, I've had situations where packet loss exceeded 80%, eg in the case of bad cables or fried adapters [02:35] ip link show eth0 says [02:35] mattfly: no-carrier means it thinks the cable is unplugged or broken [02:35] it is not plugged [02:35] i will plug and check [02:35] im back soon [02:35] mattfly: as a test, with a short patch cable, can you put a laptop or other PC next to this problem one and see if they can bring up the link between them? That'd help establish if it's a loooooong cable issue or something in the hardware. Test it each end with "sudo ip link set eth0 up" [02:37] mattfly: I have to go, hope you get it sorted === Piece_Maker is now known as Acou_Bass [02:47] have i missed something? [02:47] even tho i plug the cable it says "eth0: no link" [02:47] as output of mii-tool eth0 [02:47] mattfly: as a test, with a short patch cable, can you put a laptop or other PC next to this problem one and see if they can bring up the link between them? That'd help establish if it's a loooooong cable issue or something in the hardware. Test it each end with "sudo ip link set eth0 up" [02:47] but the cable works in another computer [02:47] okay [02:48] ill get a cable [02:50] mattfly: how long is "long"? ethernet is rated to go up to 100m if there's no joins or similar disturbances in the cable [02:51] mattfly: so if it works in another computer but that one says no carrier (rather than connecting but giving epic packet loss) then it's likely that the ethernet port is damaged [02:52] no [02:52] its like 50 m [02:52] and the same cable works on my laptop [02:52] i was talking at first over it [02:52] TJ-, it went right onto their todo list. master:TODO: - maybe add support for inotify events [02:53] mattfly: then likely the ethernet port is busted unfortunately [02:53] let me connect both computers [02:54] i just got a wire [02:54] okay both connected [02:54] what do i do [02:55] TJ-, the inotify rules for systemd services, that is. [02:55] TJ-, #systemd peeps like the idea. [02:55] mattfly: set them both up, check mii-tool [02:55] it still shows no link [02:55] serious man :/ [02:55] this lightning? [02:56] a longe wire over the roof [02:56] mattfly: seems that way [02:56] yeah [02:58] hey [02:58] !!! [02:58] on my other computer [02:58] when im connected with this one mii-tool returns: enp7s0: no autonegotiation, 10baseT-HD, link ok [02:58] if i unplug from it it says no link [02:58] this from the other computer [02:58] suspecious [03:00] 10baseT seems rather suspicious on its own [03:00] that's rather old technology [03:00] yes it is old [03:00] old as fuck [03:01] coax-cable kind of old? [03:01] coax cable? [03:01] im using normal lan cables [03:01] ah, sorry [03:01] I'm mixing it up with 10base2 or 10base5 [03:02] mattfly: sounds like your ethernet adapter is indeed toast - the other end can detect that a cable is there but the other end won't talk to it [03:02] aw [03:02] shit [03:02] they could just be failing at autonegotiation [03:03] but the computer that doesnt work says eth0: no link still [03:04] try forcing the same on both sides [03:04] forcing the same what? [03:04] you might also need an actual crossover cable if it's going from computer to computer and you have old hardware [03:05] same ethernet mode [03:05] i am tryign to connect this old on to lan [03:06] ok [03:06] im testing to see if the lan board is toasted or not [03:06] actually it is a laptop [03:06] both are [03:06] so you are connecting two computers together directly or via a switch/hub? [03:07] directly [03:07] just to see if it would work [03:07] hardware would have to be ancient to not have autoneg right? my computers had that in 2005 [03:07] this old laptop is about that age [03:08] mattfly: modern ethernet cards do crossover automatically, ancient ones didn't [03:08] so a direct computer-to-computer connection would require a crossover cable [03:08] the plan is not crossover is just to make sure if the board is gone or not [03:08] is there a way to make screen have the bottom bar in byobu? [03:09] autonegotiation (which you're relying on) relies on the cabling being correct [03:09] so no link if cabling is wrong [03:09] aw jesus, ok [03:09] plug it into a hub or switch [03:09] so what else should i check for? [03:09] if light comes on, all good [03:09] no light, all bad [03:09] i dont have a hub right now [03:10] or home router [03:10] i have a lan cable that comes from the home router that is a bit far away right now [03:10] ok [03:10] this cable works on my laptop, but not on the old one [03:11] i can see the eth0 interface on the old one as output of ifconfig and others like miitool and ip link show eth0 [03:11] but i i plug the cable it remains as no link [03:11] what's at the other ends when you do those tests? [03:12] a home router [03:12] that should be fine [03:12] but i has no lights [03:12] it * [03:17] okay its time to swuitch to a rhaspberry [03:26] hey [03:26] thanks for all good night === r0Oter is now known as r00ter [03:29] guys when i do sudo snap install wavebox wavebox install and i can run it in terminal, but cant have in in the menus gnome apps etc [03:29] any idea?? [03:34] ok snaps dont appear in gnome apps only in wayland moved back to xorg and all works ok [03:42] Had anyone installed nvidia drivers on skylake machines running ubuntu 16.04? [03:42] or is updating to 17.04 easier? [03:54] xuanrui: are you on 16.04 currently? [03:54] glitsj16: yes [03:55] When trying to install ubuntu alongside windows with an ssd, how can I set the size the partition on said ssd and put user files on a second unallocated harddrive? [03:55] xuanrui: what does your system advise? sudo ubuntu-drivers devices [03:56] == cpu-microcode.py == [03:56] driver : intel-microcode - distro non-free [03:56] == /sys/devices/pci0000:00/0000:00:01.1/0000:02:00.0 == [03:56] modalias : pci:v000010DEd0000139Bsv00001028sd00000706bc03sc02i00 [03:56] vendor : NVIDIA Corporation [03:56] model : GM107M [GeForce GTX 960M] [03:56] xuanrui: ouch, use a pastebin to avoid the floodbot [03:57] here: http://paste.ubuntu.com/25671130/ [03:58] xuanrui: so it tagged the 384 driver as recommended, just install that via apt [03:58] I've tried that; it doesn't work [03:58] aka black screen [03:59] xuanrui: you could try a PPA like https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa to get the latest drivers [04:00] Yep, obviously I was using this PPA [04:00] and it still doesn't work [04:03] xuanrui: odd, that PPA has 387.12-0ubuntu0~gpu16.04.1 as latest, did you sudo update && sudo upgrade recently? [04:03] Yep I did [04:05] there's a kernel param you could try, add "rcutree.rcu_idle_gp_delay=1" [04:05] to which file? [04:06] xuanrui: to the boot options in GRUB menu to test, to /etc/default/grub to make that permanent.. try it first maybe [04:07] press "e" on the selected menu and append it on the line starting with linux [04:07] Sure [04:07] I'll try this [04:08] xuanrui: if you edit /etc/default/grub, you need the usual "sudo update-grub" to regenerate grub.cfg [04:17] What's the best way to partition linux alongside windows with an sdd and dedicated linux harddrive? [04:19] Hey all [04:20] Bitters: hello [04:32] why does osdisc charge $14.95 for a 16gb usb flash drive? [04:33] it costs $14.95 to purchase a preloaded 16gb flash drive [04:33] Should I go with Ubuntu Mate or Kali Arm for a project im working on. Its basically a Wifi Pineapple on a Pi3 === promet__ is now known as promet === rkta_ is now known as rkta [04:52] glitsj16 nope, didn't quite work out [04:59] Heyo! [04:59] where I can post a solution for an specific problem that worked for me? [04:59] can I* [05:01] xuanrui: are you using the hwe stack on 16.04? Might need a newer kernel + nomodeset [05:02] Bajorn: normally you would file a bug report for the package that was broken, and then upload a suggested solution there. Which package did your solution involve? [05:02] I don't know if it had something about a package [05:02] glistsj16 I have 4.10.0-35-generic kernel version [05:02] it was abour some ACPI problems [05:02] I thought this should be new enough [05:03] Bajorn: the acpi code is in the linux package [05:03] Nice, I'll check it out [05:04] I had this problem with my laptop that when I was giving the shutdown order (by GUI or terminal) it just restarted [05:04] xuanrui: it should yes.. only thing i can suggest is trying the 'nomodeset' kernel param (if you didn't try that already) [05:05] and sadly by turning ACPI off in the grub options it brought down wifi and usb [05:06] Bajorn: to file a bug report for acpi, and your workaround, type `ubuntu-bug linux` in a terminal [05:06] Bajorn: you'll end up with something like this: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1349740 [05:06] Launchpad bug 1349740 in linux (Ubuntu) "acpi PNP0A08:00: _OSC failed (AE_ERROR); disabling ASPM" [Medium,Confirmed] [05:09] Thanks, I'm on it [05:21] glitsj I think I've tried it before, gonna try it again [05:22] if it still doesn't work I'll just update to 17.04, which is supposed to support skylake better [05:28] Anyway folks, if you're having the trouble of turning off your laptop and getting a restart instead [05:28] try GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi=Linux" on /ect/default/grub [05:28] worked for me :) [05:28] 'Laterrrrrr [05:54] xuanrui: think best support would be choosing an LTS version to start with [05:56] loutuspsychje 16.04LTS proved to be a non solution [05:57] I guess I can wait for 18.04, but that's still a long wait [06:01] In Ubuntu MATE, I'm trying to `apt purge --auto-remove ibus`. That also removes unity-control-center. So apt then wants to install gnome-control-center to satisfy some dependency. Nevertheless, MATE has mate-control-center, so none of those are actually needed; they're a dependency of some other package that depends on ibus. [06:01] I want to find and remove that other package too, without manually searching for it. In this case, aptitude would suggest 2-3 solutions, and one of them would be to remove that other package. [06:01] So my question is, how can I do what aptitude would do, using apt... === nocaberi is now known as Bock [06:05] Like some "apt purge --auto-remove --DONT-INSTALL-ANY-OTHER-PACKAGES ibus" [06:07] xuanrui: how about 16.04.3 with kernels play? [06:07] !pinning | alkisg is what you need? [06:07] alkisg is what you need?: pinning is an advanced feature that APT can use to prefer particular packages over others. See https://help.ubuntu.com/community/PinningHowto [06:08] lotuspsychje Yes, that's what I have [06:08] lotuspsychje: no, not holding a specific package, but removing a package without installing more, just to satisfy dependencies [06:08] and that doesn't work at all [06:17] lotuspsychje: using aptitude, I arrived at this command: aptitude purge ibus indicator-bluetooth unity-control-center gnome-bluetooth indicator-datetime indicator-session unity-greeter unity-settings-daemon [06:17] Those additional packages were pulled by some package, and recommended ibus etc, but weren't really part of a standard mate installation. I still don't know how to do that with apt... [06:21] I think the deal was ubuntu-mate-desktop recommends libaccount-plugin-1.0-0 which recommends unity-control-center-signon which pulled all the other stuff [06:22] Yet, in the official ubuntu mate CDs, unity-control-center-signon isn't installed (something with the seeds, apparently) [06:28] hi [06:29] if i write a tcp server which listen on 0.0.0.0:myport [06:29] and wvdial creates ppp0 interface after tcp server already started [06:29] will it listening on ppp0 interface too? [06:29] Yes [06:30] AggregatedExpcet: from my experience, if you bind to :: (for IPv6 compatibility) or 0.0.0.0 (if you only want to support legacy IP), then yes. [06:36] Hi all, I have identified a desktop PC(Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz Lenovo M710) with TSX enabled. I have instaleld ubuntu 14.04 in this PC. When I checked the TSX support from Ubuntu from "/proc/cpuinfo" with "rts" flag but it is not shown. Means my ubuntu is not detecting and showing the TSX. ANy suggestions? [06:40] SwedeMike: thanks === jackNemrod_ is now known as jackNemrod [06:50] elricsfate: definitely [06:50] elricsfate: it has to be FOSS [07:23] i was experimenting with traffic obfurscation and changing parameters in iptables and now my teamviewer can't connect to network [07:23] sometimes if i restart machine it works [07:23] but i really need to debug the issue, any ideas where to look at? i know they have their own logs but they too cryptic to my eyes [07:23] also maybe a dns issue, there is a dnscrypt running probably misconfigured [07:23] need to solve both of htis joints really === jackNemrod_ is now known as jackNemrod [09:21] how can i install specific version of package (need elixir 1.2.6, but it installed 1.5.2, here's apt-cache policy output: https://dpaste.de/XFgZ ) [09:29] apt install elixir=1.2.6-1 [09:30] the next apt upgrade will install 1.5.2 again though [09:33] hi, I have two M2 SSDs that I want to install Ubuntu on, such that it has a single encrypted root filesystem spanning multiple disks, is this possible? [10:30] Hey guys, having issues logging into a remote 14.04 system from certain hosts [10:30] some can login fine, others try, fail and the following is logged in /var/log/auth.log on the system we're trying to login to: [10:30] sshd[10875]: fatal: no matching mac found: client hmac-sha1,hmac-sha1-96,hmac-md5 server hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512,hmac-sha2-256,hmac-ripemd160 [preauth] [10:31] well it says the problem there [10:32] rather cryptically [10:32] openssh is up to date omn the server, so whats the problem? [10:32] Im trying to convert this physical server to a vm using vmware converter [10:32] vmware converter being one of the things unable to connect [10:32] putty from the same machine connects just fine [10:33] the client is too old and bad [10:33] look at what the client supports, sha1, sha1-96, and md5 [10:34] i have no idea what vmware converter supports, its the latest version of it (6.1.1) [10:36] TandyUK: might want to ask in #vmware then, if someone knows any tips for using the converter === jackNemrod_ is now known as jackNemrod [11:01] so i finally figured out the remote desktop problem === Yzoni_ is now known as Yzoni [11:19] hello [11:19] i need some help [11:19] my chrome isnt working [11:20] it tells me it doesnt have a internet connection [11:20] wook: so what was the problem and what is the solution? [11:21] when in fact i have a internet connection as you can see [11:34] stefycute: does firefox work [11:35] nope [11:35] just tor [11:35] couldn't get remote desktop to work with xubuntu 16.04, solved it simply by installing vanilla ubuntu 16.04 and downloading the xubuntu desktop environment [11:39] stefycute: sounds like the default route is not configured correctly [11:41] Hiyas all [11:41] but now i'm having the problem that when i switch to the xfce environment desktop sharing no longer works [11:42] how do i configure it correctly [11:47] stefycute: It depends on how you've got TOR configured. I would have expected that to be the default route in which case everything would 'just work'. It may be the default route has been removed (to prevent anything going out that isn't on TOR) but that you need to configure the applications to use a local TOR proxy [11:49] O.o it can do that? [11:49] eh? [11:49] stefycute: depends on what you've installed and how you've got it configured [11:49] i have no idea [11:50] so i need to configure tor? [11:50] stefycute: sounds like TOR is working but you have to configure applications to use it as a proxy, but you'd need to read the docs on the TOR install you've got [11:53] does deleting it and reinstalling it works? [11:53] hello, I'm using pulseaudio, how do I get volume applet for openbox ? [11:53] I installed indicator-sound-gtk2 can't run it [11:57] where can i list snap images? [12:05] I'm having trouble getting out of mysqld_safe and back to normal mysql [12:05] ps aux doesn't list it, but it seems to be running using mysqld_safe [12:10] har har === MikeSeth is now known as ebinscommando [12:12] Hey all, is there a way already to get 16.04 AppArmor profiles to work with Kernel 4.14 as found in Ubuntu mainline ppa? I see lot of deny for dhcpd, cupsd and network-manager with 4.14 [12:13] longsleep: aa-logprof maybe? [12:14] how to start pnmixer [12:14] ? [12:14] ebinscommando: mhm maybe but i was rather looking for a packaged way - would be a shame if 16.04 cannot proberly be used with Kernel 4.14 [12:15] How do I get out of mysqld_safe safe mode? [12:15] longsleep: afraid I dont know much about apparmor, it's more of an annoyance than a proper security model from where I stand [12:16] skinux: don't start mysqld_safe? [12:16] I did that so I could reset root password [12:16] Will just restarting my system work?? [12:16] Or did it modify configuration so it's always in safe mode?? [12:17] kill mysqld_safe and start normal mysqld [12:17] I've killed it 5 times, still shows in ps aux [12:17] skinux: systemd restarting it or something [12:18] Well, starting mysqld_safe didn't set mysql config to always start safe mode, did it? [12:18] as far as I know there's no such option in config to begin with [12:18] Okay. I'll restart my system then. [12:18] Thank you [12:19] I just realized that mysqld_safe isn't "safe mode" [12:22] so there is no volume control applet for openbox ubuntu [12:22] I'm using tint2 panel [12:24] longsleep: aren-t apparmor profiles per-app? [12:24] RonaldsMazitis, you can try gnome-sound-applet (from gnome-control-senter if installed) [12:24] ebinscommando: there are profiles for specific apps yes [12:24] longsleep: and those are shipped with the apps, not with the kernel right? [12:24] ioria it can't find it [12:25] gnome-control-center is installed [12:25] RonaldsMazitis, what ? the command or the package ? [12:25] ebinscommando: not with the kernel yes - aa profiles are seperate from the kernel [12:25] command [12:25] RonaldsMazitis, ls /usr/bin/gnome-sound-applet [12:25] longsleep: in that case why would kernel upgrade break apparmor [12:26] longsleep: /proc or /sys or /dev changes I can understand, but anything else? [12:26] ls: cannot access '/usr/bin/gnome-sound-applet': No such file or directory [12:26] ebinscommando: because newer kernel has newer aa with newer features - in 4.14 aa has gotten new stuff which seems to be not yet supported/handled in the existing profiles [12:27] probably/maybe 17.10 profiles have it - in any case i am wondering if/how a backport of those profiles to 16.04 is feasible/existing [12:27] longsleep: hrm, then I suppose you're left with looking for updated profiles in upstream source [12:28] ebinscommando: sure i could do that - but the average dude cannot - also its a pita to maintain [12:29] RonaldsMazitis, gnome-control-center sound [12:29] no sound there [12:30] it seems like it is gone since 16.04 [12:30] RonaldsMazitis, try gnome-alsamixer [12:31] ok [12:31] thats not an applet [12:32] RonaldsMazitis, call it from tint [12:32] like launcher? [12:33] RonaldsMazitis, yep, launcher_item_app = .... [12:33] louncher [12:33] that will give me applet? [12:33] RonaldsMazitis, should give you the controls [12:34] I have pavucontrol for tha [12:34] t [12:34] I need fast applet [12:34] I installed pnmixer, doesn't start at all [12:35] RonaldsMazitis, install gnome-alsamixer and set : launcher_item_app = /usr/share/applications/gnome-alsamixer.desktop [12:35] did it [12:35] it's another window [12:35] not an applet [12:35] every time I need to switch sound level I need to open window [12:35] it's not practical [12:37] Hi - I'm running ubuntu 16.04.3 and I can't use the shutdown menu option - it just reboots - I've googled and updated the boot line in grub and added a line to the modules for apm but it still won't shutdown - any ideas? [12:37] this was a fresh install [12:37] RonaldsMazitis, seen this : https://unix.stackexchange.com/questions/356413/volume-icon-for-pulseaudio-on-tint2-nothing-works [12:40] Restarting didn't work, mysqld_safe starts with the machine now. === SimonNL is now known as SimonNL_Afk [12:46] hello. I have nameserver in my resolv.conf. it's reachable and it responds to queries, however ANY name resolution in ubuntu ends with "unknown host". What's wrong? [12:48] RonaldsMazitis, if no joy with tint , you can use lxpanel -> add item -> menu -> add -> volume control [12:57] So, has anyone fashioned a bash script to grab a semi-current list of port scanning IP's and other nefarious ne'erdowells, and apply them to the drop connections in iptables? [12:58] I ask because my server is getting scanned nearly constantly from these curmudgens, and it it driving me up a stinking wwwall. [12:58] s/it/is/1]/ [13:00] brokencodes: so don't log them. You'll just fill up the nftables with one-shot IP addresses of which there are several billion. if there are no services listening on those ports it won't hurt. If there are, either protect them by requiring a VPN, or enforce TLS on them. [13:00] Well, I didnt mean to chase off all the help... dang. [13:00] I have a service on port 8888.... [13:01] I need to aonly allow connection by 3 cellular providers, on this particular box... [13:01] any idea, why plain resolv.conf is not working? [13:01] could I drop all connections to 8888 that don't originate from within this tight knit list of IP's? [13:02] sysx1000 pastebin your resolv.conf if you can. [13:02] nameserver 10.0.0.252 [13:02] brokencodes: yes, if you can get a list of their IP blocks. You can probably get that via BGP using something like looking-glass [13:02] is it in /etc/ [13:02] yes [13:03] did you try restarting networking after setting resolve.conf? [13:03] host -t a google.com 10.0.0.252 works just fine [13:03] brokencodes: I use plain resolv.conf without resolvconf package [13:03] sysx1000: are you changing it when NetworkManager is managing the DHCP/DNS settings [13:03] not what I asked, but ok... [13:03] no network manager [13:03] sysx1000, pastrbin your /etc/resolve.conf [13:04] sysx1000: so just libc ? [13:04] service networking restart [13:04] it doesn't help [13:04] sysx1000: so what've you got nsswitch configured to do? [13:04] hosts: filed [13:04] oops [13:05] hosts: files dns [13:05] show me results for: nmcli device show | grep IP4.DNS [13:05] i have no nmcli [13:06] how about nm-tool? [13:06] is it related to networkmanager? [13:06] no NM , no nmcli [13:06] I have no NM [13:06] try changing resolv.conf to the following... [13:06] yes, hence no nmcli [13:07] dns-nameservers 10.0.0.252 [13:07] brokencodes: that isn't the correct syntax! [13:07] brokencodes: please don't suggest incorrect settings [13:07] i tried nameserver 8.8.8.8, and dns of my provider - no result [13:08] sysx1000, which dns nameservers are you using in resolv.conf ? [13:08] nameserver 10.0.0.252 [13:08] I'm sorry, I got 3 things going on in my head... [13:08] it's my local net dnscache [13:08] sysx1000: so it looks like an issue with either nsswitch, or the libc resolver. As you've not even got resolvconf package installed I'm wondering if you've reduced the system such that you've inadvertently broken something [13:08] add the line I have typed above to interfaces file [13:09] TJ-: it _must_ work with plain resolf.conf and vanilla nsswitch.conf [13:09] too many network cooks here... [13:09] sysx1000: you could try adding "options debug" to /etc/resolv.conf and see if there's anything in syslog (assumes libc was built with the debug support though - not sure if it is) [13:09] I do not understand,what could be broken there - it's a server ubuntu, it does not require any networkmanager stuff [13:09] OK, I will try [13:10] sysx1000: see "man 5 resolv.conf" for more hints that may help you [13:10] sysx1000: is IPv6 enabled? [13:10] no [13:10] disabled [13:10] sysx1000: and which ubuntu release is it? [13:10] 16.04 [13:10] custom kernel or vanilla? [13:10] vanilla [13:11] sysx1000: hmmm, interesting situation then. Any special local firewall rules added? [13:11] nope :) [13:11] hi [13:11] sysx1000: anything extra like SELinux ? [13:11] omg, no :-) [13:11] sysx1000: have you checked /var/log/auth.log and /var/log/syslog for clues? [13:11] sysx1000: i'm wondering if somehow an apparmor profile might be responsible, or else systemd (!) [13:12] apparmor [13:12] hmm [13:12] it might be a clue [13:12] can I see /etc/network/interfaces ??? [13:12] sysx1000: apparmor is the default Ubuntu so shouldn't be an issue unless you've changed profiles [13:12] I haven't [13:13] I've a ite 9135 dvb chip (with remote control), it uses dvb-afatech9035 driver, and i've typed sudo ir-keytable; ir-keytable and evtest perform successfully keypresses on the remote control. Unfortunately, enabled protocol field is empty and if I try to configure shortcuts in kaffeine, many keys don't work [13:13] well, auth log only contains 'Could not detect cgroupfs hierarchy.' [13:13] I've tried to modprobe some nec modules, because the remote control supports the nec protocol, but I don't know how to solve the issue [13:13] sysx1000: have you tried running "sudo tcpdump -ni 'udp and port 53' " whilst expecting the libc resolver to work? See if it sends out network requests? [13:14] sysx1000: is it on hardware, a VM, or a container? [13:14] TJ-: just have tried [13:15] no packets even were fired [13:15] any ideas? [13:15] open another terminal and fire off a dig command [13:15] sysx1000: at least the limits to the localhost then [13:16] sysx1000: if it's a container or VM it could be constrained by the host policy [13:16] well, I have lxc on this host [13:16] sysx1000: it would help if we knew if HW, VM or container [13:17] sysx1000: but it's the hardware host that is suffering, not a guest? [13:17] but it is bare metal hardware, not emulated [13:17] yes, host is suffering, correct [13:17] sysx1000: and this survives the host being rebooted? [13:17] totally :) [13:17] can you share your interfaces file [13:18] sysx1000: has it always happened? if not, when did you notice it started? what changes or updates were applied just prior? [13:18] Well, after today's update [13:19] sysx1000: ahhh... check /var/log/apt/history.log and term.log for clues [13:19] brokencodes: auto enp2s0 / iface enp2s0 inet dhcp - enp2s0 has dedicated IP in server's dhcp by MAC [13:20] does ifconfig still show the enp's or has it changed them to ethX [13:20] sysx1000: consider the upgraded packages, and if suspect read their changelog from /usr/share/doc//changelog.gz [13:20] enp2s0 [13:20] brokencodes: the interface is up and non-libc name lookups work [13:21] TJ-: correct [13:21] that's just bizzare [13:21] sysx1000: you may have picked up on a regression here, so it's important to try to find out which package upgrade could cause this. Has the sytem been rebooted since the upgrade (could be needed when libc packages are upgraded) ? [13:23] he already stated it survives a reboot [13:23] sysx1000: Arghh! I see libnss3 was upgraded [13:23] hmm [13:23] OK [13:23] sysx1000: actually, here I see it as available, I haven't installed it. Have you [13:23] yes, I see [13:23] sysx1000: "apt-cache policy libnss3" [13:24] Is there a way to install a package [lxd] from backports and have it get the necessary dependencies, without editing apt prefs to give backports or individual packages a higher prio? Like a one time option to apt-get? [13:24] DomingoMontoya: packages in backports should depend on the exact version they require [13:25] backports dependencies are ranged. [13:25] exactly [13:25] TJ-: Yeah, and they do. But if I want to install one package from backports, I want it to pull the proper depends from backports. [13:25] Without giving backports a high prio, or adding a bunch of prio prefs to apt for each dependency. [13:26] depends: libblahblah:>1.45<1.67 [13:26] DomingoMontoya: that should pull the dependencies from backports if that's where they are [13:28] i'm gonna build packages bro [13:29] TJ-: It doesn't though, because backports on server is a low prio. If I check with apt-policy, I can see the proper version it depends on available in backports, but it won't get automatically. [13:30] can't install anything in ubuntu http://sprunge.us/VFbc [13:30] everything says AttributeError: 'module' object has no attribute 'compose' [13:32] I'm giving the option to specify the version from backports on the command line: apt install lxd=2.18-0ubuntu3~16.04.2 [13:32] https://pastebin.com/AkhRCLjy [13:33] omg apt sucks so much http://sprunge.us/TeJj [13:33] DomingoMontoya: have you tried "apt-get --with-new-pkgs install ..." [13:33] this shits break so easily [13:34] killown: watch the language please [13:34] killown: did you change the default python version on the system? [13:34] a simple "Here's the error I get. Can someone help me troubleshoot this?" would have been adequate [13:35] killown: the problem is in the package python-pip, and specifically its post-inst script [13:37] TJ-: not understood in combination with options I've given. hrm. Well, thanks, I have to run on a call right now. I'll come back to this later. [13:38] DomingoMontoya: needs apt-get, not apt [13:39] TJ- how do I fix it? [13:39] hi guys, what would cause clients to not be able to connect to my website once in a while? I am checking the apache access log in real time and I'm still getting a lot of requests but I don't think some of them actually connects (they time out), we have >50g free ram, > 60 g hdd, the database is on the same server (mysql) and the website uses php, apache2 and is sloppy. The thing is that it was running [13:39] smoothly for a while, no changes have been made to the code but now once in a while clients calls and complains that their request timed out we call the dedeciated server company and they said their network is fine, the hardware for our server is fine and our dev ops team cannot find the solution (we outsource all our devops to a local team) but I don't think they are working that hard because this has been [13:39] happening on and off for a week and we're losing a lot of money if you guys have any suggestions as to what it could be, what logs to check, etc that would be good I'm a programmer, not a dev ops I donT know all that much, just the basics. [13:39] Server is Ubuntu 14.04.5 LTS on cogeco peer1, apache2 is 2.4.7 [13:40] if i share a drive with samba and want to mount it in fstab am i required to run CIFS? [13:40] maslo: are there any hardware load-balancers in front of your server, or a CDN? [13:41] TJ-, where is the post-script location? [13:41] TJ-: [13:41] the problem was [13:42] that after reboot resolv.conf became readable only by root [13:42] :\ [13:42] killown: the problemis actually caused by some python change affecting the functools [13:42] no there is not Tj- [13:42] i.e. it has perms 0600, WEIRD! [13:42] sysx1000: that is very weird! [13:42] sysx1000: is that happening repeatedly? [13:43] after each reboot [13:43] TJ-, yes, pip isn't working anymore and the script is using it [13:43] I suppose, some dhcpc scripts might do that [13:44] TJ-, http://sprunge.us/Ffag [13:46] How do I make mysql stop starting as safemode? And how do I shut down safemode? I'm been trying with no success. [13:48] This is fucked. ps aux shows the processes, but kill tells me it can't find the processes. [13:48] pbuilder-dist trusty create fails W: Failure trying to run: chroot /var/cache/pbuilder/build/23/. mount -t proc proc /proc [13:49] See /var/cache/pbuilder/build/23/./debootstrap/debootstrap.log but it removes that directory [13:49] skinux: please watch the language [13:50] Sorry [13:50] skinux, is there pid? [13:50] maslo: OK, because there is a known issue with load-balancers and apache with TCP_DEFER_ACCEPT [13:50] It appears so [13:50] maslo: I investigated it about 10 years ago and it can still affect some installations. See bug #134274 [13:50] bug 134274 in apache2 (Ubuntu) "TCP_DEFER_ACCEPT causes random HTTP connection failures in load-balanced web-server farms" [Low,New] https://launchpad.net/bugs/134274 [13:51] I believe there are PIDs in this https://gist.github.com/skinuxgeek/198bfea8dc1395cdd0915af9ae1e8b54 [13:55] hey all [13:56] how do you build ubuntu packages for your software? [13:56] http://packaging.ubuntu.com/html/getting-set-up.html i was following this but pbuilder-dist create fails [13:56] hi [13:57] sudo add-apt-repository ppa:ondrej/apache2 [13:57] works for you? [13:58] web_dev: what do you need that ppa for? [13:58] leftyfb, apache 2.4 [13:59] gpg: requesting key xxxxxxxx from hkp server keyserver.ubuntu.com [13:59] web_dev: apache 2.4 is available in all supported versions of ubuntu [13:59] keyserver timed out [13:59] web_dev: what version of ubuntu are you running? [13:59] leftyfb, yes, but i'm on 12.04 [13:59] and PLEASE [14:00] don't suggest me to upgrade [14:00] because I CAN'T [14:00] web_dev: that PPA doesn't have packages for 12.04 [14:00] since it's not supported anymore [14:00] so there is no other workaround? [14:01] compile or upgrade [14:01] web_dev: why can't you upgrade? [14:01] because it's an old unsupported server [14:02] web_dev: as in, you've tried installing 16.04 and it failed and were told by someone from here or Canonical that installing 16.04 or later will not work on that hardwarE? [14:02] yes i tried [14:02] does not boot [14:02] nothing has been updated on the server in 2 weeks TJ- and the issues started happening mid last week [14:03] web_dev: does not boot what? What error did you get? Did you come here looking for help with it? [14:03] leftyfb seems that 12.04.5 installs apache 2.4 [14:03] it's right? [14:03] leftyfb, no errors, black screen, i think it's a bootloader problem [14:04] web_dev: ok, how about we try to troubleshoot that instead of working on an unsupported platform? [14:04] maslo: and connections are arriving at the server, but not being replied to? [14:04] maslo: confirmed by tcpdump/pcap ? [14:04] leftyfb, i think i didn't asked you anything about my unsupported device [14:05] web_dev: 12.04 is the unsupported platform [14:05] http://debocker.debian.net/ is this good? [14:05] is possible to update 12.04 to 12.04.5 ? [14:05] if yes, how? [14:06] maslo: you may have apache or its underlings leak memory or run out of sockets, examine apache logs carefully [14:06] web_dev, no, 12.04 is dead, EOL [14:06] web_dev: I would be happy to help you troubleshoot getting 16.04 installed. [14:06] leftyfb: 12.04 is under extended support until April 2019 [14:06] leftyfb, i would be happy to make it working on my device [14:07] TJ-, only if you pay for that [14:07] web_dev: could I suggest you install a minimal 14.04 chroot on the system, and run it's apache2.4 [14:07] oerheks: the security updates still come through [14:07] is possible to dist upgrade without changing the kernel? [14:08] TJ-, with subscription only, i guess. [14:08] oerheks: I don't have a subscription but I have 12.04 servers getting upgrades [14:09] i don't believe that :-( [14:09] web_dev: https://www.ubuntu.com/support/esm [14:09] oerheks: well it's a fact === Yzoni_ is now known as Yzoni [14:10] either way, I feel it would be just as much work to get 16.04 installed onto it at this point [14:11] oerheks: see: http://paste.ubuntu.com/25673522/ [14:12] TJ-, without esm? [14:12] web_dev: a chroot 14.04 install is quick to do and you know you're using Ubuntu packages. Then you just need to customise the /etc/initd./apache2 script by moving it from the chroot to the host, and adding the appropriate chroot ... prefixes to commands that need to operate inside the chroot [14:12] oerheks: indeed [14:13] maslo: a good test would be to perform the same web request locally while mapping the domain in question to 127.0.0.1 in /etc/hosts [14:13] if it responds your problem is outside the box [14:13] also, this is a question for #httpd not here [14:14] TJ-: https://serverfault.com/questions/677697/ubuntu-12-04-5-is-installing-apache-2-4-not-2-2 [14:17] web_dev: that makes sense if the server has HWE enabled [14:18] maybe i can download apache 2.4 and compile [14:20] there are ppas for 2.4 [14:21] and im quite sure it is in 16.x [14:22] web_dev: you'd need to deal with a myriad of dependency builds too; as I've said twice now the quickest is to do a chroot install of a minimal 14.04 [14:25] TJ-, upgrading to 14.04, the kernel will be updated? [14:25] web_dev: yes, if the system isn't running the 12.04.5 HWE kernel already [14:26] web_dev, why does a kernel update bother you? [14:30] Why does MySQL installation NOT ask for a root password? IT renders me unable to do anything with it. [14:33] skinux: "dpkg-reconfigure mysql-server-X.Y" might help (X.Y being the version) [14:34] skinux: https://askubuntu.com/questions/766900/mysql-doesnt-ask-for-root-password-when-installing [14:34] oerheks, because, if i change the kernel, the system will not boot anymore [14:35] OH I swear it is an endless circle [14:35] web_dev, hard to believe that is true. [14:36] oerheks: not if the server doesn't support PAE [14:37] skinux: unless your box has multiple users, having a root password is pretty pointless, besides mysql 5.7 has by default identity authentication for unix root [14:37] oerheks, it's a dev board connected to a LCD trough GPIO [14:37] the driver are only for kernel 3.2 [14:44] /// === SimonNL_Afk is now known as SimonNL [14:45] I don't care about root account, I want to create a user for a web app to use. [14:46] I can't do that without connecting as root as far as I can tell. [14:48] so you do care about the root account [14:48] I just want my app to be able to use database, that is what I care about. [14:48] skinux: follow the instructions pavlos sent you to reset the root account password, then create your user [14:49] That page tells me to use --skip-grant-tables which is what started this whole mess in the first place. [14:49] Why the hell does Ubuntu have a default setup that can't even be used. [14:49] Hi! Questions about ubuntu 15.10 aren't answered here? [14:50] skinux: please settle down. We don't know what problems you had during your setup, but I know for a fact, on dozens of installations of Ubuntu server 16.04, when I pick mysql server, it asks me to set a root password for myself. [14:50] myself/mysql [14:51] skinux: Regardless, there's no sense in arguing about something that has already passed and will not come up again (by the sounds of it) [14:51] rond_, 15.10 is dead, EOL, upgrade please [14:51] skinux: I would follow the instructions given to you [14:52] oerheks: can I upgrade ubuntu without reinstalling it? I wouldn't like to install all the packages I have currently installed [14:53] rond_, depends, if they are original from the repos, yes, private PPA's will be disabled, and manually installed packages too. [14:55] Okay, last thing it said to do was shutdown mysql using mysqladmin, do I now start it normally? [14:55] Canonical should really make it clear during download/installation that non-LTS versions are only supported for 6 months [14:56] that may be reason that apt-get update doesn't work for me? (ubuntu 15.10) [14:56] rond_: yes [14:57] rond_: unless you want to upgrade every 6 months, I would suggest only installing LTS releases. The latest is 16.04 and the next will be 18.04 coming out in April. [14:57] I will remember that [14:57] So, you say that there is no other way to fix my apt-get update than to change Ubuntu version? [14:58] !eolupgrade [14:58] 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:58] rond_: to get upgrades, correct [14:58] this is your fix to upgrade to 16.04 [15:02] thanks [15:10] on ubuntu 16.04 [15:10] i installed unity [15:10] but at bootup i can see only guest user [15:11] not "ubuntu" user [15:11] why? [15:14] web_dev: are you booting the installed version or the liveCD ? if you defined a user during install, you should get the unity prompt to enter user/pw or if you selected to auto login, it should login with that user. [15:14] pavlos, no [15:14] i installed unity in a second time [15:15] previously i used only terminal [15:17] web_dev: are we talking about the same machine that was running 12.04 before? [15:18] no [15:18] it's another one [15:18] with ubuntu 16.04 [15:18] web_dev: did you use the desktop cd? [15:19] no [15:19] i used linaro [15:19] !linaro [15:19] I don't think that's an official ubuntu release supported here, is it? [15:20] linaro it's not a release [15:20] They probably have their own support methods... [15:20] linaro i it's only a group of people [15:20] https://www.ubuntu.com/download/ubuntu-flavours [15:20] the distro is ubuntu 16.04 [15:20] Well they obviously have their own installer which you used [15:20] Anyway, what's the output of `ls /home`? [15:20] Do you see users there? [15:21] web_dev: might want to try #linaro [15:21] no [15:21] Then their installer didn't create a user [15:21] i downloaded tar.gz of ubuntu on the official ubuntu website [15:21] It's not standard ubuntu, we don't know it [15:22] alkisg, you don't know what you are saying [15:22] it's the official 16.04 release of ubuntu [15:22] maybe you don't know how to help me and you tell me that isn't supported [15:23] Which .tar.gz did you download? Link? [15:23] web_dev: maybe you relax a little bit since you did say you used linaro, so it's understandable why people are confused [15:24] web_dev, did you chroot linaro with ubuntu??? [15:25] tgm4883, i'm afraid that people need a little thing to say "isn't supported" [15:25] oerheks, yes [15:26] web_dev, that is your issue then [15:27] there is a #linaro group here on freenode, good luck! [15:27] ARM based rootfs [15:27] www.ubuntu.com [15:28] web_dev: can you paste a specific link for the tar.gz here? === SimonNL is now known as SimonNL_Afk [15:29] alkisg, take him to #linaro please [15:29] https://rcn-ee.com/rootfs/eewiki/minfs/ubuntu-16.04.3-minimal-armhf-2017-08-08.tar.xz [15:30] web_dev: a link from ubuntu.com? [15:31] yes you can find also there [15:31] Link? [15:32] http://cdimage.ubuntu.com/ubuntu-base/releases/16.04/release/ [15:34] I don't see ubuntu-16.04.3-minimal-armhf-2017-08-08.tar.xz there [15:36] alkisg, stop please, you simply want to help me, that's clear, never mind. [15:36] *don't [15:38] web_dev: no worries I help people many hours per day. If you don't understand why I'm trying to help you like this, no problem from me [15:39] First you need to tell people what are you using, and then people will be able to help you. Different installers give very different results. [15:39] linaro is a silent channel since days, weeks.. [15:39] it's not an useful suggestion to say "ask linaro" [15:39] It's useful to say "we don't know linaro's installer" [15:39] there is a channel called #ubuntu-arm, but i doubt you will get support by that private build of mister robert nelson [15:40] They might have different methods of support [15:40] Wikies, mailing lists, forums, whatever. But if we don't know the image that you're using, we can't help. [15:40] i just asked why unity doesn't see my own user [15:41] web_dev: because you used an installer that was not from ubuntu [15:41] web_dev: a regular ubuntu installation will setup a user [15:41] Maybe that installer doesn't create users, and have instructions somewhere on what they expect you to do to add them [15:41] We can't know what that installer does. [15:44] Hey Im running ubuntu 16.04 right now but need to setup a dual boot, whats the best way to create a windows 10 boot usb on ubuntu 16.04? [15:44] web_dev: what UID is your user? [15:44] tgm4883, IDK [15:44] sgen, WOEusb http://www.omgubuntu.co.uk/2017/06/create-bootable-windows-10-usb-ubuntu [15:45] web_dev: can you.... look then? [15:45] sure [15:45] web_dev: can you look at /etc/passwd file [15:45] tgm4883: [15:45] web_dev, did you chroot linaro with ubuntu??? [15:45] oerheks, yes [15:45] ah [15:45] oerheks: ok thanks [15:49] greetings all, trying to work out a weird issue with chromium on ubuntu. Sometimes when I press CTRL+C or right-click > Copy ...to copy text, the entire tab will freeze and I have to close it. All other tabs are fine unless I try to copy, and then the same issue. any ideas or anyone experienced this? Thanks. [15:50] scorpex: sounds like a very chromium-specific problem. I use chrome and have never seen that issue. === kostkon_ is now known as kostkon === ghostcube_ is now known as ghostcube [16:02] i recently installed another version of arm-linux-gnueabi and arm-linux-gnueabihf cross gcc/g++ via apt-get, i noticed the assembler binutils was not updated, is this normal? [16:05] zarzar: you need binutils-arm-linux-gnueabi{,hf} too [16:07] TJ- it is installed but not differentiated by version [16:09] usr/bin/arm-linux-gnueabihf-gcc and /usr/bin/arm-linux-gnueabihf-gcc-4.9 on my machine, but only one /usr/arm-linux-gnueabihf/bin/as [16:10] correction: usr/bin/arm-linux-gnueabihf-gcc-5 and /usr/bin/arm-linux-gnueabihf-gcc-4.9 on my machine, but only one /usr/arm-linux-gnueabihf/bin/as [16:11] hi, quick question. I want to install python 3.6.3 in ubuntu using apt... but, I can only find instructions for apt-get. Wasn't apt supposed to replace apt-get, which is kind of deprecated? I remember reading something about that somewhere [16:12] dckx-m: apt and apt-get are differnnt frontends [16:12] !info python3.6 [16:12] python3.6 (source: python3.6): Interactive high-level object-oriented language (version 3.6). In component universe, is optional. Version 3.6.1-1ubuntu0~17.04.0 (zesty), package size 159 kB, installed size 288 kB [16:12] dckx-m, 3.6.1 is availabe [16:13] nacc: in general, should one use one over the other? [16:13] dckx-m, with 16.04 apt is introduced, still apt-get works too [16:13] oerheks: thanks [16:13] oerheks: but isn't it funny that python is available through apt-get and no apt? [16:14] Where can I find the .mount files? I was trying to troubleshoot something yesterday, I can't remember the directory [16:15] oerheks: or that's not how it works and I am not understanding a thing> [16:15] dckx-m, is it? [16:16] can you show a pastebin of the messages? [16:16] oerheks: It seems I was mistaken (i.e. I wasn't understanding anything, as usual). Anyway I'm leaving now, will try to isntall later. I'll come back if I can't do ti myself. Thanks for the help [16:17] dckx-m, have fun! [16:29] One of my ubuntu machines is having issues cleanly running apt upgrade. "dpkg: error processing archive [...] unable to create new file '/var/lib/dpkg/info/': Operation not permitted" [16:29] I've checked the permissions on /var/lib/dpkg/info and they look right compared to my other machines [16:29] Is apt/dpkg somehow not running as root? [16:30] I'm running apt upgrade after using sudo su - [16:30] And rerunning it seems to work. [16:30] how should I go about re-encoding a hd video so that my hp mini / celleron cpu can play it? [16:31] (lubuntu) [16:31] having it die trying doesn't seem a very good out of the box :P [16:32] o.o [16:32] Yes [16:32] gde33: handbrake seems a popular choice last time I did that [16:33] gde33: or plexmediaserver if your CPU is powerful enough [16:33] cool ty [16:34] any tip for a format to chose? The laptop has tons of GB to waste. [16:35] hi, I've noticed weird disk caching(?) behavior regarding external storage devices. when I dd an image onto an SD card, it immediately jumps to 900 MB complete. when I press CTRL+C, it takes a long time (about a minute) to exit. [16:35] I also remember swapping USB drives, and seeing the content of one on the other [16:35] Is it documented somewhere how disk read/write caching works, and how can I turn this down or off? [16:38] I was advised to try disabling lightdm yesterday when troubleshooting an issue [16:38] now I can't get it to run anymore. [16:38] unless I manually start it [16:39] I found that systemctl enable lightdm.service doesn't make a symlink, so I made the symlink myself, but it's still not starting. I still get a text login [16:39] https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1595454 [16:39] Launchpad bug 1595454 in systemd (Ubuntu) "systemctl cannot reenable lightdm (with workaround)" [Undecided,Confirmed] [16:39] the workaround described does not appear to work [16:40] if I log in textually and run systemctl start lightdm, it works as expected. [16:40] this is not ideal [16:44] Terminto enable lightdm again, sudo systemctl set-default graphical.target ( i think you have used sudo systemctl set-default multi-user.target ??) [16:45] oerheks: yeah that's what it was, I checked my grub config [16:45] it didn't update the first time to remove the multi-user nomodeset paramter [16:45] I had to run it again to get it to go [16:45] it's working now :) [16:45] Term1nal: did you leave the systemd.unit=multi-user.target in the kernel config? [16:45] thanks [16:46] TJ-: I did, yeah, I ran update-grub to remove it, but it didn't take the first time [16:46] Term1nal: ahhh, you used set-default [16:46] I had to run it againt o get it to take [16:46] but the issue ended up being that .mount file [16:46] Term1nal: so you've got the video drivers sorted now too? [16:46] it's running off nouveau right now [16:46] I might just leave it like that [16:47] that's good :) [16:47] nvidia driver was a bit finnicky [16:47] but nouveau doesn't seem to like external monitors on this system [16:47] so I don't know... [16:48] although now I have a new problem @.@ [16:48] lightdm comes up fine.. putting in the user password doesn't start the desktop [16:48] it goes to a text screen then falls back to lightdm login [16:49] seems only to be that one user account [16:49] tried a secondary test account and it works as expected. [16:53] Term1nal: from terminal log-in as the affect user, then check $HOME/.xsession-errors. Also check that the user, and not root, owns $HOME/.Xauthority [16:53] Term1nal: it's possible all those emergency/root tests you did caused root to write that file [16:53] Term1nal: so now, your regular user can't replace/update it [16:54] yeah could be. [16:54] checking now. [16:55] first reinstalling the nvidia driver, nouveau still won't do anything with my external monitors [16:55] just doesn't even detect them >.< [16:55] since it ended up not being the nvidia driver, and instead it was a bad auto-generated fstab .mount file for an encrypted secondary drive. [16:56] it was relying on the mount entry from fstab, that only exists when the encrypted volume is present. [16:56] the drive sits un-mounted and encrypted until it's used. which then prompts a password and mounts to the location that was found in fstab [16:57] since that drive isn't mounted at boot, the mount point in fstab wasn't there and systemd went to emergency mode [17:00] How can i move the top panel to the bottom in gnome3 ? [17:00] oh shoot, I don't know how to get to that .xsession-errors thing because the home folder is encrypted. [17:01] TJ-: nvm, but the .xsession thing has no errors, and .Xauthority owned by root [17:01] changing that now [17:02] Term1nal: that'll fix it [17:02] thyriaen: perhaps the #ubuntu-gnome guys might know that1 [17:03] yup that did the tric [17:03] trick* [17:03] thyriaen, maybe this extention is your answer, https://askubuntu.com/questions/132786/how-can-i-move-the-top-panel-to-the-bottom-in-gnome-3 or check out gnome-tweak-tool [17:03] !info gnome-tweak-tool [17:03] gnome-tweak-tool (source: gnome-tweak-tool): tool to adjust advanced configuration settings for GNOME. In component universe, is optional. Version 3.24.1-0ubuntu1 (zesty), package size 170 kB, installed size 1020 kB [17:04] oerheks, lotuspsychje thanks will do === SimonNL_Afk is now known as SimonNL [17:56] hi [17:56] i upgrade my hhvm to 3.22 how i can downgrade to version before upgraded it ? [18:02] t0th_-, remove it, and reinstall from the our repo? make sure you backup stuff [18:03] TJ-: it's just one thnig after another D: [18:03] now my nvidia-setting doesn't.... show any settings. [18:03] any external displays still aren't showing. [18:03] so frustrating. [18:13] Term1nal: have you reinstalled the nvidia driver then? nvidia-settings is proprietary for the nvidia driver only [18:14] TJ-: I have, yeah. [18:14] the nvidia-settings launches, but there's no display configuration tab [18:14] just the application profiles [18:14] Term1nal: that suggests the nvidia driver isn't there! Check /var/log/Xorg.0.log [18:15] Term1nal: there are 2 nvidia drivers - the kernel driver module and the X server driver module. Both need to be active for the GUI to be using nvidia (drivers) all through [18:16] hmmm yeah it appears to have loaded nouveau [18:16] I have installed nvidia-375 and it's bubbled in the additional driver gui [18:17] I have a theory [18:17] in troubleshooting I added nouveau to /etc/modules [18:17] that might be it [18:22] failed to load module nvidia [18:22] that must be the culprit [18:37] Term1nal: ' lsmod | grep nouveau ; dpkg -l | grep nvidia* " shows what ? [19:06] Hi! Is it normal that when I try to create a bootable USB stick from just downloaded ubuntu 16.04.3, Rufus asks about downloading some additional files? (ldlinux.sys and ldlinux.bss) ? [19:06] Yes, just install the files. [19:07] The prompt isn't mentioned in official Ubuntu guide, hence the question [19:07] It's fine, just click the button to download them. [19:09] rond_, seems normal, i doubt it is oke.. https://github.com/pbatard/rufus/issues/487 [19:10] rond when you install ubuntu without internet/updates, you still can make an usb with the internal tool, without those files [19:11] okay, I just wanted to make sure that rufus isn't doing anything suspicious. After all, i'm going to set up the whole OS, so it should be safe; ) [19:11] rond_, you are the 1st to mention it, i doubt rufus now [19:12] you doubt rufus? Could you say more of what you mean? [19:12] no, i gave you 2 urls, find out yourself it you trust it? [19:13] I didn't quite understand "I doubt rufus" as an English sentence - you have second thoughts about rufus as a safe software? Or what did you mean? [19:14] i doubt those downloads, why are they necessary? [19:15] oerheks: without them the creation of bootable USB stick woulndn't continue [19:16] doubt that [19:16] rond_, on ubuntu usb-creator does not need that. [19:16] I think he's trying to use Rufus on Windows, guys. [19:17] Oh, i didn't mention that. Sorry. MaidRenamon is correct [19:17] In which case, when I did it, it did ask to download additional files. [19:17] Just let them download it. [19:17] Rufus is safe. They even recommend it on Ubuntu's site. [19:18] hi, i'm running 17.04 and I've been having issues compiling rocksdb and apparently it has to do with the linker (what the people in #gcc said), the linker is you guys right? [19:19] Threadnaught: the linker is ld, generally [19:20] so can I ask you guys? [19:21] Threadnaught: ask away [19:22] thanks, I was about to kms if I got bounced to yet another channel [19:22] those downloads are not needed at all.. https://github.com/pbatard/rufus/issues/945 [19:22] so i doubt them. [19:25] rocksdb compiled and ran fine on 16.04, but ever since I upgraded to 17.10 it doesn't. Downloading the latest version from git (that is passing all the tests that facebook can throw at it) and compiling it works fine, but if I run those same tests on my computer it complains. v8 js also compiles but passes all of the tests. As soon as I try to compile anything using the static libs from either, I get a wall of error messages. [19:25] It would appear that some things just aren't getting compiled into the .a files [19:26] and I have no clue why [19:26] Threadnaught: 17.10? you just said 17.04 [19:26] I mean .04 sorry [19:26] long day [19:26] how can I get ip_masquerade support to netstat I keep getting error message when I run netstat -M and i'm using │@tomaw [19:26] | iptables masquereding on a server... netstat: no support for `ip_masquerade' on this system.y [19:27] can I get netstat -M to work using iptables masquereding getting error msg [19:29] [oh nvm you can't its for ipchains only [19:30] anyway to show active masquerade connections [19:30] nacc: what should I do? [19:32] Threadnaught: I feel like there's something missing from your description. You compiled on what release and ran on what release? It's not surprising, presumig whatever this is is a dynamic executable, that if you compiled it on 16.04 and ran it on 17.04, it might notw ork [19:33] no I compiled everything fresh [19:34] Threadnaught: on 17.04? [19:34] I even downgraded my compiler version then recompiled everything fresh and it didn't work [19:34] Threadnaught: " [19:34] Threadnaught: sorry, reading what you wrote -- you say the tests passed fine and then say they don't [19:35] Threadnaught: perhaps use a pastebin, show the environments and what happens with working and non-working cases [19:35] the tests run fine on github [19:35] fail on my pc [19:35] run fine on my old pc [19:35] fail on my new one [19:35] only difference is updated version of ubuntu [19:36] I even downgraded my compiler version [19:36] didn't work then [19:39] Threadnaught: can you use a pastebin and show what is happening (error messages) [19:39] ok [19:40] Threadnaught: did the gcc people tell you what was wrong with the linker? [19:40] is it possible to make .smbcredentials1, .smbcredentials2, and so on? [19:40] for a samba shared drive? [19:45] nacc: they didn't seem too interested tbh, kept trying to fix problems I didn't have [19:45] nacc: used nm to look inside the file and it didn't have functions in it that it itself was calling [19:46] Please..., can someone help me with my wifi connection dropping? It looses connection every few minutes for a few seconds up to few minutes - here is some more info, like syslog - https://askubuntu.com/questions/961631/usb-wifi-keeps-dropping-the-connection [19:46] nacc: it was broken enough that tests which ran facebook ran them didn't run on mine [19:47] please, ppl, I've been struggling with it for soooo long :( [19:48] I am not sure what is up with my server but when I add a name server it works for a few days and then it stops and can't resolve anything. I have read all sorts of things on google about running sudo dpkg-reconfigure resolvconf but nothing seems ot work. Could someone maybe help give me some advice here? [19:58] how can i tell ubuntu to mount a usb device with particular ID to /dev/ttyUSB0? [20:02] Hi again, I got disconnected, did someone answer by a chance? [20:02] ^ this (disconnecting) is actually the problem I've been trying to solve [20:03] for weeks now :( [20:04] codepython777: you may have to define a UDEV rule ... see http://hintshop.ludvig.co.nz/show/persistent-names-usb-serial-devices/ [20:06] konrados: what does `lsmod | grep rtl` say? [20:07] nacc, - https://paste.ubuntu.com/25675376/ [20:08] konrados: and `lsmod | grep 8192` ? [20:09] nacc, - https://paste.ubuntu.com/25675383/ [20:10] old ubuntu releases I used to change /etc/inittab to change the number of running "getty" and tty. newer ubuntu, what should I search for? tried without success: grep -rn getty /etc/ [20:10] What is the best way to migrate my laptop to a new desktop? Both are 17.04 I keep trying to copy /home but since I'm running the laptop, it gives a bunch of errors and doesn't copy everything. I'd like to just back everything up to a 2T USB drive I have and then I can slowly move things in as I need them onthe new desktop. [20:10] pavlos: thanks for the link. [20:12] konrados: where did you get the driver from? [20:14] konrados: does this link help? ... https://askubuntu.com/questions/820886/problem-with-tp-link-tl-wn823n?noredirect=1&lq=1 [20:15] nacc, I first tried building it from sources available officially, but encountered compilation problems (..something.. already defined) then after some googling I used this: https://launchpad.net/~hanipouspilot/+archive/ubuntu/rtlwifi [20:15] konrados: if you got it from the ppa mentioed there, then you need to talk to the ppa owner for support (it's nnot an ubunntu package) [20:16] where is the file to configure tty/getty in ubuntu which uses systemd-sysv ? [20:16] nacc, yes, it's the link mentioned by pavlos - [20:16] so, pavlos - yes, this is where I have the driver from [20:16] ok [20:17] nacc, but... do I have any other option? The official one didn't compile, then this one "worked", are there any other options? [20:19] konrados: what "official" one? [20:19] sec... [20:22] nacc, - http://www.tp-link.com/us/download/TL-WN823N.html#Driver and now I noticed two things, first they say it's for "Linux (kernel 2.6.18 ~ 3.10.10)" and second, opinions here are rather negative: http://www.tp-link.com/us/products/details/cat-5520_TL-WN823N.html o_O Like "Does not work with new linux like Ubuntu 16.06" [20:23] That's good because there is no such thing as 16.06. So I guess they're right. [20:24] wait, who's right? I'm a bit lost here [20:24] https://pastebin.com/UzMzzdHL [20:24] Any idea why i can't ping my 2nd ip at the end of that config? I'm running Ubuntu Server 16.04 [20:25] konrados: so two things, that is ot "official" to this channel. THat is what tp-linnk says. [20:25] konrados: well, multiple thigs [20:25] konrados: they clearly say it doesn't work on newer kernels [20:25] konrados: and that it's unsupported when it does work [20:25] FuZi0N: is the interface up? [20:25] ooooh [20:26] enp6s0f0 is up yes [20:26] the git fixes for 8192cu should work, with kernel 4.8 https://ubuntuforums.org/showthread.php?t=2352681 [20:26] the main ip works [20:26] just not the failover i added at the end [20:26] FuZi0N: then you need to bring it up [20:26] it won't ping unless the interface is up [20:27] [2:26:03PM] enp6s0f0 is up yes [20:27] the interface is up... [20:28] FuZi0N: where are you trying to ping it from? And are you sure you want to set it to a /32 ? [20:28] Since it's more than likely a /24 right? [20:28] FuZi0N: the other ip's need to be added to virtual interfaces. [20:28] FuZi0N: do any of the additional ip's show up in ifconfig or ip addr? [20:29] yes [20:29] the original ip shows up fine [20:29] konrados: can you paste, apt-cache policy dkms [20:29] FuZi0N: I didn't ask about the original ip [20:29] https://quickbox.io/wiki/set-up-a-cdn-for-plex-with-cloudflare-nginx/ [20:29] i was trying to follow this tutorial [20:29] step 2 [20:30] FuZi0N: to clarify, enp6s0f0 is not the interface for your additional ip's. It will probably be something like enp6s0f0:0 or FuZi0N: to clarify, enp6s0f0 is not the interface for your additional ip's. It will probably be something like enp6s0f0:1 [20:30] FuZi0N: do any of the additional ip's show up in ifconfig or ip addr? [20:30] FuZi0N: did you reboot since making that change to interfaces? Did you run the command(s) manually to see if they worked? [20:31] There a way to get systemd fstab-generator to ignore a particular fstab entry? [20:32] nacc, thank you very much for your help. There is just one thing the adapter DID work better (although not perfectly) like two months ago... if this was a driver problem, that wouldn't be the case, right? Plus, right now, the connection gets worser the more I use the net, like watching youtube video kills it for a loooong time, I know it sounds funny, but it's true. Is this maybe a hint of something? [20:33] konrados: i have no idea, sorry -- could be a kernel update in between two months ago and now [20:34] nacc, thing is I didn't do any upgrades, which brings a question for the next occasion === jstein_ is now known as jstein [20:34] pavlos, - https://paste.ubuntu.com/25675536/ [20:35] konrados: thx, you got the latest [20:36] pavlos, thanks, btw - latest of what? [20:36] konrados: latest dkms for 16.04, 2.2.0.3 [20:37] pavlos, - thanks again! [20:37] konrados: np [20:42] I got disconnected, but... I guess there were no new messages, right? :((((( === zenguy- is now known as zenguy [20:49] pavlos: so i have a new problem to solve, i want to mount drives from more than one IP address that have different samba credentials, is it possible to make more than one .smbcredentials file? such as .smbcredentials1, .smbcredentials2 and so on? [20:50] hey guys, I just added a hardware RAID 5 array to an existing Ubuntu desktop but im not seeing the raid device under /dev/mdxx [20:50] wook: I dont know, let's search [20:50] is there something else I need to do to activate it inside the OS itself? I assumed being hardware RAID it would just show up as a raid device [20:50] i've been searching it but haven't found much [20:53] Could someone please help me figure out why my dns will not work on my machine? [20:53] wook: see https://wiki.ubuntu.com/MountWindowsSharesPermanently seems each mount can have its own .smbcredentials file [20:54] I can manually set resolv.conf to something and it works for like a day then it quits again [20:54] wook: this section ... Mount password protected network folders === sphrak is now known as stinsen [21:09] pavlos: i got it :D [21:09] it worked just like i thought it would [21:09] wook: good [21:10] phelix: have you tried sudo dpkg-reconfigure resolvconf [21:10] pavlos, yes and it doesn't seem to do anything. [21:11] Well, I mean it takes me to a screen and asks a question that i select yes to and then reboot. But when the machine comes back still no DNS === stinsen is now known as sphrak [21:13] phelix: is /etc/resolv.conf a link to /run/resolvconf/resolv.conf ? [21:16] is there anyone around that can clue me in on how to add a hardware raid array to an existing install? [21:18] I see the individual drives under /dev but shouldnt I be able to see the raid device under /dev/mdxx ? [21:20] or is there maybe another support channel that is more active that I can ask my question in? [21:26] phelix: nmcli dev show | grep DNS [21:26] Hey guys, I'm having troule with USB stick, where it won't set the address properly. I want to see if using a different driver then xhci_hcd might work, but it's build into the system and so rmmod isn't effective. Does anyone know how I would go about disabling it at boot or switcing drivers? [21:27] a|ienFS: it has been years since I looked at things like this, but back then a lot of "hardware" RAID was actually "fakeRAID" as per https://help.ubuntu.com/community/FakeRaidHowto . That guide is horribly out of date, though [21:28] Hi, I have ufw set to deny incoming by default yet I'm still able to access 8082 over HTTP with no rules matching it [21:28] thank you, ill take a look at it [21:36] I have a volume I'm mounting, and it used to mount to the name /media//Storage [21:36] Now it mounts to /media//Storage1 [21:37] is there a way to stop it from doing that? [21:38] anyone able to help me? [21:38] this dude musti in my PM box trying to get me to give him shell access lol [21:39] beware folks. [21:39] "leet haxors" are here. [21:39] peh [21:39] i am newbie and i wanna learn some new things from another guys [21:40] musti: linuxacademy.com [21:40] ok thx [21:45] Sweepyoface: sudo ufw reset, sudo ufw enable, sudo ufw status verbose should list deny(incoming) [22:18] People that often spawn non terminal programs from your terminal, don't you get sick of typing "& disown" at the end of each command? I made a function "q" and added it to .zshrc but the downside is I don't get binary autocompletion now. Is there a better way to fix this? I can't be the only one with this issue [22:18] "q rhtythmbox" etc haha [22:20] why not just launch them normally? [22:20] why do you need disown [22:20] foul_owl_: you would need to add your own shell completion functionality for q [22:21] its a command shells provide to disown the process [22:21] When the shell closes, the running process goes bye bye [22:21] so you are no longer the process owner of the command [22:21] we know what disown meanns [22:21] not if you close it properly [22:21] why are you starting rhythmbox from a terminal? [22:21] use nohup? [22:21] gnome-calculator& [22:21] [ctrl+d] [22:22] easy peasy? [22:22] Causes it to close for me [22:22] no it doesn't [22:22] It does in zsh [22:22] well theres your problem [22:22] Last time I used bash it did also [22:23] well that's incorrect [22:23] But that was in 2012 or so [22:23] lol [22:23] It is incorrect, I agree [22:24] Hmmm nope, still a problem in bash too [22:24] wrong [22:24] try closing xterm [22:24] lol [22:24] "xterm bash" [22:25] inkscape& [22:25] alt+f4 [22:25] it's gone [22:25] did i say alt+f4 [22:25] foul_owl_: read. Ben64 said use Ctrl+D. [22:26] Did I say ctrl+d ? I'm telling you where the issue occurs [22:26] the issue occurs in reading comprehension [22:26] lol [22:26] I read what you said [22:26] You didn't read what I said [22:26] i did, you did not [22:26] I said the issue occurs when I close the terminal via alt+f4 [22:27] so don't do that [22:27] foul_owl_: until just now, you actually hadn't said alt+f4 [22:27] foul_owl_: what do you want to achieve? [22:27] foul_owl_: so far you've been told how to solve the problem you asked about originally, and also why there are ways to make it not a problem at all [22:27] alt+f4 is even more difficult to do than ctrl+d [22:28] Ok: specifically: I want to be able to issue ctrl+d without the process closing in zsh [22:29] foul_owl_: you don't want ctrl+d to close the shell? [22:29] foul_owl_: how does this have anything to do with what you originally asked? [22:32] Why does alt+f4 (and ctrl+d in zsh) cause a gui program I launched in the shell to close if that process is backgrounded with [22:32] & [22:33] I don't want any gui program I launch to close, regardless if I close the terminal with alt+f4 or kill or whatever [22:34] If I do "xterm bash", "inkscape &" and then "kill xterm" inkscape dies [22:34] should ask in #zsh [22:34] It affects bash also [22:34] foul_owl_: read about how processes work, specifically parent/child relationships [22:34] but you're asking about zsh [22:34] ^ [22:35] foul_owl_: and you can ask that in #bash [22:35] the answers aren't the same between bash and zsh [22:36] So no apology for saying "that doesn't happen" ? Because you can clearly reproduce the issue [22:37] what apology? you didn't say you were on zsh until after [22:37] I mentioned both bash and zsh [22:38] not until after [22:38] Can I make my scrolling decelerate over as number of ms instead of being a hard stop via xinput? [22:38] s/as/a [22:39] pavlos, did that, here's the rules now: https://hastebin.com/owonijogil.vbs [22:39] but I can still get to 8082 over HTTP just fine [22:40] foul_owl_: try, xterm bash, in there nohup xclock & now, click the red x to kill the xterm, xclock still running. Is that what you want? [22:41] Hi folks [22:41] I can't recall how to configure Konsole (yeah this is KDE) to get me notified when any long-running command is finished? [22:41] Sweepyoface: maybe you need to deny http as protocol [22:42] Yes that is. I have already written a function to do "& disown" but the issue with using a function is it prevents autocompletion of whatever binary I am trying to run, which is definitely annoying when it comes to longer binary names [22:42] huh? [22:42] foul_owl_: and you were told, 22 minutes ago why [22:43] pavlos, there's no such thing as denying protocols [22:43] just ports, and 8082 has no rule [22:43] so it should drop it [22:44] Sweepyoface: sudo ufw deny http ... but it does issue ... 80 DENY Anywhere [22:45] yes.. that's just a shortcut to port 80 [22:45] does nothing else [22:46] Sweepyoface: I guess you could try sudo ufw deny 8082 [22:46] that doesn't work either [22:50] oh maybe it has to do with docker [22:51] Why beep doesn't work? [22:51] Damned, why on EVERY release of Ubuntu beep doesn't work? [22:51] And I always start to search wtf this happens [22:55] https://askubuntu.com/questions/19906/beep-in-shell-script-not-working [22:55] first result for "ubuntu beep" === purist_ is now known as purist === Acou_Bass is now known as eddie === eddie is now known as Acou_Bass [23:23] is there a way of seeing what time a process was started at? in top or something? i'm opening an app from menu. but i'm trying to establish what its system name is (what commande executes it in terminal) [23:25] Is this a good channel to ask about systemd/init? [23:25] n35xdxb0: look inside the .desktop file that launches it, the "Exec=..." line shows the command [23:27] glitsj16: hey, thanks. i don't use desktop icons. but i've found another way. i'm just sorting by time started on top. so when i launch the app from menu, i then just check top and tht tells me the name [23:28] Why KDE on 17.04 doens't play sounds? [23:28] n35xdxb0: always options in linux :), yw [23:28] I mean notification sounds [23:28] n35xdxb0, if you know the exact time started, you could also use 'ps aux | grep [time in 24-hour format]' [23:28] eg 'ps aux | grep 18:28' [23:29] prappl93: damn, that's a great idea. very very useful. thanks prappl93 ! [23:29] schirtze: ask your question, if someone has anything to contribute, they will turn up [23:29] schirtze: although there's also #systemd [23:30] glitsj16, thanks I'll try both [23:30] n35xdxb0, no problem! [23:31] n35xdxb0, your menu most likely parses the desktop files in /usr/share/applications [23:35] kostkon: hey i didn't know about that. i was actuall wondering abt that. why i couldn't find it bin under the menu name. so /usr/share/applications is what the menu uses to subsequently find the app? [23:36] I choose to write linux keylogger/RAT for a security course project, I think I want to approach it by somehow changing something like the boot/systemd/init/shell chain. I don't know much of the kernel boot process, but I need a resource/heading to get started. I essentially want a "man in the middle" process that sits between the stdio of any shell that is started. I'm not sure if this is the right approach/feasible. I think the [23:36] plan is to "deploy" this attack through social engineering, not actually exploiting anything. So I'm more interested to the development approach to such a project. Thoughts/ideas/resources/questions? [23:36] n35xdxb0, /usr/share/applications and ~/.local/share/applications [23:38] When I set options via `xinput` are those written to a conf file somewhere or will I have to rerun the command each time I start the system? [23:38] kostkon: thanks again! very useful to know [23:38] n35xdxb0, np [23:39] n35xdxb0: it's not something uniquely ubuntu, freedesktop spec --> https://specifications.freedesktop.org/desktop-entry-spec/latest/ (for your bookmarks/notes) [23:39] n35xdxb0: I do the same thing, but I usually use 'ps axf' because then everything you've started inside your DE will show up as a child process. It's usually obvious from that what's running. Developers who name their apps things like "palimsest" should be told they are very clever and then taken out and shot. [23:40] palimpsest [23:41] glitsj16: thanks, and i am definitely keeping lots of notes. with irc, i usually get so many good answers at once, i've no choice :) [23:41] Are there any good linux security channels I should know of? [23:42] haha, I couldn't resist, it sure is a nice way of gathering info indeed [23:42] !alis | schirtze [23:42] schirtze: Alis is an IRC service to help you find channels. For help on using it, see "/msg Alis help list" or ask in #freenode. Example usage: "/msg Alis list http" [23:42] Loshki: hahah. lol. i agree :) [23:44] schirtze: ##security, never been, dunno if it's any good. Most security weenies are a bit tightly wrapped, if ya' know what I mean. === Acou_Bass is now known as eddie === eddie is now known as Acou_Bass