Changes between Version 14 and Version 15 of ubuntu
- Timestamp:
- 02/13/2019 11:49:44 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ubuntu
v14 v15 186 186 These instructions below are for creating a wireless client that will connect to a nearby access point. 187 187 188 188 189 1. Install required packages: 189 190 {{{#!bash … … 193 194 1. Edit {{{/etc/network/interfaces}}} and edit/add the following to configure wlan0 on boot wpa_supplicant: 194 195 {{{#!bash 196 cat << EOF >> /etc/network/interfaces 197 # Wireless interface 195 198 auto wlan0 196 199 iface wlan0 inet dhcp … … 199 202 wpa-driver nl80211 200 203 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 205 EOF 206 }}} 207 1. 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 209 wpa_passphrase <myssid> <mypass> >> /etc/wpa_supplicant.conf 211 210 }}} 212 211 1. Sync and power cycle the board … … 217 216 218 217 Troubleshooting: 218 * Make sure you only have one wpa_supplicant running via {{{ps -ef | grep wpa_supplicant}}} 219 219 * To scan for available access points in range you can use the iw tool: 220 220 {{{#!bash