{"id":1557,"date":"2019-04-26T14:00:44","date_gmt":"2019-04-26T13:00:44","guid":{"rendered":"https:\/\/ofalcao.pt\/blog\/?p=1557"},"modified":"2019-04-30T11:48:33","modified_gmt":"2019-04-30T10:48:33","slug":"how-to-change-your-ev3-hostname","status":"publish","type":"post","link":"https:\/\/ofalcao.pt\/blog\/2019\/how-to-change-your-ev3-hostname","title":{"rendered":"How to change your EV3 hostname"},"content":{"rendered":"\n<p>Now that more and more people are using ev3dev thanks to LEGO Education&#8217; EV3 MicroPyhton a few might find in need to change their bricks&#8217;s names.<\/p>\n\n\n\n<p>Until that feature is available at BrickMan level, this is <del>the<\/del> a way:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>access the ev3dev shell either through SSH (puTTY) or Visual Studio Code &#8211; don&#8217;t forget that the default user is &#8216;robot&#8217; and it&#8217;s password is &#8216;maker&#8217;<\/li><li>change te hostname with command &#8216;sudo hostnamectl set-hostname NAME&#8217;<\/li><li>restart avahi service with command &#8216;sudo service avahi-daemon restart&#8217;<\/li><\/ol>\n\n\n\n<p>David Lechner pointed me to the &#8216;ev3dev-config&#8217; tool having also an option for this purpose:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo ev3dev-config<\/pre>\n\n\n\n<p>Then choose <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">4 Advanced Options  Configure advanced settings<\/pre>\n\n\n\n<p>Followed by<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">A1 Hostname    Set the visible name for this ev3dev device on a network<\/pre>\n\n\n\n<p>This can all be done from Visual Studio Code through the EV3DEV Device Browser plugin &#8211; I wrote <a href=\"https:\/\/github.com\/JorgePe\/EV3-IoT-Train\/blob\/master\/changehostname\/changehostname.md\">a detailed visual explanation<\/a> for those less confortable with above explanation.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Now that more and more people are using ev3dev thanks to LEGO Education&#8217; EV3 MicroPyhton a few might find in need to change their bricks&#8217;s names. Until that feature is available at BrickMan level, this is the a way: access the ev3dev shell either through SSH (puTTY) or Visual Studio Code &#8211; don&#8217;t forget that &hellip; <a href=\"https:\/\/ofalcao.pt\/blog\/2019\/how-to-change-your-ev3-hostname\" class=\"more-link\">Continuar a ler<span class=\"screen-reader-text\"> &#8220;How to change your EV3 hostname&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[1],"tags":[205,356],"series":[],"class_list":["post-1557","post","type-post","status-publish","format-standard","hentry","category-sem-categoria","tag-ev3dev","tag-hostname"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2Mhyv-p7","_links":{"self":[{"href":"https:\/\/ofalcao.pt\/blog\/wp-json\/wp\/v2\/posts\/1557","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ofalcao.pt\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ofalcao.pt\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ofalcao.pt\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ofalcao.pt\/blog\/wp-json\/wp\/v2\/comments?post=1557"}],"version-history":[{"count":0,"href":"https:\/\/ofalcao.pt\/blog\/wp-json\/wp\/v2\/posts\/1557\/revisions"}],"wp:attachment":[{"href":"https:\/\/ofalcao.pt\/blog\/wp-json\/wp\/v2\/media?parent=1557"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ofalcao.pt\/blog\/wp-json\/wp\/v2\/categories?post=1557"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ofalcao.pt\/blog\/wp-json\/wp\/v2\/tags?post=1557"},{"taxonomy":"series","embeddable":true,"href":"https:\/\/ofalcao.pt\/blog\/wp-json\/wp\/v2\/series?post=1557"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}