[07:38] morning, another postgresql-11 issue, databases gone, https://bugs.launchpad.net/ubuntu/+source/postgresql-11/+bug/1825476 [07:38] Launchpad bug 1825476 in postgresql-11 (Ubuntu) "Postgresql databases all gone after dist-upgrade to 19.04" [Undecided,New] [10:21] 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] qwebirc79363: you set a default gateway on the one you want to use for default route, and not on the other one [12:10] 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] 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] yep, should be an option in the DHCP settings, if not, you can fix it yourself with a script in the dhclient-exit-hooks === gislaved74 is now known as gislaved [12:14] 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] unfortunally both are intel and I have only the model number to work out from [12:17] 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 === gislaved19 is now known as gislaved [12:34] 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] 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] how do I change metric on a route manuelt just to work around it atm [14:06] qwebirc79363: https://askubuntu.com/questions/1008571/#answer [14:07] 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] 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] 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] qwebirc79363: ^ this said, you can also use the 'ip' command to modify the mtric. [14:12] *metric [14:13] you'd first delete a route, then add it again with the proper metric. [14:14] example: ip route add 192.168.100.0/24 via 10.0.0.1 metric 100 [14:14] "ip route" prints the current routes [14:15] 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] even here several month after [14:15] wat? [14:16] 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] well its still not fixed here several month after [14:17] it is fixed in 19.04, and the backports are in progress [14:17] https://launchpad.net/ubuntu/+source/netplan.io/0.96-0ubuntu0.18.10.2 [14:17] https://launchpad.net/ubuntu/+source/netplan.io/0.96-0ubuntu0.18.04.3 [14:17] and that backport still reports error [14:17] I have tried to install it [14:18] ^ those are in proposed right now, and about to land in bionic and cosmic except someone noticed something unrelated being off [14:19] 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] then either you are not really using 0.96, or you have another error in your yaml that breaks this [14:20] I have followed the guide from netplan.io and I have the 0.96 [14:21] 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] how about you put your yaml in a pastebin so I have have a look? [14:21] 2 sec [14:22] https://pastebin.com/jfkuSzZ0 [14:23] cyphermox: should we take it here or in netplan channel [14:23] 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] 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] qwebirc79363: doesn't matter [14:27] cyphermox: btw the pastebin I posted that is my config file [14:28] codefriar: I'd recommend using ufw if youdon't have any particular needs other than just a firewall [14:28] !ufw [14:28] Ubuntu, like any other Linux distribution, has built-in firewall capabilities. The firewall is managed using the 'ufw' command - see https://help.ubuntu.com/community/UFW | GUI frontends such as gufw and ufw-kde also exist. | An alternative to ufw is the 'iptables' command - See https://help.ubuntu.com/community/IptablesHowTo [14:28] RoyK I'm using iptables to forward traffic from one interface to my vpn interface [14:28] ok - I see === Greyztar_ is now known as Greyztar === lotuspsychje_ is now known as lotuspsychje [18:12] 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] https://askubuntu.com/questions/302662/reattaching-to-an-existing-screen-session [18:15] SomeT: please don't cross-post [18:15] I wont now [18:15] sorry === gislaved85 is now known as gislaved === gislaved19 is now known as gislaved