Arduino telnet


hi

i newbie in arduino.

i have problem 1 of examples. i'm trying telnet client example.
i have arduino mega2560 , ethernet shiel. other eexamples ethernet work, not one

maybe write wrong in places:

1. byte mac[] = { 
0xde, 0xad, 0xbe, 0xef, 0xfe, 0xed };
mac sticker on ethernet shield

but number should in places:

2. ipaddress ip(192,168,1,177); ?

// enter ip address of server you're connecting to:
3. ipaddress server(1,1,1,1);

thank help:)

quote
1. byte mac[] = {
0xde, 0xad, 0xbe, 0xef, 0xfe, 0xed };
mac sticker on ethernet shield

i 100% that not mac address on sticker on ethernet shield.

quote
but number should in places:

2. ipaddress ip(192,168,1,177); ?

the ip address router assigns arduino. can determine is. have configured router assign same ip address arduino, , never assign address other device.

quote
// enter ip address of server you're connecting to:
3. ipaddress server(1,1,1,1);

if don't know ip address of server, can't tell is.


Arduino Forum > Using Arduino > Programming Questions > Arduino telnet


arduino

Comments

Popular posts from this blog

VIDIOC_S_FMT error 16, Device or resource busy - Raspberry Pi Forums

using a laptop skeleton to build a pi laptop - Raspberry Pi Forums

Forum for Joomla? - Joomla! Forum - community, help and support