|
I just want to inform anyone working on this that you can easily scrape the list of files that are actually available from http://zbconline.com/. You just have to change the file extension from m3u to mp3. Looks like the archive only ever goes back two weeks (ie. stuff not listed on the page apparently isn't available anymore). Figured if I could get that and scrape the calendar data, it'd be easy enough to match it all up and offer a simple list with checkboxes and a download button, which would offer a reasonable alternative workflow. But the calendar data is offered in a way that I don't know how to scrape.
|
# ¿ Apr 30, 2019 18:57 |
|
|
# ¿ May 17, 2024 13:33 |
|
I'm looking for a script that I can paste into and trigger periodically from the task scheduler on my Synology disk station. It would collect local ip addresses and associated mac adresses from the local network it's on (including its own). This might be called the neighborhood? It would compare these pairings with previously collected ones. Any time a new pairing is found (either a new mac or an existing mac gets a new ip), I get notified of a summary of them through mail. A pairing is only discarded when a new ip is found for an existing mac, not eg. when the mac isn't found again when the script runs. Bonus points if it can have an optional config file where I can add human readable aliases for known mac adresses that then get used in the notifications. I have some windows autoit scripting experience, but nothing linux flavor wise. The Diskstation is on dsm 7.1.1 if that matters. A folder where scripts can put their files without needing a full path is configured. You can just echo stuff and exit with code 1 to trigger the mail when necessary. All I have on offer for this is my profound gratitude.
|
# ¿ Jan 24, 2023 19:27 |
|
ihafarm posted:Why not just enable mac filtering on the router? You explicitly authorize all clients(barring mac spoofing).
|
# ¿ Jan 25, 2023 00:34 |
|
Volguus posted:That router, which does DHCP, it doesn't do DNS? So that you can at least use computer names? On windows, it's way easier than scraping: there's a nirsoft tool that can collect and export the data. The reason I don't care to do it on windows though it's that I can easily go weeks between powering up my laptop at all, while there is a linux based server running 24/7.
|
# ¿ Jan 25, 2023 03:49 |
|
ihafarm posted:Can you disable DHCP on the router? What is it, who’s the isp? Volguus posted:One way to find out the IPs on your network from linux is to use nmap: Email is the easiest thing in this case. The Synology takes care of it. This means if the script contains a line that says echo "Hello", the word Hello will be mailed to me, no additional code necessary. It's possible through a setting to make this email conditional to the script terminating abnormally. So if you have an if clause that contains the echo command and you add exit 1 as the last thing within the if clause, then whatever is echo'd will only be mailed if the condition for the if clause is met. I definitely wouldn't ever have asked to figure out emailing from scratch.
|
# ¿ Jan 26, 2023 14:44 |
|
Volguus posted:arp will only display the information that the machine knows about at that time. In time, it may get more data. Nmap actively scans all the IPs in the specified subnet, so it will get pretty much everything. In my network, `dnsmasq.leases` (my DHCP server) has 47 entries, and nmap gives me 45 hosts. I presume that is because 2 of them may be offline. "arp -a", on the other hand, only returns 6 since that's what my machine knows about at this time.
|
# ¿ Jan 26, 2023 16:40 |
|
Volguus posted:That router, which does DHCP, it doesn't do DNS? So that you can at least use computer names? E: support for this on android was apparently only added in November 2021 lol Flipperwaldt fucked around with this message at 22:05 on Mar 2, 2023 |
# ¿ Mar 2, 2023 21:28 |
|
|
# ¿ May 17, 2024 13:33 |
|
Advanced Renamer can extract time/date from a pattern in the filename and apply it to eg the file creation date. Nirsoft Bulk File Changer can copy the file creation date to an EXIF tag. E: if step 2 is necessary at all that is Flipperwaldt fucked around with this message at 22:24 on Mar 14, 2023 |
# ¿ Mar 14, 2023 22:21 |