Q&A - Techy Stuff...Raspberry Pi, Linux, etc.


 

How to change the Micro SD card

Since Spring 2017 B2s have an micro SD card that is not accesible without opening the box. If you want to change the SD card to increase storage for instance. Uncrew the two screws at the back marked with chevrons.

Then pull the rear panel and attached assembly out slowly about 3cm or 1.5 inches.

You may need to prise the panel out with a screwdriver - thats normal. Take care not to damage the metalwork.



I wrapped tape around the screwdriver to protect the metal.

You can just see the micro SD card and it will pop out when pressed.



Reverse the steps to assemble - again its common for the rear panel to "snap" back into place.

Ethernet

Ehernet can give you a more reliable faster network connection. Flat Ethernet cable is less of a squeeze. Open the B2 as above and then arrange the cable like this.


If you need to remove the ethernet cable - you will need a bit of dexterity with a small flat screwdriver to lever up the Ethernet retaining clip. Don't force it. Don't rush. It will come out.

Web API?

There isn't documentation on the API - what I would suggest is take a look at /var/www/index.html on the raspberry pi. That contains all the Javascript that talks to the the B2. Its not beautiful but not very complicated either. If you want you don't even have to login to the Pi - just use the Developer Tools on the Chrome Browser and you can see the code. If you do what the Javascript does (http GET requests for the most part) then you can control the B2.

What Editor to edit Playlists?

I use Notepad++ for all my work - can't say I've actually imported a playlist back into B2 though. Martin

Can I add DLNA?

I'm happy to help you - I can point you at the Github repo for the recipe to build the SD card - less the B2 app itself. You could probably add DLNA there pretty simply.

Batch Delete MP3s?

You could do it as a Linux user. You need to login to B2 using SSH user root password brennan. You will find the music files at /media/hdd1/music. Delete what you don't want then run Settings->Scan Disk from the front panel to let B2 know what you have done.

If the above is gobbledygook then you probably should not attempt this.

Backup Using NAS?

Yes you can use your Windows software to backup the B2 - as I say elsewhere the B2 appears like any other folder to the PC. Check the forum - this comes up on the forum.

New NAS SD Card

(Archived instructions for owners with B2s shipped before November 2016)

The new NAS feature needs a new SD card. A simple Web Upgrade is not enough.
B2s shipped after 26th November 2016 already have the latest SD card.
Owners of B2s shipped before then can buy a new SD card from us or create their own as follows.

1) You need a new or spare 8G SD card (anything larger than 4G will be OK) and a USB SD card reader. You might want to label or mark the new SD card as “new”.
2) Plug the new SD card into the reader and plug that into USB C on the B2.
3) Get the latest software on the B2

Settings->Web Upgrade

4) Download the new operating system with NAS

Settings->Maintenance->Get RootFS

(25 seconds)
5) Copy the current SD card to the new one.

Settings->Maintenance->SD to USB C

(2 minutes 30 seconds)
6) Upgrade the Operating system on the new SD

Settings->Maintenance->RootFS to C

(2 minutes)
7) Turn off the B2 and replace the old SD card in the side of the B2 with the newly created one.
8) You will need to set up the Wifi again.

Settings->Setup Wifi

9) Turn on NAS

Settings->Maintenance->Start NAS 

 

James C encountered some difficulties creating an SD card but worked when he added these steps.

1) Before anything format the SD card Settings->Maintenance-Format USB C
2) Before the RootFS to C step - remove and replace the SD card adaptor from USB C (not just the SD card - the card reader).

 




 

SD Card Image

You can create our own SD card if you have a PC or Mac.
Install a copy of Etcher
Then download the image file from here
Plug your target SD card into your PC (you can use a USB SD card adaptor)
Then fire up Etcher and point it at the image file you downloaded. Select the SD card and click on Flash.
Once installed in the B2 you will probably want to do a Web Upgrade to get the latest code.
Any SD above 8G will be OK. Class 10 will boot faster but otherwise not important.

Upgrade HDD.

You cannot upgrade an SD B2. If you had a 500G B2 say then no problem about opening it up and swapping a bigger drive. You need to do Settings->Maintenance->Format HDD after if its not FAT32.

Change Hard Disk Drive

B2 owner Brad in Ontario has written these very clear instructions how to install a bigger hard disk.