04-29-2024, 12:56 PM
(This post was last modified: 04-29-2024, 01:05 PM by downriver_bob.
Edit Reason: Extra info
)
(04-28-2024, 01:38 PM)Tim Curtis Wrote: Here are the commands (by example) used to do the network scan for Receivers.
Code:# Scan the given subnet for hosts with open port 6600 (MPD) and then parse out the IP addresses. Note the netmask is assumed to be /24 (255.255.255.0)
sudo nmap -Pn -p6600 --open 192.168.1.0/24 -oG /tmp/mpd_nmap.scan >/dev/null
cat /tmp/mpd_nmap.scan | grep "6600/open" | cut -f 1 | cut -d " " -f 2
# Pick an IP address from the list and then enter the URL below in a Browser.
http://192.168.1.121/command/?cmd=trx-control.php -rx
Look for "On" or 'Off' in the status line thats returned. Either of these values will indicate a Receiver has been found.
Tim,
I get the following error when running the command above
Code:
nmap: Target.cc:503: void Target::stopTimeOutClock(const timeval*): Assertion `htn.toclock_running == true' failed.
Aborted
Though I know the IP address of both of the receivers I have set up, and when i run the second command, the both return "On" in the status line.