Part Number: BEAGLEBN
Tool/software: Linux
Hello all,
I've been trying to setup a mesh wifi network, very similarly to the thread reported by Maria Valero(Mesh Network with Wireless BeagleBone Black), only difference being that we're trying on a beaglebone green.
I'm not able to run the following build step:
./build_wl18xx.sh update R8.7_SP3
I get the following error:
Your branch is up-to-date with 'origin/master'.
error: pathspec 'R8.7_SP3' did not match any file(s) known to git.
Makefile was found. Kernel version was set to 4.9.59.
Can't locate strict.pm in @INC (you may need to install the strict module) (@INC contains: //usr/lib/perl/site_perl/5.22.1 //usr/lib/perl/vendor_perl/5.22.1 //usr/lib/perl/5.22.1 /tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/lib/perl/site_perl/5.22.1/ /tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/lib/perl/site_perl/5.22.1 /tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/lib/perl/vendor_perl/5.22.1/ /tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/lib/perl/vendor_perl/5.22.1 /tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/lib/perl/5.22.1/ /tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/lib/perl/5.22.1 /tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/lib/perl/5.22.1 .) at ./Configure line 9.
BEGIN failed--compilation aborted at ./Configure line 9.
make: *** No rule to make target 'clean'. Stop.
****** *******
make: *** No targets specified and no makefile found. Stop.
****** ERROR 0 *******
I tried several times building this on different platforms, Ubuntu 14.04 LTS and Ubuntu 16 LTS. Is there something I'm missing?
Meanwhile, we upgraded the Kernel, and now using:
Debian 9 (stretch) with kernel: 4.9.78-ti-r93
I guess in this latest kernel we don't need to compile the kernel with the patched wlink rev R8.7_SP3, is this correct?
The wlink8 driver seems to support mesh mode, by doing iw list I can see:
Wiphy phy0
Supported interface modes:
* managed
* AP
* AP/VLAN
* monitor
* mesh point
* P2P-client
* P2P-GO
* P2P-device
Now, my first question is that I don't have the mesh start and stop scripts in /usr/share, there is no wl8xx directory in this path, how can I get these installed? Is there and apt-get package where I can get them from?
After I copied by hand the scripts into the beaglebone, I'm able to run the mesh_start.sh but then, when I try the mesh_join.sh I get the follwoing error:
root@beaglebone:/usr/share/wl18xx# ./mesh_join.sh SSID 2412
./mesh_join.sh: 5: [: SSID: unexpected operator
./mesh_join.sh: 5: [: SSID: unexpected operator
netid=0
=========================
wpa_cli -i mesh0 set_network 0 ssid '"SSID"'
wpa_cli -i mesh0 set_network 0 mode 5
wpa_cli -i mesh0 set_network 0 frequency 2412
wpa_cli -i mesh0 set_network 0 key_mgmt NONE
./mesh_join.sh: 29: [: 0: unexpected operator
wpa_cli -i mesh0 select_network 0
Any help is greatly appreciated,
Thanks,
Lourenco