Spinneret will not work with the OM2P router.
P!-Ro
Posts: 1,189
I am trying to use two spinneret servers connected to OM2P routers to communicate to use in a robotics project. When the servers are connected to my home router everything works like it should, I can ping it, connect via telnet, and read html off of internet servers. Once I connect it to the OM2P router, nothing works anymore. I know I can get a web connection from the router because connecting the same cable to my laptop will give me an internet connection. I modified the code to have the same gateway that my computer connection showed, and I know I am within the bounds for the various IP's I've tried. The MAC address is the same as is on the sticker. When I SSH into my router and do arp -at, it will either not show the IP at all, or it will show the IP with an <incomplete> next to it. If I try arp -s <spinneret IP> <spinneret MAC> it will show up correctly in the table, but will still not ping and the spinneret still can't pull html from the web like it could when connected to the home router. I've tried multiple OM2P routers, multiple spinneret's, multiple cables, and tried pinging from my computer and from the ssh connected router, so hardware problems are minimal. The primary code I've been using comes from here: http://forums.parallax.com/showthread.php?134400-Spinneret-Simple-TCP-object. This is the second day I've been trying to figure this out so any ideas for what else to try would be appreciated.
Comments
Is the Open-Mesh gateway device connected to a DSL/Cable modem?
Is the gateway connected to the local LAN via a router?
Have you tried Bridge mode?
Describe your network configuration.
Internet/ISP -> Cable/DSL -> Router [LAN]-> OM2P Gateway )))))) OM2P Repeater -> Spinneret/Laptop
A typical home router has LAN ports and a WAN port. The WAN port connects networks together. The LAN port connects device devices together.
Let’s say you have two routers. Router A connects to a cable/DSL modem through the WAN port. Router B’s LAN port is connected to one of router A’s LAN ports. That is like adding a switch to the network. All the devices attached to Router A and Router B are on the same subnet and can talk to each other.
However, if Router B’s WAN port connects to one of router A’s LAN ports then we have two isolated networks. The LAN devices on Router A can talk to each other and the devices on Router B can talk to each other. The devices on A can not talk to B and B cannot talk to A. However, both B and A can get to the Internet.
The devices connected to Router A use Router A as the gateway. The devices connected to Router B use Router B as the gateway. Router B’s traffic passes through Router A on its way to and from the internet.
-Phil
Link to Roy's code: http://forums.parallax.com/showthread.php?127298-HTTP-Demo-%28updated-11-22-2010-12-35am%29