Difference between revisions of "Zynthian FAQ"

From ZynthianWiki
Jump to: navigation, search
(Add more FAQ)
Line 25: Line 25:
  
 
'''Important:''' If you don't expand your partition, you will have problems when updating zynthian software or library, as you will run out of space.
 
'''Important:''' If you don't expand your partition, you will have problems when updating zynthian software or library, as you will run out of space.
 +
 +
=== I have a license for Pianoteq6, what would be the process to enter the license key ? ===
 +
''Is the process easy ? Is it done via a graphical interface ?''
 +
 +
You need a Ethernet connection (Wifi or cacble - Wifi has range problems when Zynthian is inside a metal case!)
 +
 +
# ssh to Zynthian:
 +
# ssh zynthian.local
 +
# Login (as root or pi)
 +
# Start PT on the Zynthian. The Window of PT should be redirected via ssh.
 +
# Add your license like “normal”
 +
 +
Caveats: If using putty or anything else on Windows make sure that X11-Forwarding is activated.
 +
 +
=== Does the pre-built kit come with a rpi3 or 3+ ? ===
 +
''If 3, is it possible to order the pre-built kit without it since I already have a rpi3 doing nothing here ?''
 +
 +
The 3+ is highly recommended, especially with Pianoteq.
 +
 +
Full kits come with a Rpi 3+. Basic kits come without a Rpi  http://shop.zynthian.org/shop/category/zynthian-v2-basic-kits-4
 +
 +
=== I’m primarily a guitarist and thus, I’m interested in the MOD UI. ===
 +
''I know some people have experimented with audio input and was wondering if this would be added to the “official” Zynthian kit at some point and if so, how hard would it be to “upgrade” to it ?
 +
 +
There are no firm plans for including an audio input device in the kits at this time.
 +
 +
=== Do you think Zynthian is for me ?===
 +
''Knowing that I am comfortable with tinkering (basic soldering, basic command line in linux) and that the idea would be to use Zynthian in a professional environment (studio and on stage)''
 +
 +
If you are comfortable with linux I think this is a great project and I do recommend it.
 +
 +
=== About Zynthian Security===
 +
 +
FYI, everything in Zynthian is executed as root user. The Pi user in the new PiOS images have sudo rights, so i don’t see a big security difference between the Gorgona and the PiOS images. PiOS is about automation and evolution, but currently it doesn’t improve security AFAIK.
 +
 +
Everybody wanting to connect his Zynthian to a “not secure” network (every network not controlled by himself should be considered “not secure” :wink: ) SHOULD CHANGE the default zynthian password. You can do that from the webconf tool.
 +
 +
Also, you have to understand that:
 +
 +
* Although the Webconf Tool ask for the password, currently, it doesn’t use HTTPS, so your password could be sniffed by bad actors connected to the local network. That is specially true if you are using an ethernet cable or the old WEP Wifi protocol. If you are using WPA2 Wifi protocol in your 2 devices (Zynthian and your “computer”), then you should be protected against sniffers.
 +
 +
* When a MOD-UI layer is created in zynthian, the MOD-UI server run completely open for everybody in the local network.
 +
 +
* IMHO, these 2 are the main security holes in Zynthian. For solving it, we have to:
 +
 +
# Use HTTPS for webconf tool.
 +
# Secure the MOD-UI server:
 +
 +
## Fast and Easy Way: Set a flag for “secure” networks, so MOD-UI will be “open” in that networks only
 +
## Not so Easy Way: Use HTTPS and ask for the password. We should modify MOD-UI source code

Revision as of 23:43, 9 August 2018

Please, add your questions to this FAQ. And of course, if you can add/improve an answer, do it! ;-)


What RaspberryPi does Zynthian support

RBPi2 is not longer supported by the latest zynthian SD images, so you need a RBPi3 or rebuild your own SD image.

Where can i buy a Zynthian Kit?

Currently you can buy the official Zynthian Kits in the Zynthian Shop.

How do I edit entries in the wiki?

You need to be able to login to the wiki with a username. Simply register...

I just wrote my 16/32/64 GB SD card with a Zynthian image, but from Zynthian's console i only see a part of SD's total space and i've no free space left in the partition. How can i make available all the space on my SD Card?

UPDATE: From 2016-12-23, the Gorgona SD image solved this problem. Latest SD images will auto-expand the partition on the first boot, so you shouldn't have this problem never more, but if you have it ...

After writing the zynthian image into the SD card, you have to "expand" the partition to fill all the available space. Follow these steps:

+ login into your zynthian box using ssh
+ execute "df" command to see the size of your partition and the available space
+ run "raspi-config" and select the first option to expand your partition
+ reboot your zynthian box
+ login again and execute "df" command to see size of your partition and the available space. You should see the difference ;-)

Important: If you don't expand your partition, you will have problems when updating zynthian software or library, as you will run out of space.

I have a license for Pianoteq6, what would be the process to enter the license key ?

Is the process easy ? Is it done via a graphical interface ?

You need a Ethernet connection (Wifi or cacble - Wifi has range problems when Zynthian is inside a metal case!)

  1. ssh to Zynthian:
  2. ssh zynthian.local
  3. Login (as root or pi)
  4. Start PT on the Zynthian. The Window of PT should be redirected via ssh.
  5. Add your license like “normal”

Caveats: If using putty or anything else on Windows make sure that X11-Forwarding is activated.

Does the pre-built kit come with a rpi3 or 3+ ?

If 3, is it possible to order the pre-built kit without it since I already have a rpi3 doing nothing here ?

The 3+ is highly recommended, especially with Pianoteq.

Full kits come with a Rpi 3+. Basic kits come without a Rpi http://shop.zynthian.org/shop/category/zynthian-v2-basic-kits-4

I’m primarily a guitarist and thus, I’m interested in the MOD UI.

I know some people have experimented with audio input and was wondering if this would be added to the “official” Zynthian kit at some point and if so, how hard would it be to “upgrade” to it ?

There are no firm plans for including an audio input device in the kits at this time.

Do you think Zynthian is for me ?

Knowing that I am comfortable with tinkering (basic soldering, basic command line in linux) and that the idea would be to use Zynthian in a professional environment (studio and on stage)

If you are comfortable with linux I think this is a great project and I do recommend it.

About Zynthian Security

FYI, everything in Zynthian is executed as root user. The Pi user in the new PiOS images have sudo rights, so i don’t see a big security difference between the Gorgona and the PiOS images. PiOS is about automation and evolution, but currently it doesn’t improve security AFAIK.

Everybody wanting to connect his Zynthian to a “not secure” network (every network not controlled by himself should be considered “not secure” :wink: ) SHOULD CHANGE the default zynthian password. You can do that from the webconf tool.

Also, you have to understand that:

  • Although the Webconf Tool ask for the password, currently, it doesn’t use HTTPS, so your password could be sniffed by bad actors connected to the local network. That is specially true if you are using an ethernet cable or the old WEP Wifi protocol. If you are using WPA2 Wifi protocol in your 2 devices (Zynthian and your “computer”), then you should be protected against sniffers.
  • When a MOD-UI layer is created in zynthian, the MOD-UI server run completely open for everybody in the local network.
  • IMHO, these 2 are the main security holes in Zynthian. For solving it, we have to:
  1. Use HTTPS for webconf tool.
  2. Secure the MOD-UI server:
    1. Fast and Easy Way: Set a flag for “secure” networks, so MOD-UI will be “open” in that networks only
    2. Not so Easy Way: Use HTTPS and ask for the password. We should modify MOD-UI source code