Armadillo-Box WS1/Wifi Support
[
Front page
] [
New
|
List of pages
|
Search
|
Recent changes
]
Start:
[[labs.beatcraft.com]]~
[[Armadillo]]~
[[Armadillo-Box WS1/BLE Gateway]]~
#contents
* Wifi Support [#s93d2156]
>
This article describes how to work Buffalo WI-U2-433DM on...
- [[Howto: Work IEEE802.11ac USB Wireless LAN Adapter on ...
- [[Work a USB Wireless LAN adapter, which employs a chip...
~
[[Details of 11ac Support USB Wireless LAN dongle WI-U2-4...
** Customize kernel [#l5951aee]
>
To build driver for Realtek rtl8812au, which is used in a...
~
Applying make menuconfig, please select vender/Product~
(AtmarkTechno) Vendor
(Armadillo-Box WS1) AtmarkTechno Products
~
At Linux Kernel Configuration, make cfg80211 effective.~
Linux Kernel Configuration
[*] Networking support --->
-*- Wireless --->
<*> cfg80211 - wireless configuration API ...
: Skipping
[*] cfg80211 wireless extensions compatibili...
<*> Generic IEEE 802.11 Networking Stack (mac8...
**Configuration of UserLand [#d6a15544]
>
Building its driver and making the kernel effective, thes...
To access to an encrypted access point, ?iw? command or ?...
In this case, ?wpa_suupplicant,? which is already prepare...
[*] Customize Vendor/User Settings
Network Applications --->
:
--- Wireless-tools
:
[*] hostap <-- Put a checkmark to make it ef...
[ ] hostap driver (Prism2/2.5/3) (NEW)
[ ] hostapd (NEW)
[*] wpa_supplicant (NEW) <-- Once put a ch...
:
**Modifying the wpa_supplicant config file [#u0863256]
>
If wpa_supplicant is built without modification, a build ...
--- .config.orig 2015-11-27 17:50:49.449674569 +0...
+++ .config 2015-11-27 17:51:03.869675088 +0900
@@ -50,9 +50,9 @@
#CFLAGS += -I../../include/wireless
# Driver interface for madwifi driver
-CONFIG_DRIVER_MADWIFI=y
+#CONFIG_DRIVER_MADWIFI=y
# Change include directories to match with the local se...
-CFLAGS += -I$(ROOTDIR)/$(LINUXDIR)/drivers/net/wireles...
+#CFLAGS += -I$(ROOTDIR)/$(LINUXDIR)/drivers/net/wireles...
# Driver interface for Prism54 driver
# (Note: Prism54 is not yet supported, i.e., this will ...
** Building Kernel and UserLand [#ue5853bd]
>
As the modification of kernel is completed, please build ...
atmark@atde5:~/atmark-dist$ make clean
atmark@atde5:~/atmark-dist$ make
** Building USB wifi driver [#fa8566cd]
>
To Obtain the driver for Realtek rtl8812au, which is used...
~
To do git clone, please apply the command lines below.~
atmark@atde5:~$ git clone https://github.com/gnab/rtl881...
atmark@atde5:~$ cd rtl8812au
~
To cross-compiling for Armadillo-Box, please modify Makef...
diff --git a/Makefile b/Makefile
index b79a7d8..d15cf69 100644
--- a/Makefile
+++ b/Makefile
@@ -49,13 +49,14 @@ CONFIG_EXT_CLK = n
CONFIG_FTP_PROTECT = n
CONFIG_WOWLAN = n
-CONFIG_PLATFORM_I386_PC = y
+CONFIG_PLATFORM_I386_PC = n
CONFIG_PLATFORM_ANDROID_X86 = n
CONFIG_PLATFORM_JB_X86 = n
CONFIG_PLATFORM_ARM_S3C2K4 = n
CONFIG_PLATFORM_ARM_PXA2XX = n
CONFIG_PLATFORM_ARM_S3C6K4 = n
CONFIG_PLATFORM_ARM_RPI = n
+CONFIG_PLATFORM_ARM_ARMADILLO_CROSS = y
CONFIG_PLATFORM_MIPS_RMI = n
CONFIG_PLATFORM_RTD2880B = n
CONFIG_PLATFORM_MIPS_AR9132 = n
@@ -738,6 +739,15 @@ KSRC ?= /lib/modules/$(KVER)/build
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/w...
endif
+ifeq ($(CONFIG_PLATFORM_ARM_ARMADILLO_CROSS), y)
+EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
+ARCH := arm
+CROSS_COMPILE := arm-linux-gnueabi-
+KVER := 3.14.36-at4
+KSRC ?= /home/atmark/linux-3.14-at4
+MODDESTDIR :=
+endif
+
ifeq ($(CONFIG_PLATFORM_RTD2880B), y)
EXTRA_CFLAGS += -DCONFIG_BIG_ENDIAN -DCONFIG_PLATFORM_R...
ARCH:=
~
Let's start make.~
atmark@atde5:~/rtl8812au$ make
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -C /home/...
make[1]: Move into the directory `/home/atmark/linux-3.1...
CC [M] /home/atmark/rtl8812au/core/rtw_cmd.o
CC [M] /home/atmark/rtl8812au/core/rtw_security.o
~~ Skipping ~~
CC [M] /home/atmark/rtl8812au/core/rtw_mp_ioctl.o
LD [M] /home/atmark/rtl8812au/8812au.o
Building modules, stage 2.
MODPOST 1 modules
CC /home/atmark/rtl8812au/8812au.mod.o
LD [M] /home/atmark/rtl8812au/8812au.ko
make[1]: Move out the directory `/home/atmark/linux-3.14...
~
As the make process is completed, 8812au.ko is generated....
atmark@atde5:~/rtl8812au$ cp 8812au.ko ~/atmark-dist/rom...
~
Please put 8812au.ko below kanal module PATH of ROM image...
** Rebuilding the image [#sdaeb8e9]
>
To include the driver, which has just created, build the ...
atmark@atde5:~$ cd ~/atmark-dist
atmark@atde5:~/atmark-dist$ make image
~
Please make sure that the file located below the director...
** Checking the operation [#n4c0d7cd]
>
To apply the method described in this article, ?[[12.4.To...
hermit> tftpdl 192.168.0.90 192.168.0.164 --blksize=1024...
hermit> tftpdl 192.168.0.90 192.168.0.164 --blksize=1024...
~
As it is booted with the new kernel and UserLand, WI-U2-4...
The following message is created below dmesg.~
usbcore: registered new interface driver rtl8812au
~
Applying lsmod, please check the kernel module is loaded.
[root@abws1-0 (ttymxc1) ~]# lsmod
8812au 907792 0 - Live 0xbf000000 (O)
~
Make sure it is recognized as the network interface.~
Using this driver, it is recognized as ?wlan*?.~
[root@abws1-0 (ttymxc1) ~]# ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr CC:E1:D5:F7:14:E6
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:10 overruns:0 fra...
TX packets:0 errors:0 dropped:0 overruns:0 carr...
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
~
As its current status still remains down, put the status ...
As it shown below, if it successfully starts searching th...
[root@abws1-0 (ttymxc1) ~]# ifconfig wlan0 up
[root@abws1-0 (ttymxc1) ~]# iwlist wlan0 scanning
wlan0 Scan completed :
Cell 01 - Address: 74:03:BD:09:BD:50
ESSID:"Buffalo-G-BD50"
Protocol:IEEE 802.11bgn
Mode:Master
Frequency:2.422 GHz (Channel 3)
Encryption key:on
Bit Rates:144 Mb/s
Extra:rsn_ie=30140100000fac040100000...
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: Unknown: DD6B0050F204104A00011010...
Quality=0/100 Signal level=68/100
Cell 02 - Address: 00:1D:73:8E:73:EB
ESSID:"001D738E73EB"
Protocol:IEEE 802.11bgn
Mode:Master
Frequency:2.432 GHz (Channel 5)
Encryption key:on
Bit Rates:300 Mb/s
Extra:wpa_ie=dd1a0050f20101000050f20...
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
Extra:rsn_ie=30180100000fac020200000...
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
IE: Unknown: DD600050F204104A0001101...
Quality=0/100 Signal level=64/100
Omitted Below
** Configuring the connection [#l1e0974e]
>
To use wpa_supplicant, configure to access to an encrypte...
First, create a connection configuration file for WPA_sup...
[root@abws1-0 (ttymxc1) ~]# wpa_passphrase YOUR-SSID YOU...
~
The contents of created file are shown below.~
network={
ssid="YOUR-SSID"
#psk="YOUR-PASSWORD"
psk=e1a0872bd7f7cfd7efa1cbc7d7aec742c58f3ae24e47...
}
~
Add the information for encryption setting of the wireles...
network={
ssid="YOUR-SSID"
#psk="YOUR-PASSWORD"
psk=e1a0872bd7f7cfd7efa1cbc7d7aec742c58f3ae24e47...
proto=RSN <-- Add this as using WPA2
key_mgmt=WPA-PSK
pairwise=CCMP <-- As using AES, apply CCM...
group=CCMP <-- As using AES, apply CCM...
}
~
To select the created configuration file, execute wpa_sup...
[root@abws1-0 (ttymxc1) ~]# wpa_supplicant -D wext -i wl...
Initializing interface 'wlan0' conf 'wpa_supplicant.conf...
Configuration file 'wpa_supplicant.conf' -> '/root/wpa_s...
Reading configuration file '/root/wpa_supplicant.conf'
Line: 1 - start of a new network block
~~ Skipping ~~
State: COMPLETED -> GROUP_HANDSHAKE
WPA: Group Key - hexdump(len=32): [REMOVED]
WPA: Installing GTK to the driver (keyidx=1 tx=0).
WPA: RSC - hexdump(len=6): bf 07 00 00 00 00
wpa_driver_wext_set_key: alg=2 key_idx=1 set_tx=0 seq_le...
WPA: Sending EAPOL-Key 2/2
WPA: TX EAPOL-Key - hexdump(len=99): 01 03 00 5f 02 03 0...
WPA: Group rekeying completed with 00:3a:9d:91:93:be [GT...
State: GROUP_HANDSHAKE -> COMPLETED
EAPOL: startWhen --> 0
~
IF the logs shown above appears and HANDSHAKE is successf...
~
To push down Ctrl + C, quit the process. Then, execute da...
[root@abws1-0 (ttymxc1) ~]# wpa_supplicant -D wext -i wl...
~
Its authentication process is successfully completed as w...
[root@abws1-0 (ttymxc1) ~]# ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr CC:E1:D5:F7:14:E6
inet6 addr: fe80::cee1:d5ff:fef7:14e6/64 Scope...
UP BROADCAST RUNNING MULTICAST MTU:1500 Metr...
RX packets:314 errors:0 dropped:631 overruns:0...
TX packets:12 errors:0 dropped:2 overruns:0 ca...
collisions:0 txqueuelen:1000
RX bytes:377798 (368.9 KiB) TX bytes:2945 (2....
[root@abws1-0 (ttymxc1) ~]# iwconfig wlan0
wlan0 IEEE 802.11bg ESSID:"YOUR-SSID" Nickname:"<W...
Mode:Managed Frequency:2.442 GHz Access Poin...
Bit Rate:54 Mb/s Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Encryption key:****-****-****-****-****-****-*...
Power Management:off
Link Quality=100/100 Signal level=100/100 No...
Rx invalid nwid:0 Rx invalid crypt:0 Rx inva...
Tx excessive retries:0 Invalid misc:0 Misse...
~
Manually, execute udhcpc, make sure that it obtains the a...
[root@abws1-0 (ttymxc1) ~]# udhcpc -i wlan0
udhcpc (v1.20.2) started
Sending discover...
Sending select for 192.168.0.148...
Lease of 192.168.0.148 obtained, lease time 43200
~
To keep this configuration (shown above) in wpa_supplican...
[root@abws1-0 (ttymxc1) ~]# flatfsd -s
If do not apply this process, the setting changes of atma...
~
If eth0 is up during wlan is up, sometimes, the communica...
In this case, please configure route appropriately.~
** Configuration for automatic connection [#p962f593]
>
To make Armadillo-Box WS1 automatically connect to a wire...
~
Add wlan0 to the network interface configuration file, wh...
# /etc/network/interfaces -- configuration file for ifup...
auto lo eth0
iface lo inet loopback
iface eth0 inet dhcp
iface wlan0 inet dhcp <-- Add the configuration of wlan0~
~
Please add the start up setting of wpa_supplicant to the ...
# Wifi
DEV_NAME=wlan0
if [ -r /sys/class/net/${DEV_NAME} ]; then
wpa_supplicant -D wext -i ${DEV_NAME} -c /etc/config...
sleep 30
ifup ${DEV_NAME}
fi
~
sleep provides a short period after the wifi authenticati...
~
This is the end of configuration. As Armadillo-Box SW1 is...
* Revision History [#l3ab2293]
>
- 2015-12-08 This article is initially released.
End:
[[labs.beatcraft.com]]~
[[Armadillo]]~
[[Armadillo-Box WS1/BLE Gateway]]~
#contents
* Wifi Support [#s93d2156]
>
This article describes how to work Buffalo WI-U2-433DM on...
- [[Howto: Work IEEE802.11ac USB Wireless LAN Adapter on ...
- [[Work a USB Wireless LAN adapter, which employs a chip...
~
[[Details of 11ac Support USB Wireless LAN dongle WI-U2-4...
** Customize kernel [#l5951aee]
>
To build driver for Realtek rtl8812au, which is used in a...
~
Applying make menuconfig, please select vender/Product~
(AtmarkTechno) Vendor
(Armadillo-Box WS1) AtmarkTechno Products
~
At Linux Kernel Configuration, make cfg80211 effective.~
Linux Kernel Configuration
[*] Networking support --->
-*- Wireless --->
<*> cfg80211 - wireless configuration API ...
: Skipping
[*] cfg80211 wireless extensions compatibili...
<*> Generic IEEE 802.11 Networking Stack (mac8...
**Configuration of UserLand [#d6a15544]
>
Building its driver and making the kernel effective, thes...
To access to an encrypted access point, ?iw? command or ?...
In this case, ?wpa_suupplicant,? which is already prepare...
[*] Customize Vendor/User Settings
Network Applications --->
:
--- Wireless-tools
:
[*] hostap <-- Put a checkmark to make it ef...
[ ] hostap driver (Prism2/2.5/3) (NEW)
[ ] hostapd (NEW)
[*] wpa_supplicant (NEW) <-- Once put a ch...
:
**Modifying the wpa_supplicant config file [#u0863256]
>
If wpa_supplicant is built without modification, a build ...
--- .config.orig 2015-11-27 17:50:49.449674569 +0...
+++ .config 2015-11-27 17:51:03.869675088 +0900
@@ -50,9 +50,9 @@
#CFLAGS += -I../../include/wireless
# Driver interface for madwifi driver
-CONFIG_DRIVER_MADWIFI=y
+#CONFIG_DRIVER_MADWIFI=y
# Change include directories to match with the local se...
-CFLAGS += -I$(ROOTDIR)/$(LINUXDIR)/drivers/net/wireles...
+#CFLAGS += -I$(ROOTDIR)/$(LINUXDIR)/drivers/net/wireles...
# Driver interface for Prism54 driver
# (Note: Prism54 is not yet supported, i.e., this will ...
** Building Kernel and UserLand [#ue5853bd]
>
As the modification of kernel is completed, please build ...
atmark@atde5:~/atmark-dist$ make clean
atmark@atde5:~/atmark-dist$ make
** Building USB wifi driver [#fa8566cd]
>
To Obtain the driver for Realtek rtl8812au, which is used...
~
To do git clone, please apply the command lines below.~
atmark@atde5:~$ git clone https://github.com/gnab/rtl881...
atmark@atde5:~$ cd rtl8812au
~
To cross-compiling for Armadillo-Box, please modify Makef...
diff --git a/Makefile b/Makefile
index b79a7d8..d15cf69 100644
--- a/Makefile
+++ b/Makefile
@@ -49,13 +49,14 @@ CONFIG_EXT_CLK = n
CONFIG_FTP_PROTECT = n
CONFIG_WOWLAN = n
-CONFIG_PLATFORM_I386_PC = y
+CONFIG_PLATFORM_I386_PC = n
CONFIG_PLATFORM_ANDROID_X86 = n
CONFIG_PLATFORM_JB_X86 = n
CONFIG_PLATFORM_ARM_S3C2K4 = n
CONFIG_PLATFORM_ARM_PXA2XX = n
CONFIG_PLATFORM_ARM_S3C6K4 = n
CONFIG_PLATFORM_ARM_RPI = n
+CONFIG_PLATFORM_ARM_ARMADILLO_CROSS = y
CONFIG_PLATFORM_MIPS_RMI = n
CONFIG_PLATFORM_RTD2880B = n
CONFIG_PLATFORM_MIPS_AR9132 = n
@@ -738,6 +739,15 @@ KSRC ?= /lib/modules/$(KVER)/build
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/w...
endif
+ifeq ($(CONFIG_PLATFORM_ARM_ARMADILLO_CROSS), y)
+EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
+ARCH := arm
+CROSS_COMPILE := arm-linux-gnueabi-
+KVER := 3.14.36-at4
+KSRC ?= /home/atmark/linux-3.14-at4
+MODDESTDIR :=
+endif
+
ifeq ($(CONFIG_PLATFORM_RTD2880B), y)
EXTRA_CFLAGS += -DCONFIG_BIG_ENDIAN -DCONFIG_PLATFORM_R...
ARCH:=
~
Let's start make.~
atmark@atde5:~/rtl8812au$ make
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -C /home/...
make[1]: Move into the directory `/home/atmark/linux-3.1...
CC [M] /home/atmark/rtl8812au/core/rtw_cmd.o
CC [M] /home/atmark/rtl8812au/core/rtw_security.o
~~ Skipping ~~
CC [M] /home/atmark/rtl8812au/core/rtw_mp_ioctl.o
LD [M] /home/atmark/rtl8812au/8812au.o
Building modules, stage 2.
MODPOST 1 modules
CC /home/atmark/rtl8812au/8812au.mod.o
LD [M] /home/atmark/rtl8812au/8812au.ko
make[1]: Move out the directory `/home/atmark/linux-3.14...
~
As the make process is completed, 8812au.ko is generated....
atmark@atde5:~/rtl8812au$ cp 8812au.ko ~/atmark-dist/rom...
~
Please put 8812au.ko below kanal module PATH of ROM image...
** Rebuilding the image [#sdaeb8e9]
>
To include the driver, which has just created, build the ...
atmark@atde5:~$ cd ~/atmark-dist
atmark@atde5:~/atmark-dist$ make image
~
Please make sure that the file located below the director...
** Checking the operation [#n4c0d7cd]
>
To apply the method described in this article, ?[[12.4.To...
hermit> tftpdl 192.168.0.90 192.168.0.164 --blksize=1024...
hermit> tftpdl 192.168.0.90 192.168.0.164 --blksize=1024...
~
As it is booted with the new kernel and UserLand, WI-U2-4...
The following message is created below dmesg.~
usbcore: registered new interface driver rtl8812au
~
Applying lsmod, please check the kernel module is loaded.
[root@abws1-0 (ttymxc1) ~]# lsmod
8812au 907792 0 - Live 0xbf000000 (O)
~
Make sure it is recognized as the network interface.~
Using this driver, it is recognized as ?wlan*?.~
[root@abws1-0 (ttymxc1) ~]# ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr CC:E1:D5:F7:14:E6
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:10 overruns:0 fra...
TX packets:0 errors:0 dropped:0 overruns:0 carr...
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
~
As its current status still remains down, put the status ...
As it shown below, if it successfully starts searching th...
[root@abws1-0 (ttymxc1) ~]# ifconfig wlan0 up
[root@abws1-0 (ttymxc1) ~]# iwlist wlan0 scanning
wlan0 Scan completed :
Cell 01 - Address: 74:03:BD:09:BD:50
ESSID:"Buffalo-G-BD50"
Protocol:IEEE 802.11bgn
Mode:Master
Frequency:2.422 GHz (Channel 3)
Encryption key:on
Bit Rates:144 Mb/s
Extra:rsn_ie=30140100000fac040100000...
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: Unknown: DD6B0050F204104A00011010...
Quality=0/100 Signal level=68/100
Cell 02 - Address: 00:1D:73:8E:73:EB
ESSID:"001D738E73EB"
Protocol:IEEE 802.11bgn
Mode:Master
Frequency:2.432 GHz (Channel 5)
Encryption key:on
Bit Rates:300 Mb/s
Extra:wpa_ie=dd1a0050f20101000050f20...
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
Extra:rsn_ie=30180100000fac020200000...
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
IE: Unknown: DD600050F204104A0001101...
Quality=0/100 Signal level=64/100
Omitted Below
** Configuring the connection [#l1e0974e]
>
To use wpa_supplicant, configure to access to an encrypte...
First, create a connection configuration file for WPA_sup...
[root@abws1-0 (ttymxc1) ~]# wpa_passphrase YOUR-SSID YOU...
~
The contents of created file are shown below.~
network={
ssid="YOUR-SSID"
#psk="YOUR-PASSWORD"
psk=e1a0872bd7f7cfd7efa1cbc7d7aec742c58f3ae24e47...
}
~
Add the information for encryption setting of the wireles...
network={
ssid="YOUR-SSID"
#psk="YOUR-PASSWORD"
psk=e1a0872bd7f7cfd7efa1cbc7d7aec742c58f3ae24e47...
proto=RSN <-- Add this as using WPA2
key_mgmt=WPA-PSK
pairwise=CCMP <-- As using AES, apply CCM...
group=CCMP <-- As using AES, apply CCM...
}
~
To select the created configuration file, execute wpa_sup...
[root@abws1-0 (ttymxc1) ~]# wpa_supplicant -D wext -i wl...
Initializing interface 'wlan0' conf 'wpa_supplicant.conf...
Configuration file 'wpa_supplicant.conf' -> '/root/wpa_s...
Reading configuration file '/root/wpa_supplicant.conf'
Line: 1 - start of a new network block
~~ Skipping ~~
State: COMPLETED -> GROUP_HANDSHAKE
WPA: Group Key - hexdump(len=32): [REMOVED]
WPA: Installing GTK to the driver (keyidx=1 tx=0).
WPA: RSC - hexdump(len=6): bf 07 00 00 00 00
wpa_driver_wext_set_key: alg=2 key_idx=1 set_tx=0 seq_le...
WPA: Sending EAPOL-Key 2/2
WPA: TX EAPOL-Key - hexdump(len=99): 01 03 00 5f 02 03 0...
WPA: Group rekeying completed with 00:3a:9d:91:93:be [GT...
State: GROUP_HANDSHAKE -> COMPLETED
EAPOL: startWhen --> 0
~
IF the logs shown above appears and HANDSHAKE is successf...
~
To push down Ctrl + C, quit the process. Then, execute da...
[root@abws1-0 (ttymxc1) ~]# wpa_supplicant -D wext -i wl...
~
Its authentication process is successfully completed as w...
[root@abws1-0 (ttymxc1) ~]# ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr CC:E1:D5:F7:14:E6
inet6 addr: fe80::cee1:d5ff:fef7:14e6/64 Scope...
UP BROADCAST RUNNING MULTICAST MTU:1500 Metr...
RX packets:314 errors:0 dropped:631 overruns:0...
TX packets:12 errors:0 dropped:2 overruns:0 ca...
collisions:0 txqueuelen:1000
RX bytes:377798 (368.9 KiB) TX bytes:2945 (2....
[root@abws1-0 (ttymxc1) ~]# iwconfig wlan0
wlan0 IEEE 802.11bg ESSID:"YOUR-SSID" Nickname:"<W...
Mode:Managed Frequency:2.442 GHz Access Poin...
Bit Rate:54 Mb/s Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Encryption key:****-****-****-****-****-****-*...
Power Management:off
Link Quality=100/100 Signal level=100/100 No...
Rx invalid nwid:0 Rx invalid crypt:0 Rx inva...
Tx excessive retries:0 Invalid misc:0 Misse...
~
Manually, execute udhcpc, make sure that it obtains the a...
[root@abws1-0 (ttymxc1) ~]# udhcpc -i wlan0
udhcpc (v1.20.2) started
Sending discover...
Sending select for 192.168.0.148...
Lease of 192.168.0.148 obtained, lease time 43200
~
To keep this configuration (shown above) in wpa_supplican...
[root@abws1-0 (ttymxc1) ~]# flatfsd -s
If do not apply this process, the setting changes of atma...
~
If eth0 is up during wlan is up, sometimes, the communica...
In this case, please configure route appropriately.~
** Configuration for automatic connection [#p962f593]
>
To make Armadillo-Box WS1 automatically connect to a wire...
~
Add wlan0 to the network interface configuration file, wh...
# /etc/network/interfaces -- configuration file for ifup...
auto lo eth0
iface lo inet loopback
iface eth0 inet dhcp
iface wlan0 inet dhcp <-- Add the configuration of wlan0~
~
Please add the start up setting of wpa_supplicant to the ...
# Wifi
DEV_NAME=wlan0
if [ -r /sys/class/net/${DEV_NAME} ]; then
wpa_supplicant -D wext -i ${DEV_NAME} -c /etc/config...
sleep 30
ifup ${DEV_NAME}
fi
~
sleep provides a short period after the wifi authenticati...
~
This is the end of configuration. As Armadillo-Box SW1 is...
* Revision History [#l3ab2293]
>
- 2015-12-08 This article is initially released.
Page: