NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.

OMAP Wireless Connectivity NLCP WLAN Station WPA Supplicant Configuration file

From Texas Instruments Wiki
Jump to: navigation, search

WLAN Station Configuration Scripts[edit]

The following section provides information how to configure the Station to connect to different WiFi network that supports arbitrary security modes.
The configuration will be performed using Terminal connected to the EVM serial port.

The following items will be covered:

  1. Connect to non secured WiFi network)
  2. Connect to secured WiFi network (WEP)
  3. Connect to secured WiFi network (WPA)
  4. Connect to secured WiFi network (WPA2)


Hardware Configuration[edit]


WLAN Station 1.jpg

Following are configuration file content for personal environment Security mode settings.

Connect to non secured WiFi network[edit]

Move existing /etc/wpa_supplicant.conf to /etc/wpa_supplicant.conf.bak. Create new /etc/wpa_supplicant.conf with the following configuration, where

ssid is the name of the Access Point we are about to connect to:

ctrl_interface=/var/run/wpa_supplicant
update_config=1

network={
        key_mgmt=NONE
        ssid="ECS"   #optional
}

Run following command to connect:

root@am37x-evm:/usr/sbin# wpa_supplicant -d -Dnl80211 -c /etc/wpa_supplicant.conf -iwlan0 -B

note: Only one instance of "wpa_supplicant" run only in the system, therefor to modify the security first kiil the wpa_supplicant process and then call the "wpa_supplicant" with the changed configuration file.




Connect to secured WiFi network (WEP)[edit]

Move existing /etc/wpa_supplicant.conf to /etc/wpa_supplicant.conf.bak. Create new /etc/wpa_supplicant.conf with the following configuration, where

  • ssid is the name of the Access Point we are about to connect to
  • wep_key(0,1,2,3) is the pre shared key required by the Access Point we are about to connect to. Protocol WEP allows to define a number of possible keys.
ctrl_interface=/var/run/wpa_supplicant
update_config=1

network={
 ssid="Cisco"
  key_mgmt=NONE
  pairwise=NONE
  group=WEP40
  auth_alg=OPEN
  wep_key0=1234567890
  wep_key1=0000000000
  wep_key2=0000000000
  wep_key3=0000000000
}


Run the following commend to connec:

root@am37x-evm:/usr/sbin# wpa_supplicant -d -Dnl80211 -c /etc/wpa_supplicant.conf -iwlan0 -B

note: Only one instance of "wpa_supplicant" run only in the system, therefor to modify the security first kiil the wpa_supplicant process and then call the "wpa_supplicant" with the changed configuration file.

Connect to secured WiFi network (WPA)[edit]

Move existing /etc/wpa_supplicant.conf to /etc/wpa_supplicant.conf.bak. Create new /etc/wpa_supplicant.conf with the following configuration, where

  • ssid is the name of the Access Point we are about to connect to
  • psk is the pre shared key required by the Access Point we are about to connect to
ctrl_interface=/var/run/wpa_supplicant
update_config=1

network={
        ssid="Cisco"
        proto=WPA
        key_mgmt=WPA-PSK
        pairwise=CCMP TKIP
        group=CCMP TKIP
        psk="1234567890"
        priority=2
}


Run the following commend to connect:

root@am37x-evm:/usr/sbin# wpa_supplicant -d -Dnl80211 -c /etc/wpa_supplicant.conf -iwlan0 -B

note: Only one instance of "wpa_supplicant" run only in the system, therefor to modify the security first kiil the wpa_supplicant process and then call the "wpa_supplicant" with the changed configuration file.

Connect to secured WiFi network (WPA2)[edit]

Move existing /etc/wpa_supplicant.conf to /etc/wpa_supplicant.conf.bak. Create new /etc/wpa_supplicant.conf with the following configuration, where

  • ssid is the name of the Access Point we are about to connect to
  • psk is the pre shared key required by the Access Point we are about to connect to
ctrl_interface=/var/run/wpa_supplicant
update_config=1

network={
        ssid="Cisco"
        proto=RSN
        key_mgmt=WPA-PSK
        pairwise=CCMP TKIP
        group=CCMP TKIP
        psk="1234567890"
        priority=2
}

Run following command to connect:

root@am37x-evm:/usr/sbin# wpa_supplicant -d -Dnl80211 -c /etc/wpa_supplicant.conf -iwlan0 -B

note: Only one instance of "wpa_supplicant" run only in the system, therefor to modify the security first kiil the wpa_supplicant process and then call the "wpa_supplicant" with the changed configuration file.

HomepageIcon.jpgHOME

E2e.jpg {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article OMAP Wireless Connectivity NLCP WLAN Station WPA Supplicant Configuration file here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article OMAP Wireless Connectivity NLCP WLAN Station WPA Supplicant Configuration file here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article OMAP Wireless Connectivity NLCP WLAN Station WPA Supplicant Configuration file here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article OMAP Wireless Connectivity NLCP WLAN Station WPA Supplicant Configuration file here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article OMAP Wireless Connectivity NLCP WLAN Station WPA Supplicant Configuration file here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article OMAP Wireless Connectivity NLCP WLAN Station WPA Supplicant Configuration file here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article OMAP Wireless Connectivity NLCP WLAN Station WPA Supplicant Configuration file here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article OMAP Wireless Connectivity NLCP WLAN Station WPA Supplicant Configuration file here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article OMAP Wireless Connectivity NLCP WLAN Station WPA Supplicant Configuration file here.

}}

Hyperlink blue.png Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity