{"id":1803,"date":"2015-05-03T10:06:04","date_gmt":"2015-05-03T08:06:04","guid":{"rendered":"https:\/\/adrhc.go.ro\/wordpress\/?p=1803"},"modified":"2017-05-12T09:52:26","modified_gmt":"2017-05-12T07:52:26","slug":"using-zyxel-utils-hooks","status":"publish","type":"post","link":"https:\/\/adrhc.go.ro\/blog\/using-zyxel-utils-hooks\/","title":{"rendered":"Using zyxel utils hooks"},"content":{"rendered":"<pre class=\"brush:bash shell\">\r\n#you can't apply\/stop one hook; you start\/stop all of them with:\r\n\/ffp\/start\/zyxel_utils.sh start\/stop\r\n\r\n#you enable\/disable hook by uncommenting\/commenting entries in \/ffp\/start\/zyxel_utils.sh\r\n#e.g. enable nfs hooking:\r\n#uncomment hook_nfs entry in \/ffp\/start\/zyxel_utils.sh\r\n\r\n#see zyxel_utils.sh log\r\ncat \/tmp\/intercept.log\r\n\r\n#see active zyxel_utils.sh hooks\r\ncat \/tmp\/.ffpstick\/zyxelutils\r\n\r\n#\/etc\/exports (link to \/usr\/local\/zy-pkgs\/etc\/exports or \/ffp\/etc\/exports) content:\r\n\/i-data\/60cb70cf 192.168.1.0\/24(ro,sync,no_subtree_check,wdelay,no_root_squash) #hdd1\r\n#mount NFS share to windows 7 (next drive letter available):\r\nmount 192.168.1.31:\/i-data\/60cb70cf *\r\n#mount NFS share to windows 7 the Z drive:\r\nmount 192.168.1.31:\/i-data\/60cb70cf z:\r\n#unmount NFS share (\u2013a Unmounts all NFS network drives):\r\numount z:\r\n\r\n#manually start\/stop NFS\r\n\/usr\/local\/zy-pkgs\/etc\/init.d\/NFS start\r\n\/usr\/local\/zy-pkgs\/etc\/init.d\/NFS stop\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>#you can&#8217;t apply\/stop one hook; you start\/stop all of them with: \/ffp\/start\/zyxel_utils.sh start\/stop #you enable\/disable hook by uncommenting\/commenting entries in \/ffp\/start\/zyxel_utils.sh #e.g. enable nfs hooking: #uncomment hook_nfs entry in \/ffp\/start\/zyxel_utils.sh #see zyxel_utils.sh log cat \/tmp\/intercept.log #see active zyxel_utils.sh hooks cat [&hellip;]<\/p>\n<div class=\"link-more\"><a href=\"https:\/\/adrhc.go.ro\/blog\/using-zyxel-utils-hooks\/#more-1803\" class=\"more-link\">Continue reading &#10142; <span class=\"screen-reader-text\">Using zyxel utils hooks<\/span><\/a><\/div>","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[29,28],"class_list":["post-1803","post","type-post","status-publish","format-standard","hentry","category-linux","tag-nsa310","tag-zyxel"],"_links":{"self":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/posts\/1803","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/comments?post=1803"}],"version-history":[{"count":0,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/posts\/1803\/revisions"}],"wp:attachment":[{"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/media?parent=1803"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/categories?post=1803"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/adrhc.go.ro\/blog\/wp-json\/wp\/v2\/tags?post=1803"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}