Spinneret not serving HTML
mpotts95420
Posts: 2
We have installed the spinneret and everything appears to be correct when it fires up -- mounts the SD card, etc, correctly. Here's what it says:
Mount SD Card - OK
Start RTC: 01/15/2000 11:05:35
W5100 Driver Started
Status Memory Lock ID : 1
HTTP Server Lock ID : 2
TCP Socket Listener ID : 0
TCP Socket Listener ID : 1
TCP Socket Listener ID : 2
TCP Socket Listener ID : 3
Started Socket Monitoring Service
Initial Socket States
3-14 2-14 1-14 0-14
clsd open lstn estb clwt clng udps
0000-0000-1111-0000-0000-0000-0000
Initial Socket Queue
FIFO[0] 00000000
//////////////////////////////////////////////////////////////
We are fairly confident that we have successfully pinged the device -- here's our ping result
C:\>ping 192.168.1.200
Pinging 192.168.1.200 with 32 bytes of data:
Reply from 192.168.1.200: bytes=32 time<1ms TTL=128
Reply from 192.168.1.200: bytes=32 time<1ms TTL=128
Reply from 192.168.1.200: bytes=32 time<1ms TTL=128
Reply from 192.168.1.200: bytes=32 time<1ms TTL=128
Ping statistics for 192.168.1.200:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
But when we try to retrieve the index.html file on the SD card, we get
Error
and when urged, two browsers (Chrome and Firefox, both latest versions) report their inability to connect.
We have tried changing various port addresses, but with the same depressing result. We have read through the "Help!" postings on the forum, rechecked the numbers in the program numerous times, and, sadly, there doesn't seem to be an error. Here's the most recent version:
mac byte $00, $08, $DC, $16, $F2, $34
subnet byte 255, 255 ,255, 0
gateway byte 192, 168, 1, 1
ip byte 192, 168, 1, 200
port word 5555
Our router is a Linksys WRT54G2; we have set up port forwarding per Jeff Ledger's helpful article ... but shouldn't we have local success?
Any ideas?
Mount SD Card - OK
Start RTC: 01/15/2000 11:05:35
W5100 Driver Started
Status Memory Lock ID : 1
HTTP Server Lock ID : 2
TCP Socket Listener ID : 0
TCP Socket Listener ID : 1
TCP Socket Listener ID : 2
TCP Socket Listener ID : 3
Started Socket Monitoring Service
Initial Socket States
3-14 2-14 1-14 0-14
clsd open lstn estb clwt clng udps
0000-0000-1111-0000-0000-0000-0000
Initial Socket Queue
FIFO[0] 00000000
//////////////////////////////////////////////////////////////
We are fairly confident that we have successfully pinged the device -- here's our ping result
C:\>ping 192.168.1.200
Pinging 192.168.1.200 with 32 bytes of data:
Reply from 192.168.1.200: bytes=32 time<1ms TTL=128
Reply from 192.168.1.200: bytes=32 time<1ms TTL=128
Reply from 192.168.1.200: bytes=32 time<1ms TTL=128
Reply from 192.168.1.200: bytes=32 time<1ms TTL=128
Ping statistics for 192.168.1.200:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
But when we try to retrieve the index.html file on the SD card, we get
Error
and when urged, two browsers (Chrome and Firefox, both latest versions) report their inability to connect.
We have tried changing various port addresses, but with the same depressing result. We have read through the "Help!" postings on the forum, rechecked the numbers in the program numerous times, and, sadly, there doesn't seem to be an error. Here's the most recent version:
mac byte $00, $08, $DC, $16, $F2, $34
subnet byte 255, 255 ,255, 0
gateway byte 192, 168, 1, 1
ip byte 192, 168, 1, 200
port word 5555
Our router is a Linksys WRT54G2; we have set up port forwarding per Jeff Ledger's helpful article ... but shouldn't we have local success?
Any ideas?
Comments
Please post the base source code (or a link) include the HTML. I assume you are using HttpServer.spin?
If so, index.html is an invalid file length. You must use 8.3 with the FAT driver.
Please see the HTTPServer tutorial for more information.
http://spinneret.servebeer.com:5000/
http://spinneret.servebeer.com:5000/gstart/hello.htm