I have the BeagleBone Black Wireless, and I have flashed Ubuntu 16.04
Xenial to it. I am trying to make the WiFi to work but have so far failed.
I have already tried to modify the /etc/network/interfaces file by adding
the following commands for wlan0, without any luck:
auto wlan0
iface wlan0 inet static
address 192.168.1.2
netmask 255.255.255.0
gateway 192.168.1.1
wireless-mode ad-hoc
wireless-essid BBB
In some forums, people suggest using “connmanctl”, however, there is no
such preinstalled package in Ubuntu. Also I can’t download it to the BBBw,
because its WiFi is not working. I tried connecting the BBBw to the
internet via a usb connection, I edited this connection to “shared to other
computers” but again, I had no Internet connection to the BBBw. To sum up,
my question is: Is there an easy way to make the WiFi of the BBBw (with
Ubuntu) to work, without the need to use the “connmanctl”? If not, any
detailed information on how to install and use the “connmanctl” would be
very much appreciated. I am including the whole /etc/network/interfaces
file, with the part that I added, which appears after the comment “The
following lines for the wlan0 were added by me”.
Thanks in advance,
Chrysomallis Iason.
Interfaces file:
# 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 following lines for the wlan0 were added by Savvas
# Ad-Hoc wifi
auto wlan0
iface wlan0 inet static
address 192.168.1.2
netmask 255.255.25a5.0
gateway 192.168.1.1
wireless-mode ad-hoc
wireless-essid BBB
##connman: ethX static config
#connmanctl services
#Using the appropriate ethernet service, tell connman to setup a static IP
address for that service:
#sudo connmanctl config <service> --ipv4 manual <ip_addr> <netmask>
<gateway> --nameservers <dnsserver>
##connman: WiFi
#
#connmanctl
#connmanctl> tether wifi off
#connmanctl> enable wifi
#connmanctl> scan wifi
#connmanctl> services
#connmanctl> agent on
#connmanctl> connect wifi*_managed_psk
#connmanctl> quit
# Ethernet/RNDIS gadget (g_ether)
# Used by: /opt/scripts/boot/autoconfigure_usb0.sh
iface usb0 inet static
address 192.168.7.2
netmask 255.255.255.252
network 192.168.7.0
gateway 192.168.7.1
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/beagleboard/e6018c4f-073a-4dc8-9191-369202b33d78%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.