Error trying to create gre tunnel

2017-08-11 Thread D'Arcy Cain
I made this work on one NetBSD system but two machines on the local side fail. One is a 7.1 server and the other is current. ifconfig gre0 create ifconfig gre0 10.255.255.1 10.255.255.2 netmask 255.255.255.252 ifconfig gre0 tunnel 207.35.13.14 98.158.139.79 The last line gives this error.

Re: Compiling a hello world X program

2017-08-11 Thread gary
"Ivan \"Rambius\" Ivanov" wrote: => Hello, => => I am trying to compile a Hello World program for X Window, but it => fails with an error on NetBSD 7.1 => => [...] => => Full error is => => $ make => cc -I/usr/x11R7/include -c xhello.c => xhello.c:2:22: fatal error:

Compiling a hello world X program

2017-08-11 Thread Ivan "Rambius" Ivanov
Hello, I am trying to compile a Hello World program for X Window, but it fails with an error on NetBSD 7.1 xhello.c:2:22: fatal error: X11/Xlib.h: No such file or directory My program is #include #include int main(int argc, char **argv) { return 0; } My makefile is $ cat Makefile .PHONY:

Re: Error trying to create gre tunnel

2017-08-11 Thread D'Arcy Cain
On 08/11/2017 12:37 PM, D'Arcy Cain wrote: I made this work on one NetBSD system but two machines on the local side fail. One is a 7.1 server and the other is current. ifconfig gre0 create ifconfig gre0 10.255.255.1 10.255.255.2 netmask 255.255.255.252 ifconfig gre0 tunnel 207.35.13.14

Re: Error trying to create gre tunnel

2017-08-11 Thread D'Arcy Cain
On 08/11/2017 09:04 PM, Andy Ruhl wrote: I suppose you could try forwarding all GRE (ip protocol 47) inward to wherever the GRE tunnel lives inside the network. Have you tried that? I thought about that but my Linksys WRT router doesn't appear to have the ability to forward anything but TCP

Re: Error trying to create gre tunnel

2017-08-11 Thread Jonathan A. Kollasch
On Fri, Aug 11, 2017 at 06:53:22PM -0400, D'Arcy Cain wrote: > Is there some way to do this? I can port forward but I suspect that > that won't work as it doesn't use TCP or UDP over the tunnel. I > looked at OpenVPN but that only allows individual hosts to connect. > I am trying to join two

Re: Error trying to create gre tunnel

2017-08-11 Thread Valery Ushakov
Andy Ruhl wrote: > On Fri, Aug 11, 2017 at 3:53 PM, D'Arcy Cain wrote: >> On 08/11/2017 12:37 PM, D'Arcy Cain wrote: >> It turns out that I misunderstood the example. Both servers need to be on >> the public Internet. In my case only the remote was. >> >>

Re: Compiling a hello world X program

2017-08-11 Thread Ivan "Rambius" Ivanov
Hello Gary, On Fri, Aug 11, 2017 at 4:51 PM, wrote: > "Ivan \"Rambius\" Ivanov" wrote: > => Hello, > => > => I am trying to compile a Hello World program for X Window, but it > => fails with an error on NetBSD 7.1 > => > => [...] > => > => Full

Re: Error trying to create gre tunnel

2017-08-11 Thread Robert Elz
Date:Fri, 11 Aug 2017 22:55:41 -0400 From:"D'Arcy Cain" Message-ID: <711b9619-36ef-fedf-cfcf-39a9b969d...@netbsd.org> | I thought about that but my Linksys WRT router doesn't appear to have | the ability to forward anything but TCP and UDP.