Standalone Installation

General discussion relating to the O2 Joggler, from the default O2 setup, to alternative operating systems and applications.
Post Reply
wcndave
Posts: 65
Joined: Tue Dec 17, 2013 10:21 am

Standalone Installation

Post by wcndave »

I have a joggler that has an internal installation, however I need to place it somewhere with no network access.
This requires
a) installing to USB stick
b) installing LMS
c) expanding storage on USB

a) I have followed the instructions: https://birdslikewires.net/articles/squeezeplay-os to install on the stick, although I can't tell where it's running.
How can I confirm this?

b) advanced settings shows install/restart/remove LMS
Installing shows a message, however at the end, the URL is not available.
Clicking uninstall shows a message in the log, unable to remove software that isn't installed
Any ideas on how to get this installed?

c) I have not found a version of gparted that will run from my laptops, or desktop, everything just hangs on the first page - it seems quite old, is there a new version for expanding the storage, or a method from the joggler command line?

Many thanks!

Dave
Man in a van
Posts: 503
Joined: Sun Aug 25, 2013 2:39 pm
Location: Staffordshire. UK

Re: Standalone Installation

Post by Man in a van »

Which OS are you using on the usb stick ? One can install Squeezeplay on either the Bullesye or Bookworm image

I have, in the past, installed Squeezeplay (v3.03) and LMS on the same device, but there were some snags.

One is the perl version, it might be necessary to build the binaries required by LMS, this takes a long time on a Joggler (I added a swap file to help).

I have also used Squeezelite and Jivelite with a LMS Install, but now that LMS has a working Local Player Plugin It might be possible to run just the LMS with a JIvelite build on the Joggler

Oh, LMS is now LyrionMusicServer

The usb can be expanded using the default command, but I don't know how to create a seperate partion (it is possible with the command line but I'm not smart enough). I have a copy of GParted on a raspberry pi. But one can put it on a Live usb stick and boot it from a Windows computer (which is what I used to do, years ago).

ronnie
Man in a van
Posts: 503
Joined: Sun Aug 25, 2013 2:39 pm
Location: Staffordshire. UK

Re: Standalone Installation

Post by Man in a van »

wcndave
Posts: 65
Joined: Tue Dec 17, 2013 10:21 am

Re: Standalone Installation

Post by wcndave »

Man in a van wrote: Sun Jul 14, 2024 9:39 pm Which OS are you using on the usb stick ? One can install Squeezeplay on either the Bullesye or Bookworm image
I am just taking the squeezeplay OS for external storage from birdslikewires... I don't see that I have a choice there over OS.
Man in a van wrote: Sun Jul 14, 2024 9:39 pm I have, in the past, installed Squeezeplay (v3.03) and LMS on the same device, but there were some snags.

One is the perl version, it might be necessary to build the binaries required by LMS, this takes a long time on a Joggler (I added a swap file to help).

I have also used Squeezelite and Jivelite with a LMS Install, but now that LMS has a working Local Player Plugin It might be possible to run just the LMS with a JIvelite build on the Joggler
So is this a completely different process than the one described on the site above?
I have noticed that both LMS and the player have moved on a lot recently, with lots of new add-ons and different installations.
I use them on my Pi, however the joggler one was last updated 9+ years ago... is there a different and newer approach I should be using instead?
Man in a van wrote: Sun Jul 14, 2024 9:39 pm
The usb can be expanded using the default command, but I don't know how to create a seperate partion (it is possible with the command line but I'm not smart enough).
Do you know what the command is?, just want to use the entire drive to put files on.
Man in a van wrote: Sun Jul 14, 2024 9:39 pm
But one can put it on a Live usb stick and boot it from a Windows computer (which is what I used to do, years ago).
I also used to do this, quite a bit, however it has not worked on any of my current devices, and I wonder if the 20 year old software no longer runs well on modern hardware...

Thanks!
Man in a van
Posts: 503
Joined: Sun Aug 25, 2013 2:39 pm
Location: Staffordshire. UK

Re: Standalone Installation

Post by Man in a van »

Dave

The 2015 Squeezeplay links to mysqueezebox.com for LMS which has been dead for a few months now :(

One can also use either of these and install Squeezeplay

https://birdslikewires.net/debian-for-openframe

Code: Select all

sudo of-expand 
will expand the file system (will take a little time depending on the volume of the usb stick

and

Code: Select all

sudo of-install squeezeplay
will do what it says :)

If you make a directory to hold your music files I think it will need to be added to /etc/fstab so that it can be discovered by LMS

To install LMS one follows the procedure for a raspberry pi. There have been no Binaries included in any 32 bit build for several years, so one has to build them.

The binaries depend on the Perl version which is different in the Squeezeplay versions and Debian OS

ronnie

Edit: I have removed text and a link (I confused myself and linked to the Internal Openpeak download, sorry)
Last edited by Man in a van on Wed Jul 17, 2024 9:31 am, edited 1 time in total.
wcndave
Posts: 65
Joined: Tue Dec 17, 2013 10:21 am

Re: Standalone Installation

Post by wcndave »

Man in a van wrote: Mon Jul 15, 2024 7:52 pm The 2015 Squeezeplay links to mysqueezebox.com for LMS which has been dead for a few months now :(
Yes, however you can skip this step. Same happens with my old Synology package - which is now replaced with docker container with latest version.
Man in a van wrote: Mon Jul 15, 2024 7:52 pm Did you know there is a 2018 version of Squeezeplay OS

https://birdslikewires.net/articles/openpeak-firmware

and that one can also use either of these and install Squeezeplay

https://birdslikewires.net/debian-for-openframe
Ah... no, I did not!

I just thought that when I saw links on the bird website, that they were "other" OS that one could install on a joggler.

I did not realise they were the basis for installing using the latest recommended methods... so I will give them a read.

That's what happens when you stay out of the loop for 10 years!

Cheers! Dave
Man in a van
Posts: 503
Joined: Sun Aug 25, 2013 2:39 pm
Location: Staffordshire. UK

Re: Standalone Installation

Post by Man in a van »

Sorry I made an error in my post Dave

I am currently installing SQPOS 303 on a usb stick.

Going to expand the file system with GParted on a raspberry pi and then try to install LMS v8.5.2

ronnie
Man in a van
Posts: 503
Joined: Sun Aug 25, 2013 2:39 pm
Location: Staffordshire. UK

Re: Standalone Installation

Post by Man in a van »

So, in the mean time;

I installed the latest Bullseye Debian image for Joggler on a 16Gb usb stick

As wireless is not working I connected with an ethernet cable

Used Putty to SSH in

ran

Code: Select all

sudo apt update
#then
sudo of-install squeezeplay && sudo of-expand
When the joggler came back up I ignored the squeezeplay configuration and returned with Putty

Checked the perl version

Code: Select all

of@openframe:~$ perl -v

This is perl 5, version 32, subversion 1 (v5.32.1) built for i686-linux-gnu-thread-multi-64int
(with 48 registered patches, see perl -V for more detail)
ran

Code: Select all

sudo apt install -y libcrypt-openssl-bignum-perl libcrypt-openssl-random-perl libcrypt-openssl-rsa-perl libio-socket-ssl-perl libnet-libidn-perl libnet-ssleay-perl perl-openssl-defaults lame

wget https://downloads.lms-community.org/LogitechMediaServer_v8.5.2/logitechmediaserver_8.5.2_i386.deb

sudo dpkg -i logitechmediaserver_8.5.2_i386.deb
Downloaded the Binaries (I can send you a link) and installed them

restarted LMS and connected to it via a browser and installed radio paradise plugin

rebooted

when the Joggle came back up I configured squeezeplay and connected to the Openframe LMS

Played radio paradise through the Joggler speakers

There is more to do, but will do that later


ronnie
Man in a van
Posts: 503
Joined: Sun Aug 25, 2013 2:39 pm
Location: Staffordshire. UK

Re: Standalone Installation

Post by Man in a van »

Man in a van wrote: Wed Jul 17, 2024 10:30 am Sorry I made an error in my post Dave

I am currently installing SQPOS 303 on a usb stick.

Going to expand the file system with GParted on a raspberry pi and then try to install LMS v8.5.2

ronnie
Well it took a lonk time but I came back to this, ssh'd in and ran sudo apt update and got the following message

Code: Select all

login as: joggler
joggler@192.168.1.207's password:
Last login: Wed Jul 17 12:18:54 2024
joggler@openframe:~$ ls
joggler@openframe:~$ sudo apt update
Err http://ubuntu.datahop.net trusty InRelease

Err http://ubuntu.datahop.net trusty-updates InRelease

Err http://ubuntu.datahop.net trusty-backports InRelease

Err http://ubuntu.datahop.net trusty-security InRelease

Err http://ubuntu.datahop.net trusty Release.gpg
  Could not resolve 'ubuntu.datahop.net'
Err http://ubuntu.datahop.net trusty-updates Release.gpg
  Could not resolve 'ubuntu.datahop.net'
Err http://ubuntu.datahop.net trusty-backports Release.gpg
  Could not resolve 'ubuntu.datahop.net'
Err http://ubuntu.datahop.net trusty-security Release.gpg
  Could not resolve 'ubuntu.datahop.net'
Reading package lists... Done
W: Failed to fetch http://ubuntu.datahop.net/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://ubuntu.datahop.net/ubuntu/dists/trusty-updates/InRelease

W: Failed to fetch http://ubuntu.datahop.net/ubuntu/dists/trusty-backports/InRelease

W: Failed to fetch http://ubuntu.datahop.net/ubuntu/dists/trusty-security/InRelease

W: Failed to fetch http://ubuntu.datahop.net/ubuntu/dists/trusty/Release.gpg  Could not resolve 'ubuntu.datahop.net'

W: Failed to fetch http://ubuntu.datahop.net/ubuntu/dists/trusty-updates/Release.gpg  Could not resolve 'ubuntu.datahop.net'

W: Failed to fetch http://ubuntu.datahop.net/ubuntu/dists/trusty-backports/Release.gpg  Could not resolve 'ubuntu.datahop.net'

W: Failed to fetch http://ubuntu.datahop.net/ubuntu/dists/trusty-security/Release.gpg  Could not resolve 'ubuntu.datahop.net'

W: Some index files failed to download. They have been ignored, or old ones used instead.
joggler@openframe:~$
joggler@openframe:~$
I had completely forgotten about this :o

There is a workaround but I would have to search for it and I don't have any more time today

Also this version is on a really old Ubuntu with

Code: Select all

joggler@openframe:~$ perl -v

This is perl 5, version 18, subversion 2 (v5.18.2) built for i686-linux-gnu-thread-multi-64int
and I don't know if the binaries are still available or if LMS will even run on it anymore :roll:

ronnie
Man in a van
Posts: 503
Joined: Sun Aug 25, 2013 2:39 pm
Location: Staffordshire. UK

Re: Standalone Installation

Post by Man in a van »

Man in a van wrote: Wed Jul 17, 2024 12:15 pm So, in the mean time;

I installed the latest Bullseye Debian image for Joggler on a 16Gb usb stick


There is more to do, but will do that later


ronnie
well I thought I would finish this, so here we are:

Install a Music folder on the usb stick and make it available via Samba from a windows 10 Pro Desktop

I used Putty to ssh into the joggler

Code: Select all

sudo /etc/init.d/logitechmediaserver stop

mkdir Music

sudo apt update && sudo apt full-upgrade -y 

sudo apt install samba samba-common-bin

sudo nano /etc/samba/smb.conf

#add the following block to the bottom of the page, save and exit

[joggler]
path = /home/of/Music
writeable = yes
browseable = yes
public=no


#then add a password

sudo smbpasswd -a of

sudo systemctl restart smbd

#find the ip address, and make a note of it

ip a

sudo reboot

On Windows 10

go to This Computer > Computer > Map Network Drive

add the ip address and name into the folder box

#example

\\192.168.1.207\joggler

click finish

You might need to add user and password

I have sent a download link for the perl 32 binaries

I think Bullseye is the better for this application as it only get security updates, so if the joggler is only on the local network and not connecting to the internet it should be safe :)

ronnie
wcndave
Posts: 65
Joined: Tue Dec 17, 2013 10:21 am

Re: Standalone Installation

Post by wcndave »

Wow thanks so much! Didn't get time yet to try this out, but I will as soon as I can. Thanks again! Dave
Post Reply