[Patch] Configurable Mac Address

Post Reply
User avatar
Tux
Posts: 9
Joined: Thu 03 May, 2018 6:36 pm
Location: Germany

[Patch] Configurable Mac Address

Post by Tux » Fri 04 May, 2018 7:10 pm

Not a big deal - this small patch (against PCem v14) just enables a configurable mac address.
I remember someone asking for this feature in the forum some time ago...

Not in the GUI though, you must set your mac address manually in your config. file (pcem.cfg).
Add a line similar to "macaddr = AC:DE:48:55:55:44" in the first/main section of pcem.cfg.

If this line is missing or not in correct syntax, the default address will be used.

Code shamelessly "stolen" from DosBox ;-)
Attachments
ne2000.diff.txt
(1.49 KiB) Downloaded 38 times

User avatar
SarahWalker
Site Admin
Posts: 1581
Joined: Thu 24 Apr, 2014 4:18 pm

Re: [Patch] Configurable Mac Address

Post by SarahWalker » Mon 04 Jun, 2018 8:03 pm

Committed at rev 1186. I moved it from the global config file to the per-machine config, as that seemed the more logical place to me.

Post Reply