wlan0 configuration in SBC CC6

[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 UG 0 0 0 wlan0 * 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

Hello Alvaro,
The information you are looking for can be found on the Yocto’s First Step Guide on Digi’s website link below:

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.
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.
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”