Changes between Version 14 and Version 15 of ubuntu


Ignore:
Timestamp:
02/13/2019 11:49:44 PM (5 years ago)
Author:
Tim Harvey
Comment:

use wpa_passphrase to create wpa_supplicant.conf with standard config options

Legend:

Unmodified
Added
Removed
Modified
  • ubuntu

    v14 v15  
    186186These instructions below are for creating a wireless client that will connect to a nearby access point.
    187187
     188
    1881891. Install required packages:
    189190{{{#!bash
     
    1931941. Edit {{{/etc/network/interfaces}}} and edit/add the following to configure wlan0 on boot wpa_supplicant:
    194195{{{#!bash
     196cat << EOF >> /etc/network/interfaces
     197# Wireless interface
    195198auto wlan0
    196199iface wlan0 inet dhcp
     
    199202        wpa-driver nl80211
    200203        wpa-conf /etc/wpa_supplicant.conf
    201 }}}
    202 1. Create WPA Supplicant Configuration File at {{{/etc/wpa_supplicant.conf}}}, replacing ssid and psk with correct information
    203 {{{#!bash
    204 network={
    205         scan_ssid=1
    206         ssid="testssid"
    207         proto=WPA
    208         key_mgmt=WPA-PSK
    209         psk="testpass"
    210 }
     204
     205EOF
     206}}}
     2071. Create WPA Supplicant Configuration File at {{{/etc/wpa_supplicant.conf}}} using the {{{wpa_passphrase}}} application (see the man page on wpa_supplicant.conf if you need any special configurations):
     208{{{#!bash
     209wpa_passphrase <myssid> <mypass> >> /etc/wpa_supplicant.conf
    211210}}}
    2122111. Sync and power cycle the board
     
    217216
    218217Troubleshooting:
     218 * Make sure you only have one wpa_supplicant running via {{{ps -ef | grep wpa_supplicant}}}
    219219 * To scan for available access points in range you can use the iw tool:
    220220{{{#!bash