Re: [SlimDevices: Unix] Do you have a way to start pCP/ LMS without RTC (date and time)

2022-10-15 Thread Howard Passman


Thanks Jim, It was even dumber than that. Somewhere along the line I
turned off the internal pi radio. All is well now.

Thanks for all your consideration and have a spectacular weekend.

Howard


d6jg wrote: 
> Did you set Squeezelite to look for LMS at 127.0.0.1? You should.



Howard Passman's Profile: http://forums.slimdevices.com/member.php?userid=16674
View this thread: http://forums.slimdevices.com/showthread.php?t=116902

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Do you have a way to start pCP/ LMS without RTC (date and time)

2022-10-15 Thread Howard Passman


Yup, But I'll double check it since i went back and forth so many
times.

Thanks,

Howard


d6jg wrote: 
> Did you set Squeezelite to look for LMS at 127.0.0.1? You should.



Howard Passman's Profile: http://forums.slimdevices.com/member.php?userid=16674
View this thread: http://forums.slimdevices.com/showthread.php?t=116902

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Do you have a way to start pCP/ LMS without RTC (date and time)

2022-10-15 Thread d6jg


Did you set Squeezelite to look for LMS at 127.0.0.1? You should.



Jim
https://jukeradio.double6.net


VB2.4[/B] STORAGE *QNAP TS419P (NFS)
[B]Living Room* Joggler & Pi4/Khadas  -> Onkyo TXNR686 -> Celestion F20s

*Office* Joggler & Pi3 -> Denon RCD N8 -> Celestion F10s 
*Dining Room* SB Radio
*Bedroom (Bedside)* Pi Zero+DAC ->ToppingTP21 ->AKG Headphones
*Bedroom (TV) & Bathroom* SB Touch ->Denon AVR ->Mordaunt Short M10s +
Kef ceiling speakers
*Guest Room* Joggler > Topping Amp -> Wharfedale Modus Cubes

d6jg's Profile: http://forums.slimdevices.com/member.php?userid=44051
View this thread: http://forums.slimdevices.com/showthread.php?t=116902

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Do you have a way to start pCP/ LMS without RTC (date and time)

2022-10-14 Thread Howard Passman


I had copied all of the screens from before and set the AP Mode up the
same way this time. It is 10.10.10.1 and, as mentioned, it does give my
phone an ip address like before, but I can not open the pCP web page or
10.10.10.1:9000/material like I used to. Took me a long time to download
a working version of AP Mode. It may still have a corrupt file of some
sort. After trying to get the entire thing working for several days I
was just worn out and happy to have music in the car again. :-)

I still have the flash card from the previous install. I could slap it
in a pi and look again, but I had actually copied the image of each
screen on the working version.

Thanks Jim,

Howard

d6jg wrote: 
> By default the WAP side IP is 10.10.10.1 but pCP.local may not work.
> Which are you trying?



Howard Passman's Profile: http://forums.slimdevices.com/member.php?userid=16674
View this thread: http://forums.slimdevices.com/showthread.php?t=116902

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Do you have a way to start pCP/ LMS without RTC (date and time)

2022-10-14 Thread d6jg


By default the WAP side IP is 10.10.10.1 but pCP.local may not work.
Which are you trying?



Jim
https://jukeradio.double6.net


VB2.4[/B] STORAGE *QNAP TS419P (NFS)
[B]Living Room* Joggler & Pi4/Khadas  -> Onkyo TXNR686 -> Celestion F20s

*Office* Joggler & Pi3 -> Denon RCD N8 -> Celestion F10s 
*Dining Room* SB Radio
*Bedroom (Bedside)* Pi Zero+DAC ->ToppingTP21 ->AKG Headphones
*Bedroom (TV) & Bathroom* SB Touch ->Denon AVR ->Mordaunt Short M10s +
Kef ceiling speakers
*Guest Room* Joggler > Topping Amp -> Wharfedale Modus Cubes

d6jg's Profile: http://forums.slimdevices.com/member.php?userid=44051
View this thread: http://forums.slimdevices.com/showthread.php?t=116902

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Do you have a way to start pCP/ LMS without RTC (date and time)

2022-10-14 Thread Howard Passman


Hi Jim, Well, all is working now so I'm a happy camper once again. I did
get AP Mode working...with the exception of I can't hit it with a
browser. I use my phone to change any setting in pCP. It hands out an IP
address and connects, but, as I said, I can't pull up the pCP web page.
Not much of an issue though and I'll live without i until I feel like
messing with it again.

The pCP server/player is the best thing about the car :-)

Cheers,

Howard


d6jg wrote: 
> It was the latest pCP image as of a month ago.
> I did have issues getting LMS configured - see my thread - but that was
> nothing to do with WAP.
> 
> I built it with LAN connected and then removed the LAN when everything
> was working.



Howard Passman's Profile: http://forums.slimdevices.com/member.php?userid=16674
View this thread: http://forums.slimdevices.com/showthread.php?t=116902

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Do you have a way to start pCP/ LMS without RTC (date and time)

2022-10-14 Thread d6jg


Howard Passman wrote: 
> Hi d6jg,
> 
> What version of pCP did you use? I suppose LMS may eventually start, but
> it didn't within a few minutes. With the way I have it set up, it starts
> to play within about 20-30 seconds, even before the pCP Player splash
> screen comes up.
> 
> WAP mode wasn't the problem. AP Mode was. 
> 
> Cheers,
> 
> Howard

It was the latest pCP image as of a month ago.
I did have issues getting LMS configured - see my thread - but that was
nothing to do with WAP.

I built it with LAN connected and then removed the LAN when everything
was working.



Jim
https://jukeradio.double6.net


VB2.4[/B] STORAGE *QNAP TS419P (NFS)
[B]Living Room* Joggler & Pi4/Khadas  -> Onkyo TXNR686 -> Celestion F20s

*Office* Joggler & Pi3 -> Denon RCD N8 -> Celestion F10s 
*Dining Room* SB Radio
*Bedroom (Bedside)* Pi Zero+DAC ->ToppingTP21 ->AKG Headphones
*Bedroom (TV) & Bathroom* SB Touch ->Denon AVR ->Mordaunt Short M10s +
Kef ceiling speakers
*Guest Room* Joggler > Topping Amp -> Wharfedale Modus Cubes

d6jg's Profile: http://forums.slimdevices.com/member.php?userid=44051
View this thread: http://forums.slimdevices.com/showthread.php?t=116902

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Do you have a way to start pCP/ LMS without RTC (date and time)

2022-10-10 Thread Howard Passman


Hi d6jg,

What version of pCP did you use? I suppose LMS may eventually start, but
it didn't within a few minutes. With the way I have it set up, it starts
to play within about 20-30 seconds, even before the pCP Player splash
screen comes up.

WAP mode wasn't the problem. AP Mode was. 

Cheers,

Howard


d6jg wrote: 
> I built a standalone pCP in WAP mode with LMS not too long ago and it
> works fine without date/time. When I boot it it is set to auto start a
> particular playlist.
> 
> https://forums.slimdevices.com/showthread.php?116776-pCP-with-LMS-in-WAP-mode



Howard Passman's Profile: http://forums.slimdevices.com/member.php?userid=16674
View this thread: http://forums.slimdevices.com/showthread.php?t=116902

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Do you have a way to start pCP/ LMS without RTC (date and time)

2022-10-10 Thread d6jg


I built a standalone pCP in WAP mode with LMS not too long ago and it
works fine without date/time. When I boot it it is set to auto start a
particular playlist.



Jim
https://jukeradio.double6.net


VB2.4[/B] STORAGE *QNAP TS419P (NFS)
[B]Living Room* Joggler & Pi4/Khadas  -> Onkyo TXNR686 -> Celestion F20s

*Office* Joggler & Pi3 -> Denon RCD N8 -> Celestion F10s 
*Dining Room* SB Radio
*Bedroom (Bedside)* Pi Zero+DAC ->ToppingTP21 ->AKG Headphones
*Bedroom (TV) & Bathroom* SB Touch ->Denon AVR ->Mordaunt Short M10s +
Kef ceiling speakers
*Guest Room* Joggler > Topping Amp -> Wharfedale Modus Cubes

d6jg's Profile: http://forums.slimdevices.com/member.php?userid=44051
View this thread: http://forums.slimdevices.com/showthread.php?t=116902

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Do you have a way to start pCP/ LMS without RTC (date and time)

2022-10-07 Thread Howard Passman


Thanks Paul. The console showed the LMS load waiting for the time. It
never went any further until I added a date in the bootlocal.sh file as
you mentioned unless I had a network connection. For some reason none of
the stuff I had documented worked until I started with pCP 7.0.

Howard


Paul Webster wrote: 
> LMS does not really care what the date is.
> The delay is probably pCP waiting for the time.
> 
> The file
> /etc/init.d/settime.sh
> has a delay and loop - and it waits for the year to be greater than or
> equal to 2018 ... so you could force the date to be something like
> 1/1/2022 at the top of that script and it would probably work.



Howard Passman's Profile: http://forums.slimdevices.com/member.php?userid=16674
View this thread: http://forums.slimdevices.com/showthread.php?t=116902

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Do you have a way to start pCP/ LMS without RTC (date and time)

2022-10-07 Thread Howard Passman


Hi Greg,

I did manage to get it all working, but I had to start with pCP 7.0 and
several tries to get a working LMS download and AP Mode extension. I
don't know what that was all about. I could never get the NTFS extension
to download, but it seems like it was included in the Full Update of
Squeezelite extensions. I couldn't download it any other way. I got the
changes done in the bootlocal.sh file and everything was working, but I
did not have the SD Card Imaging. I updated to pCP 8.0 and that fixed
that. Made my changes to the JogglerSkinApplet. Last piece of the
puzzle.

LMS would not start unless there was a network connection until I
changed the bootlocal.sh file. Specifically the date as Paul mentioned.

Nothing seemed to work unless I started with pCP 7.0. Once I did that,
everything worked well with the exception of getting a good LMS file.

Thanks for taking the time to help and have a great weekend.

Howard



Greg Erskine wrote: 
> Hi Howard,
> 
> Did you set a static IP? By doing this you avoid some of the network
> checks.
> 
> See step 17 in "'Standalone piCorePlayer'
> (https://docs.picoreplayer.org/projects/standalone-pcp/)".
> 
> regards
> Greg



Howard Passman's Profile: http://forums.slimdevices.com/member.php?userid=16674
View this thread: http://forums.slimdevices.com/showthread.php?t=116902

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Do you have a way to start pCP/ LMS without RTC (date and time)

2022-10-07 Thread Greg Erskine


Hi Howard,

Did you set a static IP? By doing this you avoid some of the network
checks.

See step 17 in "'Standalone piCorePlayer'
(https://docs.picoreplayer.org/projects/standalone-pcp/)".

regards
Greg



Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403
View this thread: http://forums.slimdevices.com/showthread.php?t=116902

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Do you have a way to start pCP/ LMS without RTC (date and time)

2022-10-07 Thread Paul Webster


LMS does not really care what the date is.
The delay is probably pCP waiting for the time.

The file
/etc/init.d/settime.sh
has a delay and loop - and it waits for the year to be greater than or
equal to 2018 ... so you could force the date to be something like
1/1/2022 at the top of that script and it would probably work.



Paul Webster
author of \"now playing\" plugins covering radio france (fip etc),
planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, abc
australia and cbc/radio-canada
and, via the extra \"radio now playing\" plugin lots more - see
https://forums.slimdevices.com/showthread.php?115201-announce-radio-now-playing-plugin

Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=116902

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


[SlimDevices: Unix] Do you have a way to start pCP/ LMS without RTC (date and time)

2022-10-07 Thread Howard Passman


I have a server in my car so there's no network. I used to be able to
modify the bootlocal.sh file to read (See below) and that would bypass
LMS needing the time. I got help on this from Paul, but I don;t think
he's still around. This doesn't seem to work with pCP 8.0 or greater.

Anyone else running a pCP server with out networking? How did you get by
the long delay while LMS waits for the time to be set?

Thanks, Howard


#!/bin/sh
# put other system startup commands here

GREEN="$(echo -e '\033[1;32m')"

date -s 2020-12-15

echo
echo "${GREEN}Running bootlocal.sh..."
#pCPstart--
/usr/local/etc/init.d/pcp_startup.sh 2>&1 | tee -a
/var/log/pcp_boot.log
#pCPstop--



Howard Passman's Profile: http://forums.slimdevices.com/member.php?userid=16674
View this thread: http://forums.slimdevices.com/showthread.php?t=116902

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix