SqueezePlay OS (Version 3) for OpenFrame

General discussion relating to the O2 Joggler, from the default O2 setup, to alternative operating systems and applications.
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by castalla »

1. Are you using this: http://birdslikewires.co.uk/download/op ... ext.img.gz

2. Extract img file

3 Write img to usb
Error
Posts: 243
Joined: Wed Sep 18, 2013 2:13 pm

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by Error »

yes yes and yes.

There's something strange going on.

Stick1 with v1.09 recently started acting weird and the :9000 page of LMS kept loading but never really did.

So I decided to update.
Stick2 with v3 won't boot properly.
Stick2 with v1.09 again results in the same behaviour. The same (non standard) screensaver is there and :9000 fails to load again. It just seems like the same installation as with stick v1.09 but how can that be if I used another stick with a fresh written image??

What should I do now?
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by castalla »

What are you using to write the img ?
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by castalla »

Also, what browser are you using to connect to LMS?
Error
Posts: 243
Joined: Wed Sep 18, 2013 2:13 pm

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by Error »

I'm using Win32diskImager, WIndows7 64 bit.

I'm using Firefox. But tried Internet Explorer as well and that didn't work also.
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by castalla »

Wired or wifi?
Man in a van
Posts: 485
Joined: Sun Aug 25, 2013 2:39 pm
Location: Staffordshire. UK

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by Man in a van »

Error wrote:yes yes and yes.

There's something strange going on.

Stick1 with v1.09 recently started acting weird and the :9000 page of LMS kept loading but never really did.

So I decided to update.
Stick2 with v3 won't boot properly.
Stick2 with v1.09 again results in the same behaviour. The same (non standard) screensaver is there and :9000 fails to load again. It just seems like the same installation as with stick v1.09 but how can that be if I used another stick with a fresh written image??

What should I do now?
remember the basics and try these tools for your usb sticks

reformathttp://www.softpedia.com/get/System/Har ... Tool.shtml

write imagehttp://forum.odroid.com/viewtopic.php?f=53&t=947

atb

Ronnie.
User avatar
JimbobVFR400
Posts: 264
Joined: Fri Jul 20, 2012 8:39 pm

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by JimbobVFR400 »

But 1.09 doesn't have LMS installed by default, there's an option to install it within the Squeeze play interface. Are you sure its not a cached browser page or LMS on a different machine you're seeing.
Error
Posts: 243
Joined: Wed Sep 18, 2013 2:13 pm

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by Error »

Castalla I use the Joggler wired (as all my fixed stuff like TV, PS3, NAS, PC.)

No it's not cached, i switched it off and now :9000 can't be reached, no reaction. That makes sense, its off..

I pulled the stick on which SqpOS is installed and let it boot from flash, it should now boot in PNPIII. But again it boots in v1.09 ???
For the record: no stick plugged in... Anyone seen this before yet?

So I'm guessing to reflash the original system again? And then format the stick and put SQPOS on it again? Any other thoughts?
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by castalla »

I'm getting lost! Looks like you've managed to install the internal version of Sgpos at some point.

Back to square one, I think.
Error
Posts: 243
Joined: Wed Sep 18, 2013 2:13 pm

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by Error »

I decided to start all over again.

- reflashed the joggler with reflash tool 1.11
- reflashed it with OF1_v30300
- Installed PNPIII (fresh version) on the internal memory (took VERY long to complete but succes!)
- grabbed my new 8gb stick, wrote SqPOSv300 to it
- used gparted to expand the root of the stick
- popped it in, it took quite some time but it booted.
- LMS took ages to install, also the Joggler reacts quite slow on commands.
- Network share succesfully mounted, all the files were scanned.

So far so good.

BUT
- it won't connect the player to the server. If i login to :9000 I can see there is no player connected. On the joggler I try to connect to "ServerMusic" (library) and it returns a failure ((in Dutch so translated ;) ) "can't make a connection to server, check if computer is on and connected to your network. ALso check if LMS is running"). I rebooted the Joggler, same story. Strange; since I can access LMS it must be alive, and connectable over the network. And if that's the case then why can't I connect? Suggestions?

And why is it that the joggler responds so slow on commands? Is this a network-issue? I suppose I could reboot the router.

EDIT:
never mind; after another relaunch I was able to connect player to server again. So up and running again, with version v3!

Thanks for your support along the way!
papaiannis
Posts: 66
Joined: Tue May 15, 2012 9:53 pm

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by papaiannis »

I have installed SqOS v3 on the internal flash memory of my joggler.
Then I installed the nightly build of Logitech Media Server v7.9. The installation succeeded, but there is no free flash memory fo indexes.
Is there some package that I can remove to free some memory space? (I don't use wireless and samba.)
Thank you.
B.R.
Alekos
User avatar
roobarb!
Posts: 1746
Joined: Sat Mar 05, 2011 1:30 pm
Location: Salford, UK
Contact:

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by roobarb! »

Just a quick note - I'm in the process of moving servers, so things will be wonky for a short time. Should be back soon!
BirdsLikeWires - Get fresh builds of Debian Bullseye and Bookworm for OpenFrame with the latest 5.10 and 6.1 kernels! 8-)
User avatar
roobarb!
Posts: 1746
Joined: Sat Mar 05, 2011 1:30 pm
Location: Salford, UK
Contact:

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by roobarb! »

papaiannis wrote:I have installed SqOS v3 on the internal flash memory of my joggler.
Then I installed the nightly build of Logitech Media Server v7.9. The installation succeeded, but there is no free flash memory fo indexes.
Is there some package that I can remove to free some memory space? (I don't use wireless and samba.)
Wouldn't save you that much space.

My advice - use a USB stick if you're wanting LMS. Even on the older versions where you could install LMS from the menus, once you did, it would quickly fall over through not being able to write it's database files. I managed to fudge it by deleting binaries for other architectures, but really, just use a little stick. If you don't need wireless, you could even pop the stick inside.
BirdsLikeWires - Get fresh builds of Debian Bullseye and Bookworm for OpenFrame with the latest 5.10 and 6.1 kernels! 8-)
User avatar
roobarb!
Posts: 1746
Joined: Sat Mar 05, 2011 1:30 pm
Location: Salford, UK
Contact:

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by roobarb! »

roobarb! wrote:Just a quick note - I'm in the process of moving servers, so things will be wonky for a short time. Should be back soon!
Done! On a lovely 1Gbps connection now. :)
BirdsLikeWires - Get fresh builds of Debian Bullseye and Bookworm for OpenFrame with the latest 5.10 and 6.1 kernels! 8-)
User avatar
palindrom
Posts: 67
Joined: Mon Jan 27, 2014 4:14 pm

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by palindrom »

I have been an early bird by downloaded your 3.00 version:

18.09.14 - b13added3cd7e5511d123348af64eb0c *sqpos300_of1.img.gz

and I am was facing a problem where all my jogglers stoped working after a couple of days when I rebooted them (freezing during loading).

I have seen that there is now a newer version for downloading with the same version number (?!).

22.09.14 - 12490d0090e345e3609255a868c82adc *sqpos300_of1.img.gz

Has there been any update addressing the issues I described above?
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by castalla »

I'm using the image which I downloaded on 19 Sept. - no issues.
User avatar
palindrom
Posts: 67
Joined: Mon Jan 27, 2014 4:14 pm

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by palindrom »

palindrom wrote:
18.09.14 - b13added3cd7e5511d123348af64eb0c *sqpos300_of1.img.gz

22.09.14 - 12490d0090e345e3609255a868c82adc *sqpos300_of1.img.gz
The "18.09.14" version seems to be buggy (eg. automatic display dim not working ... ).
Ensure to download the current version 3!

Tired of getting a new random LAN MAC address after FW update?
Just use the WLAN MAC Address for LAN (as the Logitech does as well).

Just replace [EDIT: path corrected]
/opt/squeezeplay/bin/sqp_JogglerNetwork.sh (UPDATED to LOCAL WLAN-MAC)

Code: Select all

#!/bin/bash

# sqpnetapply v1.04 (21st June 2012) by Andy Davison
#  Executed by JogglerNetwork - only used on SqueezePlay OS
#  Extended 2013 for WalnMAC by Heiko Steinwender

DEBUG=0

readnetsettings() {
	
	SETTINGS=`cat ~/.squeezeplay/userpath/settings/JogglerNetwork.lua 2>/dev/null`
	LOOPVAR=${SETTINGS}

	if [ "$SETTINGS" != "" ]; then
		while echo $LOOPVAR | grep \, >/dev/null
		do

			LOOPTEMP=${LOOPVAR%%\,*}
			LOOPVAR=${LOOPVAR#*\,}

			VAR=`echo $LOOPTEMP | awk -F\= '{print $1}'`
			VAL=`echo $LOOPTEMP | awk -F\" '{print $2}'`

			[[ "$VAR" =~ "settings" ]] && NIC="$VAL"
			[[ "$VAR" == "ssid" ]] && SSID="$VAL"
			[[ "$VAR" == "psk" ]] && PSK="$VAL"
	
			[ $DEBUG -eq 1 ] && echo "This is the VAR = $VAR"
			[ $DEBUG -eq 1 ] && echo "This is the VAL = $VAL"

		done
	else
		NIC="lo"
	fi

	[ $DEBUG -eq 1 ] && echo
	[ $DEBUG -eq 1 ] && echo "The NIC is $NIC"
	[ $DEBUG -eq 1 ] && echo "The SSID is $SSID"
	[ $DEBUG -eq 1 ] && echo "The PSK is $PSK"
	
}

applynetsettings() {
	
	# Build the interfaces file
	echo "auto lo" > /tmp/interfaces.tmp
	echo "iface lo inet loopback" >> /tmp/interfaces.tmp
	echo >> /tmp/interfaces.tmp
	echo "auto $NIC" >> /tmp/interfaces.tmp
	echo "iface $NIC inet dhcp" >> /tmp/interfaces.tmp
	
	if [ "$NIC" == "wlan0" ]; then
		[ "$SSID" != "" ] && echo "wpa-ssid \"$SSID\"" >> /tmp/interfaces.tmp
		[ "$SSID" != "" ] && echo "wpa-psk \"$PSK\"" >> /tmp/interfaces.tmp
	fi
	
	if [ "$NIC" == "eth0" ]; then
		wlanmac=`ifconfig -a | grep "wlan0" 2>&1`
		if [ $? == 0 ]; then 
			wlanmac=`echo -n $wlanmac | awk -F\addr {'print $2'} | awk -F\  {'print $1'}`
			wlanmac=02"${wlanmac: -15}"
			ethmac=`ifconfig -a | grep "eth0"  | awk -F\addr {'print $2'} | awk -F\  {'print $1'}`
			sed "s/$ethmac/$wlanmac/I" -i ~/.squeezeplay/userpath/settings/*.lua
			echo "hwaddress ether $wlanmac" >> /tmp/interfaces.tmp
		fi
		echo >> /tmp/interfaces.tmp
		echo "auto wlan0" >> /tmp/interfaces.tmp
		echo "iface wlan0 inet dhcp" >> /tmp/interfaces.tmp
	fi
	
	# Overwrite the previous interfaces file
	sudo mv /tmp/interfaces.tmp /etc/network/interfaces
	sudo chown root:root /etc/network/interfaces
	
	if [[ "$NIC" == "wlan0" ]] && [[ "$PSK" != "" ]]; then
		sudo chmod 600 /etc/network/interfaces
	else
		sudo chmod 644 /etc/network/interfaces
	fi
	
}

if [ "$1" == "apply" ]; then

	readnetsettings
	sleep 1
	applynetsettings
	sleep 1
	sudo reboot
	exit 0

elif [ "$1" == "reset" ]; then
	
	rm ~/.squeezeplay/userpath/settings/JogglerNetwork.lua &>/dev/null
	sudo rm /etc/network/joggler-eth
	sudo rm /etc/udev/rules.d/70-persistent-net.rules
	sudo touch /etc/udev/rules.d/70-persistent-net.rules
	NIC="eth0"
	applynetsettings
	sudo chmod 644 /etc/network/interfaces
	exit 0
	
elif [ "$1" == "ip" ]; then
	
	readnetsettings
	if [[ "$NIC" =~ "wlan" ]]; then
		INTERFACE="Wireless"
	elif [[ "$NIC" =~ "eth" ]]; then
		INTERFACE="Ethernet"
	else
		INTERFACE=""
	fi
	IP=`ifconfig $NIC | grep 'inet addr' | awk -F\addr: {'print $2'} | awk -F\  {'print $1'}`
	
	# Be really careful with this output. For any network fail the return MUST begin 'No network' for SetupWelcome applet.
	if [ "$INTERFACE" != "" ] && [ "$IP" != "" ]; then
		echo -n "$INTERFACE interface is active. Current IP: $IP"
	elif [ "$INTERFACE" != "" ]; then
		echo -n "No network address has been assigned to the $INTERFACE interface ($NIC)."
	else
		echo -n "No network has been configured or it is inaccessible."
	fi
	exit 0
	
else

	echo "I've got nothing to do."
	exit 0
	
fi
Last edited by palindrom on Sun Nov 16, 2014 3:46 pm, edited 3 times in total.
User avatar
roobarb!
Posts: 1746
Joined: Sat Mar 05, 2011 1:30 pm
Location: Salford, UK
Contact:

SqueezePlay OS (Version 3) for OpenFrame

Post by roobarb! »

palindrom wrote:I have seen that there is now a newer version for downloading with the same version number (?!).
Yup, I uploaded a tweaked version, but it was incredibly minor - think it was a comment in a script or something. It was largely to test out a build script I'd made, if I remember right.

Well spotted! Shouldn't have had any impact on the issue you saw, though. :)
BirdsLikeWires - Get fresh builds of Debian Bullseye and Bookworm for OpenFrame with the latest 5.10 and 6.1 kernels! 8-)
roughlychiron
Posts: 38
Joined: Mon Feb 24, 2014 6:07 pm

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by roughlychiron »

Hi again Everyone,

Tried out newest version last night ... seems to work fine BUT will not now play my WAV files ..... is this a known issue? has the facility been dropped?

Cheers
Post Reply