/srv/irclogs.ubuntu.com/2018/12/07/#ubuntu-server.txt

=== elsheepo is now known as beatzz
rbasakkstenerud: how are you getting on?11:35
kstenerudrbasak trying to find the credentials files for the vpn11:35
rbasakkstenerud: OK. I'll leave you then. I'm going to disappear for a bit.11:35
CrummyGummy_Hi! I'm having an issue where udp traffic is getting to my server despite ufw not being set to allow the traffic. I had the same issue with shorewall. Am I doing something wrong?13:08
CrummyGummy_ufw looks like this https://paste.ee/p/opdRa13:09
CrummyGummy_and I can still do a dns lookup from that server and it is receiving sip invites13:10
MJCDhey all14:18
MJCDI installed the mail server as part of the install process14:19
MJCDbut I dunno anything about administering such things14:19
MJCDis there some nice one with webmail and maybe a gui/web interface14:19
DelvienIs cockpit not available by default in ubuntu server 18.04.1 repos?14:37
leftyfbDelvien: https://packages.ubuntu.com/search?keywords=cockpit14:41
tewardDelvien: known bug in the system is that it doesn't enable universe and multiverse in the ISOs14:43
tewardDelvien: go into your /etc/apt/sources.list and add 'universe multiverse' to the 'main restricted' lines.14:43
Delvienits weird.. new install cant find ANYTHING about cockpit with apt search14:43
Delvienah, thats why then14:43
tewardDelvien: https://askubuntu.com/questions/1082988/ubuntu-bionic-repo-list/1082990#1082990 and my answer here https://askubuntu.com/questions/1081243/why-do-i-need-to-enable-universe-repo-in-18-04-isnt-it-default-enabled/1081246#1081246 touch base on it14:44
tewardDelvien: TL;DR the reason is a known bug: https://bugs.launchpad.net/subiquity/+bug/178312914:44
ubottuLaunchpad bug 1783129 in subiquity "Only "main" component enabled after install" [High,Confirmed]14:44
tewardbut it wasn't fixed on 18.04.1 ISOs14:44
Delvienteward: thanks, got it fixed.14:55
=== kallesbar_ is now known as kallesbar
shubjeroAnyone see this before? apt-cache thinks theres no installed kernel? haha https://paste.ubuntu.com/p/tbKZxvqTT7/19:47
tewardshubjero: it might be a different kernel metapackage installed, but check if linux-image-generic is installed first with apt-cache19:48
tewardIIRC there's a few different linux-* metapackages19:48
leftyfbapt-cache policy linux-image-4.4.0-137-generic19:48
shubjeroteward: same output for linux-image-generic.19:48
tewardwonder if you're not using the 'generic' kernels then19:49
shubjeroI just noticed this when i was preparing to see what packages were going to be updated, and on one system a new kernel was being proposed but on another server it was not proposing a kernel update.. even tho these are both running 16.04 with the same outdated kernel19:49
tewardyou could always install the linux-generic package again, IIRC it's just a metapackage referring to the *actual* image files like leftyfb indicated19:50
shubjeroyeah, i mean if i explictly ask for a new kernel it will update it.. so im not in a bind or anything.. just an observation really19:50
tewardshubjero: I"ve seen it when I've removed a newer kernel due to an update causing major breakage19:51
leftyfbteward: why not install the hwe kernle?19:51
leftyfbkernel*19:51
tewardit then removes linux-generic among other things, but those're rare19:51
tewardleftyfb: you mean to ask shubjero.19:51
tewardi always *do* but i also usually am on latest LTS anyways19:51
leftyfbsorry, shubjero ^19:51
tewardleftyfb: or I'm on VMs so the HWE kernel stacks are irrelevant lol19:52
shubjerodont really feel a need to use the HWE kernel really19:52
shubjeronever come across any blockers yet from the non hwe kernel19:52
leftyfbshubjero: support? security? features? wouldn't have run into your initial problem?19:53
shubjeroi did run a hwe kernel when i still had a system on 14.04 and was trying to use a ceph feature that wasnt supported19:53
shubjeroas long as ubuntu is packaging non hwe kernels for the distro and im not hitting any blockers, why bother?19:53
shubjerosecurity is backported19:53
shubjeroGA kernels are fully supported for the lifetime of the lts19:56
caseydhello.. I'm having some trouble with a new ubuntu server installation. I'm needing to specify an ip with the following info: address: 136.228.96.75 gateway: 136.228.96.65 subnet mask: 255.255.255.240 ... ubuntu wants the subnet in cidr form, I entered 136.228.96.65/28, but it says "has host bits set".20:43
caseydI'm not sure what that means.. any ideas?20:43
tewardcaseyd: you should probably read how subnetting works20:45
caseydI know on windows I can just put in the mask and it works20:45
tewardcaseyd: http://jodies.de/ipcalc?host=+136.228.96.65&mask1=28&mask2=20:46
tewardas I said20:46
tewardyou need to learn how subnetting works to better understand the "subnet" requested field in subiquity20:46
tewardcaseyd: in most cases it's GatewayIP minus 120:46
tewardsee the output from that subnet calculator I linked to to see where I'm getting that from20:46
tewardassuming, of coursee, the gateway IP address is at the beginning of the range :P20:47
teward(depending on the subnetting it might not be in weird setups)20:47
caseydwow, thanks.. yeah I think that was it. I've been looking for a subnet calculator like this forever20:48
caseydthanks for the link20:48
tewardcaseyd: yep.  I would suggest, however, that you read up on how subnetting works.20:49
tewardfor example, 10.0.0.1/8 the network IP is 10.0.0.0/8 - the first IP address in the subnet - typically the gateway is the next IP, and then the final IP is broadcast.20:49
caseydcool, yeah that makes sense. I have a basic understanding for normal ranges, but I've never really messed with smaller ranges than the standard 10.10.10.0/2420:51
tewardcaseyd: I have a Python3 based library I use for network mask calculations, as well, I'd be happy to share what I've got, or even write up a simple Python equivalent of that web-based calculator for IPv4 :P20:55
sdezielcaseyd: there is ipcalc and sipcalc (ipv6) calculators on the CLI20:55
teward^ that as well20:55
tewardwhich does exactly what the other calculator does20:56
tewardsdeziel: i should write a web frontend wrapper around this, give people a nice calculator to use...20:56
tewardtoo bad I'm not a web developer lol20:56
sdezielteward: duckduckgo has it covered for you: https://duckduckgo.com/?q=10.0.1.0%2F24&t=canonical&ia=answer20:57
tewardddg is evil20:57
tewardnah just kidding :P20:58
sdezielyou got me wondering for a sec20:58
tewardsdeziel: doesn't give me all the info i need20:58
tewardlike the number of usable IPs/hosts in the range, etc.20:58
teward:P20:58
shubjeroive always appreciated jodies.de/ipcalc as pasted above20:58
caseydi like the jodies.de one a lot too20:59
sdezielhttp://jodies.de/ipcalc seems to be a wrapper around the ipcalc package21:00

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