Hello
I was trying to use my Rpi3 without network, just playing from local USB stick.
My Rpi3 host everuthing on it and the LMS too.
The problem is that with network connection active (WiFi or wired Ethernet) everything works fine, but without network it can not play the local file on the USB stick.
It seems that if the network is not up, the player can not connect to the local LMS on the 127.0.0.1 local address, since the network is down.
I am running 3.21 version.
How to fix it?
Results 1 to 10 of 41
Thread: picoreplayer without network
-
2017-09-17, 14:36 #1
- Join Date
- May 2017
- Posts
- 89
picoreplayer without network
-
2017-09-17, 15:33 #2
It's not really intended to be a non-networked server. For sure you will need to setup LMS to use the nomysqueezebox option. You might also need to specify the server address for squeezelite to connect to.
Since pCP is expecting a network, it will take a minute or two to time out and finish the bootup. Otherwise should work fine.
Hook up a monitor and keyboard to watch the startup process and see what is going on.
-
2017-09-18, 01:18 #3
- Join Date
- May 2017
- Posts
- 89
Sorry, I can not understand: why should I need a network to play files locally stored on the USB stick? Moreover everything is in the very same box: player, LMS, storage.
The LMS server address of course is specified and it is the 127.0.0.1 as suggested (if I leave it blank, it wont play even if networked) but seems that if network is not UP, then TCP\IP is not avaialble, so not way for the player to reach the LMS even if running in the same box.
I found the same question here
http://forums.slimdevices.com/showth...thout-Internet
but on my setup there is no way to get the option to go on without network.
-
2017-09-18, 01:38 #4
- Join Date
- Sep 2005
- Posts
- 2,853
If you look @ the startupscript from lms:
# Required-Start: $all
Since lms is a server for network attached players - you need a network.
Why didnt you just attach a simple wlan adapter into your pi ?
btw: The Touch and the rpi are two complete different things - you cant compare them in this case.
-
2017-09-18, 01:59 #5
- Join Date
- Apr 2013
- Location
- UK
- Posts
- 1,318
It is normal for a UNIX system to require an operating 127.0.0.1 address and TCP/IP stack for normal running. Windows is the same, as are 90% of general use operating systems.
Transcoded from Matt's brain by Tapatalk--
Hardware: 3x Touch, 1x Radio, 2x Receivers, 1 HP Microserver NAS with Debian+LMS 7.9.0
Music: ~1300 CDs, as 450 GB of 16/44k FLACs. No less than 3x 24/44k albums..
-
2017-09-18, 02:10 #6
- Join Date
- May 2017
- Posts
- 89
My Rpi3 has the built in WiFi... I can even attach a USB WiFi adapter, but if not registered on a network, it will not play.
Maybe linux works different from Windows: in Windows, if the the PC has a network adapter, even if not connected, the TCP\IP works!
In linux it seems not to be the same... TCP/ip is not up if the network adapter is not connected, so no way for the LMS to start (and for the player to reach it).
This is my case: I have this PiCorePlayer in a box with amplifier, speakers and batteries.
Wish to play my music even if I am, for example, at the sea, on the beach.
-
2017-09-18, 02:51 #7
-
2017-09-18, 03:11 #8
- Join Date
- Oct 2005
- Location
- Ireland
- Posts
- 20,129
LMS TCP/IP socket to communicate with players so it needs a network IIRC even if you use LocalPlayer plugin which bypasses nertwork for playing files.
I don't know pCP but if the network interface confgrued using DHCP and you have no network connection then none of the basic network parameters will be setup such as IP address of interface (even if not up), gateway/default Route and subnet mask. Can these not be setup manually on pCP ?
-
2017-09-18, 03:24 #9
max2play has a plugin that uses your pi's built-in wifi to create it's own network, piCorePlayer doesn't offer this option. (EDIT: Yes it does now)
I use this in my car, controlled with Squeeze Ctrl on my phone, it works great.
https://www.max2play.com/en/portfoli...ccess-point-2/
EDIT: piCorePlayer now has this option!Last edited by kidstypike; 2019-06-04 at 15:22. Reason: adding info
Server - LMS 8.2.0 Pi4B 4GB/Argon one case/pCP v7.0.1 - 75K library, playlists & LMS cache on SSD (ntfs)
Study - Pi3B/pCP 7.0.1/pi screen/Hifiberry DAC HAT Ruark MR1 Mk2
Lounge - Pi2/pCP 6.0.0 > HiFiBerry DIGI+ > AudioEngine DAC1 > AVI DM5
Garage - Squeezebox Boom + Fostex sub
Dining Room - Pi3B/Bluetooth/Echo Show 8
Spares - 2xTouch, 1xSB Radio. 1xSB3, 6xRPi
-
2017-09-18, 03:53 #10
- Join Date
- May 2017
- Posts
- 89