Trying to get to where I don't have to change my WiFi settings manually each time by changing /etc/network/interfaces at home or xx..
Useless (I tried putting in auto wlan1 and, when I did that, it couldn't even get on the ethernet - had to suffer the humility of connecting monitor and keyboard :( ) :
http://weworkweplay.com/play/automatically-connect-a-raspberry-pi-to-a-wifi-network/
Less useless : (at least the ethernet still worked ) :
http://www.instantsupportsite.com/self-help/raspberry-pi/raspberry-connect-multiple-wireless-networks/
pi@raspberrypi ~ $ sudo ifup wlan0
Line 1: unknown global field 'interface=DIR=/var/run/wpa_supplicant GROUP=netdev'.
Line 1: Invalid configuration line 'interface=DIR=/var/run/wpa_supplicant GROUP=netdev'.
Line 5: failed to parse ssid '”AA″'.
Line 5: failed to parse ssid '”AA″'.
Line 11: Invalid PSK '”XX"'.
Line 11: failed to parse psk '”XX"'.
Line 12: WPA-PSK accepted for key management, but no PSK configured.
Line 12: failed to parse network block.
Line 15: failed to parse ssid '”linksys″'.
Line 15: failed to parse ssid '”linksys″'.
Line 21: Invalid PSK '”CC"'.
Line 21: failed to parse psk '”CC"'.
Line 22: WPA-PSK accepted for key management, but no PSK configured.
Line 22: failed to parse network block.
Failed to read or parse configuration '/etc/wpa_supplicant/wpa_supplicant.conf'.
Failed to bring up wlan0.
Okay, apology - the first line of the .conf should be ctrl_interface=DIR=.. not interface - you know what happened there if you've every used vi :)
And then, OMG, it works!! :
http://raspberrypi.stackexchange.com/questions/11631/wifi-setup-for-multiple-networks
When I do "sudo ifup wlan0" after making the suggested edits, I get :
pi@raspberrypi ~ $ sudo ifup wlan0
ioctl[SIOCSIWAP]: Operation not permitted
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
Would be nice to know what those mean :) But, what a feeling! To be able to type that aaa.homenet.org and login that way!! And, to show you why I believe R-Pi will one day be ubiquitous in evidence collection, here's what I got when I went to aaa.homenet.org/snapshot.jpg (a random shot from when I once went into Heat Sync Labs and plugged the camera in before deciding it was better to work on something more basic. I didn't even know it took a pic!)
No comments:
Post a Comment