Also could it be that you are using IPv6, not IPv4? (and your IPv6 is
missing its gateway)
If the IPv6 gateway is bad/missing you'll get that "no route to host"
message.

On Fri, Aug 10, 2018 at 4:31 PM, Stuart Henderson <s...@spacehopper.org>
wrote:

> On 2018-08-07, traveller <travel...@cooldarkness.com> wrote:
> > After OpenBSD, one too many “/“
>
> That won't cause this.
>
>
>
> > On Aug 7, 2018, 11:16 AM -0700, Benjamin Walkenhorst <
> walkenhorst.benja...@gmail.com>, wrote:
> >> Hello everyone,
> >>
> >> I recently installed OpenBSD 6.3 in a VPS.
> >>
> >> In the last few days, I get an error message when running pkg_add, "no
> route to host".
> >> I have tried setting various hosts in /etc/installurl, but the problem
> remains.
> >>
> >> When I run pkg_add, this is the output I get I get:
> >> [20:02|root@myhost:~]# pkg_add nmap
> >> https://fastly.cdn.openbsd.org/pub/OpenBSD//6.3/packages-stable/amd64/:
> ftp: connect: No route to host
> >> https://fastly.cdn.openbsd.org/pub/OpenBSD//6.3/packages/amd64/: ftp:
> connect: No route to host
> >> https://fastly.cdn.openbsd.org/pub/OpenBSD//6.3/packages/amd64/: empty
> >> Can't find nmap
> >>
> >> When I try to ping the host specified in /etc/installurl or call
> traceroute, everything seems to work as expected.
>
> How about "ftp -o- https://fastly.cdn.openbsd.org/pub/OpenBSD/";,
> does that fail too?
>
>
>

Reply via email to