Hostname on netos

How do you get and set the hostname that the connect me uses when it receives a DHCP address?

Eric

There ain’t no such animal. TCP/IP inherently does not have a hostname. You can create a fake one by just saving a name in the flash, then creating the gethostname and sethostname functions to set and retrieve it.

If you are referring to the DNS entry for the matching IP, that is on the DNS server.

-Erik

Do you know how to give a host name to the DHCP server or to register it yourself with a DNS server?

Eric

Thanks for the info Erik

Eric

There is no remote way to register yourself in the DNS server (unless you telnet in and edit the DNS conf file).

It seems that you are missing a point here - TCP/IP does NOT deal with names at all. Your DNS server may have a name hardcoded to some address or some third party method of setting a name, but it is NOT inherent.

If you are saying, “How does Windows do it?” Windows uses either a NETBIOS or LAN manager broadcast with the name. This is not TCP/IP. The ConnectME does not do any Ethernet protocol besides TCP/IP.

An application can remotely retrieve the hostname if you define a handler for TCP ports 42 or 53, essentially your own name server.

-Erik