Show Posts

You can view here all posts made by this member. Note that you can only see posts made in areas to which you currently have access.

Topics - Brian000

Pages: [1]
General Discussion / Logging Options
« on: November 10, 2021, 10:32:06 pm »

I'm thinking about how to improve my script logging...

I currently have all logs (per server/client) write to a monthly-dated file, but have previously created a web API and site to report and manage those.
XMPP was great, as it would Ping my phone and other clients with messages, but MQTT was less good, because it would only store/display the last message (unless I logged those and that seemed like a pointless task - akin to logging the logging :)).

I've never, more than a thought anyway, considered a SYSLOG server - but like the idea of adding my router/switch/etc too... would that bring anything helpful to my party?

But what is YOUR view and what would YOU  recommend?

oh.... I have pretty poor internet, so anything which keeps traffic "internal" would be best or at least more reliable.

Thanks for your thoughts...

Linux Support / ip neigh and arp - incorrect MAC address
« on: June 05, 2021, 09:05:33 pm »

I'm not sure how long I've had the issue but today I decided to simply change the IP of my NAS (it's configured to DHCP, albeit with a fixed address in dhcpd.conf) and something that I thought would be easy, but found that devices were struggling to re-connect.    I was looking around and have discovered that the MAC address of the NAS was incorrect on most/all devices (based on "ip neigh").  And something that a reboot of my router/switch/NAS didn't simply resolve. 

I have since connect to several of my servers, and run "ip -s -s neigh flush all" and "arp -d <ip>", one or both successfully cleared the ARP cache and was soon showing the correct MAC address (Yay! I thought), but after a few minutes it was reverted, so the same IP has the incorrect MAC again (it's always the same one). 

My NAS is the same hardware with the same NIC (and unchanged MAC) - plus I'm not 100%  sure where the "incorrect" MAC is coming from, I assume it's on my network somewhere, but as yet have not found it (with so may mobile devices I've not yet managed to check everything).  I read that I can force the IP/MAC details into the ARP cache - but I assume that that shouldn't be necessary (should it?)

I'd like to better understand where ARP or IP, get the MAC address from - which may help me understand my problem and therefore resolve it. 
But also - how I can scan my entire network for MAC Addresses assuming this "unknown" one is on my network.

The other options is that I've made a rookie error, and done something wrong in either BIND or DHCPD.... My gateway seems to be the only asset that consistently should the correct details......

Hoping everybody is well and enjoying the change in weather,

Linux Support / How to Back Deletes
« on: May 21, 2021, 09:48:12 pm »
Hi all,

I have a simple backup policy which sees two drives rsynced weekly. This is great as it works well and has the plus of being both nice and easy.

I would like to make these syncs more regular to avoid data loss, but need some protection from/backup for, deletes.

My first though is to scan the two disks and copy those deleted files - keeping them safe, before the rsync.

Before i start any thing i thought i ask....
Is there a switch in rsync that a I’m not aware of that does this?
....or is there a better option (AKA, what should I do?)?

Let’s suggest I’d like to retain 7days of deletes while rsyncing every day.

Thanks in advance,

Pages: [1]

SimplePortal 2.3.3 © 2008-2010, SimplePortal