|
| 1 | +####################################################### |
| 2 | +# Use this file to manually configure your Coder's WiFi |
| 3 | +# settings. You can also use this to set the config |
| 4 | +# network that Coder uses if it can't find a network. |
| 5 | +# |
| 6 | +# Instructions: |
| 7 | +# 1. Make a copy of this file into |
| 8 | +# /coder_settings/wpa_supplicant.txt |
| 9 | +# 2. Boot Coder with this SD Card. It will copy the |
| 10 | +# settings and then delete the file. |
| 11 | +# |
| 12 | +# NOTE: If you are experimenting, make a backup of |
| 13 | +# your changes, as the file will be deleted on boot. |
| 14 | +####################################################### |
| 15 | + |
| 16 | +ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev |
| 17 | +update_config=1 |
| 18 | + |
| 19 | + |
| 20 | +################################# |
| 21 | +# Default settings |
| 22 | +################################# |
| 23 | + |
| 24 | +##### |
| 25 | +# This creates a device adhoc network if no connection is found. |
| 26 | +# Change ssid to something else to make Coder boot on another |
| 27 | +# Ad-hoc network if it can't find a WiFi connection. |
| 28 | +##### |
| 29 | +network={ |
| 30 | + ssid="CoderConfig" |
| 31 | + mode=1 |
| 32 | + key_mgmt=NONE |
| 33 | + id_str="staticadhoc" |
| 34 | +} |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | +####################################################### |
| 43 | +# Sample settings for typical networks below |
| 44 | +####################################################### |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | +# |
| 50 | +# A typical encypted network using WPA |
| 51 | +# |
| 52 | +network={ |
| 53 | + ssid="Network Name" |
| 54 | + psk="yourpassword" |
| 55 | + |
| 56 | + # Change to 0 to enable |
| 57 | + disabled=1 |
| 58 | + scan_ssid=1 |
| 59 | + priority=4 |
| 60 | +} |
| 61 | + |
| 62 | + |
| 63 | +# |
| 64 | +# An unencrypted network |
| 65 | +# |
| 66 | +network={ |
| 67 | + ssid="Network Name" |
| 68 | + key_mgmt=NONE |
| 69 | + |
| 70 | + # Change to 0 to enable |
| 71 | + disabled=1 |
| 72 | + scan_ssid=1 |
| 73 | + priority=3 |
| 74 | +} |
| 75 | + |
| 76 | +# |
| 77 | +# Older WEP network |
| 78 | +# |
| 79 | +network={ |
| 80 | + ssid="Network Name" |
| 81 | + wep_key0="password" |
| 82 | + |
| 83 | + # To use WEP hex code, comment out above and use without quotes |
| 84 | + # Example: |
| 85 | + # wep_key0=ABCDEF0102 |
| 86 | + |
| 87 | + # Change to 0 to enable |
| 88 | + disabled=1 |
| 89 | + scan_ssid=1 |
| 90 | + key_mgmt=NONE |
| 91 | + priority=3 |
| 92 | +} |
| 93 | + |
| 94 | + |
| 95 | + |
| 96 | +# |
| 97 | +# Enable to connect to any available open network |
| 98 | +# |
| 99 | +network={ |
| 100 | + ssid="" |
| 101 | + scan_ssid=1 |
| 102 | + key_mgmt=NONE |
| 103 | + auth_alg=OPEN |
| 104 | + priority=2 |
| 105 | + id_str="anyopen" |
| 106 | + |
| 107 | + # Change to 0 to enable |
| 108 | + disabled=1 |
| 109 | +} |
| 110 | + |
| 111 | + |
| 112 | + |
| 113 | + |
| 114 | + |
| 115 | + |
0 commit comments