Raspberry Pi login

All the topics related to QLC+ on the Raspberry Pi
Post Reply
tieftonsack
Posts: 3
Joined: Sat Jul 27, 2019 12:53 am
Real Name:

Hi everyone!

I would like to get access to my usb drive on the raspberry pi 3 to have the possibility to open and import files direktly to the qlc+.
I have allready found the sudo command in the manual to make this working but the raspi is asking for a login to do this.
The mentioned user (ssh pi@ IP Adress of the raspi) in combination with the passwort (raspberry), which I found in the manual wont work.

Is anybody havin a solution for this?

Thank you all a lot. :)

Greetings
Andi
User avatar
mcallegari
Posts: 4482
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

First you need to access via SSH as user 'pi' and then you can perform commands with sudo.
The 'pi' user is a so called 'sudoer' so you don't necessarily need to login as 'root' user.
tieftonsack
Posts: 3
Joined: Sat Jul 27, 2019 12:53 am
Real Name:

Dear Massimo,

thx for your answer.

The login on my macbook pro by worked so far (I think. Sorry, I´m an absolut noob on the raspberry). But when I try to get access to my usb drive I always get "unable to locate package usbmount":

here is a copy of my terminal informations:
--------
raspberrypi login: pi
Password:
Last login: Sun Feb 17 08:26:01 UTC 2019 from 169.254.239.250 on pts/0
Linux raspberrypi 4.14.79-v7+ #1159 SMP Sun Nov 4 17:50:20 GMT 2018 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.

SSH is enabled and the default password for the 'pi' user has not been changed.
This is a security risk - please login as the 'pi' user and type 'passwd' to set a new password.


Wi-Fi is disabled because the country is not set.
Use raspi-config to set the country before use.

pi@raspberrypi:~ $ sudo apt-get install usbmount
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package usbmount
pi@raspberrypi:~ $
______________

The reason why I try to get access to my usb drive is because I have done a QLC+ Show on my macbook and tried to transfair it to the raspberry via lan. The informations for the fixtures (scenes, chasers etc.) arrived on the raspberry perfectly but the audiofile (wav.) was not trasmitted. So I thougt the solution could be to to get direkt access to an usb drive on the raspberry and import the audiofiles from there.

Do you have any idea what I´m doing wrong. Meanwhile it took me hours of reserch on the internet. :cry:

Thank you and greetings from Vienna :-)

Andreas
Stringfamily
Posts: 11
Joined: Wed Feb 13, 2019 7:31 am
Real Name: JoelM

You need to move the audio file into the /root/.qlcplus directory.
Easiest way to do this is via SCP. On OSX you can use the program "Transmit" - look in the app store. It's not free but it's a great tool.
Connect into your raspberry pi, and copy the wav file (eg audio.wav) into your /home/pi directory.
Then ssh into your pi - eg ssh pi@192.168.0.5 and then copy the file into the correct directory:
sudo mv audio.wav /root/.qlcplus/

Once this is done you may need to check the path to the file is correct.
If you know how to use nano, you can do it like this:

Back it up first: sudo cp /root/.qlcplus/autostart.qxw /root/.qlcplus/autostart.qxw.bak
sudo nano /root/.qlcplus/autostart.qxw

look for your wav file by pressing control+w and typing wav
It should show you something like this:
<Source>audo.wav</Source>

Make sure it's only got only the file name, and no other path left over from your mac.

Save it (control + o) and exit (control + x) and restart your raspberry pi
sudo shutdown -r now

Of course if your audio file and project file are in the same directory on your mac in the first place, then you won't need to change paths.

hope this helps.
tieftonsack
Posts: 3
Joined: Sat Jul 27, 2019 12:53 am
Real Name:

Hello!

Thanx for your tutorial :)
I think this should helps a lot.
I just retourned from hollidays and will get through the tutorial soon.

Thank you! :D
Post Reply