[Wine] Is it possible to assign or spoof a MAC address in Wine?

ICCAFSN wineforum-user at winehq.org
Thu Jul 14 22:34:14 CDT 2011


Hello,

How is the MAC address code that is reported in the Wine environment assigned? How would I go about manually assigning (spoofing) a MAC address to the environment?

I am working on getting Warcraft II BNE to work with LAN play via IPX. I'm using an IPX to UDF wrapper called IPXWrapper which works fine (I tested it with several Windows boxes). Right now I'm having a problem getting two separate copes of W2BNE (running under Wine) to join one another's game. The computers can see each others games, but not join them.

IPXWrapper uses the Wine-reported MAC address to generate a "node" number. Since all network devices should have unique MAC addresses, all the node numbers should also be unique as well. The problem is that Wine appears to always reports the MAC number as 00:00:00:00:00:00 and so all copies of IPXWrapper being run under Wine generate identical node numbers (and are then unable to join each others' game in W2BNE).

Hence, how can I change the MAC address Wine reports so that the wrapper can generate unique node numbers and thereby enable proper LAN networking?

Any help would be greatly appreciated. Thanks!







More information about the wine-users mailing list