OerHeksmorning, another postgresql-11 issue, databases gone, https://bugs.launchpad.net/ubuntu/+source/postgresql-11/+bug/182547607:38
ubottuLaunchpad bug 1825476 in postgresql-11 (Ubuntu) "Postgresql databases all gone after dist-upgrade to 19.04" [Undecided,New]07:38
qwebirc79363I 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 it10:21
qman__qwebirc79363: you set a default gateway on the one you want to use for default route, and not on the other one12:07
qwebirc79363qman__: 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 server12:10
qwebirc79363qman__: 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 on12:11
qman__yep, should be an option in the DHCP settings, if not, you can fix it yourself with a script in the dhclient-exit-hooks12:12
=== gislaved74 is now known as gislaved
qwebirc79363qman__: so yeah I'm able to test it as soon I have found out wich interface there is onboard and wich there is pci-e12:14
qwebirc79363unfortunally both are intel and I have only the model number to work out from12:15
qwebirc79363qman__: 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 answers12:17
=== gislaved19 is now known as gislaved
qwebirc79363qman__: 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"12:34
qwebirc79363qman__: 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 lts13:05
qwebirc79363how do I change metric on a route manuelt just to work around it atm13:48
tomreynqwebirc79363: https://askubuntu.com/questions/1008571/#answer14:06
tomreynthis 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 do14:07
qwebirc79363thanks 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 debian14:09
tomreyni 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:11
tomreynqwebirc79363: ^ this said, you can also use the 'ip' command to modify the mtric.14:12
tomreynyou'd first delete a route, then add it again with the proper metric.14:13
tomreynexample: ip route add via metric 10014:14
tomreyn"ip route" prints the current routes14:14
qwebirc79363actually no because CanonicalLtd has refused the fix about DHCP override options and it still does not work https://github.com/CanonicalLtd/netplan/pull/7314:15
qwebirc79363even here several month after14:15
cyphermoxthat 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 progress14:16
qwebirc79363well its still not fixed here several month after14:17
cyphermoxit is fixed in 19.04, and the backports are in progress14:17
qwebirc79363and that backport still reports error14:17
qwebirc79363I have tried to install it14:17
cyphermox^ those are in proposed right now, and about to land in bionic and cosmic except someone noticed something unrelated being off14:18
qwebirc79363well 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:19
cyphermoxthen either you are not really using 0.96, or you have another error in your yaml that breaks this14:20
qwebirc79363I have followed the guide from netplan.io and I have the 0.9614:20
qwebirc79363I installed this one netplan.io/bionic-proposed 0.96-0ubuntu0.18.04.3 amd64 [upgradable from: 0.40.1~18.04.4]14:21
cyphermoxhow about you put your yaml in a pastebin so I have have a look?14:21
qwebirc793632 sec14:21
qwebirc79363cyphermox: should we take it here or in netplan channel14:23
codefriargreetings 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 server14: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:23
cyphermoxqwebirc79363: doesn't matter14:24
qwebirc79363cyphermox: btw the pastebin I posted that is my config file14:27
RoyKcodefriar: I'd recommend using ufw if youdon't have any particular needs other than just a firewall14:28
ubottuUbuntu, 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/IptablesHowTo14:28
codefriarRoyK I'm using iptables to forward traffic from one interface to my vpn interface14:28
RoyKok - I see14:28
=== Greyztar_ is now known as Greyztar
=== lotuspsychje_ is now known as lotuspsychje
SomeTin 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:12
tomreynSomeT: please don't cross-post18:15
SomeTI wont now18:15
=== gislaved85 is now known as gislaved
=== gislaved19 is now known as gislaved

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