Computer getting 4 new mac address daily
-
@jhalbert said in Computer getting 4 new mac address daily:
Is their a way to see what time these appear at?
There are ways. I’ve written ugly monitors before, look at this for an example: https://github.com/FOGProject/fog-community-scripts/tree/master/MonitorFogStorageNodes
-
@wayne-workman I talk to the manager of this person today about what he does. I guess he using a very old tool and it needs the internet read the error codes. Everyone else is using laptops that we gave them. I guess all these macs I have is from the cars themselves. With this massive list of Mac address, does it hurt Fog to have a list of macs that is 50 plus long? To it is just lines in my database?
-
@jhalbert said in Computer getting 4 new mac address daily:
With this massive list of Mac address, does it hurt Fog to have a list of macs that is 50 plus long? To it is just lines in my database?
Well if you know it’s always going to be related to that one individual computer that employee is using, you could setup a daily cron job to delete other MACs associated with the host. This way, you don’t have to deal with it and the DB stays clean.
-
@wayne-workman sure that sounds like a plan. Do you have a script already for this?
-
@jhalbert said in Computer getting 4 new mac address daily:
I guess all these macs I have is from the cars themselves.
I would like to understand what is the cause here, the guy is using bluetooth device in different cars with his computers? And the macs you see are from the cars?
Regards X23
-
@jhalbert I can write it pretty fast, but not this morning.
The script will basically just delete all MACs associated with a specific host except for the real MAC - on a schedule. Like once a day via crontab.
-
@x23piracy I do IT support for dealerships. The dealer has a tool that connects to the car. Network to PC. PC to usb. USB to tool. Tool to Car. The tool comes from the car maker and it is not widely used by this dealership because it needs a massively long USB cable from the PC to the car. During the testing, it must be connected to the internet as the website manages the device and the car. In the past we have lost internet and destroy the EMC. EMC has to be replace and cost 1000’s each. That is why we moved to laptops. The laptop setup is Laptop to Car. No internet is required. We update the laptops with all the newest stuff. Sense this guy is using this old tool to connect to the cars, I am guessing fog is picking up the mac address from the car. Maybe the tool, I am not 100% sure which. I do know when ever he using this tool I get a new mac address. What great about this tool is, he can plug it into the car. The website auto list what doc to use to fix the cars problems. The laptops only show what is wrong in complete detail.
-
I did start work on the script this morning before work, It’ll be done tonight or tomorrow morning. I’ll post a link when it’s done.
-
@jhalbert Here’s the script:
https://github.com/FOGProject/fog-community-scripts/tree/master/delete-extra-macs-on-host
Set the variables at the top, and set it to run on a schedule in cron. -
@wayne-workman Thank and it is working!