{"id":2769,"date":"2019-11-20T05:37:35","date_gmt":"2019-11-20T05:37:35","guid":{"rendered":"http:\/\/www.incredigeek.com\/home\/?p=2769"},"modified":"2019-11-20T05:40:26","modified_gmt":"2019-11-20T05:40:26","slug":"mikrotik-hap-change-ssid-via-command-line","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/mikrotik-hap-change-ssid-via-command-line\/","title":{"rendered":"Mikrotik hAP &#8211; Change SSID via command line"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<p>Problem &#8211; Need 2.4 Ghz network enabled and SSID set to WiFi.  Wireless router is behind a NAT, using UNMS to ssh into the radio, and from the radio ssh into hAP.  Enter\/Return key not working to run commands, so running the commands over ssh from the radio.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>WA.v8.4.2# ssh admin@192.168.88.2  'interface wireless print'<\/strong>\nadmin@192.168.88.2's password: \nFlags: X - disabled, R - running \n 0    name=\"wlan1\" mtu=1500 l2mtu=1600 mac-address=74:4D:28:0F:69:B3 \n      arp=enabled interface-type=Atheros AR9300 mode=station ssid=\"MikroTik\" \n      frequency=2412 band=2ghz-b\/g channel-width=20mhz secondary-channel=\"\" \n      scan-list=default wireless-protocol=any vlan-mode=no-tag vlan-id=1 \n      wds-mode=disabled wds-default-bridge=none wds-ignore-ssid=no \n      bridge-mode=enabled default-authentication=yes default-forwarding=yes \n      default-ap-tx-limit=0 default-client-tx-limit=0 hide-ssid=no \n      security-profile=default compression=no \n\n 1  R name=\"wlan2\" mtu=1500 l2mtu=1600 mac-address=74:4D:28:0F:69:B2 \n      arp=enabled interface-type=Atheros AR9888 mode=ap-bridge ssid=\"WiFi\" \n      frequency=5180 band=5ghz-n\/ac channel-width=20mhz secondary-channel=\"\" \n      scan-list=default wireless-protocol=802.11 vlan-mode=no-tag vlan-id=1 \n      wds-mode=disabled wds-default-bridge=none wds-ignore-ssid=no \n      bridge-mode=enabled default-authentication=yes default-forwarding=yes \n      default-ap-tx-limit=0 default-client-tx-limit=0 hide-ssid=no \n      security-profile=default compression=no \n\n<strong>WA.v8.4.2# ssh admin@192.168.88.2  'interface wireless set disabled=no ssid=WiFi wlan1'<\/strong>\nadmin@192.168.88.2's password: \n<strong>WA.v8.4.2# ssh admin@192.168.88.2  'interface wireless print'<\/strong>\nadmin@192.168.88.2's password: \nFlags: X - disabled, R - running \n 0    name=\"wlan1\" mtu=1500 l2mtu=1600 mac-address=74:4D:28:0F:69:B3 \n      arp=enabled interface-type=Atheros AR9300 mode=station ssid=\"WiFi\" \n      frequency=2412 band=2ghz-b\/g channel-width=20mhz secondary-channel=\"\" \n      scan-list=default wireless-protocol=any vlan-mode=no-tag vlan-id=1 \n      wds-mode=disabled wds-default-bridge=none wds-ignore-ssid=no \n      bridge-mode=enabled default-authentication=yes default-forwarding=yes \n      default-ap-tx-limit=0 default-client-tx-limit=0 hide-ssid=no \n      security-profile=default compression=no \n\n 1  R name=\"wlan2\" mtu=1500 l2mtu=1600 mac-address=74:4D:28:0F:69:B2 \n      arp=enabled interface-type=Atheros AR9888 mode=ap-bridge ssid=\"WiFi\" \n      frequency=5180 band=5ghz-n\/ac channel-width=20mhz secondary-channel=\"\" \n      scan-list=default wireless-protocol=802.11 vlan-mode=no-tag vlan-id=1 \n      wds-mode=disabled wds-default-bridge=none wds-ignore-ssid=no \n      bridge-mode=enabled default-authentication=yes default-forwarding=yes \n      default-ap-tx-limit=0 default-client-tx-limit=0 hide-ssid=no \n      security-profile=default compression=no \n\n<strong>WA.v8.4.2# ssh admin@192.168.88.2  'interface wireless registration-table print'<\/strong>\nadmin@192.168.88.2's password: \n # INTERFACE           RADIO-NAME       MAC-ADDRESS       AP  SIGNAL... TX-RATE\n 0 wlan2                                A7:32:54:EE:E4:35 no  -77dBm... 18Mbps \n 1 wlan2                                34:7A:F4:43:AD:81 no  -69dBm... 6Mbps  \n\n<strong>WA.v8.4.2# exit<\/strong><\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Problem &#8211; Need 2.4 Ghz network enabled and SSID set to WiFi. Wireless router is behind a NAT, using UNMS to ssh into the radio, and from the radio ssh into hAP. Enter\/Return key not working to run commands, so &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/mikrotik-hap-change-ssid-via-command-line\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[452],"tags":[301,718,221,114,811],"class_list":["post-2769","post","type-post","status-publish","format-standard","hentry","category-mikrotik","tag-mikrotik","tag-remote","tag-ssh","tag-wifi","tag-wisp"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/2769","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=2769"}],"version-history":[{"count":5,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/2769\/revisions"}],"predecessor-version":[{"id":2816,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/2769\/revisions\/2816"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=2769"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=2769"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=2769"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}