EEK!!!!

38 replies [Last post]
g7pkf
Offline
United Kingdom
Joined: 11 Jan 2011

We are updating the Joggler between 30th April and 4th May with a new, larger set of apps and new look. You’ll now get great services like YouTube, Facebook, Google Maps, and many more. At the same time, we’ll be removing the O2 apps.

 

We are doing this so that we can focus on bring new, more innovative services to market.

 

Will this impact our HAH on jogglers at all?

 

http://service.o2.co.uk/IQ/SRVS/CGI-BIN/WEBCGI.EXE?New,Kb=Companion,Prob...

 

brett
Offline
Providence, United States
Joined: 9 Jan 2010
Yeah I saw that too I have no

Yeah I saw that too I have no idea... we might all be in for a world of pain - I guess we wait.

Brett

g7pkf
Offline
United Kingdom
Joined: 11 Jan 2011
BACKUP BACKUP BACKUP BACKUP

TITLE SAYS IT ALL

brett
Offline
Providence, United States
Joined: 9 Jan 2010
Disable joggler automatic updates

From: http://webdiary.com/2010/11/05/squeezebox-server-on-a-budget/

  • Disable automatic software updating to ensure that all your good work is not undone in the future:
echo "127.0.0.1 localhost applog.openpeak.net o2.openpeak.com o2.openpeak.co.uk" >/etc/hosts

For what its worth I've done this on my joggler

g7pkf
Offline
United Kingdom
Joined: 11 Jan 2011
One joggler

Is plugged in24/7 lets see what happens.

 

the other is presently unplugged literally!

 

Dean

derek
Offline
Glasgow, United Kingdom
Joined: 26 Oct 2009
Perhaps no panic

 

Looks like they aren't closing backdoors as they specifically mention ubuntu etc.
I suspect that they are just reverting to openpeak standard offerings and removing SMS capability.
That said, I've got an 'offline' unit too (reminder to self ... it actually belongs to Brett).
Derek

 

brett
Offline
Providence, United States
Joined: 9 Jan 2010
Quick update -My joggler just

Quick update -My joggler just updated itself.  I've not had a chance to investigate what has happened in detail.

But I can say the flash app is installed and working with my customisations so this is a good sign.

The new graphics are very pretty - lots of games got installed too.

g7pkf
Offline
United Kingdom
Joined: 11 Jan 2011
huh?

Thought it was on a boat or is the one in dereks basement (dungeon of doom :) )

 

Dean

brett
Offline
Providence, United States
Joined: 9 Jan 2010
My livebox is but I kept onto

My livebox is but I kept onto the joggler here in the US as it was serving a vital function monitoring the temperature from a couple of jeenodes.   The change to enable the SSHD has been backed out as part of this upgrade process so I'm going to have to break back into it before I can post screenshots.  :(

UPDATE: spoke too soon my joggler it now complete shagged.  I tried to get command line access back and now evnr the xap flash app is no longer works and nor do I have command line access either.   I'm going to reflash it with ubuntu and this image can goto hell.   Like I have time for this crap.   Why couldn't they just leave it the hell alone. !?

Brett

BodgeIT
Offline
London, United Kingdom
Joined: 10 Jun 2010
Mine updated lasted night

Mine updated lasted night while I was out with the missus.

Came back to all the new glossy apps...bit hard to find the one you want in my opinion.

Anyhoo my XAP still works with all my config, so think I got lucky.

My squeeze box control doesn't work, nor does JogTools and no SSHD running.

BBC TV Live now runs much better...actually useable

Had you been doing any fancy dev type stuff on yours Brett?  Compiling or any of that high brow stuff?

brett
Offline
Providence, United States
Joined: 9 Jan 2010
I managed to hack my way back

I managed to hack my way back in my booting Ubuntu off of a flash drive and then mounting the internal filesystem and installing TELNET to autoboot.

MAKE SURE TELNETD IS WORKING BEFORE YOU GET THE UPDATES OR YOU WILL GET LOCKED OUT AND NEED TO BREAK IN THE HARD WAY.  SSH GETS DISABLED DUE TO A LIBRARY ISSUE.

Create yourself a small shell script that starts it up and test it out before the upgrade comes.  More later.

# cat /etc/init.d/boot.d/S13boot.telnet
#!/bin/sh

start()
{
  # enable telnet
  /usr/sbin/telnetd
}

stops()
{
  killall telnetd
}

case "$1" in
    start)
      start
      ;;

    stop)
      stop
      ;;

    try-restart)
      $0 stop && $0 start
      ;;

    restart)
      stop
      start
      ;;

    status)
      exit 2
      ;;

    *)
      echo "Usage: ${0##*/} {start|stop|status|try-restart|restart}"
      exit 1
      ;;
esac
exit 0

brett
Offline
Providence, United States
Joined: 9 Jan 2010
Why SSHD is broken after the joggler upgrade

Why SSHD is broken after the joggler upgrade.

# sshd
sshd: error while loading shared libraries: libgssapi_krb5.so.2: cannot open shared object file: No such file or directory
#

When the upgrade happens the following library where upgraded

# cd /usr/lib
# ls -l libgss*
-rw-r--r--    1 root     root       167832 May 10 08:30 libgssapi_krb5.so
-rw-r--r--    1 root     root       167832 Apr  7  2009 libgssapi_krb5.so.2.2
#

So you need to create a symbolic link back for the old version of the library the SSHD is trying to load.

# ln -s libgssapi_krb5.so libgssapi_krb5.so.2

The other thing that happens is that the /etc/init.d/boot.d/S69boot.sshd script gets reverted so you need to remove the keyword OFF that is in this file.

export PATH="${PATH:+$PATH:}/usr/sbin:/sbin"

case "$1"OFF in
  start)
        check_privsep_dir

These commands will take care of the changed needed to this file.

sed -i "s/OFF in/\ in/g" /etc/init.d/boot.d/S69boot.sshd
sed -i "s/log_daemon_msg/\#\ log_daemon_msg/g" /etc/init.d/boot.d/S69boot.sshd

UPDATE: And make sure /etc/ssh/sshd_config has the following configuration entries

PermitRootLogin yes
UsePAM no
brett
Offline
Providence, United States
Joined: 9 Jan 2010
Some screen shots of what the joggler looks like after uplift

Some screen shots of what the joggler looks like after the ugprade.

 

Managed to get all my native stuff working again too - wifey will be pleased...

Brett

aivo
Offline
Tallinn, Estonia
Joined: 2 Mar 2011
PnP Mk II

For those looking for an "older" look here is smth like this, including reference to Stock OS reflashing tools:
PnP Mk II - Here it is! - http://www.jogglerwiki.com/forum/viewtopic.php?f=2&t=428

Updated to one in end of April and no forced updates from O2 (yet).  Unsure if any measures taken against ..

Aivo

 

AttachmentSize
Screenshot-Joggler.png 172.36 KB
kevin
Offline
Huddersfield, United Kingdom
Joined: 17 May 2010
A little knowledge is a dangerous thing...

Sorry - not a Linux person at all.    I followed the above (reverting the symbolic link) down to the bit where I need to edit the /etc/init.d/S69boot.sshd script, where I assumed it easiest to run sshd in order to do this edit. But on trying to start sshd I now get

# sshd
sshd re-exec requires execution with an absolute path

I tried this
# /usr/sbin/sshd
Missing privilege separation directory: /var/run/sshd

what path should I be using ?

brett
Offline
Providence, United States
Joined: 9 Jan 2010
You have an additional issue

You have an additional issue that I never had you are missing the directory /var/run/sshd

# mkdir /var/run/sshd

kevin
Offline
Huddersfield, United Kingdom
Joined: 17 May 2010
Thanks Brett - obvious I

Thanks Brett - obvious I guess ... now I just have to suss out the username / password.  It isn't root, joggler or letmeinssh which it was before IIRC

brett
Offline
Providence, United States
Joined: 9 Jan 2010
By default root has no

By default root has no password and SSH will not work without a password on root.

# passwd root

If you get an error about a shadow file missing just touch it and try again

# touch /etc/shadow
# passwd root

Make sure you have RSA and DSA ssh keys created for root if you want to use passwordless access.

# ssh-keygen -t rsa
# ssh-keygen -t dsa

Brett

kevin
Offline
Huddersfield, United Kingdom
Joined: 17 May 2010
Well following a reboot of

Well following a reboot of the Joggler I've lost telnet access (and SSH) :-(

 It seems that the initial 'enabled' Telnet after the update is only there for a brief time, or until a reboot.  So make the most of it whilst it's there - and don't reboot !

 

K

brett
Offline
Providence, United States
Joined: 9 Jan 2010
Sorry to hear that - sounds

Sorry to hear that - sounds like your system reverted something.  You'll have to now download Ubuntu to a flash drive and break in like I had to.   This will be a challenge if you are not a Linux guy and walking you though it is way more of a challenge than I'm up for.

It kind of renders the Joggler useless at this point which is the dispear that I felt too after it upgraded.

I think I can setup the SSH USB break-in tool to work again if I make a few tweaks to it.  Its worth a shot.

Brett

kevin
Offline
Huddersfield, United Kingdom
Joined: 17 May 2010
Almost certainly beyond me,

Almost certainly beyond me, and I certainly don't want to bother yourself with everything you have on just at the moment,  so I think my best bet is to revert the Joggler to an older image , which is fairly painless and go from there.   I have enough of them to have a spare anyway.  

I just worry that a few HAH users won't realise they have an issue until they try and update their xAPFlash config files, and so using Telnet access whilst/if they have it would be a worthwhile opportunity.

I suspect there maybe two updates involved as my first update happened overnight yesterday (after this I had Telnet access) but after the reboot I thought the application icons had changed yet again - adding for example the USA Today app - but I could be wrong.  Also I got an O2 startup screen followed by what might have been another restart this time with an OpenPeak one .

What I find so stupid is that O2 are effectively offloading support of this to the Joggler enthusiast group (which they endorse), even recommending you install 3rd party replacement apps and yet they're making things stupidly awkward for people by breaking Telnet/SSH.

  K

hodder_fisher
Offline
United Kingdom
Joined: 1 Apr 2012
Hhmm
Hhmm Joggler updated today, it looks good, xAP still works but I cant telnet in :-(
derek
Offline
Glasgow, United Kingdom
Joined: 26 Oct 2009
Sad screensaver clock

After the 'update', the default is to have no screensaver. The xapFlash works fine, but stays up 24x7. Adjusting the 'settings' via the touchscreen lets me select a 'clock' screensaver.

http://www.flickr.com/photos/kenned/7217944538/

What on earth were they thinking when they designed this? It's hard to read and huddled in one side of the screen.

Worst of all ... unhappy SWMBO - she wants that lovely O2 styled 'big clock' screensaver back.

... and, of course, it's all MY fault!

Derek.

brett
Offline
Providence, United States
Joined: 9 Jan 2010
Here is the O2 Clock you need

Here is the O2 Clock you need to unzip this and place the o2Clock.swf file on the joggler in /openpeak/gui/screensavers then edit the screensavers.xml file in the same location and create an entry,  use the others as a guide.

        <screensaver>
                <file>o2Clock.swf</file>
                <title>O2Clock</title>
                <description>The O2 Clock</description>
        </screensaver>

It will look like this (see screenshot) once you get it installed - then you can just selected it - job done.

AttachmentSize
o2Clock.zip 67.33 KB
derek
Offline
Glasgow, United Kingdom
Joined: 26 Oct 2009
Thanks for the clock fix

Good job Brett. That clock screensaver fix is working just fine & SWMBO happy again (well up to a point) ... thanks for the 'remote install' of this.

Derek.

frosty
Offline
United Kingdom
Joined: 30 Dec 2010
telnet fix alternative

alternative telnet boot fix:

http://www.jogglerwiki.com/forum/viewtopic.php?f=2&t=565&sid=96f214cec0a...

Works well for me, atleast for my jogglers that aren't suffering from the network connect issue

kevin
Offline
Huddersfield, United Kingdom
Joined: 17 May 2010
Getting there slowly

Thanks - worked for me too ...

I still haven't got ssh to auto start but I can start it manually by  /usr/sbin/sshd

Just for other Linux newbies here's where I had to differ from Brett's instructions

/etc/init.d/S69boot.sshd  was actually /etc/init.d/boot.d/S69boot.sshd

PermitRoot yes  was not accepted as a parameter - I think it's 
PermitRootLogin yes

Also having reflashed my Joggler back to the old firmware it updated again and I now only have 7 icons,
most of which are useless - I think this was an incremental update that assumed I had a base level I didn't actually have.

Automation (xAP yeah !)
App Shop
Settings
Phone
Call Logs
Contacts
Sound Ex.

and two blank entries for Games and Tools that wont launch and none of the main apps
... not sure how to recover the mainlost ones but I'll await progress from O2/OP on that
as it's pretty well dedicated to xAP


K

aivo
Offline
Tallinn, Estonia
Joined: 2 Mar 2011
How did you update again?

How did you update again?  Forcing from GUI has not worked for me after I reverted to old image ..

See if this "Update payload" could be one you miss:
http://www.jogglerwiki.com/forum/viewtopic.php?f=2&t=539&hilit=image&start=40

Br,

Aivo

EJ-Ambient
Offline
Ringwood, United Kingdom
Joined: 5 Aug 2011
Help, please

I've followed the instructions Brett has posted and I've got telnet back - however when I try SSH I get and error... and an ls on usr/lib is different than in the post.....see below...

atom login: root

OpenPeak Atom BSP ("Frame")
Copyright(C) 2008 OpenPeak, Inc.
All rights reserved.
# /usr/sbin/sshd
/usr/sbin/sshd: error while loading shared libraries: libgssapi_krb5.so.2: cannot open shared object file: No such file or directory

# cd /usr/lib
# ls -l libgss*
lrwxrwxrwx    1 root     root           17 May 20 21:09 libgssapi_krb.so.2 -> libgssapi_krb5.so
lrwxrwxrwx    1 root     root           21 Oct  1  2011 libgssapi_krb5.so -> libgssapi_krb5.so.2.2
-rw-r--r--    1 root     root       167832 Apr  7  2009 libgssapi_krb5.so.2.2
#

Have I phracked something...and how do I resolve it?  Hope you can help....

Ta!!...EJ

brett
Offline
Providence, United States
Joined: 9 Jan 2010
BAD: libgssapi_krb.so.2 ->

BAD: libgssapi_krb.so.2 -> libgssapi_krb5.so

This linkage is wrong it you dropped a 5.

GOOD: libgssapi_krb5.so.2 -> libgssapi_krb5.so

Brett

EJ-Ambient
Offline
Ringwood, United Kingdom
Joined: 5 Aug 2011
Ahhhh! the penny

Ahhhh! the penny drops....thanks again Brett.....had to do all the other bits above (mkdir, etc), but got it all working... now to see if it survives a reboot....and.....no, it doesn't.....bugger!

Whereabouts should I make SSH autostart on reboot?  Sorry, I'm not unix, so please be gentle....ta.

EJ

And also - how do I unlink the BAD link I misstyped....above

brett
Offline
Providence, United States
Joined: 9 Jan 2010
There would be only 2 reasons

There would be only 2 reasons run both of these and try again.

sed -i "s/OFF in/\ in/g" /etc/init.d/boot.d/S69boot.sshd
sed -i "s/log_daemon_msg/\#\ log_daemon_msg/g" /etc/init.d/boot.d/S69boot.sshd

Brett

EJ-Ambient
Offline
Ringwood, United Kingdom
Joined: 5 Aug 2011
Thanks Brett - SSH survives

Thanks Brett - SSH survives the re-boot.....wunerfull!!

Can you also tell me how to unlink a file on another Joggler - I've misspellled another filename and it wont do the ln command... here's what I've got

# cd /usr/lib
# ls -l libgss*
lrwxrwxrwx    1 root     root           21 Oct  1  2011 libgssapi_krb5.so -> libgssapi_krb5.so.2.2
lrwxrwxrwx    1 root     root           16 May 24 15:58 libgssapi_krb5.so.2 -> libgssapi_kb5.so
-rw-r--r--    1 root     root       167832 Apr  7  2009 libgssapi_krb5.so.2.2
#

And it keeps telling me that the file exists when I ln -s, etc

Like so

#
# ln -s libgssapi_krb5.so libgssapi_krb5.so.2
ln: libgssapi_krb5.so.2: File exists
#

? EJ

brett
Offline
Providence, United States
Joined: 9 Jan 2010
That 's pretty easy just

That 's pretty easy just remove it.

rm /usr/lib/libgssapi_krb5.so.2

EJ-Ambient
Offline
Ringwood, United Kingdom
Joined: 5 Aug 2011
Yup!...thanks again.....back

Yup!...thanks again.....back to re-Joggling!!!

aivo
Offline
Tallinn, Estonia
Joined: 2 Mar 2011
New Joggler image available

for couple of days now on jogglerwiki teamsite at

http://www.jogglerwiki.com/forum/viewtopic.php?f=2&t=539&start=120#p10834

Aivo

kevin
Offline
Huddersfield, United Kingdom
Joined: 17 May 2010
SFTP and SCP...

Sorry 'Linux no brains' here again...

I have a Joggler with some xAPFlash files on it that I need to copy back to a PC - the whole xAPFlash directory actually.   It has a partial new OpenPeak update on it and I have SSH working (as per above) which I manually start  with /usr/sbin/sshd  .  But when I connect with WinSCP it tells me that there is no SCP and no SFTP running.  What can I do to either install or start these ,or otherways copy the directory to my Windows PC.  I can't see the binaries for these anywhere on the Joggler currently. Flash USB based install of SCP doesn't work.

On the Joggler WiKi is this comment from a user in March 2012 - is this the right approach ?  I don't want to  mess up the Joggler as it contains my only copy of this particular xAPFlash config.  Once I have it backed up I'm going to reflash it anyway. 

"   just one note about the SSH/SCP access from Mk II: The SFTP system is broken, you can't connect with WinSCP or Cyberduck for example. I noticed that the sftp binary has problems with GLIBC. To fix it I got this file http://www.jogglerwiki.com/forum/viewtopic.php?f=2&t=88&p=4418, extracted it, extracted opupdt.tgz copied all files from the usr directory into the /usr directory of the joggler. After that WinSCP will work."

brett
Offline
Providence, United States
Joined: 9 Jan 2010
You are missing the SCP

You are missing the SCP binary - I found this in the backup partition on my joggler.  With a bit of luck the binary is still there for you too.  Just copy it out and you'll be good to go.

# mount /dev/mmcblk0p3 /mnt
# cd /mnt/usr/bin
# ls -l scp
-rwxr-xr-x    1 root     root        53388 Sep 27  2010 scp
# cp scp /usr/bin
# cd /
# umount /mnt
#

kevin
Offline
Huddersfield, United Kingdom
Joined: 17 May 2010
No SCP binary in my backup

No SCP binary in my backup partition but I go one from another Joggler and got it on there with wget.

I had thought that WinSCP fell back to a SFTP supported mode and that should have worked without the SCP binary but doesn't matter now as SCP is working after you pointed me in the right direction.  Thanks

 

K

Hardware Info