ssid gets reset to the original Yun SSID that it came with out of the box. Encryption is reset to none and mode is switched to 'ap'. I can confirm that the file has been saved when I make the changes using vi.
::::SNIP::::ssid gets reset to the original Yun SSID that it came with out of the box. Encryption is reset to none and mode is switched to 'ap'. I can confirm that the file has been saved when I make the changes using vi. I can re-edit the file using vi and the changes are there. However, running subsequent commands lead to these changes.
YES!!!I've got the Yun to connect via WPA2 Enterprise...
deauthenticating from b4:a4:e3:ca:be:f0 by local choice (Reason: 3=DEAUTH_LEAVING)
YES!!!I've got the Yun to connect via WPA2 Enterprise and I'll include the steps I followed at the bottom of this post. Before getting to this, however, I think my setup is incomplete and could use some further guidance. Specifically, I do not know how to download a CA cert for the network I connect to. This doesn't seem to be necessary to make a connection, because I still connect, but these CA certs seem pretty standard, so I'm not sure what to do. Finally, I can only connect to my Yun by typing the numerical IP address, but not via http://arduino.local; this has been an on-going issue for me, because I do not understand it. How can I connect to my Yun using the the numerical IP address, but then fail to connect via http://arduino.local?Also, are all opkg packages installed to the Yun memory? Can (and should) any packages be installed to the sd card?A way to have the Yun connect to WPA Enterprise; I hope this helps as a starting point for just one other soul:0. This setup was preformed with the help of Windows box.1. Connect the Yun to a computer via the micro USB. This is not only a good way to power the Yun, but also convenient to communicate with a virtual serial connection. Upload the sketch File>Examples>Bridge>YunSerialTerminal from the Arduino IDE.2. Place the Yun within range of a wireless network (or connected via ethernet) that does not require WPA Enterprise. Connect the Yun to this network.3. Open PuTTY, select the Serial from the radio buttons, and change the baud rate to 115200. The baud rate will be whatever was set in the YunSerialTerminal sketch in the line Code: [Select]Serial.begin(####). Click the Open button and a window will open. Press enter and the Linino spash screen should appear or at the very least a command line.4. Install wpad with the opkg package manager, because wpad has the wpa-enterprise ability whereas wpad-mini, the default package in the Yun, does not. wpad-mini comes pre-installed and must be removed first.Code: [Select]opkg updateopkg remove wpad-miniopkg install wpad5. Confirm the installation with Code: [Select]opkg list-installed.6. Edit the /etc/config/network file using the vi text editor. Add a new config section that looks like Code: [Select]config interface 'myNetwork' option proto 'dhcp'. To start editing the file, from the command line enter Code: [Select]vi /etc/config/network.Press 'i' to start editing textPress 'ESC' to stop editing textType ':x' save changes and exitType ':q' to exitType ':q!' to exit without saving changes7. Now, edit the /etc/config/wireless file using vi again. I found my setup worked when I included only the following under the config wifi-iface section. Also, some of these settings are network specific, so please adjust accordingly:Code: [Select]option device 'radio0'option network 'myNetwork'option mode 'sta'option encryption 'mixed-wpa+aes'option eap_type 'peap'option ssid 'mySSID'option identity 'myUsername'option password 'myPassword'8. Move the Yun into the range of the WPA Enterprise protected network. Restart the wireless interface of the Yun by entering the following command from the command line: Code: [Select]wifi9. The Yun will output some text with details about the connection being made. Finally, confirm and discover the IP address assigned to the Yun using the command Code: [Select]ifconfig. The output of this command will contain a section called wlan0; the IP address can be found next to the text inet.Thanks for everyone's help!
opkg updateopkg remove wpad-miniopkg install wpad
config interface 'myNetwork' option proto 'dhcp'
option device 'radio0'option network 'myNetwork'option mode 'sta'option encryption 'mixed-wpa+aes'option eap_type 'peap'option ssid 'mySSID'option identity 'myUsername'option password 'myPassword'