Is there a way to find the MAC address of my active internet connection on my X1000 and SAM ?
My ISP Network has problems at the moment and in order to solve them I was asked to factory reset my router (though issue appears to be external and now waiting for OpenReach engineer :-/ )
I need the MAC addresses to setup fixed DHCP addresses for them. But they don't appear in the list on the Vodafone router (possibly because they are attached to my NetGear wireless bridge) Ordinary fixed IP does not work well with this router due to the mix of Wired and Wireless (maybe its just not a very good router )
Weirdly despite the router reset and the machimes having been turned off they still have the right IP , but at somepoint that will change.
@broadblues The MAC address is set by the U-Boot env variable ethaddr (+ethaddr1 on systems with 2 LAN ports). You can check it on AmigaOS 4.x with NVGetVar as well.
No idea how it works on classic Amigas, the PegasosII and X1000, which don't use U-Boot.
You can get a bunch of info on your interface with the shownetstatus command...
shownetstatus interface=[name]
Naturally, "help shownetstatus" will tell you more.
...of course that all depends on whether the interface driver is working correctly. It works correctly on my X5K's rtl8169 and the sam460 within reach, but I always heard the MAC address in Matty's mothOS X5K driver was dodgy.
What we need is for Jamie (speaking of strangers!) to release his OS4 X5K driver!
Couldn't see a way to get the MAC address of the machine i'm on with that but ironically the ARP option gives me the MAC address of the X1000 on the SAM and the SAM on the X1000 via their IPs.
BTW, is it the X5000 that always uses the same MAC address (for every machine), or has that bug been fixed?
May "just" be a bug in the provided, default U-Boot env variables stored on the included MicroSD card? With something like "setenv ethaddr 1:2:3:4:5:6"; "saveenv" you can set it to any MAC address you want to use.
The usual way U-Boot works is: - If the ethaddr env var is not set yet (use "setenv ethaddr"; "saveenv" to delete an existing one) it's fetched from the hardware, which should be different for each board, and stored into the NVRAM. - If ethaddr is already set in the NVRAM env variables it's content is used for the MAC.
This variable is set for me but not the actual MAC address in use, probably its the address of the onboard ethernet and I am using an rtl8139 card.
Yeah, it seems to be like that here also. I just realised that the MAC address in use is shown by ShowNetStatus INTERFACE "my interface name", and it's different from the CFE var one.
And yes, I also use a PCI NIC, an RTL8169 based one.