1
Programming / Re: [Classic REXX] Network Map
« on: Today at 01:27:03 am »
I added, first 127.0.0.1 ARCAOS-44454C4 to my hosts file, which was 4MB, then things went further but the script failed as it was pinging 27.0.0.x. Then I changed to a minimal hosts file with the same, it checked the 127.0.0.x range. Then I changed it to 192.168.0.100 ARCAOS-44454C4
Still a problem parsing the big hosts file, whether size or confusion from the ipv6 addresses I don't know.
You can get the hosts file,
Code: [Select]
H:\tmp>macaddr.cmd
ARCAOS-44454C4: 192.168.0.100: 70:20:84:0e:35:53
I guess I misunderstood what the script was supposed to do as I thought it would find all the machines on the local network, not just the ones in the hosts file.Still a problem parsing the big hosts file, whether size or confusion from the ipv6 addresses I don't know.
You can get the hosts file,
Code: [Select]
wget https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
Arca Noae says not to use such a large hosts file, though it seems to work fine here. Its purpose is to block ads, Facebook etc.