BBAI Wi-Fi SSID MAC address issue

26 views
Skip to first unread message

Douglas Conover

unread,
Jan 28, 2021, 4:59:01 PM1/28/21
to BeagleBoard

Hi All,

I have two BeagleBone AIs, which both produce their own wifi access points. The problem is that they are both using the same SD card image and generate the same SSID name. It seems that the BBAI is generating its SSID based on a MAC address stored on the card instead of the actual hardware. Is there a proper way to copy/flash an image onto the BBAI so that I can avoid this problem?

I know I can manually configure the SSID in /etc/default/bb-wl18xx, but I would love for this to work for me 'out of the box'

Thanks!

Doug

jonnymo

unread,
Jan 28, 2021, 8:22:39 PM1/28/21
to Beagle Board
Looking at the following it looks like there are series of files where the MAC is set:

Ex:
   debian@beaglebone:~$ cat  /etc/cpsw_0_mac
   28:EC:9A:F0:15:32


On my BBAI, the SSID shows as BeagleBone-1532


Cheers,

Jon

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/e108d795-94a9-4450-8657-5f632392526cn%40googlegroups.com.

Douglas Conover

unread,
Jan 29, 2021, 10:53:10 AM1/29/21
to beagl...@googlegroups.com
Thanks for the tip! I'll check it out

Robert Nelson

unread,
Jan 29, 2021, 11:00:03 AM1/29/21
to Beagle Board, douglas...@vention.cc
On Fri, Jan 29, 2021 at 9:53 AM Douglas Conover
<douglas...@vention.cc> wrote:
>
> Thanks for the tip! I'll check it out

It usually takes a second reboot, as we read the first mac address to
see if we can use a cached value:

https://github.com/RobertCNelson/boot-scripts/blob/master/boot/bbai.sh#L107-L117

So usually on the first boot on the 2nd board, it'll have the old ssid
address, but on the second reboot, it'll have the board specific
value..

Regards,

--
Robert Nelson
https://rcn-ee.com/
Reply all
Reply to author
Forward
0 new messages