6 Software
User Manual
58/374
How to switch from 2.4 GHz to 5 GHz Access-Point-Mode
The switching can be realized by adapting three configuration values of the /etc/wlan/hostapd.conf-file.
Refer to Examples of Country Codes (see "
" on page 59) for country codes.
1. Country Code: country_code:
Adapt the "country_code". The default setting is '00' --> 'world'.
The world setting represents the combination of all available Wi-Fi restrictions. In some countries 5 GHz
channels are not available.
In Germany 5 GHz is allowed. Setting the 'country_code' to Germany would be done by this configuration:
country_code=DE
2. Hardware mode: hw_mode:
In the hostapd.conf-file the parameter "hw_mode" must be adapted. In order to use 5 GHz it needs to be set to
'a':
hw_mode=a
3. Wi-Fi channel: channel
Set the Wi-Fi channel to a free channel. To retrieve available channels use the "iw list" command. A free
channel in Germany for example can be '44':
channel=44
After setting the correct value, the TC1 needs to be restarted. The last parameter that needs to be checked is
the transmit power. It can be read with:
# iwconfig wlan0
wlan0 IEEE 802.11abgn Mode:Master Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:on
The transmit power in this example is 20 dBm that matches with 100 mW. To reduce the transmit power to e.g.
10 dBm, the following command can be used:
# iwconfig wlan0 txpower 10
6.4.3.2
Managed-Mode
Connection: Managed-Mode
Interface rc.conf: Setup IP parameters for startup in Managed-Mode
Setup the IP handling strategy in etc/init.d/rc.conf
# --------------- NETWORK WLAN0:
# WLAN0_CONF="CLIENT" sets the WLAN in managed mode. In this mode the ynetworkd
# connects the TC1 WLAN module to other networks.
export WLAN0_CONF="
CLIENT
"
NOTE:
To use the TC1 WLAN module in Managde-Mode, the ynetwork daemon has to be activated.
Содержание TC1
Страница 1: ...TC1 User Manual Version of this document V1 00r0 ...
Страница 25: ...5 Hardware User Manual 25 374 5 2 2 Block Diagram Variant TC1 WIFI ...
Страница 34: ...5 Hardware User Manual 34 374 5 6 Housing Connector Top view and side view Bottom View ...
Страница 125: ...7 Teleservice Application Framework User Manual 125 374 TAF overview ...
Страница 174: ...7 Teleservice Application Framework User Manual 174 374 ADDRESS 6 SIZE 4 TYPE UINT32 UNIT COMMENT EnginePower ...
Страница 190: ...7 Teleservice Application Framework User Manual 190 374 How the logger mechanism works ...
Страница 223: ...7 Teleservice Application Framework User Manual 223 374 Association between logic hysteresis and threshold ...
Страница 293: ...8 Development Tools User Manual 293 374 3 Adapt the Build Options in order to build the binary with debug symbols ...
Страница 302: ...8 Development Tools User Manual 302 374 2 Adapt the Build Options in order to build the binary with debug symbols ...