![]() You will need to set IP, userid, and pwd (first three variables) in order to use the script on your router. Start the packet capture on your wireless interface (in Linux you should be putting your wireless device in Monitor mode to gather all packets) Force the target device to reassociate with the AP (turn wifi off/on, turn AP off/on, etc) Observe 4-way handshake with Wireshark (thanks to prev step) Do whatever. It also outputs a nice HTML table the function BetterTable() can be used on any 2D array. It may be used for all those who need to monitor such routers, and therefore I am sharing it. So I wrote a script that probes the Lancom router and pulls out the DHCP/BOOTP table. Presumably, this OID gives you the list of DHCP addresses issued however, that doesn't mean they are live at the time you poll the router (someone could have unplugged the cable, or turned them off). At this point, you would snmpwalk the router using SNMPv2c and the SNMP community you configured on it. Let's just go on the assumption that staDhcpLanIpadd (OID: 1.3.6.1.5.1.32.21.1.2) is the OID you need. The LANCOM-1711-MIB is one possibility, but it's hard to know for sure you should contact LANCOM support if you don't know which SNMP OID to poll. When you use the PHP SNMP Extension, you first need to know the OID for the table with the correct information. I don't think SNMP will really solve your problem, but I will include what I can to assist. Bonjour makes it easy to discover, publish, and resolve network services with a sophisticated, yet easy-to-use, programming interface that is accessible from Cocoa, Ruby, Python, and. The syntax from the linux CLI is nmap -sP 192.0.2.0/24 (substitute your subnet instead of 192.0.2.0/24). Bonjour, also known as zero-configuration networking, enables automatic discovery of devices and services on a local network using industry standard IP protocols. ![]() Since Windows hosts don't respond to pings by default, it also includes a brief TCP port scan as well. The best way to be sure you get all live hosts is with a ping sweep of the subnet, using a tool like nmap.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |