Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Senior Member
    Join Date
    Jan 2011
    Location
    Staffordshire. UK
    Posts
    4,743

    Ubuntu and picoreplayer samba

    This is for Elmar.F

    So I have an old shuttle with linux mint installed.

    First I copied my music files to the Music folder in the Desktop.

    Then I installed samba

    On the raspberry pi I installed the usb hard drive

    Name:  1 usb disk on pcp.png
Views: 280
Size:  27.7 KB

    I had to click on the Set Write Permissions box.

    I installed samba as per this screen shot

    Name:  2 samba share on pcp.png
Views: 265
Size:  87.8 KB

    I filled in the password as the default one for tc

    ronnie

  2. #2
    Senior Member
    Join Date
    Jan 2011
    Location
    Staffordshire. UK
    Posts
    4,743
    Back on the Shuttle

    I opened the Computer folder and clicked on the Network and navigated to the usb disk on the raspberry pi

    the path was pcp.local > mnt > Elmar > music

    I opened the Music folder on the Shuttle, right clicked a folder > copy and pasted the folder into the pcp folder (this was where I had to set the write permissions).

    Name:  3 Shuttle desktop.jpg
Views: 171
Size:  78.6 KB

    Went to LMS on the piCoreplayer and checked the folder was there

    Name:  4 lms new music folder.png
Views: 179
Size:  65.6 KB

  3. #3
    Senior Member
    Join Date
    Jan 2011
    Location
    Staffordshire. UK
    Posts
    4,743
    Rescanned the folder and played a tune

    Name:  5 lms playing.jpg
Views: 174
Size:  83.5 KB

    "and so to bed"

    ronnie

  4. #4
    Junior Member
    Join Date
    May 2021
    Posts
    29
    Quote Originally Posted by Man in a van View Post
    Back on the Shuttle

    I opened the Computer folder and clicked on the Network and navigated to the usb disk on the raspberry pi

    the path was pcp.local > mnt > Elmar > music

    I opened the Music folder on the Shuttle, right clicked a folder > copy and pasted the folder into the pcp folder (this was where I had to set the write permissions).

    Name:  3 Shuttle desktop.jpg
Views: 171
Size:  78.6 KB

    Went to LMS on the piCoreplayer and checked the folder was there

    Name:  4 lms new music folder.png
Views: 179
Size:  65.6 KB


    Thanks for your hard work and help. I really appreciate that. Many thanks.

    On my Ubuntu Laptop --> Ubuntu Explorer (Nautilus) --> Network --> pCP --> Clicking on pCP --> Screenshot below : 'Access denied' 'Problem with server-key'
    Attached Images Attached Images  

  5. #5
    Junior Member
    Join Date
    May 2021
    Posts
    29
    Access to music library on my old Synology NAS with 'smb://admin@10.0.0.100/musik/' without any problem.

    I tried 'smb://tc@10.0.0.12/Elmar' or 'smb://tc@10.0.0.12/mnt/Elmar' or 'smb://tc@10.0.0.12/Elmar/Musik' or 'smb://tc@pcp.local/Elmar' and many variations without success

  6. #6
    Senior Member
    Join Date
    Jan 2011
    Location
    Staffordshire. UK
    Posts
    4,743
    Morning Elmar, you do get upp early, don't you ?

    Where in the world are you ?

    I think that thi is just a permissions thing (I hope so as I know absolutely nothing about SSH keys)

    Trace your steps back and repeat

    1)
    Name:  Elmar 1.png
Views: 143
Size:  47.9 KB
    and
    2)
    Name:  Elmar 2.png
Views: 144
Size:  120.4 KB

    It might help to go to the pcp Main page tab and click on Backup and the reboot.

    ronnie

  7. #7
    Junior Member
    Join Date
    May 2021
    Posts
    29
    Quote Originally Posted by Man in a van View Post
    Morning Elmar, you do get upp early, don't you ?

    Where in the world are you ?

    I think that thi is just a permissions thing (I hope so as I know absolutely nothing about SSH keys)

    Trace your steps back and repeat

    1)

    and
    2)

    It might help to go to the pcp Main page tab and click on Backup and the reboot.

    ronnie

    Hi, I'm in the heart of Europe: Austria.

    What I did is this: I grabbed another Laptop (Ubuntu based, again) and tried to access pCP, and - surprise - it worked.


    I remember while trying to get this thing running I (when using ssh command) encountered a warning that looked like this:

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@
    @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@
    IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
    Someone could be eavesdropping on you right now (man-in-the-middle attack)!
    It is also possible that a host key has just been changed.
    The fingerprint for the RSA key sent by the remote host is
    51:82:00:1c:7e:6f:ac:ac:de:f1:53:08:1c:7d:55:68.
    Please contact your system administrator.
    Add correct host key in /Users/isaacalves/.ssh/known_hosts to get rid of this message.
    Offending RSA key in /Users/isaacalves/.ssh/known_hosts:12
    RSA host key for 104.131.16.158 has changed and you have requested strict checking.
    Host key verification failed.


    I didn't even know what stupid action of mine caused this warning! Maybe you can tell? And what to do if the warning shows up again!?

    Not knowing what to do I googled this command to get rid of the message: ssh-keygen -R "you server hostname or ip"

    I assume using this command may be responsible for the network problem.

    In the meantime I transferred my music library from the NAS to the BOSS2's attached SSD and have it scanned by LMS super fast. The speed of the new system is astounding.

    I'd like to say a big thank you for your help.
    -Elmar

  8. #8
    Senior Member Greg Erskine's Avatar
    Join Date
    Sep 2006
    Location
    Sydney, Australia
    Posts
    2,379
    Although not relevant to your topic overall, this How-to has a fix to your error.

    Setup passwordless ssh access

  9. #9
    Quote Originally Posted by Elmar.F View Post
    I remember while trying to get this thing running I (when using ssh command) encountered a warning that looked like this:
    ...
    The warning message comes from you having connected to a machine with different ssh keys using the same IP address. I haven't read the whole background so I'm just making things up as an example. If you installed pCP on a raspberry Pi, connected via SSH and then decided to reinstall pCP you would get new ssh-keys but since it is the same hardware and the network card has the same MAC address your DHCP server (likely home router) will assign it the same IP-address. I hope that makes sense, its a bit late here.

    Samba and SSH are not related.

    Connecting to samba shares via the file explorer in your DE is hit and miss with emphasis on miss, you are much better of using the command line. One possible reason for one of your laptops failing to connect could be that the cifs-tools package is not installed.

  10. #10
    Junior Member
    Join Date
    May 2021
    Posts
    29
    @ Greg Erskine & @v2k : Thanks for your replies, though I don't completely understand your explanations. I think I have to dive deeper for better understanding.

    May I raise two topics and beg your expertise?

    1) With the Allo Boss2 Player comes the Nirvana power supply with the option of single-powering and dual-powering the device. What is the dual-power option for? What are the advantages? And what is the power-switch for on the back of the Nirvana? Can I shutdown the Boss2 using the power-switch?


    2) What is the best way to shutdown the Boss2? Or is it okay to leave it on 24/7 with an SSD drive attached to it. May leaving the device on reduce the durability of the SSD? And what happens to pCP when there's a blackout? Irregular shutdowns are bad for devices, that's what I know. But this was valid for my Synology NAS as well and I never bothered until now I got the Boss2 running.

    -Elmar

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •