{"id":600,"date":"2016-01-22T19:03:35","date_gmt":"2016-01-22T09:03:35","guid":{"rendered":"http:\/\/www.nickdu.com\/?p=600"},"modified":"2016-01-22T19:03:35","modified_gmt":"2016-01-22T09:03:35","slug":"re-config-brother-hl-2130-sharing-after-lenovo-ez-firmware-update","status":"publish","type":"post","link":"https:\/\/nickdu.com\/?p=600","title":{"rendered":"Re-config Brother HL-2130 sharing after Lenovo EZ firmware update"},"content":{"rendered":"<p>Follow last post\u00a0<a href=\"http:\/\/www.nickdu.com\/?p=541\" target=\"_blank\">Share Brother HL-2130 through Lenovo Iomega EZ Media &amp; Backup Center USB port<\/a>.<\/p>\n<p>Recently I update Lenovo EZ firmware, but unfortunately Brother HL-2130 sharing stops working.<\/p>\n<p>After some research, I found that CUPS web page is not configured for external IP address.<\/p>\n<p>By default you are only able to access CUPS admin web interface from localhost by going to <a href=\"https:\/\/localhost:631\/\" rel=\"nofollow\">https:\/\/localhost:631<\/a>.<br \/>\nBut to access this page from another remote machine, you need to first make some edits to the cups conf file. So do the following:<\/p>\n<p>1. Edit the cups configuration file located in \/etc\/cups\/<span class=\"skimlinks-unlinked\">cupsd.conf<\/span> and make the section that looks like:<\/p>\n<pre>    # Only listen for connections from the local machine.\n    Listen localhost:631\n    Listen \/var\/run\/cups\/<span class=\"skimlinks-unlinked\">cups.sock<\/span>\n<\/pre>\n<p>look like this:<\/p>\n<pre>    # Listen on all interfaces\n    Port 631\n    Listen \/var\/run\/cups\/<span class=\"skimlinks-unlinked\">cups.sock<\/span>\n<\/pre>\n<p>2. Then you need to modify the Apache specific directives to allow connections from everywhere as well. Replace the followin section:<\/p>\n<pre>    &lt;Location \/&gt;\n    # Restrict access to the server...\n    Order allow,deny\n    &lt;\/Location&gt;\n    &lt;Location \/admin&gt;\n    # Restrict access to the admin pages...\n    Order allow,deny\n    &lt; \/Location&gt;\n    &lt;Location \/admin\/conf&gt;\n    AuthType Default\n    Require user @SYSTEM\n    # Restrict access to the configuration files...\n    Order allow,deny\n    &lt;\/Location&gt;\n<\/pre>\n<p>to:<\/p>\n<pre>    &lt;Location \/&gt;\n    # Restrict access to the server...\n    Order allow,deny\n    Allow all\n    &lt;\/Location&gt;\n    &lt;Location \/admin&gt;\n    # Restrict access to the admin pages...\n    Order allow,deny\n    Allow all\n    &lt;\/Location&gt;\n    &lt;Location \/admin\/conf&gt;\n    AuthType Default\n    Require user @SYSTEM\n    # Restrict access to the configuration files...\n    Order allow,deny\n    Allow all\n    &lt;\/Location&gt;\n<\/pre>\n<p>3. Restart your cups daemon:<\/p>\n<pre>    # \/etc\/init.d\/cupsd restart<\/pre>\n<p>4. You should now be able to log into cups on your server with:<\/p>\n<pre>https:\/\/yourserverip:631<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Follow last post\u00a0Share Brother HL-2130 through Lenovo Iomega EZ Media &amp; Backup Center USB port. Recently I update Lenovo EZ firmware, but unfortunately Brother HL-2130 sharing stops working. After some research, I found that CUPS web page is not configured for external IP address. By default you are only able to access CUPS admin web &hellip; <a href=\"https:\/\/nickdu.com\/?p=600\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Re-config Brother HL-2130 sharing after Lenovo EZ firmware update&#8221;<\/span><\/a><\/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":[],"class_list":["post-600","post","type-post","status-publish","format-standard","hentry","category-it"],"_links":{"self":[{"href":"https:\/\/nickdu.com\/index.php?rest_route=\/wp\/v2\/posts\/600","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nickdu.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nickdu.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nickdu.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nickdu.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=600"}],"version-history":[{"count":0,"href":"https:\/\/nickdu.com\/index.php?rest_route=\/wp\/v2\/posts\/600\/revisions"}],"wp:attachment":[{"href":"https:\/\/nickdu.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=600"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nickdu.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=600"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nickdu.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=600"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}