SSH and RPi Raspbian Jessie PIXEL 25 nov 2016

It seems the SSH default acess in Raspbian has been switched off in the latets (25 nov 2016) release.

But easy to get it going by creating an empty file in the root of the SD card with name ssh (jut that, no extension, no content required)

2016-11-25:
* SSH disabled by default; can be enabled by creating a file with name “ssh” in boot partition

So another little step to perform when preparing a SD card for headless first boot!

Oh, the system nags about password after enabling SSH:

sudo apt-get remove -y pprompt for the gui prompt

The CLI warning is raspberrypi-sys-mods, delete the file /etc/profile.d/sshpasswd.sh

Oberon version for the Raspberry Pi

(Found in the Oberon mailing list today!)

Josef Tampl has announced the availability of an Oberon version for the Raspberry Pi running 32-bit Raspbian.
You can download it from http://www.software-templ.com/shareware.html.

This version of Oberon is based on ofront 1.4, an Oberon-2 to C translator.
It comes with a set of command line tools and an integrated version based
on the Oberon V4 system.
Oberon modules can be compiled and linked into shared object libraries(.so) and loaded and unloaded
from within the Oberon system.

A complete Oberon interface for the popular ‘Wiring’ library (libwiring.so) is included.
This library can be used for convenient access to the Raspberry’s I/O hardware.

You may also want to download manual pages, additional fonts, and platform independent Oberon V4 source and resource files.
The Ofront source files as well as a makefile are hosted on Github.

Clean up Raspbian

Find out what takes up room

dpkg-query -Wf ‘${Installed-Size}\t${Package}\n’ | sort -nr | more
dpkg-query -Wf ‘${Installed-Size}\t${Package}\t${Priority}\n’ | egrep ‘\s(optional|extra)’ | cut -f 1,2 | sort -nr | less

Obvious candidates:

Wolfram
Libre Office
Mathematica
Minecraft

post

Another Raspi.tv kickstarter!

 

RasPiO Pro Hat is a small Raspberry Pi add-on which…

  • protects the Pi’s ports in case you make a wiring error
  • arranges the Pi’s ports in numerical order to make tinkering easier
  • works “out of the box” with GPIO Zero – the new easy-to-use Python library included in Raspbian
  • requires no soldering or assembly
  • requires no software installation
  • includes a 170pt mini-breadboard to build your circuits on
  • gives you direct access to the ports if you need it
  • requires no additional resistors for use with LEDS
  • will have RasPi.TV-style tutorial experiments suitable for beginners and experts alike

 

post

Network scanning: find your RPi

When using a Raspberry Pi in your network it is very convenient to let it use DHCP to assign IP addresses, Setting up with fixed IP can be a pain to configure and be sure to use an address out of the IP range used by your DHCP router!
Nearly all DHCP servers try to assign the same IP address to a network device, by remembering its Mac address. And since Bonjour is running on current Raspbians, you can access the RPi with <RPI name>.local

But when you run headless, and have no clue, easy to use tools are available:

On an Raspberry/Linux machine use nmap.

Install
$ sudo apt-get install nmap

Scan your network
sudo nmap -sP 192.168.0.0/24

On a Windows system: Install Advanced IP Scanner, startup and press the scan button

On Android install from the Playstore ezNEtscan and press the Scan button.

 

 

Low level graphics Raspberry Pi: framebuffer

http://raspberrycompote.blogspot.nl/2012/12/low-level-graphics-on-raspberry-pi-part_9509.html

Basic, get screen info

http://raspberrycompote.blogspot.nl/2013/01/low-level-graphics-on-raspberry-pi-part.html

PArt 2 goes into actually drawing

http://raspberrycompote.blogspot.nl/2013/01/low-level-graphics-on-raspberry-pi-part_22.html

The details of the mapped display memory

and so on

http://raspberrycompote.blogspot.nl/2013/04/low-level-graphics-on-raspberry-pi-part.html

All code here: https://github.com/rst-/raspberry-compote