BeagleBone Black Wireless with Ubuntu Xenial 16.04 Wifi Not Working
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
3
down vote
favorite
I have the BeagleBone Black Wireless, and I have flashed Ubuntu 16.04 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 with a PC, 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 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âÂÂ.
# 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 me
# 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 <dns_server>
##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
- Results from the network diagnostics
16.04 wireless beagleboard
 |Â
show 3 more comments
up vote
3
down vote
favorite
I have the BeagleBone Black Wireless, and I have flashed Ubuntu 16.04 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 with a PC, 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 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âÂÂ.
# 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 me
# 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 <dns_server>
##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
- Results from the network diagnostics
16.04 wireless beagleboard
Welcome to Ask Ubuntu! Could you please run the network diagnostics and edit your question to include a link to the result? The diagnostics will likely cover all options that may cause your issue. Thanks.
â David Foerster
Mar 11 at 10:09
I have added the results you asked.
â NickG
Mar 13 at 20:34
Uhm, there are a few commands missing on your Ubuntu installation that are normally there out of the box. Could you please install the packagespciutils pcmciautils
and run the script again? Thanks.
â David Foerster
Mar 13 at 22:04
Before doing what David suggested, check if BeagleBone actually has PCI bus support, dols /sys/bus/pci/
According to the book "Learning BeagleBone" by H.Yau this bus isn't supported on BeagleBone, but that book was released in 2014, so things may have changed.
â Sergiy Kolodyazhnyy
Mar 14 at 0:44
I have an update to my problem. I tried 'ifconfing wlan0 up' and the result was this: dropbox.com/s/0op218l2tixggez/wlan.png?dl=0. I was told to try to put in 'cd /lib/firmware/ti-connectivity' the following file 'sudo wget git.kernel.org/pub/scm/linux/kernel/git/firmware/â¦;, which I transferred to the BBBw via SSH. After that, the on-board Wi-Fi led opened, and i added a wlan0 reference to the interfaces file: dropbox.com/s/lf6pi9ft2gssj5o/SCRNSHT_2.png?dl=0.
â NickG
Mar 18 at 23:10
 |Â
show 3 more comments
up vote
3
down vote
favorite
up vote
3
down vote
favorite
I have the BeagleBone Black Wireless, and I have flashed Ubuntu 16.04 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 with a PC, 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 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âÂÂ.
# 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 me
# 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 <dns_server>
##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
- Results from the network diagnostics
16.04 wireless beagleboard
I have the BeagleBone Black Wireless, and I have flashed Ubuntu 16.04 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 with a PC, 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 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âÂÂ.
# 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 me
# 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 <dns_server>
##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
- Results from the network diagnostics
16.04 wireless beagleboard
16.04 wireless beagleboard
edited Mar 13 at 22:00
![](https://i.stack.imgur.com/E0SEH.png?s=32&g=1)
![](https://i.stack.imgur.com/E0SEH.png?s=32&g=1)
David Foerster
26.4k1362106
26.4k1362106
asked Mar 10 at 14:33
NickG
264
264
Welcome to Ask Ubuntu! Could you please run the network diagnostics and edit your question to include a link to the result? The diagnostics will likely cover all options that may cause your issue. Thanks.
â David Foerster
Mar 11 at 10:09
I have added the results you asked.
â NickG
Mar 13 at 20:34
Uhm, there are a few commands missing on your Ubuntu installation that are normally there out of the box. Could you please install the packagespciutils pcmciautils
and run the script again? Thanks.
â David Foerster
Mar 13 at 22:04
Before doing what David suggested, check if BeagleBone actually has PCI bus support, dols /sys/bus/pci/
According to the book "Learning BeagleBone" by H.Yau this bus isn't supported on BeagleBone, but that book was released in 2014, so things may have changed.
â Sergiy Kolodyazhnyy
Mar 14 at 0:44
I have an update to my problem. I tried 'ifconfing wlan0 up' and the result was this: dropbox.com/s/0op218l2tixggez/wlan.png?dl=0. I was told to try to put in 'cd /lib/firmware/ti-connectivity' the following file 'sudo wget git.kernel.org/pub/scm/linux/kernel/git/firmware/â¦;, which I transferred to the BBBw via SSH. After that, the on-board Wi-Fi led opened, and i added a wlan0 reference to the interfaces file: dropbox.com/s/lf6pi9ft2gssj5o/SCRNSHT_2.png?dl=0.
â NickG
Mar 18 at 23:10
 |Â
show 3 more comments
Welcome to Ask Ubuntu! Could you please run the network diagnostics and edit your question to include a link to the result? The diagnostics will likely cover all options that may cause your issue. Thanks.
â David Foerster
Mar 11 at 10:09
I have added the results you asked.
â NickG
Mar 13 at 20:34
Uhm, there are a few commands missing on your Ubuntu installation that are normally there out of the box. Could you please install the packagespciutils pcmciautils
and run the script again? Thanks.
â David Foerster
Mar 13 at 22:04
Before doing what David suggested, check if BeagleBone actually has PCI bus support, dols /sys/bus/pci/
According to the book "Learning BeagleBone" by H.Yau this bus isn't supported on BeagleBone, but that book was released in 2014, so things may have changed.
â Sergiy Kolodyazhnyy
Mar 14 at 0:44
I have an update to my problem. I tried 'ifconfing wlan0 up' and the result was this: dropbox.com/s/0op218l2tixggez/wlan.png?dl=0. I was told to try to put in 'cd /lib/firmware/ti-connectivity' the following file 'sudo wget git.kernel.org/pub/scm/linux/kernel/git/firmware/â¦;, which I transferred to the BBBw via SSH. After that, the on-board Wi-Fi led opened, and i added a wlan0 reference to the interfaces file: dropbox.com/s/lf6pi9ft2gssj5o/SCRNSHT_2.png?dl=0.
â NickG
Mar 18 at 23:10
Welcome to Ask Ubuntu! Could you please run the network diagnostics and edit your question to include a link to the result? The diagnostics will likely cover all options that may cause your issue. Thanks.
â David Foerster
Mar 11 at 10:09
Welcome to Ask Ubuntu! Could you please run the network diagnostics and edit your question to include a link to the result? The diagnostics will likely cover all options that may cause your issue. Thanks.
â David Foerster
Mar 11 at 10:09
I have added the results you asked.
â NickG
Mar 13 at 20:34
I have added the results you asked.
â NickG
Mar 13 at 20:34
Uhm, there are a few commands missing on your Ubuntu installation that are normally there out of the box. Could you please install the packages
pciutils pcmciautils
and run the script again? Thanks.â David Foerster
Mar 13 at 22:04
Uhm, there are a few commands missing on your Ubuntu installation that are normally there out of the box. Could you please install the packages
pciutils pcmciautils
and run the script again? Thanks.â David Foerster
Mar 13 at 22:04
Before doing what David suggested, check if BeagleBone actually has PCI bus support, do
ls /sys/bus/pci/
According to the book "Learning BeagleBone" by H.Yau this bus isn't supported on BeagleBone, but that book was released in 2014, so things may have changed.â Sergiy Kolodyazhnyy
Mar 14 at 0:44
Before doing what David suggested, check if BeagleBone actually has PCI bus support, do
ls /sys/bus/pci/
According to the book "Learning BeagleBone" by H.Yau this bus isn't supported on BeagleBone, but that book was released in 2014, so things may have changed.â Sergiy Kolodyazhnyy
Mar 14 at 0:44
I have an update to my problem. I tried 'ifconfing wlan0 up' and the result was this: dropbox.com/s/0op218l2tixggez/wlan.png?dl=0. I was told to try to put in 'cd /lib/firmware/ti-connectivity' the following file 'sudo wget git.kernel.org/pub/scm/linux/kernel/git/firmware/â¦;, which I transferred to the BBBw via SSH. After that, the on-board Wi-Fi led opened, and i added a wlan0 reference to the interfaces file: dropbox.com/s/lf6pi9ft2gssj5o/SCRNSHT_2.png?dl=0.
â NickG
Mar 18 at 23:10
I have an update to my problem. I tried 'ifconfing wlan0 up' and the result was this: dropbox.com/s/0op218l2tixggez/wlan.png?dl=0. I was told to try to put in 'cd /lib/firmware/ti-connectivity' the following file 'sudo wget git.kernel.org/pub/scm/linux/kernel/git/firmware/â¦;, which I transferred to the BBBw via SSH. After that, the on-board Wi-Fi led opened, and i added a wlan0 reference to the interfaces file: dropbox.com/s/lf6pi9ft2gssj5o/SCRNSHT_2.png?dl=0.
â NickG
Mar 18 at 23:10
 |Â
show 3 more comments
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
I have found a way to make the WiFi of BBBw to work.
Firstly add the following lines to the etc/network/interfaces file of the BBBw (you need to access it by another way, for example a serial connection with a laptop):
auto wlan0
iface wlan0 inet dhcp
wpa-ssid yourSSID
wpa-psk yourPass- Reboot BBBw
Then you have to update the firmware (thanks to jeremy31 for the info:https://ubuntuforums.org/showthread.php?t=2386780):
sudo wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/ti-connectivity/wl18xx-fw-4.bin
copy the abovementioned .bin file to the lib/firmware/ti-connectivity directory of BBBw
Reboot BBBw
After doing these you have to set up a connection to your linux PC for the BBBw to connect to. This connection should be "Shared to other computers", hotspot mode, WPA/WPA2 Personal, and have the SAME ssid as the one in the interfaces file.
After that your BBBw should be able to connect to your PC. If you want your BBBw to have internet access, you have to connect an ethernet cable to your PC. The "shared to other computers" hotspot connection will share the PC's ethernet internet to the BBBw.
More issues:
- There is a good chance that, in order for the BBBw to connect to the PC's hotspot connection, you should not have the internet ethernet cable of the PC connected during the BBBw's boot (it is at boot time that BBBw tries to find a network to connect).
- Wifi was still not working until the latest ubuntu armhf console image (i.e. the 2018-03-09 version) was flashed. I haven't managed to make the older 2018-02-09 version to work.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
I have found a way to make the WiFi of BBBw to work.
Firstly add the following lines to the etc/network/interfaces file of the BBBw (you need to access it by another way, for example a serial connection with a laptop):
auto wlan0
iface wlan0 inet dhcp
wpa-ssid yourSSID
wpa-psk yourPass- Reboot BBBw
Then you have to update the firmware (thanks to jeremy31 for the info:https://ubuntuforums.org/showthread.php?t=2386780):
sudo wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/ti-connectivity/wl18xx-fw-4.bin
copy the abovementioned .bin file to the lib/firmware/ti-connectivity directory of BBBw
Reboot BBBw
After doing these you have to set up a connection to your linux PC for the BBBw to connect to. This connection should be "Shared to other computers", hotspot mode, WPA/WPA2 Personal, and have the SAME ssid as the one in the interfaces file.
After that your BBBw should be able to connect to your PC. If you want your BBBw to have internet access, you have to connect an ethernet cable to your PC. The "shared to other computers" hotspot connection will share the PC's ethernet internet to the BBBw.
More issues:
- There is a good chance that, in order for the BBBw to connect to the PC's hotspot connection, you should not have the internet ethernet cable of the PC connected during the BBBw's boot (it is at boot time that BBBw tries to find a network to connect).
- Wifi was still not working until the latest ubuntu armhf console image (i.e. the 2018-03-09 version) was flashed. I haven't managed to make the older 2018-02-09 version to work.
add a comment |Â
up vote
1
down vote
accepted
I have found a way to make the WiFi of BBBw to work.
Firstly add the following lines to the etc/network/interfaces file of the BBBw (you need to access it by another way, for example a serial connection with a laptop):
auto wlan0
iface wlan0 inet dhcp
wpa-ssid yourSSID
wpa-psk yourPass- Reboot BBBw
Then you have to update the firmware (thanks to jeremy31 for the info:https://ubuntuforums.org/showthread.php?t=2386780):
sudo wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/ti-connectivity/wl18xx-fw-4.bin
copy the abovementioned .bin file to the lib/firmware/ti-connectivity directory of BBBw
Reboot BBBw
After doing these you have to set up a connection to your linux PC for the BBBw to connect to. This connection should be "Shared to other computers", hotspot mode, WPA/WPA2 Personal, and have the SAME ssid as the one in the interfaces file.
After that your BBBw should be able to connect to your PC. If you want your BBBw to have internet access, you have to connect an ethernet cable to your PC. The "shared to other computers" hotspot connection will share the PC's ethernet internet to the BBBw.
More issues:
- There is a good chance that, in order for the BBBw to connect to the PC's hotspot connection, you should not have the internet ethernet cable of the PC connected during the BBBw's boot (it is at boot time that BBBw tries to find a network to connect).
- Wifi was still not working until the latest ubuntu armhf console image (i.e. the 2018-03-09 version) was flashed. I haven't managed to make the older 2018-02-09 version to work.
add a comment |Â
up vote
1
down vote
accepted
up vote
1
down vote
accepted
I have found a way to make the WiFi of BBBw to work.
Firstly add the following lines to the etc/network/interfaces file of the BBBw (you need to access it by another way, for example a serial connection with a laptop):
auto wlan0
iface wlan0 inet dhcp
wpa-ssid yourSSID
wpa-psk yourPass- Reboot BBBw
Then you have to update the firmware (thanks to jeremy31 for the info:https://ubuntuforums.org/showthread.php?t=2386780):
sudo wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/ti-connectivity/wl18xx-fw-4.bin
copy the abovementioned .bin file to the lib/firmware/ti-connectivity directory of BBBw
Reboot BBBw
After doing these you have to set up a connection to your linux PC for the BBBw to connect to. This connection should be "Shared to other computers", hotspot mode, WPA/WPA2 Personal, and have the SAME ssid as the one in the interfaces file.
After that your BBBw should be able to connect to your PC. If you want your BBBw to have internet access, you have to connect an ethernet cable to your PC. The "shared to other computers" hotspot connection will share the PC's ethernet internet to the BBBw.
More issues:
- There is a good chance that, in order for the BBBw to connect to the PC's hotspot connection, you should not have the internet ethernet cable of the PC connected during the BBBw's boot (it is at boot time that BBBw tries to find a network to connect).
- Wifi was still not working until the latest ubuntu armhf console image (i.e. the 2018-03-09 version) was flashed. I haven't managed to make the older 2018-02-09 version to work.
I have found a way to make the WiFi of BBBw to work.
Firstly add the following lines to the etc/network/interfaces file of the BBBw (you need to access it by another way, for example a serial connection with a laptop):
auto wlan0
iface wlan0 inet dhcp
wpa-ssid yourSSID
wpa-psk yourPass- Reboot BBBw
Then you have to update the firmware (thanks to jeremy31 for the info:https://ubuntuforums.org/showthread.php?t=2386780):
sudo wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/ti-connectivity/wl18xx-fw-4.bin
copy the abovementioned .bin file to the lib/firmware/ti-connectivity directory of BBBw
Reboot BBBw
After doing these you have to set up a connection to your linux PC for the BBBw to connect to. This connection should be "Shared to other computers", hotspot mode, WPA/WPA2 Personal, and have the SAME ssid as the one in the interfaces file.
After that your BBBw should be able to connect to your PC. If you want your BBBw to have internet access, you have to connect an ethernet cable to your PC. The "shared to other computers" hotspot connection will share the PC's ethernet internet to the BBBw.
More issues:
- There is a good chance that, in order for the BBBw to connect to the PC's hotspot connection, you should not have the internet ethernet cable of the PC connected during the BBBw's boot (it is at boot time that BBBw tries to find a network to connect).
- Wifi was still not working until the latest ubuntu armhf console image (i.e. the 2018-03-09 version) was flashed. I haven't managed to make the older 2018-02-09 version to work.
answered May 19 at 23:02
NickG
264
264
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1013682%2fbeaglebone-black-wireless-with-ubuntu-xenial-16-04-wifi-not-working%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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
Welcome to Ask Ubuntu! Could you please run the network diagnostics and edit your question to include a link to the result? The diagnostics will likely cover all options that may cause your issue. Thanks.
â David Foerster
Mar 11 at 10:09
I have added the results you asked.
â NickG
Mar 13 at 20:34
Uhm, there are a few commands missing on your Ubuntu installation that are normally there out of the box. Could you please install the packages
pciutils pcmciautils
and run the script again? Thanks.â David Foerster
Mar 13 at 22:04
Before doing what David suggested, check if BeagleBone actually has PCI bus support, do
ls /sys/bus/pci/
According to the book "Learning BeagleBone" by H.Yau this bus isn't supported on BeagleBone, but that book was released in 2014, so things may have changed.â Sergiy Kolodyazhnyy
Mar 14 at 0:44
I have an update to my problem. I tried 'ifconfing wlan0 up' and the result was this: dropbox.com/s/0op218l2tixggez/wlan.png?dl=0. I was told to try to put in 'cd /lib/firmware/ti-connectivity' the following file 'sudo wget git.kernel.org/pub/scm/linux/kernel/git/firmware/â¦;, which I transferred to the BBBw via SSH. After that, the on-board Wi-Fi led opened, and i added a wlan0 reference to the interfaces file: dropbox.com/s/lf6pi9ft2gssj5o/SCRNSHT_2.png?dl=0.
â NickG
Mar 18 at 23:10