### Installation Hints

Install the RED Brick Image based on RED Brick Image v1.8 (Feb 2016).
The installation is done via a Windows device. This device must have the Brick Deamon and Brick Viewer installed.
The RED Brick has a WLAN adapter in the USB slot (only one USB slot available).
1. Download the latest image to the Windows Device
http://www.tinkerforge.com/en/doc/Downloads.html#downloads-red-images
2. Unpack the image to a folder, e.g. c:\Daten\iot\TinkerForge\RedBrick\image\
Imagefile: red_image_1_8_full.img
3. Insert an SD card in the device slot
4. Start Win32DiskImager, select the RED BrickImage file and press Write
The writing take a few minutes.
Download the Win32DiskImager from https://sourceforge.net/projects/win32diskimager/
5. Connect the RED Brick to the Windows device
Start the Brick Viewer, connect to localhost
6. Configure the Network WLAN with Static IP Address
Brick Viewer, select settings and configure the Network with a fixed IP Address:
WPA Key: yourkey
Address: Static
IP: 192.168.0.30
Subnet mask: 255.255.255.0
Gateway: 192.168.0.1
DNS: 192.168.0.1
7. Install xrdp
When running the RED Brick headless, then useful to access the RED Brick via Remote Desktop (on f.e. a Window Device).
See below.
Install xrdp on the RED Brick
$sudo apt-get update
$sudo apt-get upgrade
$sudo apt-get install xrdp
Flash image to the SD card
http://www.tinkerforge.com/en/doc/Hardware/Bricks/RED_Brick.html#copy-image-to-sd-card
If you have local programs on the RED Brick, export these and then import using the Brick Viewer:
• Update brickv
• Export programs
• Reflash sd card with new image
• Import programs
• Configure wlan and any other programs
Install the B4J Bridge
Create folder /home/pi/b4j by entering $mkdir b4j from the /home/pi folder
Change to the folder /home/pi/b4j by entering $cd b4j
Run $wget http://www.b4x.com/b4j/files/b4j-bridge.jar
Run the B4J Bridge
Important: Ensure to run the B4J Bridge as sudo.
$sudo java -jar b4j-bridge.jar

Changed: , Category: TinkerForge RED Brick, File: T6C268M1997.htm, ID: 1997