Page 1 of 1

Squeezeplay image for internal mmc / usb

Posted: Wed May 30, 2012 10:54 pm
by Wilberforce
Not sure if this any use to anybody but I've created an image of my dedicated squeezeplay install for the internal mmc. It is based on Buzz's ubuntu 11.04 and Roobarbs squeezeplay (with a few tweaks). It uses my network applet for squeezeplay which should handle autoswitching to wired, autoreconnecting etc (see here)

You can grab the image here.

Just uncompress the image (with unxz or similar), stick it on a usb stick containing a joggler bootable GNU/Linux distro and copy to the mmc:

mmc instructions:

first check the md5 of the uncompressed image(squeeze-11-04.image):

Code: Select all

md5sum squeeze-11-04.image
This should be:

Code: Select all

14a309f6e6e4fc4547aa4087d95334b0
Then copy:

Code: Select all

dd if=squeeze-11-04.image of=/dev/mmcblk0
Probably wise to backup your original mmc image. Oh yeah, I should probably mention that everything is at your own risk :D

usb instructions
uncompress with 7zip or unxz

burn uncompressed image to usb key with dd or win32diskimager

Edit: as pointed out by gadget_hunter you can also put this on a usb stick.

Re: Squeezeplay image for internal mmc

Posted: Fri Jun 01, 2012 3:36 pm
by kroonen
It's bootinbg, i get wireles connection ut it fails to connect to mysqueeze

So i thought login over ssh , but username joggler password joggler doesnt work. What is the acount for it?

regards Richard

Re: Squeezeplay image for internal mmc

Posted: Fri Jun 01, 2012 6:38 pm
by Wilberforce
Opps, forgot to mention that...

username: ubuntu
password: ubuntu

Re: Squeezeplay image for internal mmc

Posted: Fri Jun 01, 2012 7:08 pm
by Wilberforce
Have you tried adding the IP of your squeezebox server in settings > advanced > networking > remote libraries > add new library? Or are you getting stuck on the welcome setup?

Re: Squeezeplay image for internal mmc

Posted: Fri Jun 01, 2012 9:54 pm
by kroonen
OK, I can connect to it. Networking is ok I can ping to mysqueezebox.com, but with squeezeplay I can't connect to it.

Any idea what goes wrong?

Re: Squeezeplay image for internal mmc

Posted: Fri Jun 01, 2012 11:47 pm
by Wilberforce
I don't use mysqueezebox.com but do you have to open port 3483 (tcp)?

Are you trying to login to an existing account or create a new one? The account creation did not work for me but I can successfully login.

Is this something you've had working before?

Re: Squeezeplay image for internal mmc

Posted: Sat Jun 02, 2012 8:58 pm
by kroonen
I already have an acccount , and use the ubuntu 12.04 version with squeezeplay installed it works fine

Re: Squeezeplay image for internal mmc

Posted: Sun Jun 03, 2012 3:06 pm
by Wilberforce
Can't reproduce this. You could try enabling the logs to see if it outputs anything useful - just change the redirect in ~/.bashrc or /opt/squeezeplay/bin/squeezeplay.sh.

Re: Squeezeplay image for internal mmc

Posted: Sun Jun 03, 2012 9:03 pm
by kroonen
Hi,

After installing an logitech media server and selected the in squeezeplay it works. The only thing isn't wokring after rebooting the joggler it doesn't connect automatic to my accesspoint

Re: Squeezeplay image for internal mmc

Posted: Sun Jun 03, 2012 10:01 pm
by Wilberforce
I'll check that out. Could you confirm you have auto reconnect enabled in the applet? This should also show up as:

Code: Select all

auto_reconnect = True
in /etc/wicd/manager-settings.conf.

Edit: Just tried - looks like a bug. I'll look into it.

Re: Squeezeplay image for internal mmc

Posted: Mon Jun 04, 2012 1:09 am
by Wilberforce
Tracked it down... Need to set the wireless network property "automatic" to True for each wireless network you want to autoconnect to. I'll add a toggle on the "Wireless Setup" screen. If you want a quick fix you can add:

Code: Select all

 automatic = True 
to the appropriate section in /etc/wicd/wireless-settings.conf

Re: Squeezeplay image for internal mmc

Posted: Mon Jun 04, 2012 3:54 pm
by Wilberforce
I've made a patch and was wondering if you could test?

Code: Select all

cd /opt/squeezeplay/share/jive/applets 

Code: Select all

patch -p1 < [path to patch]/0001-Added-auto-reconnect-toggle-to-WirelessSetup.-Save-W.patch.txt 
Then on the "WirelessSetup" screen (where you set IP and connect), you should be able to toggle the auto reconnect flag.

Re: Squeezeplay image for internal mmc

Posted: Mon Jun 04, 2012 9:46 pm
by kroonen
Him

The patch works, it's now reconnecting after a reboot

regards Richard

Re: Squeezeplay image for internal mmc

Posted: Tue Jun 05, 2012 1:19 am
by Wilberforce
kroonen wrote:Him

The patch works, it's now reconnecting after a reboot

regards Richard
Thanks for testing.

For everyone else: I'll update the opening post with a new image at some stage ( I'll make it clear its a new version), in the mean time please use the provided patch.

Re: Squeezeplay image for internal mmc / usb

Posted: Thu Jun 21, 2012 2:46 pm
by Wilberforce
few small changes to save your mmc/usb key some writes:

in /etc/wicd/manager-settings.conf make sure you have:

Code: Select all

debug_mode = False
in /etc/logrotate.d/wicd.logrotate use rotate 0, full listing:

Code: Select all

/var/log/wicd/wicd.log {
    missingok
    notifempty
    size 30k
    rotate 0
    create 0640 root adm
}
these changes will mean logs are lost at each reboot

uncomment these lines in /etc/fstab:

Code: Select all

tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
tmpfs /var/tmp tmpfs defaults,noatime,mode=1777 0 0
tmpfs /var/log tmpfs defaults,noatime,mode=0755 0 0 
tmpfs /var/log/apt tmpfs defaults,noatime 0 0
remove logs on mmc:

Code: Select all

sudo rm -rf /var/log
sudo mkdir /var/log 
and reboot.

Re: Squeezeplay image for internal mmc / usb

Posted: Fri Jun 22, 2012 5:59 pm
by Fursty Ferret
How on earth do you copy the image to a USB stick? The operation always fails with "insufficient disk space" and there's no way to enlarge the partition.

Re: Squeezeplay image for internal mmc / usb

Posted: Fri Jun 22, 2012 8:57 pm
by Wilberforce
Fursty Ferret wrote:How on earth do you copy the image to a USB stick? The operation always fails with "insufficient disk space" and there's no way to enlarge the partition.
Are you uncompressing the image with 7zip/unxz first?

Re: Squeezeplay image for internal mmc / usb

Posted: Tue Jun 26, 2012 11:25 pm
by roobarb!
I've made a version of SqueezePlay for the internal MMC now - take a peek at the SqueezePlay OS topic. :)

Re: Squeezeplay image for internal mmc / usb

Posted: Wed Jun 27, 2012 1:00 am
by Wilberforce
roobarb! wrote:I've made a version of SqueezePlay for the internal MMC now - take a peek at the SqueezePlay OS topic. :)
Did you rebase to 12.04 or are you still using 10.04?

Don't forget this version has my networking applet and power saving patches pre-applied :D

Re: Squeezeplay image for internal mmc / usb

Posted: Tue Sep 25, 2012 2:28 pm
by roobarb!
Wilberforce wrote:
roobarb! wrote:I've made a version of SqueezePlay for the internal MMC now - take a peek at the SqueezePlay OS topic. :)
Did you rebase to 12.04 or are you still using 10.04?

Don't forget this version has my networking applet and power saving patches pre-applied :D
Sorry I never replied to this - just realised when I was looking at one of your posts!

I just used 10.04 again because I'm happy I know my way around it and it's still supported until 2015. There were a couple of extra foibles with 12.04, so I ditched it pretty much immediately. I'll probably jump on board when it reaches 12.04.2... ;)