[07:38] <OerHeks> morning, another postgresql-11 issue, databases gone, https://bugs.launchpad.net/ubuntu/+source/postgresql-11/+bug/1825476
[10:21] <qwebirc79363> I have a server at home ( ubuntu 18.04 ) there have two nicks ( have a connection in two networks ). How do I set wich nick there should be default route for it
[12:07] <qman__> qwebirc79363: you set a default gateway on the one you want to use for default route, and not on the other one
[12:10] <qwebirc79363> qman__: the issue is that the network that dont shall have gateeway there is it not posible to set static lease because of the router does not reserve ip's there is static and that router is out of my control. But I have maybe found another solution so I'm trying to figure out what interface is what card in the server
[12:11] <qwebirc79363> qman__: because I just noticed 5 min ago about dhcp4-overrides in netplan examples and that should be able to force default gateway to the interface it has to be on
[12:12] <qman__> yep, should be an option in the DHCP settings, if not, you can fix it yourself with a script in the dhclient-exit-hooks
[12:14] <qwebirc79363> qman__: so yeah I'm able to test it as soon I have found out wich interface there is onboard and wich there is pci-e
[12:15] <qwebirc79363> unfortunally both are intel and I have only the model number to work out from
[12:17] <qwebirc79363> qman__: btw as a side note I have also found out that for some reason then I should not ask questions on askubuntu another time. Because for some reason it gets down voted there even that there is no answers
[12:34] <qwebirc79363> qman__: okay this is weird new when I tried with dhcp4-overrides from the examples on netplan.io then I actually got this error "Error in network definition /etc/netplan/config.yaml line 5 column 6: unknown key dhcp4-overrides"
[13:05] <qwebirc79363> qman__: Just found out that its a bug in netplan and it looks like they are only going to patch it in cosmic and disco but not in the lts
[13:48] <qwebirc79363> how do I change metric on a route manuelt just to work around it atm
[14:06] <tomreyn> qwebirc79363: https://askubuntu.com/questions/1008571/#answer
[14:07] <tomreyn> this doesn't answer the metric question, but explains how to set the default gatzeway on just one interface, which  may be what you want to do
[14:09] <qwebirc79363> thanks tomreyn well the gateway/routing options for dhcp clients does not work in ubuntu sadly and there is no eta because the netplan is so old. So this was just as temporary fix until I get the time to format the server and go back to debian
[14:11] <tomreyn> i can't follow the reasoning there - older supported releases also receive fixes, you can also choose to not use netplan and configure the network directly via systemd-networkd or network-manager.
[14:12] <tomreyn> qwebirc79363: ^ this said, you can also use the 'ip' command to modify the mtric.
[14:12] <tomreyn> *metric
[14:13] <tomreyn> you'd first delete a route, then add it again with the proper metric.
[14:14] <tomreyn> example: ip route add 192.168.100.0/24 via 10.0.0.1 metric 100
[14:14] <tomreyn> "ip route" prints the current routes
[14:15] <qwebirc79363> actually no because CanonicalLtd has refused the fix about DHCP override options and it still does not work https://github.com/CanonicalLtd/netplan/pull/73
[14:15] <qwebirc79363> even here several month after
[14:15] <cyphermox> wat?
[14:16] <cyphermox> that has nothing to do with refusing the fix; I rejected the pull request because it's entirely the wrong way to go about it, and the changes were in fact in progress
[14:17] <qwebirc79363> well its still not fixed here several month after
[14:17] <cyphermox> it is fixed in 19.04, and the backports are in progress
[14:17] <cyphermox> https://launchpad.net/ubuntu/+source/netplan.io/0.96-0ubuntu0.18.10.2
[14:17] <cyphermox> https://launchpad.net/ubuntu/+source/netplan.io/0.96-0ubuntu0.18.04.3
[14:17] <qwebirc79363> and that backport still reports error
[14:17] <qwebirc79363> I have tried to install it
[14:18] <cyphermox> ^ those are in proposed right now, and about to land in bionic and cosmic except someone noticed something unrelated being off
[14:19] <qwebirc79363> well even after that 0.96 installed from launchpad then it still report this in bionic "Error in network definition /etc/netplan/config.yaml line 5 column 6: unknown key dhcp4-overrides"
[14:20] <cyphermox> then either you are not really using 0.96, or you have another error in your yaml that breaks this
[14:20] <qwebirc79363> I have followed the guide from netplan.io and I have the 0.96
[14:21] <qwebirc79363> I installed this one netplan.io/bionic-proposed 0.96-0ubuntu0.18.04.3 amd64 [upgradable from: 0.40.1~18.04.4]
[14:21] <cyphermox> how about you put your yaml in a pastebin so I have have a look?
[14:21] <qwebirc79363> 2 sec
[14:22] <qwebirc79363> https://pastebin.com/jfkuSzZ0
[14:23] <qwebirc79363> cyphermox: should we take it here or in netplan channel
[14:23] <codefriar> greetings folks. I'm having some IPTables rules issues. I've setup my vps host as a bastion host, with Tinc to my home based server. From the bastion host, I can ssh into my home box via the Tinc vpn. Likewise, I can ssh into my bastion box from my home server via the tinc link. I think it's safe to say Tinc is working. However, I'm trying to use iptables rules to forward requests received by the bastion host to my home server
[14:23] <codefriar>  via the tinc  link. https://gist.github.com/codefriar/9b60517ecaa8b6de62174a0d59913531 is a listing of my existing iptables rules. From the internet, I can hit my bastion host on port 443, but it never seems to return any data from the home server. Anyone had any suggestions?
[14:24] <cyphermox> qwebirc79363: doesn't matter
[14:27] <qwebirc79363> cyphermox: btw the pastebin I posted that is my config file
[14:28] <RoyK> codefriar: I'd recommend using ufw if youdon't have any particular needs other than just a firewall
[14:28] <RoyK> !ufw
[14:28] <codefriar> RoyK I'm using iptables to forward traffic from one interface to my vpn interface
[14:28] <RoyK> ok - I see
[18:12] <SomeT> in ubuntu server I have the following active screen, in screen: https://i.gyazo.com/1db666e2bd97073d88183f0bad64c52b.png its running in the background and I want to stop it, how do I switch back to it?
[18:14] <tomreyn> https://askubuntu.com/questions/302662/reattaching-to-an-existing-screen-session
[18:15] <tomreyn> SomeT: please don't cross-post
[18:15] <SomeT> I wont now
[18:15] <SomeT> sorry