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
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
Post a Comment