Closed AlbeMiglio closed 2 years ago
Outside of pterodactyl the process uses your host adapter, thus getting its mac address..
It is my understanding that, unless we specify mac addresses, they are assigned automatically by docker. You could run the network in host mode but that then gets rid of the ability to use the network for things like having a minecraft network on a single host.
See here - https://stackoverflow.com/questions/42946453/how-does-the-docker-assign-mac-addresses-to-containers
Never used pterodactyl before, so I'm sorry in advance for my ignorance, but; can't pterodactyl simply specify the address managed by host adapter as its mac address, instead of letting docker manage it?
I'm not interested in adding such functionality to Pterodactyl's core.
Never used pterodactyl before, so I'm sorry in advance for my ignorance, but; can't pterodactyl simply specify the address managed by host adapter as its mac address, instead of letting docker manage it?
static --mac-address= sounds more reasonable
Current Behavior
Hello, I'm using this
#getLinuxMacAddress()
method in Java to get a unique mac address for linux machines:It actually changes after restarting a few times my java process (held on pterodactyl). Starting it outside pterodactyl does not cause the issue of seeing my HWID changing.
Expected Behavior
HWID should always be the same, even if process is started inside pterodactyl panel.
Steps to Reproduce
Use the java line of code written above to generate a mac address from a java process started from pterodactyl.
Panel Version
1.7
Wings Version
1.5
Games and/or Eggs Affected
No response
Docker Image
No response
Error Logs
Is there an existing issue for this?