Posts

Showing posts with the label USB to TTL serial cable

Raspberry Pi wireless connection

If you are booting your raspberry pi first time and connecting to the boards console through a USB to TTL serial cable , you can configure the wireless interface of your board to connect it to your home wireless router which has a WPA wireless security mode enabled. $sudo vi /etc/network/interfaces #Then edit the file as below. auto lo iface lo inet loopback iface eth0 inet dhcp auto wlan0 allow-hotplug wlan0 iface wlan0 inet dhcp    wpa-scan-ssid 1    wpa-ap-scan 1    wpa-key-mgmt WPA-PSK    wpa-proto RSN WPA    wpa-pairwise CCMP TKIP    wpa-group CCMP TKIP    wpa-ssid "<YOUR WIRELESS NETWORK SSID>"    wpa-psk "<YOUR WIRELESS NETWORK PASSWORD>" iface default inet dhcp $sudo /etc/init.d/networking restart After a few seconds your wireless interface will get an IP address from your home network's DHCP server. You can see the IP address with the...