Project

General

Profile

WiFi Configuration and Usage

The following Wiki pages were previously created for other Critical Link products the integrated WiFi 802.11 functionality. We highly recommend you take a look through them for information about using WiFi in general.

L138 WiFi Wiki
TiWi-R2 WiFi/BT Expansion Board
335x Compatible WiFi Devices

Short guide on WiFi usage

  1. Make an entry at the top of the /etc/wpa_supplicant.conf file for your WiFi network based on the examples provided in that document or our L138 WiFi wiki
    # Example of WPA network
    network={
            ssid="your_ssid" 
            proto=WPA
            key_mgmt=WPA-PSK
            pairwise=TKIP
            group=TKIP
            psk="ascii_passphrase" 
    }
    
  2. Bring up the WLAN0 interface (WiFi 802.11 B/G/N)
    ifup wlan0
    
  3. Output similar to the following should be seen
    root@mitysom-335x ~ $ ifup wlan0
    [  655.651519] wl12xx_set_power omap_hsmmc.1 s=0 on=1 vdd=21
    [  656.164672] wl1271: firmware booted (Rev 6.3.0.0.77)
    [  656.231445] wl1271: down
    [  656.241333] wl12xx_set_power omap_hsmmc.1 s=0 on=0 vdd=0
    [  657.281524] wl12xx_set_power omap_hsmmc.1 s=0 on=1 vdd=21
    [  657.794738] wl1271: firmware booted (Rev 6.3.0.0.77)
    [  659.861572] wl1271: Association completed.
    udhcpc (v1.13.2) started
    Sending discover...
    Sending select for 10.0.102.191...
    Lease of 10.0.102.191 obtained, lease time 7200
    adding dns 10.0.0.1
    
  4. Issuing the "iwconfig" command should show the current wireless connection settings/status
    root@mitysom-335x ~ $ iwconfig
    lo        no wireless extensions.
    
    wlan0     IEEE 802.11abgn  ESSID:"CriticalLink" 
              Mode:Managed  Frequency:2.412 GHz  Access Point: C6:9F:DB:E9:32:BA
              Bit Rate=36 Mb/s   Tx-Power=20 dBm
              Retry  long limit:7   RTS thr:off   Fragment thr:off
              Encryption key:off
              Power Management:on
              Link Quality=48/70  Signal level=-62 dBm
              Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
              Tx excessive retries:0  Invalid misc:2   Missed beacon:0
    
    eth0      no wireless extensions.
    
    can0      no wireless extensions.
    

Scanning for networks without configuring a connection/AP

This method allows you to confirm that the WiFi radio is functioning properly. It does not require a configured connection but will list all access points that the WiFi radio can detect and print their capabilities.

  1. Bring up the WLAN0 interface (WiFi 802.11 B/G/N)
    root@mitysom-335x ~ $ ifup wlan0
    
  1. Scan for networks in the area
    root@mitysom-335x ~ $ iwlist wlan0 scan
    wlan0     Scan completed :
              Cell 01 - Address: C6:9F:DB:E9:32:BA
                        Channel:1
                        Frequency:2.412 GHz (Channel 1)
                        Quality=50/70  Signal level=-60 dBm
                        Encryption key:on
                        ESSID:"CriticalLink" 
                        Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                                  9 Mb/s; 12 Mb/s; 18 Mb/s
                        Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                        Mode:Master
                        Extra:tsf=0000003dcb9e65a6
                        Extra: Last beacon: 1750ms ago
                        IE: Unknown: 000C437269746963616C4C696E6B
                        IE: Unknown: 010882848B960C121824
                        IE: Unknown: 030101
                        IE: Unknown: 2A0100
                        IE: Unknown: 2F0100
                        IE: IEEE 802.11i/WPA2 Version 1
                            Group Cipher : TKIP
                            Pairwise Ciphers (2) : CCMP TKIP
                            Authentication Suites (1) : PSK
                        IE: Unknown: 32043048606C
                        IE: Unknown: 2D1ACC111BFFFF000000000000000000000000000000000000000000
                        IE: Unknown: 3D1601001F00000000000000000000000000000000000000
                        IE: WPA Version 1
                            Group Cipher : TKIP
                            Pairwise Ciphers (2) : CCMP TKIP
                            Authentication Suites (1) : PSK
                        IE: Unknown: DD180050F202010107000364000027A4000041435E0061322F00
                        IE: Unknown: DD0900037F01010000FF7F
                        IE: Unknown: DD0A00037F04010002004000
                        IE: Unknown: DD1E00904C33CC111BFFFF000000000000000000000000000000000000000000
                        IE: Unknown: DD1A00904C3401001F00000000000000000000000000000000000000
                        IE: Unknown: DD0C00156D0001000000E5020014
    

Go to top
Add picture from clipboard (Maximum size: 1 GB)