{"id":1205,"date":"2021-07-20T00:14:44","date_gmt":"2021-07-20T00:14:44","guid":{"rendered":"http:\/\/www.tech-g.com\/?p=1205"},"modified":"2022-07-04T16:55:43","modified_gmt":"2022-07-04T16:55:43","slug":"finding-static-ip-machines-on-openwrt","status":"publish","type":"post","link":"https:\/\/www.voodoo.business\/blog\/2021\/07\/20\/finding-static-ip-machines-on-openwrt\/","title":{"rendered":"Finding static ip machines on openwrt"},"content":{"rendered":"\n<p>As soon as you enter the LUCI interface of openwrt, you are presented with a bunch of DHCP leases corresponding to all the machines that got their IP from DHCP, but what about the computers that have static IPs ?<\/p>\n\n\n\n<p>The answer to that is that there is no place where all this data is stored on the router, and you must scan for all machines<\/p>\n\n\n\n<p>a tool to help you do that is arp-scan, just go into packages and install it, or simply run the command &#8220;opkg install arp-scan&#8221; from the ssh session, right after, you should be able to run the command as follows<\/p>\n\n\n\n<p>arp-scan &#8211;interface br-lan &#8211;localnet<\/p>\n\n\n\n<p>but this will not necessarily be the correct command, you will need to find the name of your LAN interface which is simple from interfaces in LUCI<\/p>\n\n\n\n<p>As of now, the current version of arp-scan has a bug, where it displays the following error<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>arp-scan -I br-lan -l\nInterface: br-lan, datalink type: EN10MB (Ethernet)\nWARNING: Cannot open MAC\/Vendor file \/usr\/share\/arp-scan\/ieee-oui.txt: No such file or directory\nWARNING: Cannot open MAC\/Vendor file \/usr\/share\/arp-scan\/ieee-iab.txt: No such file or directory\nWARNING: Cannot open MAC\/Vendor file \/usr\/share\/arp-scan\/mac-vendor.txt: No such file or directory\nStarting arp-scan 1.9.5 with 256 hosts (https:\/\/github.com\/royhills\/arp-scan)\n\n15 packets received by filter, 0 packets dropped by kernel\nEnding arp-scan 1.9.5: 256 hosts scanned in 1.852 seconds (138.23 hosts\/sec). 0 responded\n<\/code><\/pre>\n\n\n\n<p>The solution to that is by manually installing the newer arp-scan package<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As soon as you enter the LUCI interface of openwrt, you are presented with a bunch of DHCP leases corresponding to all the machines that got their IP from DHCP, but what about the computers that have static IPs ? The answer to that is that there is no place where all this data is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[135,87],"tags":[],"class_list":["post-1205","post","type-post","status-publish","format-standard","hentry","category-openwrt","category-routers"],"_links":{"self":[{"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/posts\/1205","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/comments?post=1205"}],"version-history":[{"count":1,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/posts\/1205\/revisions"}],"predecessor-version":[{"id":1206,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/posts\/1205\/revisions\/1206"}],"wp:attachment":[{"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/media?parent=1205"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/categories?post=1205"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/tags?post=1205"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}