How to get Squeezeplay working without a wi-fi connection.

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: How to get Squeezeplay working without a wi-fi connectio

Post by castalla »

castalla wrote:I'm not sure.

I think you'd just switch it to a static ethernet address in the interfaces file. But that means the only way to access it by putty would be by ethernet.


# The Loopback Adapter
auto lo
iface lo inet loopback

# The LAN network interface
iface eth0 inet static
address 192.168.0.51
netmask 255.255.255.0
gateway 192.168.0.1


Again - no guarantees that'll work!

Any reason you want to remove the wifi adapter?
Try the above but with:

# The Loopback Adapter
auto lo
iface lo inet loopback

# The LAN network interface
auto eth0
iface eth0 inet static
address 192.168.0.51
netmask 255.255.255.0
gateway 192.168.0.1
Imagewerx
Posts: 168
Joined: Thu Jul 31, 2014 10:42 pm

Re: How to get Squeezeplay working without a wi-fi connectio

Post by Imagewerx »

I might not need to try the last recipe.It's back in the car now and has been in stand by for a couple of hours now and the alarm hasn't yet gone off,it normally goes off after about ten minutes.
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: How to get Squeezeplay working without a wi-fi connectio

Post by castalla »

Fingers crossed.

I've discovered a way to initiate a scan from the menu (no need to use the LMS gui) - it's a bit clunky, but may be able to improve ... more later.

Also, there may be another way to access the usb drive - can you putty and do:

ls /media

Do you see a listing of usb ... usb7

One of these should contain the contents of your usb drive .... you'll need to discover which one it is.

Use WinSCP and check under /media to note which it is.

------------------
Switching LMS to this library location should make it easier to unplug the drive, add delete music, and reinsert (without the need to unmount the joggler to update via LMS gui ).
Imagewerx
Posts: 168
Joined: Thu Jul 31, 2014 10:42 pm

Re: How to get Squeezeplay working without a wi-fi connectio

Post by Imagewerx »

I've got it all working for now and I'm going away for the weekend,so don't want the long drive without music.I don't want to risk messing it up and not being able to fix it before I go,so if I do get any problems I'll try ^^^^^ that one when I get back.
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: How to get Squeezeplay working without a wi-fi connectio

Post by castalla »

Have a nice break.
Imagewerx
Posts: 168
Joined: Thu Jul 31, 2014 10:42 pm

Re: How to get Squeezeplay working without a wi-fi connectio

Post by Imagewerx »

castalla wrote:Have a nice break.
Thank you I will.Stonehenge and kayaking on the Beaulieu river amongst other things.

Just to let you know,it instantly scanned a new virgin USB drive I'd put in without having to do anything else,and was ready to start playing in just seconds.The Squeeze Box Touch would have taken about 5 minutes to do the same thing.
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: How to get Squeezeplay working without a wi-fi connectio

Post by castalla »

Excellent!

So, do you reckon the case is solved????
Imagewerx
Posts: 168
Joined: Thu Jul 31, 2014 10:42 pm

Re: How to get Squeezeplay working without a wi-fi connectio

Post by Imagewerx »

Been working fine all weekend with a LOT of start/shut down cycles,so yes I reckon it's a good un now!!!! Thanks again for all your help.
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: How to get Squeezeplay working without a wi-fi connectio

Post by castalla »

Okay - glad it's working.

ps: now I have to hassle Orange as my landline internet has gone down. It'll be the usual reset this, and that, when I know (as always) the fault is at their end! Grrrrrrrrrrrr. And all in broken Spanish - living the dream!
Imagewerx
Posts: 168
Joined: Thu Jul 31, 2014 10:42 pm

Re: How to get Squeezeplay working without a wi-fi connectio

Post by Imagewerx »

I had three months of absolute misery with Orange a few years back in which time I spent a total of one whole day on the phone over that period trying to sort out problems I hadn't even caused.They were the most incompetent and unprofessional bunch of morons I'd ever had to deal with.Until I switched to Virgin after that who were almost but not quite as bad.

P.S.Can you have a look at this one for me as well please?

http://www.jogglerwiki.com/forum/viewto ... f=2&t=2103
Imagewerx
Posts: 168
Joined: Thu Jul 31, 2014 10:42 pm

Re: How to get Squeezeplay working without a wi-fi connectio

Post by Imagewerx »

Ok,I think the most relevant place for this question is on the end of this one.

I have a bit of a problem if there's an unscheduled power cut while using the Joggler,or if it's not shut down properly.This normally only happens if I'm experimenting with it in the car and pull the power plug out by mistake.It all boots up again perfectly after this has happened,but it can't find my music any more. The only way to get it to find it again is to do it via LMS,which if I'm away from my home wi-fi can be a real problem.

Is there a way I can get it to permanently remember where my music is kept for when this happens again?
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: How to get Squeezeplay working without a wi-fi connectio

Post by castalla »

I can't recall how you mount the music library .. can you?
Imagewerx
Posts: 168
Joined: Thu Jul 31, 2014 10:42 pm

Re: How to get Squeezeplay working without a wi-fi connectio

Post by Imagewerx »

castalla wrote:I can't recall how you mount the music library .. can you?
Using this line added to the fstab file.......

/dev/sda1 /mnt/usbdrive vfat defaults 0 0
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: How to get Squeezeplay working without a wi-fi connectio

Post by castalla »

According to Roobarb a usb drive should be automounted in /media/usb .... check to see if the files are listed in usb0 ... usb6. If they are listed, change the LMS music library to point to /media/usb0 or whatever is appropriate.

May work.
Imagewerx
Posts: 168
Joined: Thu Jul 31, 2014 10:42 pm

Re: How to get Squeezeplay working without a wi-fi connectio

Post by Imagewerx »

Don't forget this is how you told me to do it so it doesn't have to talk to LMS to find out where the music is kept.With it the above way it couldn't find it,with that extra line added on it would find it without a wi-fi connection.
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: How to get Squeezeplay workloing without a wi-fi connect

Post by castalla »

It's a 2 stage process. You have to mount the external drive. Then you have to tell LMS where the mount is.
We used fstab as one way to do it.

So, if a usb is automounted at /media/usb. and LMS is told to look there then that is what it will do,

Maybe the power cut and reboot messes up the fstab command.

Look at /media/usb? to see if the files are there.
Post Reply