Updating firmware
You can get all the benefits from the latest firmware from a
Code: Select all
sudo apt-get update && sudo apt-get install raspberrypi* raspi-config
Code: Select all
sudo apt-get install smartsim penguinspuzzle
For better out of the box wireless config, first upgrade the firmware as described above and then:
* sudo apt-get install wpagui
* add the following to /etc/network/interfaces (edit with e.g. sudo nano
/etc/network/interfaces)
Code: Select all
allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
contents:
Code: Select all
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
* sudo adduser pi netdev
* A final tweak you might like is to edit
/lib/udev/rules.d/75-persistent-net-generator.rules and disable persistent
renaming of wlan interfaces by changing:
Code: Select all
# device name whitelist
KERNEL!="eth*|ath*|wlan*[0-9]|msh*|ra*|sta*|ctc*|lcs*|hsi*", GOTO="persistent_net_generator_end"
Code: Select all
# device name whitelist
KERNEL!="ath*|msh*|ra*|sta*|ctc*|lcs*|hsi*", \
GOTO="persistent_net_generator_end"
Misc minor tweaks
Another minor bug fix, edit /etc/fstab to set the pass field for / and /boot,
so fsck will not be skipped when forced. New fstab looks like:
Code: Select all
proc /proc proc defaults 0 0
/dev/mmcblk0p1 /boot vfat defaults 0 2
/dev/mmcblk0p2 / ext4 defaults,noatime 0 1
# a swapfile is not a swap partition, so no using swapon|off from here on, use dphys-swapfile swap[on|off] for that
/etc/X11/Xsession.d/75source-profile with contents:
Code: Select all
[ -f /etc/profile ] && . /etc/profile
[ -f "$HOME/.profile" ] && . "$HOME/.profile"