Difference between revisions of "Raspberry Pi"

From YobiWiki
Jump to navigation Jump to search
m
m
Line 23: Line 23:
 
Then
 
Then
 
sudo /etc/init.d/networking restart
 
sudo /etc/init.d/networking restart
  +
==NFC==
  +
apt-get install git autoconf libtool gcc libusb-dev
  +
apt-get install dpkg-dev debhelper dh-autoreconf
  +
git clone https://code.google.com/p/libnfc/
  +
cd libnfc
  +
dpkg-buildpackage -b -uc -us
  +
cd ..
  +
dpkg -i *deb
  +
For a SCL3711:
  +
modprobe -r pn533
  +
echo pn533 > /etc/modprobe.d/pn533-blacklist.conf

Revision as of 23:09, 18 March 2013

Links

Startup

Remotely: provide DHCP over Ethernet
Access via ssh, Username: pi Password: raspberry
First time, the device propose to run raspi-config

sudo raspi-config


Then, better to renew SSH server keys, see RPi remote access

sudo rm /etc/ssh/ssh_host_* && sudo dpkg-reconfigure openssh-server

Wi-Fi

Using Wi-Pi
See user manual for Raspbian.
Edit /etc/network/interfaces and add wlan0 section similar to:

auto wlan0
iface wlan0 inet dhcp
wpa-ssid <name of your WiFi network>
wpa-psk <password of your WiFi network>

Then

sudo /etc/init.d/networking restart

NFC

apt-get install git autoconf libtool gcc libusb-dev
apt-get install dpkg-dev debhelper dh-autoreconf
git clone https://code.google.com/p/libnfc/
cd libnfc
dpkg-buildpackage -b -uc -us
cd ..
dpkg -i *deb

For a SCL3711:

modprobe -r pn533
echo pn533 > /etc/modprobe.d/pn533-blacklist.conf