[00:00] <hehehe> central box
[00:08] <nacc> rbasak: enjoy the reviews, 4 MPs up, which should get our refactoring done. Will try and implement pristine-tar tmrw
[00:11] <hehehe> nacc:  lol https://www.mylife.com/nishanth-aravamudan/nishanth-aravamudan
[01:30] <madLyfe> nacc: so i got the usb adapter working, sort of.
[02:24] <madLyfe> so is there a way to get the Ubuntu Server 16.04.3 LTS iso to use 4.10 over 4.4?
[02:24] <madLyfe> and hwe
[02:27] <sarnold> madLyfe: probably apt-get install linux-generic-hwe-16.04   should do it
[02:27] <sarnold> madLyfe: I stole the package name from https://wiki.ubuntu.com/Kernel/RollingLTSEnablementStack
[02:27] <madLyfe> how do you get that into the iso?
[02:31] <sarnold> madLyfe: based on http://mirror.pnl.gov/releases/16.04.3/ubuntu-16.04.3-server-amd64.list it looks like it -is- in the iso
[02:32] <madLyfe> is there a way to get it to use it over 4.4 as default?
[02:36] <drab> pin the pkg
[02:36] <drab> https://wiki.debian.org/AptPreferences
[02:36] <drab> if I understood what you're asking
[02:36] <sarnold> drab: I think madLyfe is looking for a way to get the server installer to install the hwe stack
[02:36] <drab> or specify it in the install command if it's in a script, you can use =version
[02:36] <drab> oh, uhm
[02:37] <sarnold> I understand it's an option but I ran the 16.04 lts server installer back before hwe stack was added..
[02:37] <drab> is preseed an option?
[02:38] <drab> https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1663337/comments/2
[02:38] <drab> how about that?
[02:38] <drab> seems like the option can be passed on boot cmdline too
[02:39] <drab> madLyfe: ^^
[02:40] <drab> but I may still missing the point
[02:40] <drab> just passing through heh, don't mind me
[02:40]  * drab goes back trying to migrate koha to a container
[02:43] <madLyfe> not sure what all of that means. im just planning on not having ethernet so if i can get it on there during the install.
[05:21] <calcmandan> hey folks. i've been researching different mail server suites out there. i've tested one which doesn't seem to match my personal requirements (citadel) and wondered if any other mail admins can recommend a good suite for me to test. i'm looking to replace gmail permanently and so. These are my requirement for a minimum: filtering, easy mail folder creation, good plugins for spam filtering.
[05:29] <cpaelzer> coreycb: I haven't seen this particular doc move
[05:29] <cpaelzer> coreycb: but others, yet since you are backporting from the package I have I wonder
[05:34] <cpaelzer> coreycb: the related change mostly is https://git.launchpad.net/~paelzer/ubuntu/+source/qemu/commit/?id=8134d313ca114d9ad15a44174066d645bf5fe0aa
[05:34] <cpaelzer> and the reason to change was https://git.launchpad.net/~paelzer/ubuntu/+source/qemu/commit/?id=ac06724a
[05:34] <cpaelzer> but you are right
[05:34] <cpaelzer> there is another one
[05:35] <cpaelzer> https://git.launchpad.net/~paelzer/ubuntu/+source/qemu/commit/?id=8508eee740c78d1465e25dad7c3e06137485dfbc
[05:37] <cpaelzer> I'll queue up a fix for this (and one more I found on that) for the upcoming -rc4/release upload
[05:37] <cpaelzer> thanks for the ping coreycb
[05:38] <cpaelzer> coreycb: there are other fixes around migration in that then that I was driving with upstream
[06:20] <lordievader> Good morning
[06:23] <lordievader> madLyfe: If the kernel is on the iso as a package why not simply install the package into your current install?
[10:11] <Kartagis> ahoy
[10:11] <Kartagis> how to allow a mail server behind barracuda to receive e-mails?
[12:40] <coreycb> thanks cpaelzer
[12:41] <coreycb> cpaelzer: pike releases next week btw :)
[13:01] <madLyfe> lordievader: have a bigger issue right now. if I turn off USB 2.0 in the BIOS I get the adapter to fully recognize but it's so slow. like can't do anything slow. turn USB 2.0 back on and back to where I started.
[13:03] <lordievader> Interesting that it works in USB legacy mode.
[13:03] <lordievader> How does the dmesg output differ?
[13:03] <madLyfe> not sure if it will treat every hub like that or if it's just this one because USB flashdrives directly in are nice and speedy.
[13:05] <madLyfe> I only got to the lsusb command and it showed both the genesys hub and realtek network adapter
[13:06] <madLyfe> but it took over an hour to install server.
[13:07] <lordievader> Ofcourse, usb 1.1 is slow as heck.
[13:07] <madLyfe> typing in text commands was even slow
[13:08] <madLyfe> so I just figured it didn't really matter so I quit with it on USB 2.0 disabled.
[13:09] <lordievader> Find out what it does differently, I suppose.
[13:09] <madLyfe> tried a bunch of other little dip switches on the Mobo to see if I could get it to boot to the USB hub with 2.0 on and nothing.
[13:11] <madLyfe> well I don't think the OS can tell me anything? this is all pre OS
[13:11] <lordievader> Now I am confused.
[13:11] <lordievader> Are you running a live-usb?
[13:12] <madLyfe> I was running server and desktop live.
[13:12] <lordievader> I have no idea what you are doing at this point.
[13:16] <madLyfe> sorry if im being confusing
[13:17] <lordievader> You are trying to get the ethernet adapter working on your server, right?
[13:18] <madLyfe> if i turn usb 2.0 off n the bios, i can boot to usb keys(server or desktop live) and recognize the network port on it as well but its slow AF. if i leave it on, i cant boot anything from the usb hub and the network port doesnt work either.  https://usercontent.irccloud-cdn.com/file/f9fqHdCq/image.png
[13:19] <madLyfe> i mean i need the usb hubs usb ports to work as well.
[13:20] <madLyfe> if i just plug a usb key directly into the port(no hub), no matter what i have on it(server or desktop live) it works flawlessly.
[13:20] <madLyfe> usb 2.0 hates the hub/ethernet adapter.
[13:22] <lordievader> Didn't you have an install on the server (one on disk I mean)?
[13:23] <madLyfe> not sure what that means
[13:23] <madLyfe> there is only one USB port on the thing so it needs to be utilized for internet and OS.
[13:26] <lordievader> madLyfe: On the server, you've had installed an os before, right?
[13:31] <ahasenack> I have a question, probably more policy-wise
[13:31] <ahasenack> this user installed freeradius, but disabled the service via "systemctl disable freeradius.service"
[13:32] <ahasenack> now he gets an error during freeradius package upgrades
[13:32] <ahasenack> freeradius itself has, in postinst, an invoke-rc.d call for start or restart but suffixed with "|| true", so it won't fail
[13:32] <ahasenack> but a subpackage, freeradius-ldap in this case, has a force-reload, without a "|| true"
[13:32] <ahasenack> that one fails
[13:33] <ahasenack> should we add a "|| true" to force-reload as well? Or invalidate the bug saying "if you don't want it running, uninstall it"?
[13:33] <coreycb> beisner: hi we're ready to promote the current batch in pike-staging -> pike-proposed.
[13:33] <ahasenack> or handle the disabled case in some other way "if <disabled>; echo "service disabled, not reloading/restarting"
[13:42] <madLyfe> lordievader: i have installed an os via usb stick yes.
[13:45] <lordievader> madLyfe: Ok. Boot twice once with usb legacy and once with usb2.0 enabled. Compare the relevant dmesg output of both boots.
[13:45] <lordievader> It might point you to something of why it does work in legacy mode but not in 2.0 mode.
[13:45] <madLyfe> with just USB stick or the usb hub?
[13:54] <lordievader> madLyfe: With only the ethernet adapter.
[13:58] <madLyfe> what can the OS tell me if the bios(usb 2.0) doesnt like that adapter?
[14:01] <lordievader> The adapter is simply not detected when in 2.0 mode?
[14:01] <madLyfe> correct
[14:02] <madLyfe> works fine, but is impossibly slow with 2.0 off.
[14:02] <madLyfe> im talking pre OS.
[14:05] <lordievader> Hmm, but is was detected, before right?
[14:05] <beisner> coreycb - ack re: pike proposed, on it.
[14:05] <madLyfe> detected before?
[14:08] <lordievader> madLyfe: Yes, when you first came here with the issue. Udev detected it, as did the driver.
[14:09] <madLyfe> ya, i cant remember the specific situation but i dont think i was booting from it. i think i had it on the front SUV/IO cable USB ports
[14:11] <lordievader> I never said anything about booting from the hub. That is another issue.
[14:12] <lordievader> Correct me if I'm wrong, but the way I see it is that you have a machine with an os installed on disk. In which if the usb mode is set to 1.1 has a working ethernet adapter, and if set to 2.0 a not working ethernet adapter.
[14:13] <lordievader> In both cases the adapter is detected.
[14:17] <madLyfe> i have to go back to the very beginning and test again as i dont remember how i had it setup.
[14:19] <madLyfe> cuz i can either put the OS usb stick on the front I/O cables USB ports, and the adapter on the internal USB port or the other way around.
[14:20] <madLyfe> those are my two options if im not trying to boot with the OS usb stick on the adapter on the internal USB port.
[14:57] <madLyfe> lordievader: also trying something else
[14:57] <madLyfe> installing OS to microSD card slot
[14:57] <madLyfe> not really sure what im trying to gain by doing that but its there
[15:00] <madLyfe> do you think upgrading the processor might help?
[15:00] <lordievader> Does the server have no harddrive?
[15:00] <madLyfe> no
[15:01] <madLyfe> just a bare blade with 1 usb port and front access IO port
[15:01] <lordievader> Wow, that is painful.
[15:02] <madLyfe> https://usercontent.irccloud-cdn.com/file/GI9tAPCg/irccloudcapture1945755247.jpg
[15:02] <madLyfe> and an microSD port
[15:03] <lordievader> In all honesty, I'd start looking at a new server.
[15:04] <madLyfe> nah. this is by design, actually.
[15:04] <madLyfe> just need to get it ethernet somehow
[15:05] <madLyfe> well, ethernet and an OS. at the same time.
[15:05] <lordievader> I know, but it is clear you are not following this design.
[15:06] <lordievader> You are trying to fit a square peg in a round hole, so to speak.
[15:06] <madLyfe> getting a usb port to work?
[15:07] <madLyfe> usb adapter*
[15:11] <lordievader> In a way, yes. I don't really think it is worth the trouble when you can swap it out for something which has a harddrive and nic build in.
[15:11] <lordievader> built*
[15:16] <madLyfe> it has nics but you need the full chassis and nic managers to use them. there are no ethernet ports.
[15:18] <madLyfe> installed to microSD card and on reboot after install i get this: https://usercontent.irccloud-cdn.com/file/QakJoRAR/irccloudcapture683196535.jpg
[15:21] <madLyfe> its a 16gb microSD card
[15:35] <hallyn> rharper: dude.  lvm2 not depending on thin-provisiong-tools seems like a bug.  If you go through the basic steps as in https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Logical_Volume_Manager_Administration/thinly_provisioned_volume_creation.html  you end up with a corrupted VG.
[15:35] <hallyn> rharper: would you agree?
[15:37] <hallyn> hm,
[15:37] <hallyn> I guess it's not really 'corrupt', after you install thin-provisioning-tools it's happy.
[15:37] <hallyn> But this feels very redhat-ish.
[15:38] <hallyn> (having to infer from error messages what other packages i need to install)
[15:38] <madLyfe> https://usercontent.irccloud-cdn.com/file/EUlEjkxt/irccloudcapture365147137.jpg
[15:39] <hallyn> (actually I'm not following that url, not sure why I pasted that;  just following the lvmthin.7 manpage examples)
[15:46] <ndboost> morning all, whats the recommended way to add an internal CA certificate to my server?
[15:49] <sdeziel> ndboost: https://superuser.com/questions/437330/how-do-you-add-a-certificate-authority-ca-to-ubuntu explains how
[15:50] <ndboost> thx sdeziel i'm using puppet/foreman for my lab so i'll figure out how to place the files in that location and run update-ca-certificates
[15:51] <ndboost> looks like https://forge.puppet.com/pcfens/ca_cert is what i want.
[16:13] <rharper> hallyn: is it not even a recommends?
[16:13] <rharper> Suggests: thin-provisioning-tools
[16:28] <sdeziel> ndboost: looks like a nice module, thanks for sharing :)
[16:36] <ndboost> np
[16:36] <ndboost> that solved my problem of deploying the internal ca, just need to figure out why puppet/foreman doesnt like it, still thinks its untrusteed.
[16:50] <sdeziel> ndboost: are you trying to use a custom CA to secure your Puppet/Foreman traffic?
[16:50] <ndboost> yeah
[17:15] <hallyn> rharper: hm, right you are.  It did suggest it, I didn't notice.
[17:16] <hallyn> Still seems worth a Depends: to me, but I guess I'll just accept my licks :)
[17:16] <hallyn> thx
[17:18] <rharper> hallyn: it's a reasonable query; maybe more folks expect thin-p to be around if they install lvm2; there are plenty of non-thinp lvm use-cases but maybe thinp isn't so heavy that we wouldn't always want it around ?
[17:24] <ahasenack> I triaged a bug from IBM iirc once where this package was missing
[17:25] <ahasenack> many hours were spent debugging that, both on our side and on the customer's
[17:26] <ahasenack> hallyn: rharper https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1657646
[17:27] <ahasenack> I also filed a debian bug back then
[17:34] <hallyn> Right, maybe if the creation was prevented (with a helpful message) that would make everyone happy
[17:34] <hallyn> but that woudl require source changes...  so no
[17:42] <devster31> is there a smart way to rename files that are currently in the form of 01a 01b 02a 02b 02c with incremental numbers?
[17:54] <hallyn> sure, you can loop over `seq 1 3` etc,
[17:55] <hallyn> and if the names get complicated enough use sed against basename/dirname etc.
[18:06] <Solaris444> Hi, what user do cgi scripts run as?
[18:06] <Solaris444> I'm trying to run backuppc and it runs fine except that two graphs that appear on the front page are not being generated.
[18:07] <Solaris444> Apparently this is because the cgi user needs read access to a file called pool.rrd
[18:07] <devster31> hallyn definitely complicated enough for sed, do you happen to have a oneliner available?
[18:07] <j4g0> i want to change caps to esc inside vim. On both my ubuntu desktop and my mint box au vimenter * !xmodmap -e 'clear Lock' -e 'keycode 0x42 = Escape' with an according vimleave command does the trick. I installed xmodmap via x11-xserver-utils package but now I get xmodmap: unable to open display ''. where would i need to configure this?
[18:07] <sdeziel> Solaris444: see https://bugs.launchpad.net/bugs/1612600
[18:07] <j4g0> i should mention that i am trying to get it to run on ubuntu server :)
[18:08] <j4g0> 16.04
[18:08] <Solaris444> Oh damn. Thanks sedziel.
[18:08] <Solaris444> So in other words just be patient as a fix is coming?
[18:09] <sdeziel> Solaris444: yes, should hit xenial-updates shortly :)
[18:09] <Solaris444> You guys are awesome. :D
[18:10] <sdeziel> thanks should go to those involved in fixing the bug but I'm glad I could help
[18:12] <madLyfe> lordievader: you there?
[18:13] <lordievader> Not really, that is afk.
[18:13] <Solaris444> sdeziel: absolutely, you've saved me significant time. Now I know all I need to do is wait for the fix to come through.
[18:13] <madLyfe> lol so i think i got it working
[18:14] <Solaris444> but yes, thanks to those up the chain too.
[18:14] <madLyfe> the usb hub/adapter is shown as not plugged in when plugged in fully. if i pull it halfway out of the usb port it makes connection.
[18:14] <madLyfe> fml
[18:14] <sarnold> o_O
[18:14] <sarnold> no wonder nothing made sense
[18:15] <madLyfe> and why it worked one time then couldnt get it working again.
[18:28] <hallyn> devster31: not really...  not clear on what exactly you want to do.  you have 01a 01b 02a 02b 02c, what do you want to turn each into?
[18:28] <hallyn> drop the leading 0?
[18:28] <devster31> no, just incremental numbers 1,2,3,4,5
[18:29] <hallyn> "jsut incremental numbers" describes the files.  IT doesn't tell me how you want to rename them.
[18:29] <nacc> devster31: sort the current files, then enumerate the sorted list?
[18:30] <nacc> devster31: it's not a sed case, because the output string is not int he input string
[18:30] <nacc> devster31: i guess you could use a variable, but at that point, just do it in bash?
[18:31] <hallyn> oh, so if you have amaratto bouncing charlie defcon as filenames, you want to rename those 01a 02b 03c 04d, or something like that?
[18:33] <hallyn> in which case maybe something like count=0; /bin/ls | sort | while read line; do mv $line 0$counta; count=$((count+1)); done
[18:33] <hallyn> I'm certain that's not exactly what you want, but mabye it gives you an idea
[18:33] <madLyfe> sarnold: desktop was able to connect perfectly to ethernet and internet connection. server still doesnt detect it though.
[18:34] <nacc> hallyn: my reading was they are current in 01a 01b 02a 02b ... and they want it end up as 1 2 3 4
[18:34] <nacc> hallyn: which your method would also achive, afaict, presuming stable sorting of the input files
[18:34] <devster31> I'll try with count, it seems to be what I want. I currently have files named cache01a cache01b cache02a cache02b cache02c and I'd like cache01 cache02 cache03 cache04 cache05, count seems sensible, maybe with a regex after that
[18:35] <sarnold> probably for f in * ; do mv "$f" $count ; ... is better. parsing ls output is miserable :(
[18:35] <nacc> sarnold: +1
[18:36] <nacc> devster31: also why do you care about the file names? the sort result is the same and they lexically make sense still
[18:37] <devster31> because they aren't really cache files, it's pieces of a document which got renamed by accident for some reason
[18:37] <madLyfe> kind of thought server would just detect the ethernet adapter
[18:38] <sarnold> madLyfe: did you add proper /etc/network/interfaces files? or hand-issuing ip commands?
[18:39] <sarnold> devster31: wait if the goal is to remove the 'cache' bit of the names there's probably better tools. 'rename' or 'rename.pl' fo rexample would let you provide a perl expression to rename things, so something like rename 's/cache/document/' cache*  would do the trick
[18:39] <madLyfe> nothing yet. just going by what the installer said it couldnt detect network adapter.
[18:40] <nacc> devster31: but .. you're still prefixing them with cache
[18:40] <nacc> devster31: so i have no idea what you're trying to do now :)
[18:40] <devster31> sarnold thanks, I did try rename but the script installed by my OS doesn't seem to have a counter, so first I'd rename them with numbers then swap the name
[18:46] <madLyfe> sarnold: its showing in the lsusb as well, both the hub and network chip
[18:48] <madLyfe> https://usercontent.irccloud-cdn.com/file/C6UOHOiP/irccloudcapture2054839625.jpg
[18:49] <madLyfe> hey nacc, if Ubuntu Server 16.04.3 LTS iso comes with 4.10 hwe, how does one make that the default or use that w/o ethernet?
[18:51] <nacc> madLyfe: i thought we decided server *doesn't* come with 4.10 :)
[18:52] <sdeziel> https://wiki.ubuntu.com/Kernel/LTSEnablementStack#Server says "Server installations will default to the GA kernel and provide the enablement kernel as optional."
[18:52] <madLyfe> " <lordievader> madLyfe: If the kernel is on the iso as a package why not simply install the package into your current install?"
[18:52] <madLyfe> i have no idea
[18:52] <sdeziel> I don't know how to opt-in that HWE kernel though
[18:52] <powersj> The HWE kernel install is an option on boot
[18:52] <sarnold> nacc: drab found this https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1663337/comments/2
[18:52] <powersj> first menu will be "Install server" and then below that "HWE" something or another
[18:52] <sdeziel> as in press F6?
[18:52] <sarnold> nacc: the trouble is no one knows how to drive preseed
[18:53] <powersj> ^ yeah
[18:53] <lordievader> madLyfe (IRC): not sure if that is going to work. Random thought I had.
[18:53] <madLyfe> ah ok
[18:54] <hallyn> sarnold: yeah i started with 'for f in ???' actually...  just wasn't sure about the origin
[18:54] <hallyn> looks like it's under control, \o :)
[18:54] <sarnold> hallyn: woot
[18:54] <madLyfe> lordievader: you see what i figured out? desktop detects it fine and has internet but server still doesnt during install. if i lsusb, it shows both the usb hub and net chip. not sure whats up with that.
[18:55] <madLyfe> sarnold: so im SOL with the 4.10 kernel/hwe?
[18:55] <sarnold> madLyfe: dunno, this f6 thing at boot sounds promising :)
[18:55] <lordievader> madLyfe (IRC): it is not a usb 3 adapter by any chance?
[18:55] <nacc> sarnold: heh
[18:56] <madLyfe> i dont remember seeing a prompt for key entry at boot.
[18:56] <nacc> madLyfe: well the problem you wil have is the server *installer* will still be on the old kerenl
[18:56] <nacc> madLyfe: and if you presuambly need internet in the installer to install, then it won't matter
[18:56] <madLyfe> ya
[18:58] <nacc> powersj: --^ can you confirm? i understand hwe is installable in the server iso, but it isn't the kernel used by the server iso (this is different from desktop, afaict)
[18:58] <powersj> nacc: if he chooses the HWE kernel on the boot screen the installer will choose 4.10
[18:58] <powersj> as in the install kernel will be 4.10
[18:58] <nacc> powersj: oh at boot time?
[18:58] <powersj> yep
[18:58] <nacc> powersj: sorry, i thought you meant a menu in the installer
[18:58] <powersj> no worries I wasn't clear
[18:58] <nacc> madLyfe: --^ so that's what you need to do, you need to boot to that version of the installer
[18:58] <nacc> presumably a grub choice?
[19:00] <powersj> https://imgur.com/a/cBmsc
[19:01] <nacc> powersj: that menu must be grub? because if not, you're already in a kernel and i can't imagine we trust to kexec to a new kernel :)
[19:01] <nacc> powersj: just a pretty grub overlay?
[19:01] <powersj> nacc: right grub, then boots kernel
[19:01] <nacc> powersj: ack, thanks
[19:01] <nacc> madLyfe: so yeah --^ boot that usb, and pick that option
[19:02] <madLyfe> sorry had a phone call
[19:02] <nacc> madLyfe: unacceptable :)
[19:02] <nacc> (j/k)
[19:02] <madLyfe> so i need to reinstall the whole deal or will that just add to my current install?
[19:03] <nacc> madLyfe: oh you want to just install the hwe kernel on your current system?
[19:03] <nacc> madLyfe: i thought you didn't have internet? :)
[19:04] <madLyfe> maybe i should just deal with the internet thing first
[19:04] <nacc> madLyfe: i mean, they are one and the same, no?
[19:04] <nacc> madLyfe: you need the hwe kernel to use the internet on this machine?
[19:05] <nacc> madLyfe: so you can either use the desktop image and pare it down or reinstall using the server and pick the hwe option
[19:05] <madLyfe> i wanted it in case it would give me the support for my usb network adapter
[19:05] <nacc> madLyfe: what is "it"?
[19:06] <madLyfe> you can see it here in the lsusb output: https://usercontent.irccloud-cdn.com/file/C6UOHOiP/irccloudcapture2054839625.jpg
[19:06] <madLyfe> the usb hub, and then the realtek chip for ethernet
[19:06] <nacc> madLyfe: yes, i just meant in your sentence
[19:06] <madLyfe> but it wasnt detected during install
[19:06] <nacc> madLyfe: i don't know if it is the server iso, your usb stick, etc.
[19:06] <madLyfe> the newer kernel
[19:06] <nacc> madLyfe: since you technically "want" all those things
[19:06] <madLyfe> this is server iso on usb stick
[19:07] <madLyfe> usb stick install to usb stick for OS life.
[19:07] <nacc> madLyfe: and what does uname -r say?
[19:07] <madLyfe> 4.4.0-87-generic
[19:07] <nacc> madLyfe: then you didn't pick the hwe option?
[19:07] <nacc> madLyfe: from the boot menu image that powersj showed a bit ago
[19:08] <madLyfe> i know i havent tried to reinstall it yet
[19:08] <madLyfe> i said maybe i should figure out the internet first
[19:08] <madLyfe> i mean i only wanted the newer kernel to see if that would make my internet work
[19:09] <sdeziel> madLyfe: you could try to boot with the HWE option and see if the installer finds your usb ethernet nic and then decide if you reinstall with that HWE kernel or not
[19:09] <sdeziel> madLyfe: would tell you if the HWE kernel supports your NIC out of the box
[19:10] <madLyfe> like a live boot of the server with HWE?
[19:11] <sdeziel> madLyfe: yes, boot off of the usb key and see how far it goes with the HWE option
[19:11] <nacc> yeah, boot the installer, drop to a shell immediately
[19:11] <madLyfe> i didnt see the live boot or live boot with HWE as an option is what im getting at.
[19:12] <sdeziel> madLyfe: is it the "live boot" thing that bugs you?
[19:12] <nacc> madLyfe: well it won't be "live" there is no "live" on server
[19:12] <nacc> madLyfe: we are saying 'fake live' by starting the install, but don't install it
[19:12] <madLyfe> oh
[19:12] <nacc> madLyfe: drop to a shell instead and see if your device works
[19:12] <madLyfe> drop to a shell?
[19:13] <sdeziel> madLyfe: start the install as normal but by making sure to pick the HWE option
[19:13] <nacc> madLyfe: i believe that's an option in the server install if you cancel at hte first prompt and go back up to the top menu
[19:13] <madLyfe> i pulled the OS usb key and put the installer usb key in to see
[19:14] <madLyfe> https://usercontent.irccloud-cdn.com/file/TyWAMJKV/irccloudcapture1615859173.jpg
[19:16] <nacc> madLyfe: i think powersj was saying there should be a menu before htat
[19:16] <nacc> madLyfe: you're already in the installer at that pointn
[19:16] <madLyfe> thats the first thing that comes up
[19:16] <nacc> madLyfe: it might go by quickly
[19:16] <powersj> click english then the next menu will have the HWE option
[19:16] <powersj> or whatever your language of choice is...
[19:16] <nacc> powersj: oh ok
[19:16] <RoyK> export LC_ALL=C
[19:16] <madLyfe> https://usercontent.irccloud-cdn.com/file/SOagkK05/irccloudcapture1250781339.jpg
[19:16] <RoyK> then run hatever command
[19:17] <nacc> RoyK: ?
[19:17] <nacc> madLyfe: right, try the second option
[19:17] <powersj> madLyfe: ok 2nd option to get the HWE kernel
[19:17] <madLyfe> i knew that much but you want me to go to shell or something?
[19:17] <nacc> madLyfe: yeah, you do that from in the installer
[19:18] <madLyfe> now its failing to detect and mount cd-rom, never seen this before, even though i dont have a cd-rom
[19:19] <madLyfe> hmm i must have wiggled the hub a bit too much
[19:21] <madLyfe> nope https://usercontent.irccloud-cdn.com/file/xUiKG4pW/irccloudcapture113522201.jpg
[19:21] <powersj> then hwe isn't going to help you get networking
[19:21] <madLyfe> that is from the HWE install
[19:21] <madLyfe> ya
[19:22] <madLyfe> is there a way i can just dump all of the network drivers from desktop to the server iso and have it magically work? :P
[19:22] <nacc> madLyfe: they are the same kernel(s)
[19:23] <nacc> madLyfe: that's why it doesn't make sense
[19:23] <nacc> madLyfe: you consistently get network in the desktop installer?
[19:23] <madLyfe> ya
[19:23] <nacc> powersj: i guess the installer initrds coudl be differnt?
[19:23] <nacc> i mean, usb network device is relatively (I'd think) uncommon on server
[19:24] <madLyfe> i thought someone said server iso has way less drivers for things or something? but in server i can still see the network chip and usb hub. im installing from the usb hub right now.
[19:24] <sarnold> what kernel module does the NIC work for you in the desktop installer? could you hit that 'go back' button and load that specific module again in the server installer?
[19:24] <nacc> madLyfe: reading the device is unrelated (generally) to being able to use the device
[19:24] <powersj> I actually don't know re: initrds
[19:24] <nacc> sarnold: good idea
[19:25] <genii> nacc: We use some USB-USB adapters between two servers on the same rack sometimes, to ssh into one from outside then an isolated connection to the other to ssh into that one
[19:25] <nacc> madLyfe: yeah, sorry, it's possible the installer envs differe -- the packages they install are the same, but if you need something present on the server iso that's not by default (let's say) or not laoded by default, then it might lead to different beahvior
[19:25] <nacc> genii: interesting
[19:25] <nacc> genii: i'd still say it's relatively uncommon :)
[19:26] <sarnold> genii: oh neat :)
[19:26] <madLyfe> sarnold: im not sure what that means.
[19:26] <sdeziel> madLyfe: from yesterday, I seem to recall that you were using the r8152 driver, isn't it?
[19:26] <madLyfe> ya
[19:26] <sarnold> madLyfe: compare 'lsmod' output on the non-working instance with lsmod on the working instance; chances are good ther's going to be a kernel module loaded in the working instance that isn't loaded in the non-working instance
[19:26] <madLyfe> i think thats what was working
[19:27] <sarnold> madLyfe: so try to load whateer that module is at the "go back" screen
[19:27] <sdeziel> this driver comes from the -extra package here on Xenial so maybe the HWE kernel doesn't have this package on the ISO?
[19:27] <madLyfe> https://usercontent.irccloud-cdn.com/file/ncOnxuMw/irccloudcapture957248891.jpg
[19:27] <madLyfe> this?
[19:28] <nacc> madLyfe: drop to a shell (execute a shell)
[19:28] <nacc> madLyfe: and run `modprobe r8152`
[19:28] <nacc> see if it's even found
[19:28] <madLyfe> so how do you drop to a shell from where i am at in the installer?
[19:29] <nacc> madLyfe: what i just said
[19:29] <nacc> madLyfe: hit down 15 times?
[19:29] <nacc> madLyfe: and choose "execute a shell"
[19:29] <madLyfe> i see it now
[19:29] <madLyfe> https://usercontent.irccloud-cdn.com/file/JubPeWy2/irccloudcapture392914459.jpg
[19:30] <nacc> madLyfe: yep
[19:31] <madLyfe> https://usercontent.irccloud-cdn.com/file/TDBWKnlf/irccloudcapture900381294.jpg
[19:31] <nacc> sad
[19:31] <nacc> madLyfe: so ... it's not hwe that's the problem, it would appear to be the server image
[19:32] <sarnold> you could use the desktop installer and then go nuts with apt-get purge ubuntu-desktop and so on
[19:32] <nacc> yeah
[19:33] <madLyfe> ummmm
[19:34] <madLyfe> so run the desktop installer and do what?
[19:34] <sdeziel> even on the HWE kernel, this comes from the -extra package (https://packages.ubuntu.com/xenial-updates/amd64/linux-image-extra-4.10.0-28-generic/filelist)
[19:34] <nacc> sdeziel: yeah, i wonder how it worked on the desktop installer
[19:34] <nacc> sdeziel: unless extra is available on desktop?
[19:34] <nacc> madLyfe: can you do `apt policy linux-image-extra` ?
[19:35] <sdeziel> nacc: looks like it but I'm just guessing
[19:35] <nacc> sdeziel: yep, me too :)
[19:35] <sdeziel> `dpkg -l| grep linux-image-extra` should work
[19:36] <madLyfe> says 'bin/sh: apt: not found'
[19:36] <nacc> sdeziel: err, yes, sorry, you're right :)
[19:36] <nacc> madLyfe: what sdeziel said :)
[19:36] <madLyfe> same https://usercontent.irccloud-cdn.com/file/HSKOFuXK/irccloudcapture756594906.jpg
[19:37] <sdeziel> it's been days that madLyfe has been fighting with this ... I want to see this come to a (happy) conclusion
[19:37] <madLyfe> has it really been days? fak
[19:37] <sdeziel> well, didn't you start like 2 days ago?
[19:37] <sarnold> yeah you shold clear the stuff off the bed and get some sleep eventually :D
[19:38] <madLyfe> ya youre correct
[19:38] <nacc> oh we're really early in the installer
[19:38] <sdeziel> maybe it's simpler to let the installer do it's thing and eventually it may succeed in finding the NIC
[19:39] <madLyfe> restart the pc?
[19:40] <madLyfe> sorry, sever.
[19:41] <sdeziel> madLyfe: type 'exit' to get back to the installer
[19:42] <madLyfe> k
[19:46] <sdeziel> http://releases.ubuntu.com/xenial/ubuntu-16.04.3-server-amd64.list includes the package linux-image-extra-4.10.0-28-generic so maybe this will just work
[19:48] <madLyfe> fully install this then?
[19:50] <sdeziel> I'd resume the installation and it should detect the NICs before trying to touch the storage/disk/microSD
[19:50] <sdeziel> so you'll know if you are good with the HWE kernel before touching your storage
[19:51] <madLyfe> when will i know?
[19:51] <madLyfe> im at the partition disks
[19:52] <sdeziel> and what happened in the Detect network hardware/Configure the network sections?
[19:53] <madLyfe> same as before and just hit continue.
[19:54] <sdeziel> I don't know what was "before"
[19:54] <madLyfe> but it did 'detect network' thing popped up again and didnt give an error so i dunno if its working or not.
[19:55] <madLyfe> before = https://usercontent.irccloud-cdn.com/file/xUiKG4pW/irccloudcapture113522201.jpg
[19:55] <madLyfe> i pulled the OS usb key so i cant install to anything anyways. only running from the installer usb key.
[19:56] <sdeziel> so you're install from USB to USB? No microSD?
[19:56] <madLyfe> ya
[19:57] <sdeziel> OK, then why did you pull the key you want to install to? If there is nothing valuable on it, I'd try to install again
[19:58] <madLyfe> just because they have the same name and it can get confusing
[19:58] <madLyfe> installing now
[19:59] <madLyfe> copying data to disk
[19:59] <madLyfe> installing the system..
[20:00] <sdeziel> try to check if you see the linux-image-extra-* package name pass by
[20:00] <madLyfe> i think it may have but not 100% sure
[20:01] <madLyfe> there it is
[20:01] <madLyfe> https://usercontent.irccloud-cdn.com/file/HC0591pP/IMG_20170825_150126.jpg
[20:02] <sdeziel> good, maybe on reboot your NIC will be detected (or on modprobe away)
[20:02] <madLyfe> so after it boots into server, restart it right away?
[20:04] <madLyfe> oh, nvm, it reboots after install
[20:09] <madLyfe> rebooting
[20:13] <madLyfe> sdeziel: does modprobe need sudo?
[20:13] <sdeziel> madLyfe: yes
[20:13] <madLyfe> not output on sudo modprobe r8152
[20:13] <madLyfe> no*
[20:13] <sarnold> yay
[20:13] <nacc> madLyfe: i beleive success is silent
[20:13] <madLyfe> just returns new line
[20:14] <sarnold> the unix way :)
[20:14] <madLyfe> but ping google.com is 'unkown host google.com'
[20:14] <nacc> madLyfe: maybe bad DNS?
[20:14] <nacc> madLyfe: ping isn't a means for checking network connectivity :)
[20:14] <nacc> madLyfe: see if the link is up, etc.
[20:14] <sdeziel> madLyfe: ip link
[20:15] <sdeziel> this should show you if your NIC was detected
[20:15] <madLyfe> https://usercontent.irccloud-cdn.com/file/mRQaFwPe/irccloudcapture474510748.jpg
[20:16] <nacc> looks like it see some device
[20:16] <sarnold> yay :D congratulations
[20:17] <sdeziel> looking at the horrible nic name it seems like a USB nic :)
[20:17] <madLyfe> way to check?
[20:17] <madLyfe> try to ssh in?
[20:17] <sarnold> configure it first
[20:17] <nacc> madLyfe: it's still 'down', meaning unconfigured
[20:17] <sdeziel> like in /etc/network/interfaces
[20:17] <madLyfe> using nano?
[20:18] <sdeziel> yeah
[20:18] <madLyfe> it doesnt give it a regular config like other nics?
[20:18] <sdeziel> I think for a quick and dirty test, you could do "sudo dhclient enx..."
[20:19] <sdeziel> I think that dhclient will take care of up'ing the device but I'm not 100% sure
[20:20] <madLyfe> 'cannot find device"enx..."
[20:20] <nacc> madLyfe: substitute enx... for your devices' name
[20:20] <madLyfe> oh lel
[20:21] <nacc> madLyfe: or other way around, you get what i mean :)
[20:21] <madLyfe> still says cannot find device
[20:21] <sdeziel> madLyfe: check for typos
[20:22] <sdeziel> and yes, dhclient does up the link
[20:23] <madLyfe> image was blurry
[20:23] <madLyfe> return new line
[20:23] <sdeziel> ip -4 a
[20:23] <nacc> madLyfe: try `sudo ip link set enx00e04c6850d7 up; sudo dhclient enx00e04c6850d7` ?
[20:23] <sdeziel> then: ip -4 ro
[20:23] <sdeziel> then take a pic and share :)
[20:24] <madLyfe> https://usercontent.irccloud-cdn.com/file/gnGUO2As/irccloudcapture203695705.jpg
[20:24] <sdeziel> great!
[20:25] <sdeziel> now would be a good time to put up a working /etc/network/interfaces file
[20:25] <madLyfe> sorry, didnt get the ip -4 ro in there
[20:25] <sdeziel> so that you get network connectivity on the next reboot
[20:25] <sdeziel> madLyfe: nvm the ip -4 ro part
[20:25] <madLyfe> ok, umm, is there a way to get this to work from the installer?
[20:25] <madLyfe> because im going to have to do this again a few times.
[20:26] <sdeziel> you could set /etc/network/interfaces then clone the USB key, one per blade
[20:26] <sdeziel> but then the dynamic NIC name would get in the way
[20:26] <sdeziel> (how I love those)
[20:27] <madLyfe> https://usercontent.irccloud-cdn.com/file/WQBA1xsf/irccloudcapture762135147.jpg
[20:27] <sdeziel> madLyfe: if you want to do the USB key clone, I guess you could tell the kernel to always name the NIC eth0 and be done with it
[20:27] <madLyfe> that is all thats in my interfaces
[20:28] <sdeziel> madLyfe: you OK or not with the USB cloning trick to avoid jumping through those hoops for each of your blades?
[20:28] <madLyfe> well i just mean have the installer recognize the nic when it should so it properly sets up everything. i dont mind going into the interfaces file because i have to set them to a static ip anyways.
[20:30] <madLyfe> im going to get a different hub and ethernet adapter anyways because this one i have to have setting just right for it to detect and thats no bueno.
[20:31] <sdeziel> OK, then put that in your /etc/network/interfaces file: http://paste.ubuntu.com/25391633/
[20:31] <madLyfe> after whats already in there?
[20:31] <sdeziel> at the bottom, yes
[20:33] <sdeziel> madLyfe: you may want to also add "  dns-nameserver 8.8.8.8" after the gateway line
[20:33] <sdeziel> replace 8.8.8.8 by your local DNS resolver if any
[20:34] <madLyfe> like so: https://paste.ubuntu.com/25391652/
[20:35] <madLyfe> ya i replace it with my router so i only have to change one place
[20:35] <sdeziel> yes, like that. I always indent the stuff after the iface line but I don't know if that's required
[20:36] <madLyfe> so basically i just want to make the installer set shit up like normal. and maybe i just need to come back to this because i will be getting a different usb hub/ethernet adapter. not sure if that one will just work.
[20:36] <madLyfe> i dont think it was on my other SM servers when i set static ip
[20:40] <madLyfe> https://usercontent.irccloud-cdn.com/file/2yNFroTj/irccloudcapture120908335.jpg
[20:42] <madLyfe> thanks for the help sdeziel, nacc, lordievader, sarnold, powersj!!!
[20:42] <madLyfe> hopefully i didnt forget anyone lol
[20:42] <nacc> madLyfe: yw
[20:43] <sdeziel> np
[20:43] <madLyfe> now i just need to find a usb hub and ethernet adapter thats not going to give me so much trouble
[20:43] <sdeziel> happy mining
[20:44] <sarnold> madLyfe: wooooot :D
[20:45] <madLyfe> i still need to setup a better power system and transfer over different hardware before she is up and going.
[20:53] <hehehe> sarnold: since when you started learning PHP? that article beauty of PHP by sarnold wtf :P
[20:55] <sarnold> hehehe: this one? https://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/
[20:55] <hehehe> haha
[20:57] <hehehe> sarnold: join #php and see what they say
[20:57] <hehehe> :P
[20:57] <hehehe> would be fun
[20:57] <sarnold> no.
[20:57] <sarnold> php 7 is finally getting around to fixing some of the mistakes of the language but app authors still target 5.3 or something stupid.
[20:57] <hehehe> i use 7
[20:57] <hehehe> :)
[20:57] <hehehe> see
[20:58] <hehehe> and I asked modules writes if they use defined statements which they said they do
[20:58] <hehehe> and code is escaped well
[20:58] <hehehe> so should work really
[21:00] <madLyfe> hehehe: i think you were apart of the panacea. ty too
[21:01] <hehehe> *writers
[21:14] <madLyfe> so any usb hub should just work, correct? especially usb 2.0 hubs? on server.
[21:15] <madLyfe> looking at this one: http://www.ebay.com/itm/301426463598?ssPageName=STRK:MESINDXX:IT&_trksid=p3984.m1436.l2649
[21:15] <madLyfe> and this one: http://www.ebay.com/itm/122100079521?ssPageName=STRK:MESINDXX:IT&_trksid=p3984.m1436.l2649
[21:55] <sarnold> madLyfe: in my experience with usb things it's almost always best to go with the cheapest more boring thing you can find
[21:55] <sarnold> it'll usually work because they don't have the budget to make it not work
[21:55] <sarnold> and if it doesn't work, well, what do you expect, you bought the cheapest one
[21:59] <madLyfe> lol good points
[22:00] <madLyfe> that's what I thought about this current one. little did I know it was the connector that's bad.
[22:26] <hehehe> is systemd a gmo of linux?
[22:26] <hehehe> :)
[22:30] <madLyfe> odd that im now seeing an package updates when i log into this server install. you'd think there would be some since the iso doesnt have them all.
[22:31] <madLyfe> now = not
[22:33] <madLyfe> makes me wonder if its not functioning properly?
[22:33] <madLyfe> https://usercontent.irccloud-cdn.com/file/lSFpUncD/image.png
[22:34] <sarnold> "10 packages can be upgraded"
[22:34] <sarnold> sudo apt-get -u dist-upgrade if you want to install the updates
[22:36] <madLyfe> well i mean the fact that it said there were 0.
[22:36] <madLyfe> i used sudo apt upgrade -y
[22:37] <sarnold> that motd is updated something like twice a day, and maybe even less often than that
[22:37] <sarnold> and since the unattended-updates package will install a bunch ofthings overnight anyway..
[22:38] <madLyfe> i think i selected no auto updates on install