MAC Address

Kernel, Main, Utilities & Applications, Miscellaneous Devices.
User avatar
Captain FPGA
Top Contributor
Posts: 373
Joined: Sun Apr 11, 2021 9:19 pm
Has thanked: 195 times
Been thanked: 25 times

MAC Address

Unread post by Captain FPGA »

How to find out my MiSTers current MAC address? I need it before my comcast router can allow me to port forward a reserved-IP address.

Dreams don't die!
Image
Flandango
Core Developer
Posts: 459
Joined: Wed May 26, 2021 9:35 pm
Has thanked: 59 times
Been thanked: 383 times

Re: MAC Address

Unread post by Flandango »

Get into the terminal (F9), log in then do a

Code: Select all

ifconfig

If you want mac address of the Ethernet port, look for eth0: and the ETHER value is the mac address
For wifi, look for something like wlan0.

User avatar
Captain FPGA
Top Contributor
Posts: 373
Joined: Sun Apr 11, 2021 9:19 pm
Has thanked: 195 times
Been thanked: 25 times

Re: MAC Address

Unread post by Captain FPGA »

worked like a charm

Dreams don't die!
Image
User avatar
RealLarry
Top Contributor
Posts: 881
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 385 times

Re: MAC Address

Unread post by RealLarry »

Flandango wrote: Wed May 03, 2023 12:16 am

Get into the terminal (F9), log in then do a

Code: Select all

ifconfig

If you want mac address of the Ethernet port, look for eth0: and the ETHER value is the mac address
For wifi, look for something like wlan0.

That is correct and

Code: Select all

ip a

would also work. But keep in mind that MiSTer's Ethernet port has a default MAC address of 02:03:04:05:06:07 and should be configured in /media/fat/linux/u-boot.txt, for example

Code: Select all

ethaddr=11:12:0A:4B:25:10

to have a known and real MAC address.

Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
Post Reply