Broadcom brcmfmac (BCM43143) MAC address issues

Clash Royale CLAN TAG#URR8PPP
Ok, so I am working on a project which is based around the architecture of the Pi B+. It's a proprietary designed board. On that board is a BCM43143 WiFi module - the same chip that's in the Broadcom "triangle" adapter.
Individually these all work perfectly fine. However, once you have two of them there are MAC address conflicts. The same happens with two triangles, or a module and a triangle.
The issue here is that the MAC address is hard coded in the firmware file brcm/brcmfmac43143.bin as 00:90:4C:0E:81:23
Now, I can temporarily change the mac address, either as ifconfig wlan0 hw ether ... or in the NetworkManager as cloned-mac-address=..., or even with macchanger, but this doesn't actually change the MAC address of the interface, but just creates a secondary "alias" MAC address on the interface. You still have the same underlying MAC address in the interface.
And that's where the problems happen. With two modules both enabled nearby it all goes belly up. The modules start fighting and causing each other to panic and reset. Running a ping gets about 3 packets through before it locks up and the interface resets. About a minute later another three packets get through.
Either that or these chips just really don't like having their MAC address changed.
I have manually edited the firmware file on one test module to give it a different hard coded MAC address (it's in the binary file as a string, which is helpful) and the problem instantly goes away. And that's fine for me, since I know how to do these things. Not good for an average user though, editing a binary file like that.
So. Has anyone else come across this problem of conflicting underlying MAC addresses on these triangles / modules? If so, how do you tackle it? Am I going to have to resort to writing a custom "MAC editing" utility to modify the firmware files myself, or is there some way of setting a parameter to override the MAC that's in there?
Update: I have written a small utility to change the MAC address in the .bin file. Not perfect, but may be the way to go...
wifi
migrated from raspberrypi.stackexchange.com Apr 29 '15 at 11:44
This question came from our site for users and developers of hardware and software for Raspberry Pi.
add a comment |
Ok, so I am working on a project which is based around the architecture of the Pi B+. It's a proprietary designed board. On that board is a BCM43143 WiFi module - the same chip that's in the Broadcom "triangle" adapter.
Individually these all work perfectly fine. However, once you have two of them there are MAC address conflicts. The same happens with two triangles, or a module and a triangle.
The issue here is that the MAC address is hard coded in the firmware file brcm/brcmfmac43143.bin as 00:90:4C:0E:81:23
Now, I can temporarily change the mac address, either as ifconfig wlan0 hw ether ... or in the NetworkManager as cloned-mac-address=..., or even with macchanger, but this doesn't actually change the MAC address of the interface, but just creates a secondary "alias" MAC address on the interface. You still have the same underlying MAC address in the interface.
And that's where the problems happen. With two modules both enabled nearby it all goes belly up. The modules start fighting and causing each other to panic and reset. Running a ping gets about 3 packets through before it locks up and the interface resets. About a minute later another three packets get through.
Either that or these chips just really don't like having their MAC address changed.
I have manually edited the firmware file on one test module to give it a different hard coded MAC address (it's in the binary file as a string, which is helpful) and the problem instantly goes away. And that's fine for me, since I know how to do these things. Not good for an average user though, editing a binary file like that.
So. Has anyone else come across this problem of conflicting underlying MAC addresses on these triangles / modules? If so, how do you tackle it? Am I going to have to resort to writing a custom "MAC editing" utility to modify the firmware files myself, or is there some way of setting a parameter to override the MAC that's in there?
Update: I have written a small utility to change the MAC address in the .bin file. Not perfect, but may be the way to go...
wifi
migrated from raspberrypi.stackexchange.com Apr 29 '15 at 11:44
This question came from our site for users and developers of hardware and software for Raspberry Pi.
I have 2 of these devices and they both have the same MAC address as yours, I would love to see your MAC address change utility, as it is causing me problems too. Mike
– user150795
Jan 9 '16 at 16:17
It's on github at github.com/majenkotech/chmac - help yourself to it :)
– Majenko
Jan 9 '16 at 16:19
As the Raspberry Pi 3B has just been released and it also uses the BCM43143 perhaps this question may get migrated BACK to RPSE? 8-)
– SlySven
Feb 27 '16 at 17:04
add a comment |
Ok, so I am working on a project which is based around the architecture of the Pi B+. It's a proprietary designed board. On that board is a BCM43143 WiFi module - the same chip that's in the Broadcom "triangle" adapter.
Individually these all work perfectly fine. However, once you have two of them there are MAC address conflicts. The same happens with two triangles, or a module and a triangle.
The issue here is that the MAC address is hard coded in the firmware file brcm/brcmfmac43143.bin as 00:90:4C:0E:81:23
Now, I can temporarily change the mac address, either as ifconfig wlan0 hw ether ... or in the NetworkManager as cloned-mac-address=..., or even with macchanger, but this doesn't actually change the MAC address of the interface, but just creates a secondary "alias" MAC address on the interface. You still have the same underlying MAC address in the interface.
And that's where the problems happen. With two modules both enabled nearby it all goes belly up. The modules start fighting and causing each other to panic and reset. Running a ping gets about 3 packets through before it locks up and the interface resets. About a minute later another three packets get through.
Either that or these chips just really don't like having their MAC address changed.
I have manually edited the firmware file on one test module to give it a different hard coded MAC address (it's in the binary file as a string, which is helpful) and the problem instantly goes away. And that's fine for me, since I know how to do these things. Not good for an average user though, editing a binary file like that.
So. Has anyone else come across this problem of conflicting underlying MAC addresses on these triangles / modules? If so, how do you tackle it? Am I going to have to resort to writing a custom "MAC editing" utility to modify the firmware files myself, or is there some way of setting a parameter to override the MAC that's in there?
Update: I have written a small utility to change the MAC address in the .bin file. Not perfect, but may be the way to go...
wifi
Ok, so I am working on a project which is based around the architecture of the Pi B+. It's a proprietary designed board. On that board is a BCM43143 WiFi module - the same chip that's in the Broadcom "triangle" adapter.
Individually these all work perfectly fine. However, once you have two of them there are MAC address conflicts. The same happens with two triangles, or a module and a triangle.
The issue here is that the MAC address is hard coded in the firmware file brcm/brcmfmac43143.bin as 00:90:4C:0E:81:23
Now, I can temporarily change the mac address, either as ifconfig wlan0 hw ether ... or in the NetworkManager as cloned-mac-address=..., or even with macchanger, but this doesn't actually change the MAC address of the interface, but just creates a secondary "alias" MAC address on the interface. You still have the same underlying MAC address in the interface.
And that's where the problems happen. With two modules both enabled nearby it all goes belly up. The modules start fighting and causing each other to panic and reset. Running a ping gets about 3 packets through before it locks up and the interface resets. About a minute later another three packets get through.
Either that or these chips just really don't like having their MAC address changed.
I have manually edited the firmware file on one test module to give it a different hard coded MAC address (it's in the binary file as a string, which is helpful) and the problem instantly goes away. And that's fine for me, since I know how to do these things. Not good for an average user though, editing a binary file like that.
So. Has anyone else come across this problem of conflicting underlying MAC addresses on these triangles / modules? If so, how do you tackle it? Am I going to have to resort to writing a custom "MAC editing" utility to modify the firmware files myself, or is there some way of setting a parameter to override the MAC that's in there?
Update: I have written a small utility to change the MAC address in the .bin file. Not perfect, but may be the way to go...
wifi
wifi
edited Apr 29 '15 at 13:35
Majenko
asked Apr 29 '15 at 11:38
MajenkoMajenko
573213
573213
migrated from raspberrypi.stackexchange.com Apr 29 '15 at 11:44
This question came from our site for users and developers of hardware and software for Raspberry Pi.
migrated from raspberrypi.stackexchange.com Apr 29 '15 at 11:44
This question came from our site for users and developers of hardware and software for Raspberry Pi.
I have 2 of these devices and they both have the same MAC address as yours, I would love to see your MAC address change utility, as it is causing me problems too. Mike
– user150795
Jan 9 '16 at 16:17
It's on github at github.com/majenkotech/chmac - help yourself to it :)
– Majenko
Jan 9 '16 at 16:19
As the Raspberry Pi 3B has just been released and it also uses the BCM43143 perhaps this question may get migrated BACK to RPSE? 8-)
– SlySven
Feb 27 '16 at 17:04
add a comment |
I have 2 of these devices and they both have the same MAC address as yours, I would love to see your MAC address change utility, as it is causing me problems too. Mike
– user150795
Jan 9 '16 at 16:17
It's on github at github.com/majenkotech/chmac - help yourself to it :)
– Majenko
Jan 9 '16 at 16:19
As the Raspberry Pi 3B has just been released and it also uses the BCM43143 perhaps this question may get migrated BACK to RPSE? 8-)
– SlySven
Feb 27 '16 at 17:04
I have 2 of these devices and they both have the same MAC address as yours, I would love to see your MAC address change utility, as it is causing me problems too. Mike
– user150795
Jan 9 '16 at 16:17
I have 2 of these devices and they both have the same MAC address as yours, I would love to see your MAC address change utility, as it is causing me problems too. Mike
– user150795
Jan 9 '16 at 16:17
It's on github at github.com/majenkotech/chmac - help yourself to it :)
– Majenko
Jan 9 '16 at 16:19
It's on github at github.com/majenkotech/chmac - help yourself to it :)
– Majenko
Jan 9 '16 at 16:19
As the Raspberry Pi 3B has just been released and it also uses the BCM43143 perhaps this question may get migrated BACK to RPSE? 8-)
– SlySven
Feb 27 '16 at 17:04
As the Raspberry Pi 3B has just been released and it also uses the BCM43143 perhaps this question may get migrated BACK to RPSE? 8-)
– SlySven
Feb 27 '16 at 17:04
add a comment |
1 Answer
1
active
oldest
votes
Here is an email from Broadcom in response to this issue:
-------- Original message --------
From: Hante Meuleman
Date: 12/01/2016 09:13 (GMT+00:00) To: Mike
Last <********************>, brcm80211-dev-list
Subject: RE: BCM43143 Mac Address issues.
Hi Mike,
Unfortunately this is a manufacturing problem. The device is supposed
to be programmed with a unique mac address, but isn’t. As a result the
firmware will use its default address, which should normally only be
necessary for development devices. We could make firmware which
randomize the mac address, but even that could not always result in a
unique mac address. One of the ways to get around it is, is by giving
the device a new mac address using ifconfig: where wlan0 needs to be substituted with
interface name of device and the mac address is free to choose.
Sorry, but we have no good alternative for this.
Regards, Hante
-----Original Message-----
From: Mike Last [mailto:***********************]
Sent: Monday, January 11, 2016 8:35
PM To: brcm80211-dev-list Subject: BCM43143 Mac Address issues.
Hi,
I am an end user and not a developer.
I am using the BCM43143 usb hub/wifi device for Raspberry Pi.
This device is great, but when I have 2 running on the same network
they both have the same MAC address and will not work. The MAC
address is 00:90:4C:0E:81:23, this seems to be written into the
brcmfmac43143.bin file in Raspbian Jessie ( it is identical in Ubuntu
14.04 )
Has there been some error in the driver files for these releases and
are you able to offer any alternatives?
Thanks
Mike
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f199389%2fbroadcom-brcmfmac-bcm43143-mac-address-issues%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Here is an email from Broadcom in response to this issue:
-------- Original message --------
From: Hante Meuleman
Date: 12/01/2016 09:13 (GMT+00:00) To: Mike
Last <********************>, brcm80211-dev-list
Subject: RE: BCM43143 Mac Address issues.
Hi Mike,
Unfortunately this is a manufacturing problem. The device is supposed
to be programmed with a unique mac address, but isn’t. As a result the
firmware will use its default address, which should normally only be
necessary for development devices. We could make firmware which
randomize the mac address, but even that could not always result in a
unique mac address. One of the ways to get around it is, is by giving
the device a new mac address using ifconfig: where wlan0 needs to be substituted with
interface name of device and the mac address is free to choose.
Sorry, but we have no good alternative for this.
Regards, Hante
-----Original Message-----
From: Mike Last [mailto:***********************]
Sent: Monday, January 11, 2016 8:35
PM To: brcm80211-dev-list Subject: BCM43143 Mac Address issues.
Hi,
I am an end user and not a developer.
I am using the BCM43143 usb hub/wifi device for Raspberry Pi.
This device is great, but when I have 2 running on the same network
they both have the same MAC address and will not work. The MAC
address is 00:90:4C:0E:81:23, this seems to be written into the
brcmfmac43143.bin file in Raspbian Jessie ( it is identical in Ubuntu
14.04 )
Has there been some error in the driver files for these releases and
are you able to offer any alternatives?
Thanks
Mike
add a comment |
Here is an email from Broadcom in response to this issue:
-------- Original message --------
From: Hante Meuleman
Date: 12/01/2016 09:13 (GMT+00:00) To: Mike
Last <********************>, brcm80211-dev-list
Subject: RE: BCM43143 Mac Address issues.
Hi Mike,
Unfortunately this is a manufacturing problem. The device is supposed
to be programmed with a unique mac address, but isn’t. As a result the
firmware will use its default address, which should normally only be
necessary for development devices. We could make firmware which
randomize the mac address, but even that could not always result in a
unique mac address. One of the ways to get around it is, is by giving
the device a new mac address using ifconfig: where wlan0 needs to be substituted with
interface name of device and the mac address is free to choose.
Sorry, but we have no good alternative for this.
Regards, Hante
-----Original Message-----
From: Mike Last [mailto:***********************]
Sent: Monday, January 11, 2016 8:35
PM To: brcm80211-dev-list Subject: BCM43143 Mac Address issues.
Hi,
I am an end user and not a developer.
I am using the BCM43143 usb hub/wifi device for Raspberry Pi.
This device is great, but when I have 2 running on the same network
they both have the same MAC address and will not work. The MAC
address is 00:90:4C:0E:81:23, this seems to be written into the
brcmfmac43143.bin file in Raspbian Jessie ( it is identical in Ubuntu
14.04 )
Has there been some error in the driver files for these releases and
are you able to offer any alternatives?
Thanks
Mike
add a comment |
Here is an email from Broadcom in response to this issue:
-------- Original message --------
From: Hante Meuleman
Date: 12/01/2016 09:13 (GMT+00:00) To: Mike
Last <********************>, brcm80211-dev-list
Subject: RE: BCM43143 Mac Address issues.
Hi Mike,
Unfortunately this is a manufacturing problem. The device is supposed
to be programmed with a unique mac address, but isn’t. As a result the
firmware will use its default address, which should normally only be
necessary for development devices. We could make firmware which
randomize the mac address, but even that could not always result in a
unique mac address. One of the ways to get around it is, is by giving
the device a new mac address using ifconfig: where wlan0 needs to be substituted with
interface name of device and the mac address is free to choose.
Sorry, but we have no good alternative for this.
Regards, Hante
-----Original Message-----
From: Mike Last [mailto:***********************]
Sent: Monday, January 11, 2016 8:35
PM To: brcm80211-dev-list Subject: BCM43143 Mac Address issues.
Hi,
I am an end user and not a developer.
I am using the BCM43143 usb hub/wifi device for Raspberry Pi.
This device is great, but when I have 2 running on the same network
they both have the same MAC address and will not work. The MAC
address is 00:90:4C:0E:81:23, this seems to be written into the
brcmfmac43143.bin file in Raspbian Jessie ( it is identical in Ubuntu
14.04 )
Has there been some error in the driver files for these releases and
are you able to offer any alternatives?
Thanks
Mike
Here is an email from Broadcom in response to this issue:
-------- Original message --------
From: Hante Meuleman
Date: 12/01/2016 09:13 (GMT+00:00) To: Mike
Last <********************>, brcm80211-dev-list
Subject: RE: BCM43143 Mac Address issues.
Hi Mike,
Unfortunately this is a manufacturing problem. The device is supposed
to be programmed with a unique mac address, but isn’t. As a result the
firmware will use its default address, which should normally only be
necessary for development devices. We could make firmware which
randomize the mac address, but even that could not always result in a
unique mac address. One of the ways to get around it is, is by giving
the device a new mac address using ifconfig: where wlan0 needs to be substituted with
interface name of device and the mac address is free to choose.
Sorry, but we have no good alternative for this.
Regards, Hante
-----Original Message-----
From: Mike Last [mailto:***********************]
Sent: Monday, January 11, 2016 8:35
PM To: brcm80211-dev-list Subject: BCM43143 Mac Address issues.
Hi,
I am an end user and not a developer.
I am using the BCM43143 usb hub/wifi device for Raspberry Pi.
This device is great, but when I have 2 running on the same network
they both have the same MAC address and will not work. The MAC
address is 00:90:4C:0E:81:23, this seems to be written into the
brcmfmac43143.bin file in Raspbian Jessie ( it is identical in Ubuntu
14.04 )
Has there been some error in the driver files for these releases and
are you able to offer any alternatives?
Thanks
Mike
edited Jan 12 '16 at 10:35
nwildner
14.2k24176
14.2k24176
answered Jan 12 '16 at 10:00
mikemike
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f199389%2fbroadcom-brcmfmac-bcm43143-mac-address-issues%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
I have 2 of these devices and they both have the same MAC address as yours, I would love to see your MAC address change utility, as it is causing me problems too. Mike
– user150795
Jan 9 '16 at 16:17
It's on github at github.com/majenkotech/chmac - help yourself to it :)
– Majenko
Jan 9 '16 at 16:19
As the Raspberry Pi 3B has just been released and it also uses the BCM43143 perhaps this question may get migrated BACK to RPSE? 8-)
– SlySven
Feb 27 '16 at 17:04