Page 1 of 2

Can write/read to PINK, but cannot see on network

Posted: Sun Jul 10, 2011 5:33 pm
by falcon
Hello,

I have recently bought the PINK development Kit. I was able to see the PINK (connected to my router) on my desktop using the Netburner IPSETUP tool, and set a static IP and changed the baud rate to 2400. I was then able to write and read using a BS2.
Now after a couple days I can no longer access the PINK using the IPSETUP tool. I've tried searching with all fields empty and with the dynamic IP I assigned (and every other possible combination). The arp -a Command resulted in no evidence that the PINK is recognized on the network. The PINK also doesn't respond to a ping command. Interestingly, I can still write and read string and variable data using the STAMP BS2 so it appears to still be working.

I have tried accessing the PINK using the IP address in the "XXX.XXX.XXX.XXX/nb_factory.htm" format in Internet Explorer 8 but it did not work. I tried two other laptops with both a network switch and the "normal" Ethernet cable, and directly from a laptop using the cross-over Ethernet cable with no luck.

I'm glad to be able to write and read variable data but I need to be able to access the PINK from a network for it to be useful.

Any ideas of how to find the PINK on my LAN.


falcon

Re: Can write/read to PINK, but cannot see on network

Posted: Mon Jul 11, 2011 10:19 am
by rnixon
Hello,

What is the ip address and mask you assigned to the pink?

What is the ip address and mask of your computer?

Do you have a firewall enabled on your computer?

Does your computer have multiple network interfaces?

Re: Can write/read to PINK, but cannot see on network

Posted: Mon Jul 11, 2011 10:29 am
by falcon
rnixon wrote:Hello,

What is the ip address and mask you assigned to the pink?
192.168.0.154 255.255.255.0
What is the ip address and mask of your computer?
192.168.0.99 255.255.255.0
Do you have a firewall enabled on your computer?
Yes...but I disabled it trying to get a connection.
Does your computer have multiple network interfaces?
No. I connect my primary PC to the router with a USB cable. I used this PC to set the PINK to the STATIC 192.168.0.154 255.255.255.0 at 2400 baud

falcon

Re: Can write/read to PINK, but cannot see on network

Posted: Mon Jul 11, 2011 10:43 am
by rnixon
"No. I connect my primary PC to the router with a USB cable."

I don't think I've seen that configuration before. Do you not have an Ethernet port on your computer?
What is the make and model of your router?
It the USB simulating a network interface?

Re: Can write/read to PINK, but cannot see on network

Posted: Mon Jul 11, 2011 10:50 am
by tod
Please bear with me. There seems to be a little confusion between serial port setup and TCP/IP setup (at least in my mind). You don't set a baud rate on TCP/IP (well at least I've never seen it done) so I'm finding it confusing that you say "set the PINK to the STATIC 192.168.0.154 255.255.255.0 at 2400 baud". I've also never seen a router that allowed you to set a baud rate. Please clarify what you did with your router versus what you did with IPSetup. Also how did you pick the IP address of 154? Are you sure it's not in use and hasn't been in use by a device (even a different PINK) with a different MAC address in the recent past. I've seen "smart" routers that won't allow IP addresses to be reused by new devices until a time-out period (which is sometimes weeks) has expired.

Re: Can write/read to PINK, but cannot see on network

Posted: Mon Jul 11, 2011 12:09 pm
by Ridgeglider
I think what he's saying is that in addition to setting the IP address and mask using IPSETUP, he's also setting the pink's default baudrate using IPSETUP. Not sure about the USB connection to the router though...?

Re: Can write/read to PINK, but cannot see on network

Posted: Mon Jul 11, 2011 1:35 pm
by falcon
My PC connects to my router via USB and has never been a problem. The router is a Westell 327W.

I initially set the PINK up by connecting it to my router with the blue Ethernet cable. I was able to search and find it with the IPSETUP program, and set the IP, MASK, baud rate, etc. I then was able to launch the PINK’s website using the IPSETUP program, and go thru the “5” links. Everything worked as advertised. The next day I couldn’t find it using the same connection. I was able to write to and read from the PINK using a BS2.

I then removed the PINK from the router and connected it directly to my laptop using the red cross-over Ethernet cable. My laptop is not connected to the router. I still cannot see it. I am able to write to and read from the PINK using a BS2 using the laptop.

I just choose 192.168.0.154 randomly because I knew it wasn’t being used by anything else. My router assigns dynamic IPS in the range from 192.168.0.20 to 100.

falcon

Re: Can write/read to PINK, but cannot see on network

Posted: Mon Jul 11, 2011 1:46 pm
by rnixon
I'm not quite sure how networking through a usb works, so I can't help there.

It could be a routing issue on your laptop. Try connecting your laptop AND the PINK with blue (straight-through) ethernet cables to your router RJ-45 connectors and see if that works. If it does not, try disabling the wifi on your laptop and see if that makes a difference. It has to do with how broadcasts are sent out. Also, if you have 2 interfaces on a laptop (wifi and wired) each will have its own IP address and mask, and they should not be on the same subnet or the PC's stack will just route to one or the other and you won't know which.

Same for the red cable direct from a laptop to the pink. Try disabling wifi so you only have a wired interface, turn any firewall off, and run ipsetup.

Can't explain why it would work one day and not another unless something else if using your static ip address.

Re: Can write/read to PINK, but cannot see on network

Posted: Mon Jul 11, 2011 3:32 pm
by Ridgeglider
If you connect from your PC to the PINK directly using the red crossover cable, you alm ost certainly need to configure your PC for a static IP on the same subnet (but with a different IP) than the PINK.

If you try to connect your PC via a wired connection to your router, and also connect the Pink to your router with the blue (non-crossover) cable you will need to either let the router assign an IP to the Pink, or will need to manually configure a known-unused static IP to the Pink. You do either with IPsetup. To configure the PINK to get addreses assigned via DHCP from your router, assign it 0.0.0.0 in Ipsetup.

Re: Can write/read to PINK, but cannot see on network

Posted: Mon Jul 11, 2011 4:07 pm
by falcon
Well,
I used the blue Ethernet cable to connect the PINK to my router. I rebooted the router, then applied power to the PINK, and then the IPSETUP found it on the STATIC IP 192.168.0.154 that I had initially assigned. I will continue to check it often to make sure it still works.

One related question: After a STATIC IP is assigned using the IPSETUP program, which, if any, of the "NDK Settings" fields (on the left side of the window) have to be filled in to "find" the PINK? Or will it find any PINK on the network whether it has a STATIC or DYNAMIC IP?

I appreciate all of the responses. I was beginning to wonder if it was damaged.

falcon