EtherMega2560, DHCP, DNS and simple host names


hi all, first post here.

just got ethermega 2560, , trying create system of displaying data gathered iis server on 7 inch lcd tft panel.

so far, everything's going well, until now.

if put simple hostname such

char server[] = "s1";

it not connect. if put

char server[] = "www.google.com.au";

that connect , display delivered information (in subsequent code) , finally, if put

ipaddress server(192,168,0,2);

that will connect local server , process data delivered iis server.

this project i'm putting run on customer lan - no internet needed.

is there glitch ethernet.h? no means experienced (or qualified) programmer - hack, , i'm far better @ understanding vb syntax, c+. assistance appreciated.

the mega getting it's ip config dhcp, , showing correctly dns server ip adddress, default gateway, etc.

mark

you can't use "simple" hostname. must fqdn can resolved dns server in network settings.


Arduino Forum > Using Arduino > Networking, Protocols, and Devices (Moderator: fabioc84) > EtherMega2560, DHCP, DNS and simple host names


arduino

Comments

Popular posts from this blog

Connecting Raspberry Pi 2 to P10(1R)-V706 LED Dot Matrix - Raspberry Pi Forums

TypeError: <unknown> is not a numpy array - Raspberry Pi Forums

datso and removing imagetitle - Joomla! Forum - community, help and support