Sunday, March 8, 2015

Manual Wifi setting

In order to configure wifi connection manually, type commands like these,


ip link set wlan0 up
wpa_supplicant -B -D wext -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf
iw wlan0 link
dhclient wlan0

or automate by add this to /etc/network.interfaces

allow-hotplug wlan0
auto wlan0
iface wlan0 inet manual
  wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp



Console connection

Using this console cable, you can enable remote access from your laptop.
From osx, you just type as,

sudo screen /dev/cu.usbserial 115200


GPIO order is,
Green, White, Black, blank, Red.... Careful not to connect Red if power comes from another source as well.