From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: <20140527001338.GO3763@iota.offblast.org> Date: Mon, 26 May 2014 19:26:01 -0700 Message-ID: From: Skip Tavakkolian To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=047d7b33c98cb6745504fa586a17 Subject: Re: [9fans] [GSOC] Dial between two computers Topicbox-Message-UUID: f1bd3940-ead8-11e9-9d60-3106f5b1d025 --047d7b33c98cb6745504fa586a17 Content-Type: text/plain; charset=UTF-8 can you supply the output from your cpu? % cat /net/ndb % netstat -n On Mon, May 26, 2014 at 7:18 PM, yan cui wrote: > plan9 auth+cpu+file server runs on vm, > > $ telnet 192.168.122.71 564 > Trying 192.168.122.71... > Connected to 192.168.122.71. > Escape character is '^]'. > Then, no response. > > > > > > 2014-05-26 21:51 GMT-04:00 Skip Tavakkolian : > > the firewall here wont answer pings. >> >> you could check with netstat on your plan 9 and/or traceroute from your >> linux system. btw, does your plan 9 cpu run in a vm? also does telnet on >> the linux system behave the same way as your dial? e.g. >> $ telnet 564 >> >> >> >> On Mon, May 26, 2014 at 6:30 PM, yan cui wrote: >> >>> interesting. >>> I also dial tcp!www.9netics.com!http, but failed. Actually, >>> I cannot even ping it successfully. (other sites such as www.google.comcan be pinged on my system.) By the way, if fossil uses another ip, how to >>> find that? >>> >>> >>> 2014-05-26 20:52 GMT-04:00 Skip Tavakkolian >>> : >>> >>> works here (see below). i wonder if fossil is announcing on a different >>>> ip than you're expecting? >>>> >>>> % 9c dial.c >>>> % 9l -o dial dial.o >>>> % ./dial tcp!www.9netics.com!http >>>> GET / HTTP/1.0 >>>> >>>> HTTP/1.1 200 OK >>>> Server: Plan9 >>>> Date: Tue, 27 May 2014 00:50:46 GMT >>>> ETag: "364d3v1b" >>>> Content-Length: 2682 >>>> Last-Modified: Thu, 29 Aug 2013 22:51:43 GMT >>>> Content-Type: text/html >>>> Connection: close >>>> >>>> >>>> >>>> >>>> ... >>>> >>>> >>>> On Mon, May 26, 2014 at 5:13 PM, Nick Owens wrote: >>>> >>>>> yan, >>>>> >>>>> did you try to use packet capture software like wireshark, or snoopy(8) >>>>> on plan 9, to see the packets? >>>>> >>>>> running wireshark on linux, and snoopy on plan 9, will give you insight >>>>> into if the packets reach the other side successfully. >>>>> >>>>> On Mon, May 26, 2014 at 08:06:21PM -0400, yan cui wrote: >>>>> > Hi all, >>>>> > >>>>> > I used a program to dial from one system to another system, but >>>>> > it gives a connection time out error. I have searched on Internet >>>>> for a >>>>> > long time and cannot get a solution. Could you please provide some >>>>> > suggestions or hints? Basically, one system is Linux based system >>>>> with rc >>>>> > shell installed (we call it A). The other one is a auth+cpu+file >>>>> server >>>>> > (we call it B). On B, I have used fossil/conf command to listen >>>>> tcp!*!564. >>>>> > On A, I executed dial tcp!!564, but it reports a >>>>> time out >>>>> > error after waiting some time. Results are the same when A is a plan9 >>>>> > terminal. By the way, I can ping A to B successfully. What could be >>>>> the >>>>> > possible problems? >>>>> > >>>>> > >>>>> > Thanks, Yan >>>>> > >>>>> > -- >>>>> > Think big; Dream impossible; Make it happen. >>>>> >>>> >>>> >>> >>> >>> -- >>> Think big; Dream impossible; Make it happen. >>> >> >> > > > -- > Think big; Dream impossible; Make it happen. > --047d7b33c98cb6745504fa586a17 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
can you supply the output from your cpu?
% cat /net/nd= b
% netstat -n



On Mon, May 26, 2014 at 7:18 PM, yan = cui <ccuiyyan@gmail.com> wrote:
plan9 auth+cpu+file se= rver runs on vm,

$ telnet 192.168.122.71 564
Trying 192.168.122.= 71...
Connected to 192.168.122.71.
Escape character is '^]'.
= Then, no response.





2014-05-26 21:51 GMT-04:00 Skip Tavakkolian <ski= p.tavakkolian@gmail.com>:

the firewall here wont answ= er pings.

you could check with netstat on your plan 9 an= d/or traceroute from your linux system. =C2=A0btw, does your plan 9 cpu run= in a vm? also does telnet on the linux system behave the same way as your = dial? e.g.
$ telnet <yourip> 564



On Mon, May 26, 201= 4 at 6:30 PM, yan cui <ccuiyyan@gmail.com> wrote:
interesting.
=
I also dial tcp!= www.9netics.com!http, but failed. Actually,
I cannot even ping it successfully. (other sites such as www.google.com can be pinged on= my system.) By the way, if fossil uses another ip, how to find that?


2014-05= -26 20:52 GMT-04:00 Skip Tavakkolian <skip.tavakkolian@gmail.com<= /a>>:

works here (see below). i w= onder if fossil is announcing on a different ip than you're expecting?<= div>
% 9c dial.c
% 9l -o dial dial.o
GET / HTTP/1.0

HTTP/1.1 200 OK
Server: Plan9
Date: Tue, 27 May 2014 00:50:46 GMT
ETag= : "364d3v1b"
Content-Length: 2682
Last-Modifi= ed: Thu, 29 Aug 2013 22:51:43 GMT
Content-Type: text/html
Connection: close

<!DOCTYPE html>=C2=A0
<html>
=

...


On Mon, May 26, 2014 at 5:13 PM, Nick Owens <mischief@9.offblast.o= rg> wrote:
yan,

did you try to use packet capture software like wireshark, or snoopy(8)
on plan 9, to see the packets?

running wireshark on linux, and snoopy on plan 9, will give you insight
into if the packets reach the other side successfully.

On Mon, May 26, 2014 at 08:06:21PM -0400, yan cui wrote:
> Hi all,
>
> =C2=A0 =C2=A0 I used a program to dial from one system to another syst= em, but
> it gives a connection time out error. I have searched on Internet for = a
> long time and cannot get a solution. Could you please provide some
> suggestions or hints? Basically, one system is Linux based system with= rc
> shell installed (we call it A). The other one is a auth+cpu+file serve= r
> (we call it B). On B, I have used fossil/conf command to listen tcp!*!= 564.
> On A, I executed dial tcp!<B's ip address>!564, but it repor= ts a time out
> error after waiting some time. Results are the same when A is a plan9<= br> > terminal. By the way, I can ping A to B successfully. =C2=A0What could= be the
> possible problems?
>
>
> Thanks, Yan
>
> --
> Think big; Dream impossible; Make it happen.



=
--
Think big; Dream impossible; Make it happen.=C2=A0=C2=A0




--
Think big; Dream impossible; Make it happen.= =C2=A0=C2=A0

--047d7b33c98cb6745504fa586a17--