July 1st, 2015

scotto monkeypulse

edit config to get your usb wifi dongle to work (if you have trouble out of box)

At the command prompt type

sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

This will load a basic text editor with the wifi configuration file.

You will just need to add a new “section” to the file for your network or modify an existing one.

e.g. Say that your SSID is “salmagundi” and it uses WPA2 security with a wifi password of “n0beef” you would add the following lines

network ={
ssid=”salmagundi”
psk=”n0beef”
key_mgmt=WPA-PSK
proto=RSN
pairwise=CCMP TKIP
group=CCMP TKIP
auth_alg=OPEN
}

To save this press <Ctrl> X then press Y and finally press <ENTER>.

At this point if you reboot your device it should then connect to your WiFi.

type

sudo reboot

Now remove the Ethernet Cable.

During boot up you should see the WiFi dongle’s activity light start blinking (rapidly) to indicate it has established a connection to your wifi.

see also - https://learn.adafruit.com/adafruits-raspberry-pi-lesson-3-network-setup/finding-your-pis-ip-address

 

Originally published at The Scotto Grotto. You can comment here or there.

scotto monkeypulse

YAGNI.

https://en.wikipedia.org/wiki/You_aren’t_gonna_need_it

You aren’t gonna need it“ (acronym: YAGNI) is a principle of extreme programming (XP) that states a programmer should not add functionality until deemed necessary. XP co-founder Ron Jeffries has written: “Always implement things when you actually need them, never when you just foresee that you need them.”[ Other forms of the phrase include “You aren’t going to need it” and “You ain’t gonna need it”.

See also:

Originally published at The Scotto Grotto. You can comment here or there.