# wlan0 configuration in SBC CC6

**URL:** <https://forums.digi.com/t/wlan0-configuration-in-sbc-cc6/14100>\
**Category:** Linux\
**Tags:** wifi, sbc, cc6\
**Created:** [December 18, 2014, 11:12am UTC](https://forums.digi.com/t/wlan0-configuration-in-sbc-cc6/14100 "2014-12-18T11:12:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![almarto](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@almarto](https://forums.digi.com/u/almarto)\
**Post date:** [December 18, 2014, 11:12am UTC](https://forums.digi.com/t/wlan0-configuration-in-sbc-cc6/14100/1 "2014-12-18T11:12:07Z")

</div>

[size=1][size=3]Dear Sir/Madam,  
first of all I must say that I am not a linux expert, just have been working with it for two months.  
I would like to configure the wlan0 on my SBC. I use a Ubuntu Linux on my PC and a Yocto image on my target boards. I would like to connect the SBC to the same router that I have at the Lab to which I connect my PC to browse. My idea would be to implement a server on the SBC to monitor parameters from an external browser. As a first step, I need to configure the wlan0 on my SBC, When I write iwconfi on my ubuntu terminal, I get this information about the router and the access that I have:  
wlan0 IEEE 802.11bgn ESSID:“Orange-9A08”  
Mode:Managed Frequency:2.432 GHz Access Point: 50:7E:5D:67:9A:0A  
Bit Rate=1 Mb/s Tx-Power=16 dBm  
Retry long limit:7 RTS thr:off Fragment thr:off  
Power Management:off  
Link Quality=51/70 Signal level=-59 dBm  
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0  
Tx excessive retries:5 Invalid misc:2605 Missed beacon:0  
If I write route, this is what I get (there is a router Livebox):  
alvaro@red:/$ route  
Kernel IP routing table  
Destination Gateway Genmask Flags Metric Ref Use Iface  
default Livebox 0.0.0.0 UG 0 0 0 wlan0  
192.168.1.0 \* 255.255.255.0 U 9 0 0 wlan0

what do I have to do on my SBC to have access to the internet by means of the same router?

A part from that, could you give me any hint on how to install a webserver on my SBC … this will be the next step.

Thank you in advance for you collaboration.

Best regards,  
Alvaro Martinez

---

<div class="post-metadata">

**Author:** ![Campbell](https://avatars.discourse-cdn.com/v4/letter/c/97f17d/32.png) [@Campbell](https://forums.digi.com/u/Campbell)\
**Post date:** [January 6, 2015, 3:04pm UTC](https://forums.digi.com/t/wlan0-configuration-in-sbc-cc6/14100/2 "2015-01-06T15:04:53Z")

</div>

Hello Alvaro,  
The information you are looking for can be found on the Yocto’s First Step Guide on Digi’s website link below:  
[http://ftp1.digi.com/support/documentation/90001423\_B.pdf](http://ftp1.digi.com/support/documentation/90001423_B.pdf)

1- “Default network configuration”  
DEY allows you to configure the default network settings for your target’s image which will appear in  
the /etc/network/interfaces file. This is done in your project’s local.conf file using the following  
variables to define your default network settings:

Where n is 0 or 1 depending on the number of available Ethernet interfaces in your platform.  
WLAN0\_STATIC\_IP = “”  
WLAN0\_STATIC\_NETMASK = “”  
To configure dynamic IPs, you can use the following configuration:  
ETHn\_MODE = “dhcp”  
WLAN0\_MODE = “dhcp”

2- “Adding features to your target image”  
Apart from the standard Yocto features, the DEY images introduce some new features that allow for  
a certain degree of customization ease.  
EXTRA\_IMAGE\_FEATURES = “”  
Most of the features are automatically selected based on the selected machine. For example, a  
machine that supports ALSA will include the dey-audio feature automatically.  
A list of new DEY features follows:  
• dey-audio: Adds audio support to a platform.  
• dey-gstreamer: Adds the gstreamer framework to a platform.  
• dey-network: Adds network applications and tools. You can configure some of the network  
applications in your conf/local.conf by doing:  
VIRTUAL-RUNTIME\_ftp-server = “vsftpd”  
VIRTUAL-RUNTIME\_http-server = “cherokee”  
VIRTUAL-RUNTIME\_network-utils = “net-tools”  
VIRTUAL-RUNTIME\_snmp-manager = “net-snmp-server”  
VIRTUAL-RUNTIME\_ssh\_server = “dropbear”
