Squeezeplay image for internal mmc / usb

General discussion relating to the O2 Joggler, from the default O2 setup, to alternative operating systems and applications.
Post Reply
Wilberforce
Posts: 134
Joined: Sun Apr 15, 2012 4:52 pm

Squeezeplay image for internal mmc / usb

Post 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.
Last edited by Wilberforce on Sat Jun 23, 2012 12:16 am, edited 3 times in total.
kroonen
Posts: 16
Joined: Sun May 20, 2012 1:34 pm

Re: Squeezeplay image for internal mmc

Post 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
Wilberforce
Posts: 134
Joined: Sun Apr 15, 2012 4:52 pm

Re: Squeezeplay image for internal mmc

Post by Wilberforce »

Opps, forgot to mention that...

username: ubuntu
password: ubuntu
Wilberforce
Posts: 134
Joined: Sun Apr 15, 2012 4:52 pm

Re: Squeezeplay image for internal mmc

Post 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?
kroonen
Posts: 16
Joined: Sun May 20, 2012 1:34 pm

Re: Squeezeplay image for internal mmc

Post 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?
Wilberforce
Posts: 134
Joined: Sun Apr 15, 2012 4:52 pm

Re: Squeezeplay image for internal mmc

Post 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?
kroonen
Posts: 16
Joined: Sun May 20, 2012 1:34 pm

Re: Squeezeplay image for internal mmc

Post by kroonen »

I already have an acccount , and use the ubuntu 12.04 version with squeezeplay installed it works fine
Wilberforce
Posts: 134
Joined: Sun Apr 15, 2012 4:52 pm

Re: Squeezeplay image for internal mmc

Post 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.
kroonen
Posts: 16
Joined: Sun May 20, 2012 1:34 pm

Re: Squeezeplay image for internal mmc

Post 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
Wilberforce
Posts: 134
Joined: Sun Apr 15, 2012 4:52 pm

Re: Squeezeplay image for internal mmc

Post 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.
Wilberforce
Posts: 134
Joined: Sun Apr 15, 2012 4:52 pm

Re: Squeezeplay image for internal mmc

Post 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
Wilberforce
Posts: 134
Joined: Sun Apr 15, 2012 4:52 pm

Re: Squeezeplay image for internal mmc

Post 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.
Attachments
0001-Added-auto-reconnect-toggle-to-WirelessSetup.-Save-W.patch.txt
(2.3 KiB) Downloaded 421 times
kroonen
Posts: 16
Joined: Sun May 20, 2012 1:34 pm

Re: Squeezeplay image for internal mmc

Post by kroonen »

Him

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

regards Richard
Wilberforce
Posts: 134
Joined: Sun Apr 15, 2012 4:52 pm

Re: Squeezeplay image for internal mmc

Post 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.
Wilberforce
Posts: 134
Joined: Sun Apr 15, 2012 4:52 pm

Re: Squeezeplay image for internal mmc / usb

Post 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.
Fursty Ferret
Posts: 4
Joined: Fri Apr 27, 2012 9:04 am

Re: Squeezeplay image for internal mmc / usb

Post 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.
Wilberforce
Posts: 134
Joined: Sun Apr 15, 2012 4:52 pm

Re: Squeezeplay image for internal mmc / usb

Post 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?
User avatar
roobarb!
Posts: 1769
Joined: Sat Mar 05, 2011 1:30 pm
Location: Salford, UK
Contact:

Re: Squeezeplay image for internal mmc / usb

Post by roobarb! »

I've made a version of SqueezePlay for the internal MMC now - take a peek at the SqueezePlay OS topic. :)
BirdsLikeWires - Get fresh builds of Debian Bullseye, Bookworm, and Trixie for OpenFrame with the latest 5.10, 6.1, and 6.12 kernels! 8-)
Wilberforce
Posts: 134
Joined: Sun Apr 15, 2012 4:52 pm

Re: Squeezeplay image for internal mmc / usb

Post 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
User avatar
roobarb!
Posts: 1769
Joined: Sat Mar 05, 2011 1:30 pm
Location: Salford, UK
Contact:

Re: Squeezeplay image for internal mmc / usb

Post 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... ;)
BirdsLikeWires - Get fresh builds of Debian Bullseye, Bookworm, and Trixie for OpenFrame with the latest 5.10, 6.1, and 6.12 kernels! 8-)
Post Reply