{"id":1,"date":"2016-03-11T01:36:29","date_gmt":"2016-03-11T01:36:29","guid":{"rendered":"https:\/\/www.caribmendez.net\/wordpress\/?p=1"},"modified":"2017-10-16T09:43:08","modified_gmt":"2017-10-16T13:43:08","slug":"tp-link_easy_smart_configuration_utility_on_mac_os_x","status":"publish","type":"post","link":"https:\/\/www.caribmendez.net\/?p=1","title":{"rendered":"TP-Link Easy Smart Configuration Utility on Mac OS X"},"content":{"rendered":"<p>I recently decided to upgrade my network. With the proliferation of the internet of things IoT, I&#8217;ve become concerned about the security (or lack thereof) of these devices. In a recent\u00a0<a href=\"https:\/\/twit.tv\/shows\/security-now\" target=\"_blank\" rel=\"noopener\">Security Now<\/a> podcast Steve Gibson mentioned the idea of using multiple Wifi routers to segregate your network. I quickly dismissed this approach due to the nightmare of having to manage multiple wifi routers and for a lack of robust options this would give. I decided to instead move from an unmanaged network infrastructure to a managed switch environment with VLANs. At the time Amazon was offering the <a href=\"http:\/\/www.amazon.com\/TP-LINK-TL-SG108E-8-Port-Gigabit-Tag-Based\/dp\/B00K4DS5KU\/ref=sr_1_1?ie=UTF8&amp;qid=1457648627&amp;sr=8-1&amp;keywords=tp+link+8+port+easy+smart\" target=\"_blank\" rel=\"noopener\">TP-LINK 8 port easy smart routers<\/a> at dirt cheap prices so I bought several for my home network. The routers have been a great addition, however the one thing I was less than happy about was the management software was a) not web based and b) Windows only. \u00a0My first stab at running this software on my Mac was to use <a href=\"http:\/\/wineskin.urgesoftware.com\/tiki-index.php\" target=\"_blank\" rel=\"noopener\">wineskin<\/a> to install the software. The software installs and ran but my problem was I couldn&#8217;t see any text, unless I specifically clicked on an entry and then the text would appear but it was very faded and \u00a0hard to read. Google turned up a <a href=\"https:\/\/www.shredzone.de\/cilla\/page\/383\/setting-up-tp-link-tl-sg108e-with-linux.html#comments\" target=\"_blank\" rel=\"noopener\">great blog entry<\/a> on running the software natively on linux with the need to do some firewall port forwarding to see the switches. Come to find out, the exe on windows is actually a java jar file in disguise. The blog post has instructions on using ipchains, which of course Mac OS X does not have, instead one must use the PF firewall. After some man page reading I came up with a solution to use the TP-Link software natively on my mac.<\/p>\n<p><span style=\"color: #ff0000;\">This guide is for connecting to v1 of the router. Several people have said that v2 of the router contains a built-in web interface for making these changes. You can tell what version you have by looking at the sticker on the router (usually on the bottom it will say either v1 or v2)<\/span><\/p>\n<ul>\n<li>First if you don&#8217;t already have Java installed\u2026install it from the <a href=\"http:\/\/www.java.com\" target=\"_blank\" rel=\"noopener\">Java<\/a> site. <span style=\"font-size: 12px;\">(If you don&#8217;t already have Java installed, and don&#8217;t need it I would highly recommend that you remove the web plugin and just keep the rest of the Java install intact. The plugin can be found at\u00a0<em>\/Library\/Internet Plug-ins\/JavaAppletPlugin.plugin<\/em>. Removing it will make your computer safer but still give you the ability to run Java applications locally on your computer.)<\/span><\/li>\n<li>Next create a file that contains the PF firewall forwarding rules (I just did this on my desktop) called <code>tplink<\/code>.<\/li>\n<li>Type in the following string:\n<pre>rdr pass on <span style=\"color: #ff6600;\"><em>interface<\/em><\/span>\u00a0inet proto udp from any to 255.255.255.255 port 29809 -&gt; <span style=\"color: #ff6600;\"><em>computer's ip<\/em><\/span>\u00a0port 29809<\/pre>\n<\/li>\n<li>The interface is the network connection your are using ( this is found by opening up \/Applications\/Utilities\/Terminal.app and typing in <strong>ifconfig -a<\/strong>) and looking for the active interface. On *most* systems it will be something like <code>en1<\/code> or <code>en0<\/code>.<\/li>\n<li>The ip is the address that that interface has assigned usually something like 192.168.x.x<\/li>\n<li>Next create a new file called pf.conf (again on your desktop) and add the following text:\n<pre>rdr-anchor \"forwarding\"\r\nload anchor \"forwarding\" from \"\/Users\/<em>your_user_name<\/em>\/Desktop\/tplink\"<\/pre>\n<\/li>\n<li>Now back in Terminal type in\u00a0<strong>sudo pfctl -f \u00a0\/Users\/<em>your_user_name<\/em>\/Desktop\/pf.conf -e<\/strong><\/li>\n<li>If you did everything correctly you&#8217;ll see some text on screen with the last line saying\u00a0<em>pf enabled<\/em>.<\/li>\n<li>Again from the terminal type in\u00a0<strong>java -jar \/path to the Easy Smart Configuration Utility.exe file\u00a0<\/strong>if you don&#8217;t have a Windows box to get the executable here:\u00a0<a href=\"https:\/\/www.caribmendez.net\/wordpress\/wp-content\/uploads\/2016\/03\/Easy-Smart-Configuration-Utility.jar_.zip\" rel=\"\">Easy Smart Configuration Utility.jar<\/a><\/li>\n<li>The TP-Link app should open. Usually it finds nothing on the first try. Just click Refresh and you should now see your switch(es) on the network.<\/li>\n<li>You can now follow along with the manual TP-Link provides to modify the switches. A couple things to note, by default you have to be on the same subnet with the switches to modify them (You can get around this with some VLAN magic). Second my connection seems to time out to the switches after 30 seconds or so. You&#8217;ll get a\u00a0<em>Timeout, no response from agent<\/em> error. Just click ok and try your action again and you&#8217;ll reconnect and be able to make changes.<\/li>\n<\/ul>\n<p><span style=\"color: #ff0000;\">Update 2016-05-12 &#8211; Both files have to have a carriage return at the end of each line otherwise the commands will fail<\/span><\/p>\n<p>Here are the two sample files (replace the appropriate placeholders with your info)<\/p>\n<p><a href=\"https:\/\/www.caribmendez.net\/wordpress\/wp-content\/uploads\/2016\/03\/tplink.zip\">tplink<\/a>\u00a0(SHA512 &#8211;\u00a0b8b85d6a547eb97b3392521714f7dbff17a87caef0606ab958da79920cae4a1711ee703ee843679e2ad1c6b522cb7de946cd77e32d024b6bb9c64c741d38027b)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I recently decided to upgrade my network. With the proliferation of the internet of things IoT, I&#8217;ve become concerned about the security (or lack thereof) of these devices. In a recent\u00a0Security Now podcast Steve Gibson mentioned the idea of using multiple Wifi routers to segregate your network. I quickly dismissed this approach due to the &#8230; <span class=\"more\"><a class=\"more-link\" href=\"https:\/\/www.caribmendez.net\/?p=1\">[Read more&#8230;]<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[6,3,5,4],"class_list":{"0":"entry","1":"post","2":"publish","3":"author-carib-mendez","4":"post-1","6":"format-standard","7":"category-macintosh","8":"post_tag-easy-smart-configuration-utility","9":"post_tag-macintosh","10":"post_tag-switch","11":"post_tag-tp-link"},"_links":{"self":[{"href":"https:\/\/www.caribmendez.net\/index.php?rest_route=\/wp\/v2\/posts\/1","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.caribmendez.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.caribmendez.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.caribmendez.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.caribmendez.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1"}],"version-history":[{"count":15,"href":"https:\/\/www.caribmendez.net\/index.php?rest_route=\/wp\/v2\/posts\/1\/revisions"}],"predecessor-version":[{"id":67,"href":"https:\/\/www.caribmendez.net\/index.php?rest_route=\/wp\/v2\/posts\/1\/revisions\/67"}],"wp:attachment":[{"href":"https:\/\/www.caribmendez.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.caribmendez.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.caribmendez.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}