Re: [9fans] [GSOC] Dial between two computers

2014-05-27 Thread erik quanstrom
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

Re: [9fans] [GSOC] Dial between two computers

2014-05-27 Thread Skip Tavakkolian
the first post on this thread mentioned that dial was timing out. it might be worth running aux/listen1 or run httpd to see if a connection on another port can be established. On Tue, May 27, 2014 at 5:38 AM, erik quanstrom quans...@quanstro.netwrote: I used a program to dial from one

Re: [9fans] [GSOC] Dial between two computers

2014-05-27 Thread yan cui
2014-05-27 0:01 GMT-04:00 Skip Tavakkolian skip.tavakkol...@gmail.com: btw, what did traceroute output on your linux system show (i.e. traceroute plan9ipaddr) $ traceroute 192.168.122.71 traceroute to 192.168.122.71 (192.168.122.71), 30 hops max, 60 byte packets 1 cuiy.net (192.168.122.71)

[9fans] [GSOC] Dial between two computers

2014-05-26 Thread yan cui
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

Re: [9fans] [GSOC] Dial between two computers

2014-05-26 Thread yan cui
dial.c has been attached. 2014-05-26 20:06 GMT-04:00 yan cui ccuiy...@gmail.com: 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

Re: [9fans] [GSOC] Dial between two computers

2014-05-26 Thread Nick Owens
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

Re: [9fans] [GSOC] Dial between two computers

2014-05-26 Thread 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:

Re: [9fans] [GSOC] Dial between two computers

2014-05-26 Thread yan cui
OK, will try that. Thanks! 2014-05-26 20:13 GMT-04:00 Nick Owens misch...@9.offblast.org: 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

Re: [9fans] [GSOC] Dial between two computers

2014-05-26 Thread yan cui
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

Re: [9fans] [GSOC] Dial between two computers

2014-05-26 Thread 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 yourip 564 On Mon, May 26, 2014 at 6:30 PM,

Re: [9fans] [GSOC] Dial between two computers

2014-05-26 Thread Skip Tavakkolian
can you supply the output from your cpu? % cat /net/ndb % netstat -n On Mon, May 26, 2014 at 7:18 PM, yan cui ccuiy...@gmail.com 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 '^]'.

Re: [9fans] [GSOC] Dial between two computers

2014-05-26 Thread yan cui
sure. cat ndb ip=192.168.122.71 ipmask=255.255.255.0 ipgw=192.168.122.1 sys=super dns=192.168.122.1 cat netstat tcp 0bootes Listen 5640 :: tcp 1bootes Listen 5670 :: tcp 2none Listen 1100 ::

Re: [9fans] [GSOC] Dial between two computers

2014-05-26 Thread Bakul Shah
Does 9fs localhost ls /n/localhost work on your VM? If that works, and if you can ping in both directions, the other possibilities are a. firewall rules on the linux box or b. how you have set up your VM. If you are using it in the bridge mode, it should work (except for a.).

Re: [9fans] [GSOC] Dial between two computers

2014-05-26 Thread yan cui
2014-05-26 23:02 GMT-04:00 Bakul Shah ba...@bitblocks.com: Does 9fs localhost ls /n/localhost work on your VM? If that works, and if you can ping in both directions, these tests work on my system the other possibilities are a. firewall rules on the linux box or b. how you have set up

Re: [9fans] [GSOC] Dial between two computers

2014-05-26 Thread yan cui
2014-05-27 0:01 GMT-04:00 有澤 健治 aris...@ar.aichi-u.ac.jp: Yan, probably, your host is waiting message from the dial. simple program such as dial is useful for getting diagnostic. I have similar program named connect which is also useful for connection relay and long been used for may

Re: [9fans] [GSOC] Dial between two computers

2014-05-26 Thread Skip Tavakkolian
btw, what did traceroute output on your linux system show (i.e. traceroute plan9ipaddr) On Mon, May 26, 2014 at 6:51 PM, Skip Tavakkolian skip.tavakkol...@gmail.com wrote: the firewall here wont answer pings. you could check with netstat on your plan 9 and/or traceroute from your linux