TrackMe icon indicating copy to clipboard operation
TrackMe copied to clipboard

eth0: No such device exists (SIOCGIFHWADDR: No such device)

Open atyachin opened this issue 2 years ago • 0 comments

When running the server on an EC2 machine, the following error occurs: eth0: No such device exists (SIOCGIFHWADDR: No such device)

Reason is that in tcp.go file the device name is hardcoded to "eth0", whereas the default device name on an AWS EC2 machine is different (e.g. "ens5").

Suggested fix: add the device name to config.json. (of course re-compilation with correct device name is also an option...)

Thanks!

atyachin avatar Jan 10 '24 17:01 atyachin