BBGW MAC address is DE:AD:BE:EF:00:00 after update

2,274 views
Skip to first unread message

dbe...@gmail.com

unread,
Aug 1, 2016, 4:09:34 PM8/1/16
to BeagleBoard
I just updated two Beaglebone Green Wireless modules with the latest operating system (Debian 8.4 2016-05-13 4GB SD LXQT) and I find that the MAC addresses of the wlan0 interfaces of both boards show as DE:AD:BE:EF:00:00. Is there a way to automatically set them to the numbers printed on the boards? I'm pretty sure they didn't show as DE:AD:BE:EF:00:00 before I did the upgrade because I was able to setup an ssh connection to each board independently. Now, since they both have the same MAC address, they both get the same IP address from my router and get confused. What is the best way to sort this out?

Aaron

unread,
Aug 1, 2016, 4:25:31 PM8/1/16
to beagl...@googlegroups.com
That MAC address made me laugh, so I gave it a quick look up to see if it was a known hack of some kind.

It's apparently a TI thing.

Hope this helps.

Aaron



On 1 August 2016 at 15:57, <dbe...@gmail.com> wrote:
I just updated two Beaglebone Green Wireless modules with the latest operating system (Debian 8.4 2016-05-13 4GB SD LXQT) and I find that the MAC addresses of the wlan0 interfaces of both boards show as DE:AD:BE:EF:00:00. Is there a way to automatically set them to the numbers printed on the boards? I'm pretty sure they didn't show as DE:AD:BE:EF:00:00 before I did the upgrade because I was able to setup an ssh connection to each board independently. Now, since they both have the same MAC address, they both get the same IP address from my router and get confused. What is the best way to sort this out?

--
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/1606443b-576e-43eb-82d8-6b705288cb4c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

William Hermans

unread,
Aug 1, 2016, 4:44:06 PM8/1/16
to beagl...@googlegroups.com
That MAC address made me laugh, so I gave it a quick look up to see if it was a known hack of some kind.

It's apparently a TI thing.
https://gist.github.com/theojulienne/9251b79bcbd68b4e9240

Hope this helps.

Aaron

DEADBEEF is actually an "old school programmer thing". But if we look into a stock debian image file . . .

$ sudo fdisk -lu cleanup/downloads/linux-images/bone-debian-7.8-console-armhf-2015-03-01-2gb.img

Disk cleanup/downloads/linux-images/bone-debian-7.8-console-armhf-2015-03-01-2gb.img: 1782 MB, 1782579200 bytes
184 heads, 31 sectors/track, 610 cylinders, total 3481600 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

                                                                          Device Boot      Start         End      Blocks   Id  System
cleanup/downloads/linux-images/bone-debian-7.8-console-armhf-2015-03-01-2gb.img1   *        2048     3481599     1739776   83  Linux

$ sudo mount -o loop,offset=1048576 cleanup/downloads/linux-images/bone-debian-7.8-console-armhf-2015-03-01-2gb.img /media/rootfs
william@eee-pc:~$ cat /media/rootfs/etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet dhcp
# Example to keep MAC address between reboots
#hwaddress ether DE:AD:BE:EF:CA:FE

# The secondary network interface
#auto eth1
#iface eth1 inet dhcp

# WiFi Example
#auto wlan0
#iface wlan0 inet dhcp
#    wpa-ssid "essid"
#    wpa-psk  "password"

# Ethernet/RNDIS gadget (g_ether)
# ... or on host side, usbnet and random hwaddr
# Note on some boards, usb0 is automaticly setup with an init script
iface usb0 inet static
    address 192.168.7.2
    netmask 255.255.255.0
    network 192.168.7.0
    gateway 192.168.7.1

As I recall there is also a script somewhere that did, or still sets this MAC address for the ethernet interface. Granted this is not what my own beaglebones are set to . . .


Robert Nelson

unread,
Aug 1, 2016, 4:46:50 PM8/1/16
to Beagle Board, dbe...@gmail.com
Yes,

But it requires 2 software packages not installed in that version.

1: bb-wl18xx-firmware, which you can install via : ( sudo apt-get
update ; sudo apt-get install bb-wl18xx-firmware )

2: a tool from TI, that i haven't packaged yet...

https://github.com/rcn-ee/ti-18xx-ti-utils/commits/R8.6_SP1-bbgw

Or use this new image:

http://rcn-ee.net/rootfs/bb.org/testing/2016-08-01/lxqt-4gb/bone-debian-8.5-lxqt-4gb-armhf-2016-08-01-4gb.img.xz

Regards,

--
Robert Nelson
https://rcn-ee.com/

Robert Nelson

unread,
Aug 1, 2016, 4:58:31 PM8/1/16
to dbe...@gmail.com, Beagle Board
On Mon, Aug 1, 2016 at 3:50 PM, <dbe...@gmail.com> wrote:
> Hi Robert,
>
> Thanks for your quick response. I tried the link you posted for the new image but I got a permission error.

Sorry, rsync is still running, should be fully uploaded in the next 10 minutes..

dbe...@gmail.com

unread,
Aug 1, 2016, 5:11:53 PM8/1/16
to Robert Nelson, Beagle Board
Hi Robert,

Thanks for your quick response. I tried the link you posted for the new image but I got a permission error.

Thanks,
David

dbe...@gmail.com

unread,
Aug 1, 2016, 8:24:14 PM8/1/16
to BeagleBoard, dbe...@gmail.com
Thanks again. I downloaded and installed the new image and the MAC address seems to be correct now but I'm having another problem. I'm having trouble enabling Bluetooth. Any idea what's going wrong?

root@beaglebone:~# bb-wl18xx-bluetooth
Wanted to write 4 bytes, could only write 0. Stop
Can't initialize device: Success

Robert Nelson

unread,
Aug 1, 2016, 9:43:58 PM8/1/16
to Beagle Board, David Betz
Oh, so one of the "big" changes in 2016-08-01, bluetooth should "just
work" on startup...

https://github.com/rcn-ee/repos/pull/17

Now if you run it a second time... Not sure...

dbe...@gmail.com

unread,
Aug 2, 2016, 7:35:02 AM8/2/16
to BeagleBoard, dbe...@gmail.com
Ah, so it does! Great! Thanks!
Reply all
Reply to author
Forward
0 new messages