Go Down

Topic: SerialIP library - network access without shields (Read 10 times) previous topic - next topic

ChrisS

#10
Mar 08, 2010, 12:16 pm Last Edit: Mar 08, 2010, 12:31 pm by ChrisS Reason: 1
Wow, Ping works.... no Paketloss... but i can't get a connection via telnet... on Port 1000.

While configured on Port1000 connecting to Port80 is possible... getting cryptic chars on screen.

I have also reduced speed to check if it is a speed problem...
the same...

No connection to 1000 via telnet, Port 80 throws some cryptic chars...

If i call IP with a browser... there is a white screen.... on Port 80, on 1000 nothing happens.

1st Step is made... idea to get further steps done?

Thank you for that hint with Slip-Connection-Manager...

Greetings ChrisS


ADDITION:
Ok, i disconnected Arduino from PC...
Ping is possible too... delivered by ConnectionManager...
i will give up in this... buying an Ethernetshield :)

Thank you.... and bye bye... :)
ChrisS
Sturmfabrik - mediale Dienstleistungen
www.sturmfabrik.de

Malvineous

It's port 10,000 not port 1000 :-)  Make sure you are pinging the correct IP address (the one belonging to the Arduino, not the one your connection manager is using.)

You will need to assign a static IP to the connection manager network interface, make sure this is *not* the IP of the Arduino!  (But it must be in the same subnet, see the docs for an example.)

ChrisS

Ahm,

10.000 .... are you sure? :)

*confused*

Greetings ChrisS

Code: [Select]
SLIP connection set up under Linux:
*
*  # modprobe slip
*  # slattach -L -s 115200 -p slip /dev/ttyUSB0     (see note below)
*  # ifconfig sl0 192.168.5.1 dstaddr 192.168.5.2
*
*  # ping 192.168.5.2
*  # telnet 192.168.5.2 1000


Code: [Select]
 // Listen for incoming connections on TCP port 1000.  Each incoming
 // connection will result in the uip_callback() function being called.
 SerialIP.listen(1000);
Sturmfabrik - mediale Dienstleistungen
www.sturmfabrik.de

Malvineous

Gah ok, sorry, was thinking of the wrong project :-$  Port 1000 is correct.

It still sounds like the connection manager IPs weren't being assigned correctly though, you should see the RX/TX LEDs blink when you ping the Arduino, if the IPs and gateway are set correctly on your PC (the RX LED will blink even if you don't have the firmware installed, because the PC will send the ping message regardless.  You just won't get a response/TX blink until you flash something using SerialIP.)

ChrisS

Ok, i will give it a last try now...

Greetings
ChrisS
Sturmfabrik - mediale Dienstleistungen
www.sturmfabrik.de

Go Up