Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
10 user(s) are online (9 user(s) are browsing Forums)

Members: 0
Guests: 10

more...

Support us!

Headlines

 
  Register To Post  

Get MAC Address od AmigaOS4 Machine
Home away from home
Home away from home


See User information
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.

[edits] Typos and subject

Go to top
Re: Get MAC Address od AmigaOS4 Machine
Just popping in
Just popping in


See User information
@broadblues

Sysmon shows MAC address.

Peg2 1GHz G4, 1Gb mem, Radeon 9250
Go to top
Re: Get MAC Address od AmigaOS4 Machine
Home away from home
Home away from home


See User information
Ah thanks for inspiration, don't have Sysmon but do have ranger, should have thought of that!

Go to top
Re: Get MAC Address od AmigaOS4 Machine
Just can't stay away
Just can't stay away


See User information
@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.

Go to top
Re: Get MAC Address od AmigaOS4 Machine
Just can't stay away
Just can't stay away


See User information
@joerg

Quote:
No idea how it works on classic Amigas, the PegasosII and X1000, which don't use U-Boot.
My X1000 has a CFE variable called ETH0_HWADDR which holds my MAC address.

Best regards,

Niels

Go to top
Re: Get MAC Address od AmigaOS4 Machine
Just popping in
Just popping in


See User information
I used to use a Netgear wireless bridge and IIRC it may have hidden the true MAC addresses from the router it connects to, so watch out for that.

One way to get the MAC address that works on any Amiga is to use SanaUtil from Aminet, e.g.

sanautil -d 3c589.device status

...shows the default MAC address as well as other stats. Of course, you need to change 3c589.device to the network device name on your system.

BTW, is it the X5000 that always uses the same MAC address (for every machine), or has that bug been fixed?

Go to top
Re: Get MAC Address od AmigaOS4 Machine
Not too shy to talk
Not too shy to talk


See User information
@broadblues

Hey stranger!

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!

c'est la vie.

Good luck,

PJS

Go to top
Re: Get MAC Address od AmigaOS4 Machine
Home away from home
Home away from home


See User information
@joerg

Works for my SAM thanks.

Go to top
Re: Get MAC Address od AmigaOS4 Machine
Home away from home
Home away from home


See User information
@nbache

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.

Go to top
Re: Get MAC Address od AmigaOS4 Machine
Home away from home
Home away from home


See User information
@pjs

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.

Go to top
Re: Get MAC Address od AmigaOS4 Machine
Just can't stay away
Just can't stay away


See User information
@ncafferkey
Quote:
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.

Go to top
Re: Get MAC Address od AmigaOS4 Machine
Just can't stay away
Just can't stay away


See User information
@broadblues

Quote:
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.

Best regards,

Niels

Go to top
Re: Get MAC Address od AmigaOS4 Machine
Home away from home
Home away from home


See User information
@nbache

Quote:

ShowNetStatus INTERFACE


Missed that option, oodles of info there!

Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project