[00:00] <jvelasquez> TJ-,  I first noticed it, because I was wondering why I'd get prompted for my pw twice
[00:01] <TJ-> I got confused when light-locker wanted it's password (which it doesn't have) not mine!
[00:01] <TJ-> When it gets silly now I Ctrl+Alt+F1, "pkill light-locker", Alt+F7 back to Desktop
[00:01] <Term1nal> 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] <Term1nal> I was stuck without the ability to call up tty with ctrl+alt+f<x>
[00:02] <Term1nal> just a black screen
[00:02] <Term1nal> even after apt-get remove --purge nvidia* from rw mounted recovery
[00:03] <Term1nal> trying systemctl default was no dice either.
[00:03] <Term1nal> just brings me right back to emergency mode.
[00:03] <jvelasquez> Term1nal,  which kind of nvidia device do you have?
[00:03] <Term1nal> jvelasquez: GTX 1070m
[00:04] <jvelasquez> Term1nal,  and which version of driver did you try?   and which source was it,  from distro, or from nvidia.com ?
[00:04] <Term1nal> graphics-drivers/ppa
[00:04] <TJ-> 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] <Term1nal> tried nvidia-current, tried nvidia-367
[00:05] <Term1nal> tried reloading nouveau
[00:05] <jvelasquez> Term1nal,  did you blacklist nouvuo or whatever it is?
[00:05] <TJ-> 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] <Term1nal> jvelasquez: at this point trying to get rid of nvidia since it seems to be problematic
[00:05] <jvelasquez> I agree with TJ-
[00:05] <Term1nal> but I will try that TJ-
[00:05] <Term1nal> one moment
[00:06] <jvelasquez> TJ-,  doesn't he also need nomodeset  in that kernel cmnd line?
[00:06] <Term1nal> the only thing that even got me this far was removing gfxmode=$linux-gfxmode or whatever the line was.
[00:06] <Term1nal> and adding nomodeset
[00:06] <Term1nal> and adding nouveau to modules
[00:07] <jvelasquez> TJ-,  would new video drivers get into his initramfs ?
[00:08] <Term1nal> TJ-: do I just append it to the same line within the quotes?
[00:08] <jvelasquez> TJ-, he describes his problem as sounding early in boot
[00:08] <TJ-> jvelasquez: Term1nal no, not loaded until rootfs is available
[00:09] <TJ-> jvelasquez: "nomodeset" may help if you get a black screen when starting with the multi-user.target, yes
[00:09] <jvelasquez> TJ-,  so, if it's on the network, sshd running,  he could ssh right into the machine?
[00:09] <TJ-> jvelasquez: it'll use the standard VESA modes then
[00:09] <TJ-> jvelasquez: indeed.
[00:09] <Term1nal> trying it now with the added parameter
[00:09] <TJ-> Term1nal: don't need the quotes - I use those to show commands are separate from my commentary
[00:09] <jvelasquez> Term1nal, if you have a second machine,  turn on sshd as soon as you can too
[00:10] <Term1nal> I still have the line: gfxmode=$linux_gfx_mode
[00:10] <jvelasquez> Term1nal,  well get rid of it
[00:12] <Term1nal> jvelasquez: no dice. hits emergency mode once again
[00:13] <Term1nal> reached target system time synchronized is the last systemd output
[00:14] <Term1nal> there is one failure, which is the mounting of a storage filesystem on a secondary hard drive, non-critical to operation
[00:14] <jvelasquez> 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] <Term1nal> "failed to mount /media/Storage.... " which gives dependency failed for Local File Systems
[00:15] <TJ-> jvelasquez: it'd be a regular multi-user mode
[00:15] <TJ-> Term1nal: that's not an issue, external media
[00:15] <jvelasquez> Term1nal,   try,  systemd.debug-shell=true   and then trying to get to tty9 after boot
[00:16] <TJ-> Term1nal: emergency mode means something else is wrong.
[00:16] <Term1nal> I "appear" to be in a tty currently.
[00:16] <Term1nal> since it goes straight from grub to the sytsemd [   OK   ] message scrolls
[00:16] <TJ-> 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] <Term1nal> yeah, I can ctrl+alt+f<x> and get to other TTYs, but they're all just a cursor
[00:17] <jvelasquez> chmod a-x `which Xorg`     would work unless you run wayland
[00:17] <Term1nal> I appear to be on the first tty (ctrl+alt+f1)
[00:17] <Term1nal> I'll try the debug-shell thing
[00:18] <jvelasquez> but it's a horrible way to do it.
[00:18] <Term1nal> do I still want to keep the multi-user.target in the parameters as well?
[00:18] <jvelasquez> i think so.
[00:19] <jvelasquez> you want to try,  multi-user, and open a debug shell
[00:19] <jvelasquez> 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] <Term1nal> debug shell did not appear to work.
[00:20] <Term1nal> still hit emergency mode.
[00:21] <jvelasquez> ok.  init=/bin/bash
[00:21] <jvelasquez> but you won't have process control.
[00:21] <jvelasquez> you'll want to think about what you want to do.  which is why I had thought,  chmod a-x `which Xorg`
[00:21] <Term1nal> jvelasquez: can't I just use the root shell from "maintainence" ?
[00:21] <Term1nal> I can do package management and so forth there
[00:21] <jvelasquez> Term1nal, yep
[00:22] <Term1nal> okay, so I'm at the root shell
[00:23] <Term1nal> well, emergency mode root shell, I put in the root password to get it
[00:23] <TJ-> if you've got systemd, you can just do "systemctl disable lightdm.service" to prevent the DM and GUI from starting
[00:23] <jvelasquez> get a consensus here on a plan of action first
[00:24] <Term1nal> TJ-: strangely, I can actually startx from this shell and get an almost-working gui
[00:24] <Term1nal> just not seem to be able to launch apps
[00:24] <jvelasquez> it seems most people run lightdm in ubuntu, so TJ's suggesting sounds best.
[00:24] <jvelasquez> disable lightdm
[00:25] <Term1nal> ok, done
[00:26] <jvelasquez> TJ, what about, systemctl set-default multi-user  ?
[00:27] <jvelasquez> Term1nal, that should be good, reboot
[00:27] <TJ-> sorry, I'm in and out. Fixing an android phone
[00:28] <jvelasquez> TJ,  what about grub's gfxmode ?  what's with that?
[00:28] <jvelasquez> 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] <TJ-> 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] <TJ-> that way the system will remain in a text-only console
[00:29] <TJ-> get some stability back then you can focus on getting the correct drivers sorted
[00:29] <Term1nal> somehow, update-grub isn't changing things.
[00:30] <jvelasquez> error?
[00:30] <Term1nal> no, just doesn't do anything.
[00:30] <jvelasquez> Term1nal, i think that's good
[00:30] <TJ-> Term1nal: have you "mount -o remount,rw /" ?
[00:30] <jvelasquez> Term1nal,  grub-install is the one that has output
[00:30] <Term1nal> 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] <jvelasquez> ahh
[00:30] <TJ-> update-grub should report the entries it adds to /boot/grub/grbu.cfg
[00:31] <Term1nal> I had added novdeau.modeset=0
[00:31] <Term1nal> noveau*
[00:31] <Term1nal> but I remove it and update-grub, it persists
[00:31] <Term1nal> but I know for a fact I'm in rw
[00:32] <TJ-> Term1nal: it's not in "/etc/default/grub" ?
[00:32] <Term1nal> TJ-: definitely not there.
[00:33] <TJ-> 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] <TJ-> which would mean the file you're updating neve gets seen by GRUB :)
[00:33] <TJ-> Term1nal: "grep boot /et/fstab" ... anything?
[00:33] <TJ-> Term1nal: "grep boot /etc/fstab" ... anything?
[00:34] <Term1nal> TJ-: if I run update-grub from "recovery mode" proper it works
[00:34] <Term1nal> but not when I hit "emergency mode"
[00:35] <jvelasquez> Term1nal, also, i believe update-grub likes to keep old configs as backups
[00:35] <jvelasquez> i imagine emergency mode might be a onionfs for rootfs or something
[00:36] <Term1nal> well, scrap that it didn't actually change it
[00:36] <Term1nal> still has that noveau thing I added in before
[00:36] <Term1nal> I checked /boot/grub/grub.cfg and it shows the entries as they should be.
[00:37] <TJ-> Term1nal: do you have multiple distros installed on the PC?
[00:38] <TJ-> Term1nal: I'm wondering if GRUB's root isn't the one you think it is
[00:38] <jvelasquez> EFI or BIOS?
[00:39] <jvelasquez> i swear, sometimes EFI has two different part for boot,  /boot and /boot/foo
[00:40] <jvelasquez> Term1nal, what about,   update-grub -o /tmp/myGrub
[00:40] <jvelasquez> does that work?
[00:42] <Term1nal> yeqah
[00:43] <jvelasquez> do you know if you're using EFI or BIOS?
[00:43] <Term1nal> efi
[00:44] <jvelasquez> can you confirm if /boot is mounted ?
[00:44] <Term1nal> yes it is.
[00:44] <jvelasquez> rw ?
[00:44] <TJ-> "grep boot /proc/mounts"
[00:44] <jvelasquez> ahh!
[00:44] <jvelasquez> always check /proc/mounts !
[00:45] <jvelasquez> not  `mount`
[00:45] <Term1nal> I got it to stay this time
[00:45] <jvelasquez> mount lies ~
[00:45] <Term1nal> but I had to go in at boot and remove the gfxmode line again
[00:45] <Term1nal> so it wouldn't just show a black screen
[00:45] <TJ-> 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] <Term1nal> /proc/mounts shows /boot/efi
[00:47] <Term1nal> /dev/nvme0n1p1
[00:48] <Term1nal> how do I find out what is "causing" it to hit emergency mode?
[00:49] <TJ-> Term1nal: "journalctl -xb" may help
[00:49] <jvelasquez> no idea.  journalctl -xe ?  tail -1000 /var/log/syslog ?
[00:53] <Term1nal> what should I look for?
[00:55] <Term1nal> unit apparmor.service has begun starting up.
[00:56] <Term1nal> followed immediately by something abut /var/log duplicate line for path
[00:56] <Term1nal> then reached target emergency mode
[00:57] <TJ-> Term1nal: have you attempted booting with "systemd.unit=multi-user.target" and did it still hit the emergency.target ?
[00:57] <Term1nal> systemd-tmpfiles-setup.service has begun starting up, then next line is started emergency shell
[00:58] <Term1nal> TJ-: I have that systemd.unit=multi-user.target at the end of the line containing "linux..."
[00:58] <Term1nal> it's in the grub.cfg as well
[01:00] <TJ-> Term1nal: OK, so it's something beforehand, for sure.
[01:01] <TJ-> do you have a separate file-system for /tmp/ ?
[01:01] <TJ-> The cause of the emergency may appear in messages earlier in the log - it is running several service start-ups in parallel
[01:03] <Term1nal> TJ-: no, /tmp is not a separate filesystem
[01:03] <Term1nal> the only error I have in red text is regarding that secondary storage drive.
[01:04] <Term1nal> local-fs.target: triggering onfailure dependencies
[01:05] <TJ-> Term1nal: that must be it then; Systemd must have somehow generated a dependency for it
[01:06] <TJ-> 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] <Term1nal> hmm
[01:06] <Term1nal> could be right.
[01:07] <Term1nal> so just get rid of the .mount entry for that storage drive?
[01:08] <Term1nal> there's an entry -.mount
[01:09] <Term1nal> I can't cat it or anything
[01:10] <Term1nal> cause it keeps trying to see the dash as a paramter
[01:10] <Term1nal> parameter*
[01:10] <wedgie> in that situation do ./-.mount
[01:10] <wedgie> (or a full path)
[01:11] <Term1nal> I guess it's the root .mount
[01:11] <Term1nal> because it says Where:/
[01:11] <Term1nal> What:/dev/mapper/vgroup-lvroot
[01:12] <Term1nal> so I removed the symlink in local-fs.service.requires/
[01:12] <Term1nal> to the storage drive
[01:14] <jvelasquez> 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] <TJ-> jvelasquez: you can set additional permissions under /etc/apparmor.d/abstractions/
[01:19] <ntz> 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] <ntz> perl -e 'for $x ("-v", "--listmonitors", "-q") { print foreach("### xrandr $x\n", qx/xrandr $x/); }' | curl -F 'sprunge=<-' http://sprunge.us
[01:19] <ntz> thanks much!!
[01:21] <ArMedic> Anyone that uses preload..that sees it actually increases speed?
[01:22] <jvelasquez> ntz  curl: (6) Could not resolve host: sprunge.us
[01:24] <ArMedic> 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] <Actionparsnip> 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] <jvelasquez> ntz, ohh. it was me@!
[01:26] <jvelasquez> ntz,  you need this?  http://sprunge.us/CZDj
[01:26] <ArMedic> Actionparsnip, I don't have a SSD so I am guessing this one is platter based.
[01:27] <Actionparsnip> 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] <ntz> jvelasquez: :D, thanks much!! ,, groovy
[01:28] <Actionparsnip> ArMedic: if you move your Web browser cache to tempfs it can make Web browsing a little faster.
[01:29] <ArMedic> 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] <ArMedic> Actionparsnip, Its a fresh install so that isn't the issue.
[01:31] <Actionparsnip> 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] <Actionparsnip> ArMedic:reducing vm.swappiness will keep applications in RAM. Set it to 2 and it should help
[01:33] <ArMedic> Actionparsnip, Thanks!
[01:33] <Actionparsnip> ArMedic:nw
[01:38] <Myrth> 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] <Myrth> $ bin/ioncube_encoder55_8.3 >>> zsh: no such file or directory: bin/ioncube_encoder55_8.3
[01:39] <Jonno_FTW> use a different shell maybe?
[01:39] <TJ-> Myrth: is it on a mount that has noexec option?
[01:39] <Myrth> # bin/ioncube_encoder55_8.3 >>> bash: bin/ioncube_encoder55_8.3: No such file or directory
[01:39] <Myrth> TJ-:  how do i check this
[01:40] <TJ-> Myrth: the other possibility is that it's for another architecture. You can check arch with "file <filename>"
[01:40] <Jonno_FTW> use stat
[01:41] <Myrth> 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] <TJ-> 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] <Myrth> it was working today
[01:41] <TJ-> Myrth: is the system 32-bit i386 install?
[01:41] <Myrth> and just suddenly
[01:41] <Myrth> i've tried that for both _64 and not
[01:41] <Myrth> bhuh
[01:41] <Myrth> you're right
[01:41] <Myrth> i'm on 64
[01:41] <Myrth> shouldn't it be able to run 32
[01:42] <TJ-> you need to ensure the foreign arch is added and install multilibs
[01:42] <Myrth> how do i do that?
[01:42] <TJ-> Myrth: "sudo dpkg --add-architecture i386"
[01:42] <TJ-> Myrth: then "sudo apt update" to get the 32-bit package lists fetched
[01:43] <TJ-> Myrth: you will also likely need "sudo apt install multiarch-support"
[01:44] <Jonno_FTW> is there anyway to install a .deb package using aptitude only?
[01:45] <Myrth> thank you
[01:45] <jvelasquez> ntz:  xrandr: unrecognized option '--listmonitors'
[01:45] <Myrth> TJ-: apparently i do have multiarch-support already installed
[01:46] <Myrth> did --add-architecture and apt update
[01:46] <Myrth> still runs only x64
[01:46] <jvelasquez> ntz:  http://sprunge.us/KGLd  you need this?
[01:46] <TJ-> Myrth: OK, so you need the libraries for i386 that that program requires. Identify them with "ldd <path/to/bin>"
[01:47] <TJ-> 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] <Myrth> ok i guess will have to ask the publisher of the soft for those
[01:48] <TJ-> 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 <package>:i386"
[01:48] <TJ-> Myrth: rinse and repeat for each missing lbirary.
[01:48] <Myrth> thank you so much
[01:49] <TJ-> 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 <package>:i386"
[01:49] <Myrth> i guess i'm used too much to windows where both 32 and 64 work seamlessly
[01:49] <TJ-> 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] <TJ-> 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] <jvelasquez> Myrth, they don't make ioncube for 64bit ?
[01:51] <Myrth> jvelasquez:  they do, but not for all loader versions
[01:52] <Myrth> old ones don't have _64 version
[01:55] <jvelasquez> Myrth,  Wow64 on windows you mean?
[01:56] <Myrth> i don't really have a good understand about windows internals
[01:56] <Myrth> *good understanding
[01:56] <jvelasquez> I had thought it consumes a GB+ just for wow64
[01:56] <jvelasquez> me neither. too complicated.
[01:56] <jvelasquez> and manual is incomplete
[02:10] <jvelasquez> so I have to reboot after changing an apparmor profile huh?
[02:18] <TJ-> jvelasquez: I'd have thought "systemctl restart apparmor.service"
[02:18] <jvelasquez> ohh it's a service?
[02:19] <TJ-> 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] <TJ-> the part that loads the profiles into the kernel is, yes
[02:19] <TJ-> same as iptables loading rules into kernel netfilters
[02:19] <jvelasquez> iptables is a service now?
[02:20] <TJ-> no, but iptables-restore is often run by firewall services at start-up to reapply the rules
[02:21] <TJ-> 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] <jvelasquez> I'm surprized inotify rules aren't part of systemd unit scripts
[02:22] <TJ-> systemd uses inotify to watch for changes to its own configs
[02:23] <jvelasquez> echo "inotify IN_CLOSE_WRITE /etc/apache2" >>   apache.service
[02:24] <jvelasquez> I'm gonna whine to the systemd guys about that right now
[02:25] <mattfly> hi im having a problem with wired connection on a ubuntu machine
[02:25] <jvelasquez> mattfly,  me too.
[02:25] <mattfly> ive installed wicd but wanst able to connect
[02:25] <BeansnRice> does anyone know how to stop irssi from joining a channel at startup?
[02:25] <mattfly> its not a startedup
[02:25] <mattfly> its been some hours of googling and trying
[02:25] <TJ-> mattfly: what release of ubuntu?
[02:26] <mattfly> 14.04
[02:26] <mattfly> it used to work normally but then there was a lightning and i suspect the board can be damaged
[02:26] <TJ-> mattfly: so that usually uses ifupdown's /etc/network/interfaces
[02:26] <mattfly> but kinda weird since the router is ok
[02:26] <TJ-> mattfly: ahhh... now you tell us :)
[02:26] <mattfly> how can i know if there is still a board that works there?
[02:27] <mattfly> there were other compters connected to the lan and they werent damaged
[02:27] <TJ-> 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] <mattfly> not really
[02:27] <TJ-> 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] <mattfly> wont dmesg show anything?
[02:27] <mattfly> because it doesnt
[02:28] <TJ-> mattfly: maybe try a different cable too
[02:28] <TJ-> dmesg is where kern.log gets its messages from
[02:28] <mattfly> yeah it is a looong cable
[02:28] <mattfly> it exists because wifi didnt work on that distance
[02:28] <TJ-> mattfly: the kernel should report the device being detected and initialised. You've got an 'eth0' node for it I assume?
[02:29] <TJ-> mattfly: if there's an ethX node then the driver is fine
[02:29] <mattfly> there is
[02:29] <mattfly> i didnt get that error
[02:30] <TJ-> mattfly: ok, so I'd goto "ethtool" and do some diagnostics, check it reports the link active and connected (at some speed)
[02:30] <mattfly> and there is a eth0 interface after ifconfig
[02:30] <mattfly> okay, how should i use ethtool?
[02:30] <TJ-> mattfly: is the PC configured to use DHCP?
[02:30] <mattfly> yeah it was
[02:30] <TJ-> mattfly: and is it getting an IP at all?
[02:30] <mattfly> but i also tried static
[02:30] <mattfly> no
[02:30] <TJ-> mattfly: OK, focus on the link status first then
[02:30] <mattfly> and when i try dhclient
[02:31] <mattfly> it starts sending those dhcp idk what now and never ends
[02:31] <mattfly> or after i do ifup eth0
[02:31] <TJ-> mattfly: start with "ip link show eth0" ... it should say it's UP
[02:32] <TJ-> mattfly: check the system does have ethtool with "which ethtool" ... obviously without net you can't easily install it :)
[02:33] <TJ-> 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] <Triffid_Hunter> mattfly: can try "mii-tool eth0" to show link status
[02:34] <mattfly> okay
[02:34] <Triffid_Hunter> 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] <mattfly> ip link show eth0 says <NO-CARRIER, BROADCAST, MULTICAST, UP>
[02:35] <Triffid_Hunter> mattfly: no-carrier means it thinks the cable is unplugged or broken
[02:35] <mattfly> it is not plugged
[02:35] <mattfly> i will plug and check
[02:35] <mattfly> im back soon
[02:35] <TJ-> 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] <TJ-> mattfly: I have to go, hope you get it sorted
[02:47] <mattfly> have i missed something?
[02:47] <mattfly> even tho i plug the cable it says "eth0: no link"
[02:47] <mattfly> as output of mii-tool eth0
 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] <mattfly> but the cable works in another computer
[02:47] <mattfly> okay
[02:48] <mattfly> ill get a cable
[02:50] <Triffid_Hunter> 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] <Triffid_Hunter> 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] <mattfly> no
[02:52] <mattfly> its like 50 m
[02:52] <mattfly> and the same cable works on my laptop
[02:52] <mattfly> i was talking at first over it
[02:52] <jvelasquez> TJ-,  it went right onto their todo list.   <twb> master:TODO:  - maybe add support for inotify events
[02:53] <Triffid_Hunter> mattfly: then likely the ethernet port is busted unfortunately
[02:53] <mattfly> let me connect both computers
[02:54] <mattfly> i just got a wire
[02:54] <mattfly> okay both connected
[02:54] <mattfly> what do i do
[02:55] <jvelasquez> TJ-,  the inotify rules for systemd services, that is.
[02:55] <jvelasquez> TJ-,  #systemd peeps like the idea.
[02:55] <Triffid_Hunter> mattfly: set them both up, check mii-tool
[02:55] <mattfly> it still shows no link
[02:55] <mattfly> serious man :/
[02:55] <mattfly> this lightning?
[02:56] <mattfly> a longe wire over the roof
[02:56] <Triffid_Hunter> mattfly: seems that way
[02:56] <mattfly> yeah
[02:58] <mattfly> hey
[02:58] <mattfly> !!!
[02:58] <mattfly> on my other computer
[02:58] <mattfly> when im connected with this one mii-tool returns: enp7s0: no autonegotiation, 10baseT-HD, link ok
[02:58] <mattfly> if i unplug from it it says no link
[02:58] <mattfly> this from the other computer
[02:58] <mattfly> suspecious
[03:00] <Aginor> 10baseT seems rather suspicious on its own
[03:00] <Aginor> that's rather old technology
[03:00] <mattfly> yes it is old
[03:00] <mattfly> old as fuck
[03:01] <Aginor> coax-cable kind of old?
[03:01] <mattfly> coax cable?
[03:01] <mattfly> im using normal lan cables
[03:01] <Aginor> ah, sorry
[03:01] <Aginor> I'm mixing it up with 10base2 or 10base5
[03:02] <Triffid_Hunter> 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] <mattfly> aw
[03:02] <mattfly> shit
[03:02] <Aginor> they could just be failing at autonegotiation
[03:03] <mattfly> but the computer that doesnt work says eth0: no link still
[03:04] <Aginor> try forcing the same on both sides
[03:04] <mattfly> forcing the same what?
[03:04] <Aginor> you might also need an actual crossover cable if it's going from computer to computer and you have old hardware
[03:05] <Aginor> same ethernet mode
[03:05] <mattfly> i am tryign to connect this old on to lan
[03:06] <Aginor> ok
[03:06] <mattfly> im testing to see if the lan board is toasted or not
[03:06] <mattfly> actually it is a laptop
[03:06] <mattfly> both are
[03:06] <Aginor> so you are connecting two computers together directly or via a switch/hub?
[03:07] <mattfly> directly
[03:07] <mattfly> just to see if it would work
[03:07] <Triffid_Hunter> hardware would have to be ancient to not have autoneg right? my computers had that in 2005
[03:07] <mattfly> this old laptop is about that age
[03:08] <Aginor> mattfly: modern ethernet cards do crossover automatically, ancient ones didn't
[03:08] <Aginor> so a direct computer-to-computer connection would require a crossover cable
[03:08] <mattfly> the plan is not crossover is just to make sure if the board is gone or not
[03:08] <genericuser123> is there a way to make screen have the bottom bar in byobu?
[03:09] <Aginor> autonegotiation (which you're relying on) relies on the cabling being correct
[03:09] <Aginor> so no link if cabling is wrong
[03:09] <mattfly> aw jesus, ok
[03:09] <Aginor> plug it into a hub or switch
[03:09] <mattfly> so what else should i check for?
[03:09] <Aginor> if light comes on, all good
[03:09] <Aginor> no light, all bad
[03:09] <mattfly> i dont have a hub right now
[03:10] <Aginor> or home router
[03:10] <mattfly> i have a lan cable that comes from the home router that is a bit far away right now
[03:10] <Aginor> ok
[03:10] <mattfly> this cable works on my laptop, but not on the old one
[03:11] <mattfly> 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] <mattfly> but i i plug the cable it remains as no link
[03:11] <Aginor> what's at the other ends when you do those tests?
[03:12] <mattfly> a home router
[03:12] <Aginor> that should be fine
[03:12] <mattfly> but i has no lights
[03:12] <mattfly> it *
[03:17] <mattfly> okay its time to swuitch to a rhaspberry
[03:26] <mattfly> hey
[03:26] <mattfly> thanks for all good night
[03:29] <lucas-arg> 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] <lucas-arg> any idea??
[03:34] <lucas-arg> ok snaps dont appear in gnome apps only in wayland moved back to xorg and all works ok
[03:42] <xuanrui> Had anyone installed nvidia drivers on skylake machines running ubuntu 16.04?
[03:42] <xuanrui> or is updating to 17.04 easier?
[03:54] <glitsj16> xuanrui: are you on 16.04 currently?
[03:54] <xuanrui> glitsj16: yes
[03:55] <Railalis> 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] <glitsj16> xuanrui: what does your system advise? sudo ubuntu-drivers devices
[03:56] <xuanrui> == cpu-microcode.py ==
[03:56] <xuanrui> driver   : intel-microcode - distro non-free
[03:56] <xuanrui> == /sys/devices/pci0000:00/0000:00:01.1/0000:02:00.0 ==
[03:56] <xuanrui> modalias : pci:v000010DEd0000139Bsv00001028sd00000706bc03sc02i00
[03:56] <xuanrui> vendor   : NVIDIA Corporation
[03:56] <xuanrui> model    : GM107M [GeForce GTX 960M]
[03:56] <glitsj16> xuanrui: ouch, use a pastebin to avoid the floodbot
[03:57] <xuanrui> here: http://paste.ubuntu.com/25671130/
[03:58] <glitsj16> xuanrui: so it tagged the 384 driver as recommended, just install that via apt
[03:58] <xuanrui> I've tried that; it doesn't work
[03:58] <xuanrui> aka black screen
[03:59] <glitsj16> xuanrui: you could try a PPA like https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa to get the latest drivers
[04:00] <xuanrui> Yep, obviously I was using this PPA
[04:00] <xuanrui> and it still doesn't work
[04:03] <glitsj16> xuanrui: odd, that PPA has 387.12-0ubuntu0~gpu16.04.1 as latest, did you sudo update && sudo upgrade recently?
[04:03] <xuanrui> Yep I did
[04:05] <glitsj16> there's a kernel param you could try, add "rcutree.rcu_idle_gp_delay=1"
[04:05] <xuanrui> to which file?
[04:06] <glitsj16> xuanrui: to the boot options in GRUB menu to test, to /etc/default/grub to make that permanent.. try it first maybe
[04:07] <glitsj16> press "e" on the selected menu and append it on the line starting with linux
[04:07] <xuanrui> Sure
[04:07] <xuanrui> I'll try this
[04:08] <glitsj16> xuanrui: if you edit /etc/default/grub, you need the usual "sudo update-grub" to regenerate grub.cfg
[04:17] <Railalis> What's the best way to partition linux alongside windows with an sdd and dedicated linux harddrive?
[04:19] <Bitters> Hey all
[04:20] <Railalis> Bitters: hello
[04:32] <KeithWeisshar> why does osdisc charge $14.95 for a 16gb usb flash drive?
[04:33] <KeithWeisshar> it costs $14.95 to purchase a preloaded 16gb flash drive
[04:33] <Bitters> Should I go with Ubuntu Mate or Kali Arm for a project im working on. Its basically a Wifi Pineapple on a Pi3
[04:52] <xuanrui> glitsj16 nope, didn't quite work out
[04:59] <Bajorn> Heyo!
[04:59] <Bajorn> where I can post a solution for an specific problem that worked for me?
[04:59] <Bajorn> can I*
[05:01] <glitsj16> xuanrui: are you using the hwe stack on 16.04? Might need a newer kernel + nomodeset
[05:02] <alkisg> 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] <Bajorn> I don't know if it had something about a package
[05:02] <xuanrui> glistsj16 I have 4.10.0-35-generic kernel version
[05:02] <Bajorn> it was abour some ACPI problems
[05:02] <xuanrui> I thought this should be new enough
[05:03] <alkisg> Bajorn: the acpi code is in the linux package
[05:03] <Bajorn> Nice, I'll check it out
[05:04] <Bajorn> I had this problem with my laptop that when I was giving the shutdown order (by GUI or terminal) it just restarted
[05:04] <glitsj16> xuanrui: it should yes.. only thing i can suggest is trying the 'nomodeset' kernel param (if you didn't try that already)
[05:05] <Bajorn> and sadly by turning ACPI off in the grub options it brought down wifi and usb
[05:06] <alkisg> Bajorn: to file a bug report for acpi, and your workaround, type `ubuntu-bug linux` in a terminal
[05:06] <alkisg> Bajorn: you'll end up with something like this: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1349740
[05:09] <Bajorn> Thanks, I'm on it
[05:21] <xuanrui> glitsj I think I've tried it before, gonna try it again
[05:22] <xuanrui> if it still doesn't work I'll just update to 17.04, which is supposed to support skylake better
[05:28] <Bajorn> Anyway folks, if you're having the trouble of turning off your laptop and getting a restart instead
[05:28] <Bajorn> try GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi=Linux" on /ect/default/grub
[05:28] <Bajorn> worked for me :)
[05:28] <Bajorn> 'Laterrrrrr
[05:54] <lotuspsychje> xuanrui: think best support would be choosing an LTS version to start with
[05:56] <xuanrui> loutuspsychje 16.04LTS proved to be a non solution
[05:57] <xuanrui> I guess I can wait for 18.04, but that's still a long wait
[06:01] <alkisg> 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] <alkisg> 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] <alkisg> So my question is, how can I do what aptitude would do, using apt...
[06:05] <alkisg> Like some "apt purge --auto-remove --DONT-INSTALL-ANY-OTHER-PACKAGES ibus"
[06:07] <lotuspsychje> xuanrui: how about 16.04.3 with kernels play?
[06:07] <lotuspsychje> !pinning | alkisg is what you need?
[06:08] <xuanrui> lotuspsychje Yes, that's what I have
[06:08] <alkisg> lotuspsychje: no, not holding a specific package, but removing a package without installing more, just to satisfy dependencies
[06:08] <xuanrui> and that doesn't work at all
[06:17] <alkisg> 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] <alkisg> 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] <alkisg> 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] <alkisg> Yet, in the official ubuntu mate CDs, unity-control-center-signon isn't installed (something with the seeds, apparently)
[06:28] <AggregatedExpcet> hi
[06:29] <AggregatedExpcet> if i write a tcp server which listen on 0.0.0.0:myport
[06:29] <AggregatedExpcet> and wvdial creates ppp0 interface after tcp server already started
[06:29] <AggregatedExpcet> will it listening on ppp0 interface too?
[06:29] <alkisg> Yes
[06:30] <SwedeMike> 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] <weston> 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] <AggregatedExpcet> SwedeMike: thanks
[06:50] <zamba> elricsfate: definitely
[06:50] <zamba> elricsfate: it has to be FOSS
[07:23] <alexas> i was experimenting with traffic obfurscation and changing parameters in iptables and now my teamviewer can't connect to network
[07:23] <alexas> sometimes if i restart machine it works
[07:23] <alexas> 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] <alexas> also maybe a dns issue, there is a dnscrypt running probably misconfigured
[07:23] <alexas> need to solve both of htis joints really
[09:21] <bumbar> 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] <geirha> apt install elixir=1.2.6-1
[09:30] <geirha> the next apt upgrade will install 1.5.2 again though
[09:33] <ivdsangen> 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] <TandyUK> Hey guys, having issues logging into a remote 14.04 system from certain hosts
[10:30] <TandyUK> 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] <TandyUK> 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] <Ben64> well it says the problem there
[10:32] <TandyUK> rather cryptically
[10:32] <TandyUK> openssh is up to date omn the server, so whats the problem?
[10:32] <TandyUK> Im trying to convert this physical server to a vm using vmware converter
[10:32] <TandyUK> vmware converter being one of the things unable to connect
[10:32] <TandyUK> putty from the same machine connects just fine
[10:33] <Ben64> the client is too old and bad
[10:33] <Ben64> look at what the client supports, sha1, sha1-96, and md5
[10:34] <TandyUK> i have no idea what vmware converter supports, its the latest version of it (6.1.1)
[10:36] <hateball> TandyUK: might want to ask in #vmware then, if someone knows any tips for using the converter
[11:01] <wook> so i finally figured out the remote desktop problem
[11:19] <stefycute> hello
[11:19] <stefycute> i need some help
[11:19] <stefycute> my chrome isnt working
[11:20] <stefycute> it tells me it doesnt have a internet connection
[11:20] <akik> wook: so what was the problem and what is the solution?
[11:21] <stefycute> when in fact i have a internet connection as you can see
[11:34] <Ben64> stefycute: does firefox work
[11:35] <stefycute> nope
[11:35] <stefycute> just tor
[11:35] <wook> 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] <TJ-> stefycute: sounds like the default route is not configured correctly
[11:41] <BluesKaj> Hiyas all
[11:41] <wook> but now i'm having the problem that when i switch to the xfce environment desktop sharing no longer works
[11:42] <stefycute> how do i configure it correctly
[11:47] <TJ-> 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] <stefycute> O.o it can do that?
[11:49] <stefycute> eh?
[11:49] <TJ-> stefycute: depends on what you've installed and how you've got it configured
[11:49] <stefycute> i have no idea
[11:50] <stefycute> so i need to configure tor?
[11:50] <TJ-> 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] <stefycute> does deleting it and reinstalling it works?
[11:53] <RonaldsMazitis> hello, I'm using pulseaudio, how do I get volume applet for openbox ?
[11:53] <RonaldsMazitis> I installed indicator-sound-gtk2 can't run it
[11:57] <iAmSlow> where can i list snap images?
[12:05] <skinux> I'm having trouble getting out of mysqld_safe and back to normal mysql
[12:05] <skinux> ps aux doesn't list it, but it seems to be running using mysqld_safe
[12:10] <MikeSeth> har har
[12:12] <longsleep> 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] <ebinscommando> longsleep: aa-logprof maybe?
[12:14] <RonaldsMazitis> how to start pnmixer
[12:14] <RonaldsMazitis> ?
[12:14] <longsleep> 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] <skinux> How do I get out of mysqld_safe safe mode?
[12:15] <ebinscommando> 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] <ebinscommando> skinux: don't start mysqld_safe?
[12:16] <skinux> I did that so I could reset root password
[12:16] <skinux> Will just restarting my system work??
[12:16] <skinux> Or did it modify configuration so it's always in safe mode??
[12:17] <ebinscommando> kill mysqld_safe and start normal mysqld
[12:17] <skinux> I've killed it 5 times, still shows in ps aux
[12:17] <ebinscommando> skinux: systemd restarting it or something
[12:18] <skinux> Well, starting mysqld_safe didn't set mysql config to always start safe mode, did it?
[12:18] <ebinscommando> as far as I know there's no such option in config to begin with
[12:18] <skinux> Okay. I'll restart my system then.
[12:18] <skinux> Thank you
[12:19] <ebinscommando> I just realized that mysqld_safe isn't "safe mode"
[12:22] <RonaldsMazitis> so there is no volume control applet for openbox ubuntu
[12:22] <RonaldsMazitis> I'm using tint2 panel
[12:24] <ebinscommando> longsleep: aren-t apparmor profiles per-app?
[12:24] <ioria> RonaldsMazitis, you can try gnome-sound-applet (from  gnome-control-senter if installed)
[12:24] <longsleep> ebinscommando: there are profiles for specific apps yes
[12:24] <ebinscommando> longsleep: and those are shipped with the apps, not with the kernel right?
[12:24] <RonaldsMazitis> ioria it can't find it
[12:25] <RonaldsMazitis> gnome-control-center is installed
[12:25] <ioria> RonaldsMazitis, what ? the command or the package ?
[12:25] <longsleep> ebinscommando: not with the kernel yes - aa profiles are seperate from the kernel
[12:25] <RonaldsMazitis> command
[12:25] <ioria> RonaldsMazitis, ls /usr/bin/gnome-sound-applet
[12:25] <ebinscommando> longsleep: in that case why would kernel upgrade break apparmor
[12:26] <ebinscommando> longsleep: /proc or /sys or /dev changes I can understand, but anything else?
[12:26] <RonaldsMazitis> ls: cannot access '/usr/bin/gnome-sound-applet': No such file or directory
[12:26] <longsleep> 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] <longsleep> 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] <ebinscommando> longsleep: hrm, then I suppose you're left with looking for updated profiles in upstream source
[12:28] <longsleep> ebinscommando: sure i could do that - but the average dude cannot - also its a pita to maintain
[12:29] <ioria> RonaldsMazitis, gnome-control-center sound
[12:29] <RonaldsMazitis> no sound there
[12:30] <RonaldsMazitis> it seems like it is gone since 16.04
[12:30] <ioria> RonaldsMazitis, try gnome-alsamixer
[12:31] <RonaldsMazitis> ok
[12:31] <RonaldsMazitis> thats not an applet
[12:32] <ioria> RonaldsMazitis, call it from tint
[12:32] <RonaldsMazitis> like launcher?
[12:33] <ioria> RonaldsMazitis, yep, launcher_item_app = ....
[12:33] <RonaldsMazitis> louncher
[12:33] <RonaldsMazitis> that will give me applet?
[12:33] <ioria> RonaldsMazitis, should give you the controls
[12:34] <RonaldsMazitis> I have pavucontrol for tha
[12:34] <RonaldsMazitis> t
[12:34] <RonaldsMazitis> I need fast applet
[12:34] <RonaldsMazitis> I installed pnmixer, doesn't start at all
[12:35] <ioria> RonaldsMazitis, install     gnome-alsamixer    and set    : launcher_item_app = /usr/share/applications/gnome-alsamixer.desktop
[12:35] <RonaldsMazitis> did it
[12:35] <RonaldsMazitis> it's another window
[12:35] <RonaldsMazitis> not an applet
[12:35] <RonaldsMazitis> every time I need to switch sound level I need to open window
[12:35] <RonaldsMazitis> it's not practical
[12:37] <gvvg_> 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] <gvvg_> this was a fresh install
[12:37] <ioria> RonaldsMazitis, seen this : https://unix.stackexchange.com/questions/356413/volume-icon-for-pulseaudio-on-tint2-nothing-works
[12:40] <skinux> Restarting didn't work, mysqld_safe starts with the machine now.
[12:46] <sysx1000> 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] <ioria> RonaldsMazitis, if no joy with tint ,  you can use lxpanel -> add item -> menu -> add -> volume control
[12:57] <brokencodes> 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] <brokencodes> I ask because my server is getting scanned nearly constantly from these curmudgens, and it it driving me up a stinking wwwall.
[12:58] <brokencodes> s/it/is/1]/
[13:00] <TJ-> 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] <brokencodes> Well, I didnt mean to chase off all the help... dang.
[13:00] <brokencodes> I have a service on port 8888....
[13:01] <brokencodes> I need to aonly allow connection by 3 cellular providers, on this particular box...
[13:01] <sysx1000> any idea, why plain resolv.conf is not working?
[13:01] <brokencodes> could I drop all connections to 8888 that don't originate from within this tight knit list of IP's?
[13:02] <brokencodes> sysx1000 pastebin your resolv.conf if you can.
[13:02] <sysx1000> nameserver 10.0.0.252
[13:02] <TJ-> 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] <brokencodes> is it in /etc/
[13:02] <sysx1000> yes
[13:03] <brokencodes> did you try restarting networking after setting resolve.conf?
[13:03] <sysx1000> host -t a google.com 10.0.0.252  works just fine
[13:03] <sysx1000> brokencodes: I use plain resolv.conf without resolvconf package
[13:03] <TJ-> sysx1000: are you changing it when NetworkManager is managing the DHCP/DNS settings
[13:03] <brokencodes> not what I asked, but ok...
[13:03] <sysx1000> no network manager
[13:03] <BluesKaj> sysx1000, pastrbin your /etc/resolve.conf
[13:04] <TJ-> sysx1000: so just libc ?
[13:04] <brokencodes> service networking restart
[13:04] <sysx1000> it doesn't help
[13:04] <TJ-> sysx1000: so what've you got nsswitch configured to do?
[13:04] <sysx1000> hosts: filed
[13:04] <sysx1000> oops
[13:05] <sysx1000> hosts: files dns
[13:05] <brokencodes> show me results for: nmcli device show <interfacename> | grep IP4.DNS
[13:05] <sysx1000> i have no nmcli
[13:06] <brokencodes> how about nm-tool?
[13:06] <sysx1000> is it related to networkmanager?
[13:06] <BluesKaj> no NM , no nmcli
[13:06] <sysx1000> I have no NM
[13:06] <brokencodes> try changing resolv.conf to the following...
[13:06] <BluesKaj> yes, hence no nmcli
[13:07] <brokencodes> dns-nameservers 10.0.0.252
[13:07] <TJ-> brokencodes: that isn't the correct syntax!
[13:07] <TJ-> brokencodes: please don't suggest incorrect settings
[13:07] <sysx1000> i tried nameserver 8.8.8.8, and dns of my provider - no result
[13:08] <BluesKaj> sysx1000, which dns nameservers are you using in resolv.conf ?
[13:08] <sysx1000> nameserver 10.0.0.252
[13:08] <brokencodes> I'm sorry, I got 3 things going on in my head...
[13:08] <sysx1000> it's my local net dnscache
[13:08] <TJ-> 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] <brokencodes> add the line I have typed above to interfaces file
[13:09] <sysx1000> TJ-: it _must_ work with plain resolf.conf and vanilla nsswitch.conf
[13:09] <BluesKaj> too many network cooks here...
[13:09] <TJ-> 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] <sysx1000> I do not understand,what could be broken there - it's a server ubuntu, it does not require any networkmanager stuff
[13:09] <sysx1000> OK, I will try
[13:10] <TJ-> sysx1000: see "man 5 resolv.conf" for more hints that may help you
[13:10] <TJ-> sysx1000: is IPv6 enabled?
[13:10] <sysx1000> no
[13:10] <sysx1000> disabled
[13:10] <TJ-> sysx1000: and which ubuntu release is it?
[13:10] <sysx1000> 16.04
[13:10] <brokencodes> custom kernel or vanilla?
[13:10] <sysx1000> vanilla
[13:11] <TJ-> sysx1000: hmmm, interesting situation then. Any special local firewall rules added?
[13:11] <sysx1000> nope :)
[13:11] <cristian_c> hi
[13:11] <TJ-> sysx1000: anything extra like SELinux ?
[13:11] <sysx1000> omg, no :-)
[13:11] <TJ-> sysx1000: have you checked /var/log/auth.log and /var/log/syslog for clues?
[13:11] <TJ-> sysx1000: i'm wondering if somehow an apparmor profile might be responsible, or else systemd (!)
[13:12] <sysx1000> apparmor
[13:12] <sysx1000> hmm
[13:12] <sysx1000> it might be a clue
[13:12] <brokencodes> can I see /etc/network/interfaces ???
[13:12] <TJ-> sysx1000: apparmor is the default Ubuntu so shouldn't be an issue unless you've changed profiles
[13:12] <sysx1000> I haven't
[13:13] <cristian_c> 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] <sysx1000> well, auth log only contains 'Could not detect cgroupfs hierarchy.'
[13:13] <cristian_c> 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] <TJ-> sysx1000: have you tried running "sudo tcpdump -ni <ETHx> 'udp and port 53' " whilst expecting the libc resolver to work? See if it sends out network requests?
[13:14] <TJ-> sysx1000: is it on hardware, a VM, or a container?
[13:14] <sysx1000> TJ-: just have tried
[13:15] <sysx1000> no packets even were fired
[13:15] <cristian_c> any ideas?
[13:15] <brokencodes> open another terminal and fire off a dig command
[13:15] <TJ-> sysx1000: at least the limits to the localhost then
[13:16] <TJ-> sysx1000: if it's a container or VM it could be constrained by the host policy
[13:16] <sysx1000> well, I have lxc on this host
[13:16] <brokencodes> sysx1000: it would help if we knew if HW, VM or container
[13:17] <TJ-> sysx1000: but it's the hardware host that is suffering, not a guest?
[13:17] <sysx1000> but it is bare metal hardware, not emulated
[13:17] <sysx1000> yes, host is suffering, correct
[13:17] <TJ-> sysx1000: and this survives the host being rebooted?
[13:17] <sysx1000> totally :)
[13:17] <brokencodes> can you share your interfaces file
[13:18] <TJ-> sysx1000: has it always happened? if not, when did you notice it started? what changes or updates were applied just prior?
[13:18] <sysx1000> Well, after today's update
[13:19] <TJ-> sysx1000: ahhh... check /var/log/apt/history.log and term.log for clues
[13:19] <sysx1000> brokencodes: auto enp2s0 / iface enp2s0 inet dhcp - enp2s0 has dedicated IP in server's dhcp by MAC
[13:20] <brokencodes> does ifconfig still show the enp's or has it changed them to ethX
[13:20] <TJ-> sysx1000: consider the upgraded packages, and if suspect read their changelog from /usr/share/doc/<package>/changelog.gz
[13:20] <sysx1000> enp2s0
[13:20] <TJ-> brokencodes: the interface is up and non-libc name lookups work
[13:21] <sysx1000> TJ-: correct
[13:21] <sysx1000> that's just bizzare
[13:21] <TJ-> 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] <brokencodes> he already stated it survives a reboot
[13:23] <TJ-> sysx1000: Arghh!  I see libnss3 was upgraded
[13:23] <sysx1000> hmm
[13:23] <sysx1000> OK
[13:23] <TJ-> sysx1000: actually, here I see it as available, I haven't installed it. Have you
[13:23] <sysx1000> yes, I see
[13:23] <TJ-> sysx1000: "apt-cache policy libnss3"
[13:24] <DomingoMontoya> 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] <TJ-> DomingoMontoya: packages in backports should depend on the exact version they require
[13:25] <brokencodes> backports dependencies are ranged.
[13:25] <brokencodes> exactly
[13:25] <DomingoMontoya> 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] <DomingoMontoya> Without giving backports a high prio, or adding a bunch of prio prefs to apt for each dependency.
[13:26] <brokencodes> depends: libblahblah:>1.45<1.67
[13:26] <TJ-> DomingoMontoya: that should pull the dependencies from backports if that's where they are
[13:28] <saml_> i'm gonna build packages bro
[13:29] <DomingoMontoya> 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] <killown> can't install anything in ubuntu http://sprunge.us/VFbc
[13:30] <killown> everything says AttributeError: 'module' object has no attribute 'compose'
[13:32] <DomingoMontoya> 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] <DomingoMontoya> https://pastebin.com/AkhRCLjy
[13:33] <killown> omg apt sucks so much http://sprunge.us/TeJj
[13:33] <TJ-> DomingoMontoya: have you tried "apt-get --with-new-pkgs install ..."
[13:33] <killown> this shits break so easily
[13:34] <leftyfb> killown: watch the language please
[13:34] <TJ-> killown: did you change the default python version on the system?
[13:34] <leftyfb> a simple "Here's the error I get. Can someone help me troubleshoot this?" would have been adequate
[13:35] <TJ-> killown:  the problem is in the package python-pip, and specifically its post-inst script
[13:37] <DomingoMontoya> 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] <TJ-> DomingoMontoya: needs apt-get, not apt
[13:39] <killown> TJ- how do I fix it?
[13:39] <maslo> 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] <maslo> 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] <maslo> 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] <maslo> Server is Ubuntu 14.04.5 LTS on cogeco peer1, apache2 is 2.4.7
[13:40] <wook> if i share a drive with samba and want to mount it in fstab am i required to run CIFS?
[13:40] <TJ-> maslo: are there any hardware load-balancers in front of your server, or a CDN?
[13:41] <killown> TJ-, where is the post-script location?
[13:41] <sysx1000> TJ-:
[13:41] <sysx1000> the problem was
[13:42] <sysx1000> that after reboot resolv.conf became readable only by root
[13:42] <sysx1000> :\
[13:42] <TJ-> killown: the problemis actually caused by some python change affecting the functools
[13:42] <maslo> no there is not Tj-
[13:42] <sysx1000> i.e. it has perms 0600, WEIRD!
[13:42] <TJ-> sysx1000: that is very weird!
[13:42] <TJ-> sysx1000: is that happening repeatedly?
[13:43] <sysx1000> after each reboot
[13:43] <killown> TJ-, yes, pip isn't working anymore and the script is using it
[13:43] <sysx1000> I suppose, some dhcpc scripts might do that
[13:44] <killown> TJ-, http://sprunge.us/Ffag
[13:46] <skinux> 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] <skinux> This is fucked. ps aux shows the processes, but kill tells me it can't find the processes.
[13:48] <saml_> pbuilder-dist trusty create     fails W: Failure trying to run: chroot /var/cache/pbuilder/build/23/. mount -t proc proc /proc
[13:49] <saml_> See /var/cache/pbuilder/build/23/./debootstrap/debootstrap.log      but it removes that directory
[13:49] <leftyfb> skinux: please watch the language
[13:50] <skinux> Sorry
[13:50] <saml_> skinux, is there pid?
[13:50] <TJ-> maslo: OK, because there is a known issue with load-balancers and apache with TCP_DEFER_ACCEPT
[13:50] <skinux> It appears so
[13:50] <TJ-> maslo: I investigated it about 10 years ago and it can still affect some installations. See bug #134274
[13:51] <skinux> I believe there are PIDs in this https://gist.github.com/skinuxgeek/198bfea8dc1395cdd0915af9ae1e8b54
[13:55] <swift110_> hey all
[13:56] <saml_> how do you build ubuntu packages for your software?
[13:56] <saml_> http://packaging.ubuntu.com/html/getting-set-up.html  i was following this but  pbuilder-dist <release> create   fails
[13:56] <web_dev> hi
[13:57] <web_dev> sudo add-apt-repository ppa:ondrej/apache2
[13:57] <web_dev> works for you?
[13:58] <leftyfb> web_dev: what do you need that ppa for?
[13:58] <web_dev> leftyfb, apache 2.4
[13:59] <web_dev> gpg: requesting key xxxxxxxx  from hkp server keyserver.ubuntu.com
[13:59] <leftyfb> web_dev: apache 2.4 is available in all supported versions of ubuntu
[13:59] <web_dev> keyserver timed out
[13:59] <leftyfb> web_dev: what version of ubuntu are you running?
[13:59] <web_dev> leftyfb, yes, but i'm on 12.04
[13:59] <web_dev> and PLEASE
[14:00] <web_dev> don't suggest me to upgrade
[14:00] <web_dev> because I CAN'T
[14:00] <leftyfb> web_dev: that PPA doesn't have packages for 12.04
[14:00] <leftyfb> since it's not supported anymore
[14:00] <web_dev> so there is no other workaround?
[14:01] <leftyfb> compile or upgrade
[14:01] <leftyfb> web_dev: why can't you upgrade?
[14:01] <web_dev> because it's an old unsupported server
[14:02] <leftyfb> 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] <web_dev> yes i tried
[14:02] <web_dev> does not boot
[14:02] <maslo> nothing has been updated on the server in 2 weeks TJ- and the issues started happening mid last week
[14:03] <leftyfb> web_dev: does not boot what? What error did you get? Did you come here looking for help with it?
[14:03] <web_dev> leftyfb seems that 12.04.5 installs apache 2.4
[14:03] <web_dev> it's right?
[14:03] <web_dev> leftyfb, no errors, black screen, i think it's a bootloader problem
[14:04] <leftyfb> web_dev: ok, how about we try to troubleshoot that instead of working on an unsupported platform?
[14:04] <TJ-> maslo: and connections are arriving at the server, but not being replied to?
[14:04] <TJ-> maslo: confirmed by tcpdump/pcap ?
[14:04] <web_dev> leftyfb, i think i didn't asked you anything about my unsupported device
[14:05] <leftyfb> web_dev: 12.04 is the unsupported platform
[14:05] <saml_> http://debocker.debian.net/  is this good?
[14:05] <web_dev> is possible to update 12.04 to 12.04.5 ?
[14:05] <web_dev> if yes, how?
[14:06] <ebinscommando> maslo: you may have apache or its underlings leak memory or run out of sockets, examine apache logs carefully
[14:06] <oerheks> web_dev, no, 12.04 is dead, EOL
[14:06] <leftyfb> web_dev: I would be happy to help you troubleshoot getting 16.04 installed.
[14:06] <TJ-> leftyfb: 12.04 is under extended support until April 2019
[14:06] <web_dev> leftyfb, i would be happy to make it working on my device
[14:07] <oerheks> TJ-, only if you pay for that
[14:07] <TJ-> web_dev: could I suggest you install a minimal 14.04 chroot on the system, and run it's apache2.4
[14:07] <TJ-> oerheks: the security updates still come through
[14:07] <web_dev> is possible to dist upgrade without changing the kernel?
[14:08] <oerheks> TJ-, with subscription only, i guess.
[14:08] <TJ-> oerheks: I don't have a subscription but I have 12.04 servers getting upgrades
[14:09] <oerheks> i don't believe that :-(
[14:09] <leftyfb> web_dev: https://www.ubuntu.com/support/esm
[14:09] <TJ-> oerheks: well it's a fact
[14:10] <leftyfb> either way, I feel it would be just as much work to get 16.04 installed onto it at this point
[14:11] <TJ-> oerheks: see: http://paste.ubuntu.com/25673522/
[14:12] <oerheks> TJ-, without esm?
[14:12] <TJ-> 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] <TJ-> oerheks: indeed
[14:13] <ebinscommando> 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] <ebinscommando> if it responds your problem is outside the box
[14:13] <ebinscommando> also, this is a question for #httpd not here
[14:14] <web_dev> TJ-: https://serverfault.com/questions/677697/ubuntu-12-04-5-is-installing-apache-2-4-not-2-2
[14:17] <TJ-> web_dev: that makes sense if the server has HWE enabled
[14:18] <web_dev> maybe i can download apache 2.4 and compile
[14:20] <ebinscommando> there are ppas for 2.4
[14:21] <ebinscommando> and im quite sure it is in 16.x
[14:22] <TJ-> 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] <web_dev> TJ-, upgrading to 14.04, the kernel will be updated?
[14:25] <TJ-> web_dev: yes, if the system isn't running the 12.04.5 HWE kernel already
[14:26] <oerheks> web_dev, why does a kernel update bother you?
[14:30] <skinux> Why does MySQL installation NOT ask for a root password? IT renders me unable to do anything with it.
[14:33] <TJ-> skinux: "dpkg-reconfigure mysql-server-X.Y" might help (X.Y being the version)
[14:34] <pavlos> skinux: https://askubuntu.com/questions/766900/mysql-doesnt-ask-for-root-password-when-installing
[14:34] <web_dev> oerheks, because, if i change the kernel, the system will not boot anymore
[14:35] <skinux> OH I swear it is an endless circle
[14:35] <oerheks> web_dev, hard to believe that is true.
[14:36] <TJ-> oerheks: not if the server doesn't support PAE
[14:37] <ebinscommando> 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] <web_dev> oerheks, it's a dev board connected to a LCD trough GPIO
[14:37] <web_dev> the driver are only for kernel 3.2
[14:44] <wtalleghany> ///
[14:45] <skinux> I don't care about root account, I want to create a user for a web app to use.
[14:46] <skinux> I can't do that without connecting as root as far as I can tell.
[14:48] <leftyfb> so you do care about the root account
[14:48] <skinux> I just want my app to be able to use database, that is what I care about.
[14:48] <leftyfb> skinux: follow the instructions pavlos sent you to reset the root account password, then create your user
[14:49] <skinux> That page tells me to use --skip-grant-tables which is what started this whole mess in the first place.
[14:49] <skinux> Why the hell does Ubuntu have a default setup that can't even be used.
[14:49] <rond_> Hi! Questions about ubuntu 15.10 aren't answered here?
[14:50] <leftyfb> 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] <leftyfb> myself/mysql
[14:51] <leftyfb> 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] <oerheks> rond_, 15.10 is dead, EOL, upgrade please
[14:51] <leftyfb> skinux: I would follow the instructions given to you
[14:52] <rond_> oerheks: can I upgrade ubuntu without reinstalling it? I wouldn't like to install all the packages I have currently installed
[14:53] <oerheks> rond_, depends, if they are original from the repos, yes, private PPA's will be disabled, and manually installed packages too.
[14:55] <skinux> Okay, last thing it said to do was shutdown mysql using mysqladmin, do I now start it normally?
[14:55] <leftyfb> Canonical should really make it clear during download/installation that non-LTS versions are only supported for 6 months
[14:56] <rond_> that may be reason that apt-get update doesn't work for me? (ubuntu 15.10)
[14:56] <leftyfb> rond_: yes
[14:57] <leftyfb> 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] <rond_> I will remember that
[14:57] <rond_> So, you say that there is no other way to fix my apt-get update than to change Ubuntu version?
[14:58] <oerheks> !eolupgrade
[14:58] <leftyfb> rond_: to get upgrades, correct
[14:58] <oerheks> this is your fix to upgrade to 16.04
[15:02] <rond_> thanks
[15:10] <web_dev> on ubuntu 16.04
[15:10] <web_dev> i installed unity
[15:10] <web_dev> but at bootup i can see only guest user
[15:11] <web_dev> not "ubuntu" user
[15:11] <web_dev> why?
[15:14] <pavlos> 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] <web_dev> pavlos, no
[15:14] <web_dev> i installed unity in a second time
[15:15] <web_dev> previously i used only terminal
[15:17] <leftyfb> web_dev: are we talking about the same machine that was running 12.04 before?
[15:18] <web_dev> no
[15:18] <web_dev> it's another one
[15:18] <web_dev> with ubuntu 16.04
[15:18] <alkisg> web_dev: did you use the desktop cd?
[15:19] <web_dev> no
[15:19] <web_dev> i used linaro
[15:19] <alkisg> !linaro
[15:19] <alkisg> I don't think that's an official ubuntu release supported here, is it?
[15:20] <web_dev> linaro it's not a release
[15:20] <alkisg> They probably have their own support methods...
[15:20] <web_dev> linaro i it's only a group of people
[15:20] <alkisg> https://www.ubuntu.com/download/ubuntu-flavours
[15:20] <web_dev> the distro is ubuntu 16.04
[15:20] <alkisg> Well they obviously have their own installer which you used
[15:20] <alkisg> Anyway, what's the output of `ls /home`?
[15:20] <alkisg> Do you see users there?
[15:21] <tgm4883> web_dev: might want to try #linaro
[15:21] <web_dev> no
[15:21] <alkisg> Then their installer didn't create a user
[15:21] <web_dev> i downloaded tar.gz of ubuntu on the official ubuntu website
[15:21] <alkisg> It's not standard ubuntu, we don't know it
[15:22] <web_dev> alkisg, you don't know what you are saying
[15:22] <web_dev> it's the official 16.04 release of ubuntu
[15:22] <web_dev> maybe you don't know how to help me and you tell me that isn't supported
[15:23] <alkisg> Which .tar.gz did you download? Link?
[15:23] <tgm4883> 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] <oerheks> web_dev, did you chroot linaro with ubuntu???
[15:25] <web_dev> tgm4883, i'm afraid that people need a little thing to say "isn't supported"
[15:25] <web_dev> oerheks, yes
[15:26] <oerheks> web_dev, that is your issue then
[15:27] <oerheks> there is a #linaro group here on freenode, good luck!
[15:27] <web_dev> ARM based rootfs
[15:27] <web_dev> www.ubuntu.com
[15:28] <alkisg> web_dev: can you paste a specific link for the tar.gz here?
[15:29] <oerheks> alkisg, take him to #linaro please
[15:29] <web_dev> https://rcn-ee.com/rootfs/eewiki/minfs/ubuntu-16.04.3-minimal-armhf-2017-08-08.tar.xz
[15:30] <alkisg> web_dev: a link from ubuntu.com?
[15:31] <web_dev> yes you can find also there
[15:31] <alkisg> Link?
[15:32] <web_dev> http://cdimage.ubuntu.com/ubuntu-base/releases/16.04/release/
[15:34] <alkisg> I don't see ubuntu-16.04.3-minimal-armhf-2017-08-08.tar.xz there
[15:36] <web_dev> alkisg, stop please, you simply want to help me, that's clear, never mind.
[15:36] <web_dev> *don't
[15:38] <alkisg> 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] <alkisg> 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] <web_dev> linaro is a silent channel since days, weeks..
[15:39] <web_dev> it's not an useful suggestion to say "ask linaro"
[15:39] <alkisg> It's useful to say "we don't know linaro's installer"
[15:39] <oerheks> there is a channel called #ubuntu-arm, but i doubt you will get support by that private build of mister robert nelson
[15:40] <alkisg> They might have different methods of support
[15:40] <alkisg> Wikies, mailing lists, forums, whatever. But if we don't know the image that you're using, we can't help.
[15:40] <web_dev> i just asked why unity doesn't see my own user
[15:41] <leftyfb> web_dev: because you used an installer that was not from ubuntu
[15:41] <leftyfb> web_dev: a regular ubuntu installation will setup a user
[15:41] <alkisg> Maybe that installer doesn't create users, and have instructions somewhere on what they expect you to do to add them
[15:41] <alkisg> We can't know what that installer does.
[15:44] <sgen> 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] <tgm4883> web_dev: what UID is your user?
[15:44] <web_dev> tgm4883, IDK
[15:44] <oerheks> sgen, WOEusb http://www.omgubuntu.co.uk/2017/06/create-bootable-windows-10-usb-ubuntu
[15:45] <tgm4883> web_dev: can you.... look then?
[15:45] <web_dev> sure
[15:45] <pavlos> web_dev: can you look at /etc/passwd file
[15:45] <leftyfb> tgm4883:
 web_dev, did you chroot linaro with ubuntu???
 oerheks, yes
[15:45] <tgm4883> ah
[15:45] <sgen> oerheks: ok thanks
[15:49] <scorpex> 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] <leftyfb> scorpex: sounds like a very chromium-specific problem. I use chrome and have never seen that issue.
[16:02] <zarzar> 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] <TJ-> zarzar: you need binutils-arm-linux-gnueabi{,hf} too
[16:07] <zarzar> TJ- it is installed but not differentiated by version
[16:09] <zarzar> 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] <zarzar> 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] <dckx-m> 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] <nacc> dckx-m: apt and apt-get are differnnt frontends
[16:12] <oerheks> !info python3.6
[16:12] <oerheks> dckx-m, 3.6.1 is availabe
[16:13] <dckx-m> nacc: in general, should one use one over the other?
[16:13] <oerheks> dckx-m, with 16.04 apt is introduced, still apt-get works too
[16:13] <dckx-m> oerheks: thanks
[16:13] <dckx-m> oerheks: but isn't it funny that python is available through apt-get and no apt?
[16:14] <Term1nal> Where can I find the .mount files? I was trying to troubleshoot something yesterday, I can't remember the directory
[16:15] <dckx-m> oerheks: or that's not how it works and I am not understanding a thing>
[16:15] <oerheks> dckx-m, is it?
[16:16] <oerheks> can you show a pastebin of the messages?
[16:16] <dckx-m> 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] <oerheks> dckx-m, have fun!
[16:29] <jamisnemo> 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/<some package name>': Operation not permitted"
[16:29] <jamisnemo> I've checked the permissions on /var/lib/dpkg/info and they look right compared to my other machines
[16:29] <jamisnemo> Is apt/dpkg somehow not running as root?
[16:30] <jamisnemo> I'm running apt upgrade after using sudo su -
[16:30] <jamisnemo> And rerunning it seems to work.
[16:30] <gde33> how should I  go about re-encoding a hd video so that my hp mini / celleron cpu can play it?
[16:31] <gde33> (lubuntu)
[16:31] <gde33> having it die trying doesn't seem a very good out of the box :P
[16:32] <eterno> o.o
[16:32] <eterno> Yes
[16:32] <tgm4883> gde33: handbrake seems a popular choice last time I did that
[16:33] <tgm4883> gde33: or plexmediaserver if your CPU is powerful enough
[16:33] <gde33> cool ty
[16:34] <gde33> any tip for a format to chose? The laptop has tons of GB to waste.
[16:35] <JanSch> 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] <JanSch> I also remember swapping USB drives, and seeing the content of one on the other
[16:35] <JanSch> Is it documented somewhere how disk read/write caching works, and how can I turn this down or off?
[16:38] <Term1nal> I was advised to try disabling lightdm yesterday when troubleshooting an issue
[16:38] <Term1nal> now I can't get it to run anymore.
[16:38] <Term1nal> unless I manually start it
[16:39] <Term1nal> 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] <Term1nal> https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1595454
[16:39] <Term1nal> the workaround described does not appear to work
[16:40] <Term1nal> if I log in textually and run systemctl start lightdm, it works as expected.
[16:40] <Term1nal> this is not ideal
[16:44] <oerheks> Terminto enable lightdm again, sudo systemctl set-default graphical.target ( i think you have used sudo systemctl set-default multi-user.target ??)
[16:45] <Term1nal> oerheks: yeah that's what it was, I checked my grub config
[16:45] <Term1nal> it didn't update the first time to remove the multi-user nomodeset paramter
[16:45] <Term1nal> I had to run it again to get it to go
[16:45] <Term1nal> it's working now :)
[16:45] <TJ-> Term1nal: did you leave the systemd.unit=multi-user.target in the kernel config?
[16:45] <Term1nal> thanks
[16:46] <Term1nal> TJ-: I did, yeah, I ran update-grub to remove it, but it didn't take the first time
[16:46] <TJ-> Term1nal: ahhh, you used set-default
[16:46] <Term1nal> I had to run it againt o get it to take
[16:46] <Term1nal> but the issue ended up being that .mount file
[16:46] <TJ-> Term1nal: so you've got the video drivers sorted now too?
[16:46] <Term1nal> it's running off nouveau right now
[16:46] <Term1nal> I might just leave it like that
[16:47] <TJ-> that's good :)
[16:47] <Term1nal> nvidia driver was a bit finnicky
[16:47] <Term1nal> but nouveau doesn't seem to like external monitors on this system
[16:47] <Term1nal> so I don't know...
[16:48] <Term1nal> although now I have a new problem @.@
[16:48] <Term1nal> lightdm comes up fine.. putting in the user password doesn't start the desktop
[16:48] <Term1nal> it goes to a text screen then falls back to lightdm login
[16:49] <Term1nal> seems only to be that one user account
[16:49] <Term1nal> tried a secondary test account and it works as expected.
[16:53] <TJ-> 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] <TJ-> Term1nal: it's possible all those emergency/root tests you did caused root to write that file
[16:53] <TJ-> Term1nal: so now, your regular user can't replace/update it
[16:54] <Term1nal> yeah could be.
[16:54] <Term1nal> checking now.
[16:55] <Term1nal> first reinstalling the nvidia driver, nouveau still won't do anything with my external monitors
[16:55] <Term1nal> just doesn't even detect them >.<
[16:55] <Term1nal> 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] <Term1nal> it was relying on the mount entry from fstab, that only exists when the encrypted volume is present.
[16:56] <Term1nal> 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] <Term1nal> since that drive isn't mounted at boot, the mount point in fstab wasn't there and systemd went to emergency mode
[17:00] <thyriaen> How can i move the top panel to the bottom in gnome3 ?
[17:00] <Term1nal> oh shoot, I don't know how to get to that .xsession-errors thing because the home folder is encrypted.
[17:01] <Term1nal> TJ-: nvm, but the .xsession thing has no errors, and .Xauthority owned by root
[17:01] <Term1nal> changing that now
[17:02] <TJ-> Term1nal: that'll fix it
[17:02] <lotuspsychje> thyriaen: perhaps the #ubuntu-gnome guys might know that1
[17:03] <Term1nal> yup that did the tric
[17:03] <Term1nal> trick*
[17:03] <oerheks> 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] <oerheks> !info gnome-tweak-tool
[17:04] <thyriaen> oerheks, lotuspsychje thanks will do
[17:56] <t0th_-> hi
[17:56] <t0th_-> i upgrade my hhvm to 3.22 how i can downgrade to version before upgraded it ?
[18:02] <oerheks> t0th_-, remove it, and reinstall from the our repo? make sure you backup stuff
[18:03] <Term1nal> TJ-: it's just one thnig after another D:
[18:03] <Term1nal> now my nvidia-setting doesn't.... show any settings.
[18:03] <Term1nal> any external displays still aren't showing.
[18:03] <Term1nal> so frustrating.
[18:13] <TJ-> Term1nal: have you reinstalled the nvidia driver then? nvidia-settings is proprietary for the nvidia driver only
[18:14] <Term1nal> TJ-: I have, yeah.
[18:14] <Term1nal> the nvidia-settings launches, but there's no display configuration tab
[18:14] <Term1nal> just the application profiles
[18:14] <TJ-> Term1nal: that suggests the nvidia driver isn't there! Check /var/log/Xorg.0.log
[18:15] <TJ-> 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] <Term1nal> hmmm yeah it appears to have loaded nouveau
[18:16] <Term1nal> I have installed nvidia-375 and it's bubbled in the additional driver gui
[18:17] <Term1nal> I have a theory
[18:17] <Term1nal> in troubleshooting I added nouveau to /etc/modules
[18:17] <Term1nal> that might be it
[18:22] <Term1nal> failed to load module nvidia
[18:22] <Term1nal> that must be the culprit
[18:37] <Bashing-om> Term1nal: ' lsmod | grep nouveau ; dpkg -l | grep nvidia* " shows what ?
[19:06] <rond_> 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] <MaidRenamon> Yes, just install the files.
[19:07] <rond_> The prompt isn't mentioned in official Ubuntu guide, hence the question
[19:07] <MaidRenamon> It's fine, just click the button to download them.
[19:09] <oerheks> rond_, seems normal, i doubt it is oke.. https://github.com/pbatard/rufus/issues/487
[19:10] <oerheks> rond when you install ubuntu without internet/updates, you still can make an usb with the internal tool, without those files
[19:11] <rond_> 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] <oerheks> rond_, you are the 1st to mention it, i doubt rufus now
[19:12] <rond_> you doubt rufus? Could you say more of what you mean?
[19:12] <oerheks> no, i gave you 2 urls, find out yourself it you trust it?
[19:13] <rond_> 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] <oerheks> i doubt those downloads, why are they necessary?
[19:15] <rond_> oerheks: without them the creation of bootable USB stick woulndn't continue
[19:16] <SimonNL> doubt that
[19:16] <oerheks> rond_, on ubuntu usb-creator does not need that.
[19:16] <MaidRenamon> I think he's trying to use Rufus on Windows, guys.
[19:17] <rond_> Oh, i didn't mention that. Sorry. MaidRenamon is correct
[19:17] <MaidRenamon> In which case, when I did it, it did ask to download additional files.
[19:17] <MaidRenamon> Just let them download it.
[19:17] <MaidRenamon> Rufus is safe. They even recommend it on Ubuntu's site.
[19:18] <Threadnaught> 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] <nacc> Threadnaught: the linker is ld, generally
[19:20] <Threadnaught> so can I ask you guys?
[19:21] <nacc> Threadnaught: ask away
[19:22] <Threadnaught> thanks, I was about to kms if I got bounced to yet another channel
[19:22] <oerheks> those downloads are not needed at all.. https://github.com/pbatard/rufus/issues/945
[19:22] <oerheks> so i doubt them.
[19:25] <Threadnaught> 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] <Threadnaught> It would appear that some things just aren't getting compiled into the .a files
[19:26] <Threadnaught> and I have no clue why
[19:26] <nacc> Threadnaught: 17.10? you just said 17.04
[19:26] <Threadnaught> I mean .04 sorry
[19:26] <Threadnaught> long day
[19:26] <B105PH3RE> 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] <B105PH3RE>                    | iptables masquereding on a server... netstat: no support for `ip_masquerade' on this system.y
[19:27] <B105PH3RE> can I get netstat -M to work using iptables masquereding getting error msg
[19:29] <B105PH3RE> [oh nvm you can't its for ipchains only
[19:30] <B105PH3RE> anyway to show active masquerade connections
[19:30] <Threadnaught> nacc: what should I do?
[19:32] <nacc> 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] <Threadnaught> no I compiled everything fresh
[19:34] <nacc> Threadnaught: on 17.04?
[19:34] <Threadnaught> I even downgraded my compiler version then recompiled everything fresh and it didn't work
[19:34] <nacc> Threadnaught: "
[19:34] <nacc> Threadnaught: sorry, reading what you wrote -- you say the tests passed fine and then say they don't
[19:35] <nacc> Threadnaught: perhaps use a pastebin, show the environments and what happens with working and non-working cases
[19:35] <Threadnaught> the tests run fine on github
[19:35] <Threadnaught> fail on my pc
[19:35] <Threadnaught> run fine on my old pc
[19:35] <Threadnaught> fail on my new one
[19:35] <Threadnaught> only difference is updated version of ubuntu
[19:36] <Threadnaught> I even downgraded my compiler version
[19:36] <Threadnaught> didn't work then
[19:39] <nacc> Threadnaught: can you use a pastebin and show what is happening (error messages)
[19:39] <Threadnaught> ok
[19:40] <nacc> Threadnaught: did the gcc people tell you what was wrong with the linker?
[19:40] <wook> is it possible to make .smbcredentials1, .smbcredentials2, and so on?
[19:40] <wook> for a samba shared drive?
[19:45] <Threadnaught> nacc: they didn't seem too interested tbh, kept trying to fix problems I didn't have
[19:45] <Threadnaught> nacc: used nm to look inside the file and it didn't have functions in it that it itself was calling
[19:46] <konrados> 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] <Threadnaught> nacc: it was broken enough that tests which ran facebook ran them didn't run on mine
[19:47] <konrados> please, ppl, I've been struggling with it for soooo long :(
[19:48] <phelix> 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] <codepython777> how can i tell ubuntu to mount a usb device with particular ID to /dev/ttyUSB0?
[20:02] <konrados> Hi again, I got disconnected, did someone answer by a chance?
[20:02] <konrados> ^ this (disconnecting) is actually the problem I've been trying to solve
[20:03] <konrados> for weeks now :(
[20:04] <pavlos> codepython777: you may have to define a UDEV rule ... see http://hintshop.ludvig.co.nz/show/persistent-names-usb-serial-devices/
[20:06] <nacc> konrados: what does `lsmod | grep rtl` say?
[20:07] <konrados> nacc, - https://paste.ubuntu.com/25675376/
[20:08] <nacc> konrados: and `lsmod | grep 8192` ?
[20:09] <konrados> nacc, - https://paste.ubuntu.com/25675383/
[20:10] <pzn> 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] <Sicnus> 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] <codepython777> pavlos: thanks for the link.
[20:12] <nacc> konrados: where did you get the driver from?
[20:14] <pavlos> konrados: does this link help? ... https://askubuntu.com/questions/820886/problem-with-tp-link-tl-wn823n?noredirect=1&lq=1
[20:15] <konrados> 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] <nacc> 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] <pzn> where is the file to configure tty/getty in ubuntu which uses systemd-sysv ?
[20:16] <konrados> nacc, yes, it's the link mentioned by pavlos -
[20:16] <konrados> so, pavlos - yes, this is where I have the driver from
[20:16] <pavlos> ok
[20:17] <konrados> 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] <nacc> konrados: what "official" one?
[20:19] <konrados>  sec...
[20:22] <konrados> 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] <leftyfb> That's good because there is no such thing as 16.06. So I guess they're right.
[20:24] <konrados> wait, who's right? I'm a bit lost here
[20:24] <FuZi0N> https://pastebin.com/UzMzzdHL
[20:24] <FuZi0N> 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] <nacc> konrados: so two things, that is ot "official" to this channel. THat is what tp-linnk says.
[20:25] <nacc> konrados: well, multiple thigs
[20:25] <nacc> konrados: they clearly say it doesn't work on newer kernels
[20:25] <nacc> konrados: and that it's unsupported when it does work
[20:25] <leftyfb> FuZi0N: is the interface up?
[20:25] <konrados> ooooh
[20:26] <FuZi0N> enp6s0f0 is up yes
[20:26] <oerheks> the git fixes for 8192cu should work, with kernel 4.8 https://ubuntuforums.org/showthread.php?t=2352681
[20:26] <FuZi0N> the main ip works
[20:26] <FuZi0N> just not the failover i added at the end
[20:26] <leftyfb> FuZi0N: then you need to bring it up
[20:26] <leftyfb> it won't ping unless the interface is up
[20:27] <FuZi0N> [2:26:03PM] <FuZi0N> enp6s0f0 is up yes
[20:27] <FuZi0N> the interface is up...
[20:28] <tgm4883> FuZi0N: where are you trying to ping it from? And are you sure you want to set it to a /32 ?
[20:28] <tgm4883> Since it's more than likely a /24 right?
[20:28] <leftyfb> FuZi0N: the other ip's need to be added to virtual interfaces.
[20:28] <leftyfb> FuZi0N: do any of the additional ip's show up in ifconfig or ip addr?
[20:29] <FuZi0N> yes
[20:29] <FuZi0N> the original ip shows up fine
[20:29] <pavlos> konrados: can you paste, apt-cache policy dkms
[20:29] <leftyfb> FuZi0N: I didn't ask about the original ip
[20:29] <FuZi0N> https://quickbox.io/wiki/set-up-a-cdn-for-plex-with-cloudflare-nginx/
[20:29] <FuZi0N> i was trying to follow this tutorial
[20:29] <FuZi0N> step 2
[20:30] <leftyfb> 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] <leftyfb> FuZi0N: do any of the additional ip's show up in ifconfig or ip addr?
[20:30] <leftyfb> FuZi0N: did you reboot since making that change to interfaces? Did you run the command(s) manually to see if they worked?
[20:31] <Term1nal> There a way to get systemd fstab-generator to ignore a particular fstab entry?
[20:32] <konrados> 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] <nacc> konrados: i have no idea, sorry -- could be a kernel update in between two months ago and now
[20:34] <konrados> nacc, thing is I didn't do any upgrades, which brings  a question for the next occasion
[20:34] <konrados> pavlos, - https://paste.ubuntu.com/25675536/
[20:35] <pavlos> konrados: thx, you got the latest
[20:36] <konrados> pavlos, thanks, btw - latest of what?
[20:36] <pavlos> konrados: latest dkms for 16.04, 2.2.0.3
[20:37] <konrados> pavlos, - thanks again!
[20:37] <pavlos> konrados: np
[20:42] <konrados> I got disconnected, but... I guess there were no new messages, right? :(((((
[20:49] <wook> 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] <a|ienFS> 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] <pavlos> wook: I dont know, let's search
[20:50] <a|ienFS> 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] <wook> i've been searching it but haven't found much
[20:53] <phelix> Could someone please help me figure out why my dns will not work on my machine?
[20:53] <pavlos> wook: see https://wiki.ubuntu.com/MountWindowsSharesPermanently  seems each mount can have its own .smbcredentials file
[20:54] <phelix> I can manually set resolv.conf to something and it works for like a day then it quits again
[20:54] <pavlos> wook: this section ... Mount password protected network folders
[21:09] <wook> pavlos: i got it :D
[21:09] <wook> it worked just like i thought it would
[21:09] <pavlos> wook: good
[21:10] <pavlos> phelix: have you tried sudo dpkg-reconfigure resolvconf
[21:10] <phelix> pavlos, yes and it doesn't seem to do anything.
[21:11] <phelix> 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
[21:13] <pavlos> phelix: is /etc/resolv.conf a link to /run/resolvconf/resolv.conf ?
[21:16] <a|ienFS> is there anyone around that can clue me in on how to add a hardware raid array to an existing install?
[21:18] <a|ienFS> I see the individual drives under /dev but shouldnt I be able to see the raid device under /dev/mdxx ?
[21:20] <a|ienFS> or is there maybe another support channel that is more active that I can ask my question in?
[21:26] <pavlos> phelix: nmcli dev show | grep DNS
[21:26] <docmur> 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] <mcphail> 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] <Sweepyoface> 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] <a|ienFS> thank you, ill take a look at it
[21:36] <Term1nal> I have a volume I'm mounting, and it used to mount to the name /media/<user>/Storage
[21:36] <Term1nal> Now it mounts to /media/<user>/Storage1
[21:37] <Term1nal> is there a way to stop it from doing that?
[21:38] <Sweepyoface> anyone able to help me?
[21:38] <Term1nal> this dude musti in my PM box trying to get me to give him shell access lol
[21:39] <Term1nal> beware folks.
[21:39] <Term1nal> "leet haxors" are here.
[21:39] <musti> peh
[21:39] <musti> i am newbie and i wanna learn some new things from another guys
[21:40] <Term1nal> musti: linuxacademy.com
[21:40] <musti> ok thx
[21:45] <pavlos> Sweepyoface: sudo ufw reset, sudo ufw enable, sudo ufw status verbose      should list deny(incoming)
[22:18] <foul_owl_> 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] <foul_owl_> "q rhtythmbox" etc haha
[22:20] <nchambers> why not just launch them normally?
[22:20] <Ben64> why do you need disown
[22:20] <nacc> foul_owl_: you would need to add your own shell completion functionality for q
[22:21] <nchambers> its a command shells provide to disown the process
[22:21] <foul_owl_> When the shell closes, the running process goes bye bye
[22:21] <nchambers> so you are no longer the process owner of the command
[22:21] <nacc> we know what disown meanns
[22:21] <Ben64> not if you close it properly
[22:21] <nacc> why are you starting rhythmbox from a terminal?
[22:21] <nacc> use nohup?
[22:21] <Ben64> gnome-calculator&
[22:21] <Ben64> [ctrl+d]
[22:22] <Ben64> easy peasy?
[22:22] <foul_owl_> Causes it to close for me
[22:22] <Ben64> no it doesn't
[22:22] <foul_owl_> It does in zsh
[22:22] <Ben64> well theres your problem
[22:22] <foul_owl_> Last time I used bash it did also
[22:23] <Ben64> well that's incorrect
[22:23] <foul_owl_> But that was in 2012 or so
[22:23] <nacc> lol
[22:23] <foul_owl_> It is incorrect, I agree
[22:24] <foul_owl_> Hmmm nope, still a problem in bash too
[22:24] <Ben64> wrong
[22:24] <foul_owl_> try closing xterm
[22:24] <foul_owl_> lol
[22:24] <foul_owl_> "xterm bash"
[22:25] <foul_owl_> inkscape&
[22:25] <foul_owl_> alt+f4
[22:25] <foul_owl_> it's gone
[22:25] <Ben64> did i say alt+f4
[22:25] <nacc> foul_owl_: read. Ben64 said use Ctrl+D.
[22:26] <foul_owl_> Did I say ctrl+d ? I'm telling you where the issue occurs
[22:26] <Ben64> the issue occurs in reading comprehension
[22:26] <foul_owl_> lol
[22:26] <foul_owl_> I read what you said
[22:26] <foul_owl_> You didn't read what I said
[22:26] <Ben64> i did, you did not
[22:26] <foul_owl_> I said the issue occurs when I close the terminal via alt+f4
[22:27] <Ben64> so don't do that
[22:27] <nacc> foul_owl_: until just now, you actually hadn't said alt+f4
[22:27] <nacc> foul_owl_: what do you want to achieve?
[22:27] <nacc> 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] <Ben64> alt+f4 is even more difficult to do than ctrl+d
[22:28] <foul_owl_> Ok: specifically: I want to be able to issue ctrl+d without the process closing in zsh
[22:29] <nacc> foul_owl_: you don't want ctrl+d to close the shell?
[22:29] <nacc> foul_owl_: how does this have anything to do with what you originally asked?
[22:32] <foul_owl_> 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] <foul_owl_> &
[22:33] <foul_owl_> 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] <foul_owl_> If I do "xterm bash", "inkscape &" and then "kill xterm" inkscape dies
[22:34] <Ben64> should ask in #zsh
[22:34] <foul_owl_> It affects bash also
[22:34] <nacc> foul_owl_: read about how processes work, specifically parent/child relationships
[22:34] <Ben64> but you're asking about zsh
[22:34] <foul_owl_> ^
[22:35] <nacc> foul_owl_: and you can ask that in #bash
[22:35] <Ben64> the answers aren't the same between bash and zsh
[22:36] <foul_owl_> So no apology for saying "that doesn't happen" ? Because you can clearly reproduce the issue
[22:37] <Ben64> what apology? you didn't say you were on zsh until after
[22:37] <foul_owl_> I mentioned both bash and zsh
[22:38] <Ben64> not until after
[22:38] <Phrohdoh> Can I make my scrolling decelerate over as number of ms instead of being a hard stop via xinput?
[22:38] <Phrohdoh> s/as/a
[22:39] <Sweepyoface> pavlos, did that, here's the rules now: https://hastebin.com/owonijogil.vbs
[22:39] <Sweepyoface> but I can still get to 8082 over HTTP just fine
[22:40] <pavlos> 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] <OnkelTem> Hi folks
[22:41] <OnkelTem> 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] <pavlos> Sweepyoface: maybe you need to deny http as protocol
[22:42] <foul_owl_> 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] <Sweepyoface> huh?
[22:42] <nacc> foul_owl_: and you were told, 22 minutes ago why
[22:43] <Sweepyoface> pavlos, there's no such thing as denying protocols
[22:43] <Sweepyoface> just ports, and 8082 has no rule
[22:43] <Sweepyoface> so it should drop it
[22:44] <pavlos> Sweepyoface: sudo ufw deny http ... but it does issue ... 80 DENY Anywhere
[22:45] <Sweepyoface> yes.. that's just a shortcut to port 80
[22:45] <Sweepyoface> does nothing else
[22:46] <pavlos> Sweepyoface: I guess you could try sudo ufw deny 8082
[22:46] <Sweepyoface> that doesn't work either
[22:50] <Sweepyoface> oh maybe it has to do with docker
[22:51] <OnkelTem> Why beep doesn't work?
[22:51] <OnkelTem> Damned, why on EVERY release of Ubuntu beep doesn't work?
[22:51] <OnkelTem> And I always start to search wtf this happens
[22:55] <Ben64> https://askubuntu.com/questions/19906/beep-in-shell-script-not-working
[22:55] <Ben64> first result for "ubuntu beep"
[23:23] <n35xdxb0> 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] <schirtze> Is this a good channel to ask about systemd/init?
[23:25] <glitsj16> n35xdxb0: look inside the .desktop file that launches it, the "Exec=..." line shows the command
[23:27] <n35xdxb0> 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] <OnkelTem> Why KDE on 17.04 doens't play sounds?
[23:28] <glitsj16> n35xdxb0: always options in linux :), yw
[23:28] <OnkelTem> I mean notification sounds
[23:28] <prappl93> n35xdxb0, if you know the exact time started, you could also use 'ps aux | grep [time in 24-hour format]'
[23:28] <prappl93> eg 'ps aux | grep 18:28'
[23:29] <n35xdxb0> prappl93: damn, that's a great idea. very very useful. thanks prappl93 !
[23:29] <glitsj16> schirtze: ask your question, if someone has anything to contribute, they will turn up
[23:29] <glitsj16> schirtze: although there's also #systemd
[23:30] <schirtze> glitsj16, thanks I'll try both
[23:30] <prappl93> n35xdxb0, no problem!
[23:31] <kostkon> n35xdxb0, your menu most likely parses the desktop files in /usr/share/applications
[23:35] <n35xdxb0> 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] <schirtze> 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] <schirtze> 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] <kostkon> n35xdxb0, /usr/share/applications and ~/.local/share/applications
[23:38] <Phrohdoh> 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] <n35xdxb0> kostkon: thanks again! very useful to know
[23:38] <kostkon> n35xdxb0, np
[23:39] <glitsj16> n35xdxb0: it's not something uniquely ubuntu, freedesktop spec --> https://specifications.freedesktop.org/desktop-entry-spec/latest/ (for your bookmarks/notes)
[23:39] <Loshki> 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] <Loshki> palimpsest
[23:41] <n35xdxb0> 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] <schirtze> Are there any good linux security channels I should know of?
[23:42] <glitsj16> haha, I couldn't resist, it sure is a nice way of gathering info indeed
[23:42] <glitsj16> !alis | schirtze
[23:42] <n35xdxb0> Loshki: hahah. lol. i agree :)
[23:44] <Loshki> schirtze: ##security, never been, dunno if it's any good. Most security weenies are a bit tightly wrapped, if ya' know what I mean.