This short tutorial will introduce how to set up Wireless Lan on a Fedora-driven Cubietruck. The aim is to load the necessary module and set-up the connection to a Wireless network during system startup automatically.
First of all, the module for the Broadcom AP6210 chipset (offering Bluetooth and Wireless functionality) must be added to the /etc/modules-load.d/cubie.conf config file
Check, that „bcmdhd“ is included in this file.
During next system reboot, the WiFi module will be loaded automatically.
Currently (before the reboot) we need to load the module manually by:
Checking, if the module was loaded successfully (module name should appear in the command line):
lsmod |grep bcmdhd
In the next steps, we are going to install and configure WPA supplicant and Wifi Radar
yum install wpa_supplicant
yum install wifi-radar
Add your network and password to the file /etc/wpa_supplicant/wpa_supplicant.conf:
In the next step, some minor changes to the /etc/sysconfig/wpa_supplicant are necessary:
OTHER_ARGS="-f /var/log/wpa_supplicant.log -P /var/run/wpa_supplicant.pid"
In addition, the network setting for your wireless interface needs to be included into the ifcfg-file
Disabling and stopping the Network Manager:
systemctl disable NetworkManager.service systemctl stop NetworkManager.service
Now we can test, if the WLan was started and the network connection was established:
wpa_supplicant -B -i wlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf -D wext dhclient wlan0
To run the commands on system startup, add wpa_supplicant to the services:
systemctl enable wpa_supplicant.service
You can also check for Wifi networks available in your environment by invoking:
iwlist wlan0 scan