*SOLVED* Is it possible to set/fake Mac Address / HWaddr ?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
jorx
Level 1
Level 1
Posts: 8
Joined: Wed Jun 03, 2009 2:02 am

*SOLVED* Is it possible to set/fake Mac Address / HWaddr ?

Post by jorx »

Hi everybody,
I was wondering if it was possible- to specify the computer's MAC address or Hardware address when a program asks for it within WINE? This would solve some issues for me.
Last edited by jorx on Mon Jun 08, 2009 2:02 am, edited 1 time in total.
Thunderbird
Level 5
Level 5
Posts: 336
Joined: Mon Nov 24, 2008 8:10 am

Post by Thunderbird »

It sounds like you want to avoid a copy protection. Wine doesn't offer a way to fake a MAC address but of course you can using ifconfig ...
User avatar
Daemon
Level 4
Level 4
Posts: 101
Joined: Wed Nov 12, 2008 2:24 pm

Post by Daemon »

ifconfig <device> down
ifconfig <device> hw ether <MAC ADDRESS>
ifconfig <device> up

If your card/driver supports it.
jorx
Level 1
Level 1
Posts: 8
Joined: Wed Jun 03, 2009 2:02 am

Post by jorx »

That works wonderfully!
It's funny- because I tried different commands for taking down the network driver- but this one is the only one that worked!
Locked