{"id":26684,"date":"2018-10-31T13:51:51","date_gmt":"2018-10-31T18:51:51","guid":{"rendered":"http:\/\/www.multitech.net\/developer\/?page_id=26684"},"modified":"2018-10-31T13:53:37","modified_gmt":"2018-10-31T18:53:37","slug":"naming-the-device","status":"publish","type":"page","link":"https:\/\/www.multitech.net\/developer\/software\/mlinux\/using-mlinux\/naming-the-device\/","title":{"rendered":"Naming the Device"},"content":{"rendered":"<p>You can name your device by editing \/etc\/hostname with your desired name of the device.<\/p>\n<p>After a reboot the system is named.<\/p>\n<p>The name can be displayed with the command: \/bin\/hostname<\/p>\n<p>The name can be sent to a DHCP server by editing: \/etc\/network\/interfaces<\/p>\n<p>The \/etc\/network\/interfaces contains configuration details for each network device.\u00a0 To send the name to the DHCP server, add a -x option to the DHCP configuration as follows:<\/p>\n<pre class=\"brush:shell\">udhcpc_opts -t 10 -b -x hostname:$(\/bin\/hostname)<\/pre>\n<p>This part of the configuration line is the option to set the hostname:<\/p>\n<pre class=\"brush:shell\">-x hostname:$(\/bin\/hostname)<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can name your device by editing \/etc\/hostname with your desired name of the device. After a reboot the system is named. The name can be displayed with the command: \/bin\/hostname The name can be sent to a DHCP server by editing: \/etc\/network\/interfaces The \/etc\/network\/interfaces contains configuration details for each network device.\u00a0 To send the [&hellip;]<\/p>\n","protected":false},"author":1478,"featured_media":0,"parent":9184,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"class_list":["post-26684","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/26684","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/users\/1478"}],"replies":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/comments?post=26684"}],"version-history":[{"count":3,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/26684\/revisions"}],"predecessor-version":[{"id":32968,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/26684\/revisions\/32968"}],"up":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/9184"}],"wp:attachment":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/media?parent=26684"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}