Re: [SlimDevices: Unix] picoreplayer Wifi 5GHz
Greg Erskine wrote: > My networks have always worked as per the wifi documentation - see > "Setup: 'Setup Wifi' > (https://docs.picoreplayer.org/how-to/setup_wifi/)". > > I don't understand the necessity of "bssid" on your network? I never > have had to use it. > > More wifi information - see "Components: 'Wifi' > (https://docs.picoreplayer.org/components/wifi/)". Hi, no I think the bssid is indeed not relevant. I saw it mentioned somewhere a possible solution for 5GHz problems. BUT, I have done a fresh install. now on 64bit, but I think that is not relevant either. The fresh install works though: I saw a dns entry added to the configure step, and think I did not see it before. All works now though, so that must have been the missing link I guess. Now I need to add the rest of the scripts and fingers crossed all keeps working... ---- Huey11's Profile: http://forums.slimdevices.com/member.php?userid=67632 View this thread: http://forums.slimdevices.com/showthread.php?t=115867 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] picoreplayer Wifi 5GHz
paul- wrote: > There is no network manager, so route is only configured at initial > connection. LAN always has connection priority and will connect first > if it is plugged in. So when you boot with only wlan, route would get > set to wlan. Ok, and the wlan route is also created over the route of lan then? In other words: the wlan route is created as lan is connected, and wlan only boot simply does not connect to the network at all? ---- Huey11's Profile: http://forums.slimdevices.com/member.php?userid=67632 View this thread: http://forums.slimdevices.com/showthread.php?t=115867 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
[SlimDevices: Unix] picoreplayer Wifi 5GHz
Hi, been trying to get my wifi 5GHz working. Raspberry PI3b+ and 4 support Wifi 5GHz, although it is said that country code than should be set to US (have not tried others yet). I do not think it is relevant which pCP version is used (not sure about included libraries though). I can only get it to find an connect to a 5GHz access point if I also set the bssid in the wpa_supplicant.conf (needs therefore be done in a user managed mode). BUT I still have strange behaviour: If lan cable is in: wifi connects and the pCP is reachable over wlan. When I disconnect lan cable: pCP is still reachable over the wlan. When I reboot without lan, wlan is not reachable... When I reconnect lan cable, wlan is reachable. When I again disconnect lan cable, wlan is still reachable. So it looks like the route is only set over lan? Can anyone advice over what is happening and how it possibly can be solved? Regards Huey11's Profile: http://forums.slimdevices.com/member.php?userid=67632 View this thread: http://forums.slimdevices.com/showthread.php?t=115867 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCorePlayer Documentation
paul- wrote: > Or better yet, don't even use the dependency of rpi-vc. > > > Code: > > > file = open('/sys/class/thermal/thermal_zone0/temp', 'r') > temp = file.readline() > file.close() > val = float(temp) / 1000 > > > Ah, that looks like a better idea indeed. Made the change and removed rpi-vc extension. All still works (on pCP 8.1.0) . Not sure if relevant but checked with a pCP 4.12 on a rpi3b+ and that sys class is there as well ofcourse, so I think all versions should benefit. ---- Huey11's Profile: http://forums.slimdevices.com/member.php?userid=67632 View this thread: http://forums.slimdevices.com/showthread.php?t=112996 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCorePlayer Documentation
With me, the argoned.py scripts fails on the vcgencmd line. It works with the full path. Maybe it needs correction on the project page? line 75: Code: temp = os.popen("vcgencmd measure_temp").readline() to Code: temp = os.popen("/usr/local/bin/vcgencmd measure_temp").readline() ---- Huey11's Profile: http://forums.slimdevices.com/member.php?userid=67632 View this thread: http://forums.slimdevices.com/showthread.php?t=112996 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCorePlayer 6 - configuring NTP server ?
Greg Erskine wrote: > If you are using pCP8, then refer to this post: > > 'Announce: piCorePlayer 8.0.0 - Network Timing Protocol' > (https://forums.slimdevices.com/showthread.php?115268-Announce-piCorePlayer-8-0-0-Network-Timing-Protocol) > > By default, pCP should keep "reasonable" time, just drifting a few > seconds a day. Hi all, It took me some time to figure out why my pCP would not synchronize the time, so as additional info for others: It might have been mentioned, but it was not clear to me. On my Asus router I run a local ntp server, ánd had intercept NTP client requests set true. The latter needs to be switched off. Without it my pCP's synchronize time nicely. ---- Huey11's Profile: http://forums.slimdevices.com/member.php?userid=67632 View this thread: http://forums.slimdevices.com/showthread.php?t=112335 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Topping E30 udev rule
slartibartfast wrote: > I just tried downloading usb_power.tcz from > http://ralph-irving.users.sourceforge.net/pico/usb-power.tcz > and succeeded. > > Sent from my Pixel 3a using Tapatalk Ah, I missed that part indeed. Thought it was in the repo with regular extensions, and downloading with chrome is not allowed. Awget on the picoreplayer itself works better indeed. And then I guess I would edit the rule itself inside the tcz archive... Thanks! ---- Huey11's Profile: http://forums.slimdevices.com/member.php?userid=67632 View this thread: http://forums.slimdevices.com/showthread.php?t=114994 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Topping E30 udev rule
slartibartfast wrote: > Thinking back my issue wasn't that the DAC wouldn't enter standby, it > was the "pop" when it came out of standby. All the info is in the GitHub > link I posted. > > Sent from my Pixel 3a using Tapatalk Hi, no offense, but the usb_power.tcz is not available (anymore), and the thread does not say how to put in the udev rule on the read-only system and make it persistant for boot... (But indeed it is probably not relevant or of use for my issue) ---- Huey11's Profile: http://forums.slimdevices.com/member.php?userid=67632 View this thread: http://forums.slimdevices.com/showthread.php?t=114994 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Topping E30 udev rule
slartibartfast wrote: > How do you lose connection to USB? This rule just allows the DAC to > enter standby when piCorePlayer is off. > > Sent from my Pixel 3a using Tapatalk Ah, ok. It goes into standby without problem. I get these "output_thread:775 pcm wait error: Input/output error" messages in the pcp_squeezelite.log and need to restart squeezelite (often a few times) to reestablish a connection/stream. But in that case I probably need to investigate further. Maybe it is just dreaded undervoltages... Still out of curiosity and learning perspective: how did you then adapt/modify that udev rule? -------- Huey11's Profile: http://forums.slimdevices.com/member.php?userid=67632 View this thread: http://forums.slimdevices.com/showthread.php?t=114994 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Topping E30 udev rule
slartibartfast wrote: > All the info is here. > https://github.com/ralph-irving/squeezelite/issues/114 Sometimes I loose my connection to the usb... wonder if this would help? I read through the thread and if I understand correct the udev rule is added with the usbpower extension specially made, and it would not contain yet that delay (if even still available, can currently not check because the repo seems unavailable)? @slartibartsat: Or is there another way to manually add this udev rule to the /etc/udev/rules.d (or is it /lub/udev/rules.d)...? ---- Huey11's Profile: http://forums.slimdevices.com/member.php?userid=67632 View this thread: http://forums.slimdevices.com/showthread.php?t=114994 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] 'Official' docker container for LMS?
stroom wrote: > Thank you. Now I know it is possible I will try again. I had already > tried to set http port to 9002 to avoid conflict on that port, and > server could be reached on that port. But it didn't connect to the > players. Should I change the other 3 ports settings from > ports: > - 9000:9000/tcp > - 9090:9090/tcp > - 3483:3483/tcp > - 3483:3483/udp > > to e.g (i.e. only change host ports, no change in container side > ports?: > ports: > - 9002:9002/tcp > - 9092:9090/tcp > - 3485:3483/tcp > - 3485:3483/udp > environment: > HTTP_PORT=9002 To be honest: I know begin to wonder what I did It was a while ago, testing 7 vs 8. I think I merely switched between them. 9090 is for remote control and can be changed. The others are broadcasts and should/cannot be changed I think. Maybe I did not even open those up and pointed my squeezelites directly to the proper server adress and port Better alternative is using macvlan. This gives each container its own address. Using same ports is then no problem anymore I made my dhcp range a bit smaller and created an macvlan for some in the remaining range. Then assign an ip from that macvlan to the containers. ---- Huey11's Profile: http://forums.slimdevices.com/member.php?userid=67632 View this thread: http://forums.slimdevices.com/showthread.php?t=111828 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] 'Official' docker container for LMS?
stroom wrote: > Is it possible running LMS in docker next to running it natively? > I am running LMS from raspberry pi, and when setting up LMS within > docker, I had port conflicts with the running native LMS. > I tried changing ports, but since I do not understand exactly what I am > doing, it didn't work out so far. > (This is just for testing purposes to later decide if I want to change > to running LMS in docker.) > I use docker-compose, and the part on ports is just copied from > hub.docker.com lmscommunity page: > ports: > - 9000:9000/tcp > - 9090:9090/tcp > - 3483:3483/tcp > - 3483:3483/udp > > Running the docker image with settings as above works if I stop the > native LMS before starting the docker LMS. Hello, I have run several next to each other. It is essential to NOT run the container then in "host" mode but in bridge mode (this opens above ports in firewall: the port "outside"(ie host side) forwards to "inside" (ie in your container. The outside 9000 port is your default http server port (can be set in your lms settings). you either set your "outside port to something else that is NOT already used on your host (ie 9001) or both: lms setting to 9001 and then 9001:9001, etc... Your client will find multiple LMS servers, so squeezelite needs to be configuredto an address, or you need to switch servers in your interface. Hope this helps. Huey11's Profile: http://forums.slimdevices.com/member.php?userid=67632 View this thread: http://forums.slimdevices.com/showthread.php?t=111828 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] 'Official' docker container for LMS?
Huey11 wrote: > Been awhile since I ran it on kubernetes. Had to keep up with changes > too much to my liking so switched back to simple docker stack. But this > was the config I used which was working perfectly. I used traefik and > metal as load balancer though. That might make a difference. > Hi Haley, changed the tag to code in the original reply, so should be better formatted. Added it as attachment here as well. +---+ |Filename: lms800-app64.zip | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=35830| +---+ ---- Huey11's Profile: http://forums.slimdevices.com/member.php?userid=67632 View this thread: http://forums.slimdevices.com/showthread.php?t=111828 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] 'Official' docker container for LMS?
Haley wrote: > Does anyone has a working kubernetes setup where LMS actually runs? > > So - I have it running in docker (using docker-compose) using traefik. > > The problem with kubernetes, os that you cannot share an IP Address with > the ingress-nginx. So the http-port will not run on the same IP, but a > different one. And I think that from what I read, the http-server needs > to have the same port inside and outside the docker container. > > Anyone an idea how to get it to work inside kubernetes? > > Thx. Been awhile since I ran it on kubernetes. Had to keep up with changes too much to my liking so switched back to simple docker stack. But this was the config I used which was working perfectly. I used traefik and metal as load balancer though. That might make a difference. > apiVersion: v1 > kind: PersistentVolume > metadata: > name: lms-config > spec: > capacity: > storage: 1Gi > accessModes: > - ReadWriteOnce > mountOptions: > - nfsvers=3 > - nolock > nfs: > server: 192.168.172.8 > path: "/volume1/apps/lms_config" > --- > apiVersion: v1 > kind: PersistentVolumeClaim > metadata: > name: lms-config > namespace: music > spec: > accessModes: > - ReadWriteOnce > resources: > requests: > storage: 1Gi > storageClassName: "" > --- > apiVersion: v1 > kind: Service > metadata: > name: lms-service > namespace: music > #externalTrafficPolicy: Local > labels: > app: lms > spec: > type: LoadBalancer > selector: > app: lms > ports: > - name: "web" > protocol: TCP > port: 9000 > targetPort: 9000 > - name: "admin" > protocol: TCP > port: 9090 > - name: "castbridge" > protocol: TCP > port: 49152 > # configIP: None > loadBalancerIP: 192.168.172.207 > --- > apiVersion: networking.k8s.io/v1 > kind: Ingress > metadata: > name: lms-ingress > namespace: music > labels: > app: lms > annotations: > kubernetes.io/ingress.class: traefik > spec: > rules: > - host: lms.local.k3s > http: > paths: > - pathType: Prefix > path: "/" > backend: > service: > name: lms-service > port: > number: 9000 > --- > apiVersion: apps/v1 > kind: Deployment > metadata: > name: lms > namespace: music > labels: > app: lms > #version: arm64v8-8.0.0_31-03-2020 > version: latest > type: third-party > facing: external > spec: > progressDeadlineSeconds: 300 > replicas: 1 > strategy: > type: RollingUpdate > rollingUpdate: > maxSurge: 1 > maxUnavailable: 0 > selector: > matchLabels: > app: lms > template: > metadata: > labels: > app: lms > spec: > restartPolicy: Always > #imagePullSecrets: > #- name: "gitlab" > affinity: > nodeAffinity: > requiredDuringSchedulingIgnoredDuringExecution: > nodeSelectorTerms: > - matchExpressions: > - key: kubernetes.io/arch > operator: In > values: > - "arm64" > - key: kubernetes.io/hostname > operator: NotIn > values: > - "omv" > podAntiAffinity: > requiredDuringSchedulingIgnoredDuringExecution: > - labelSelector: > matchExpressions: > - key: app > operator: In > values: > - "lms" > topologyKey: "kubernetes.io/hostname" > hostNetwork: true > containers: > - name: lms > image: lmscommunity/logitechmediaserver:latest > imagePullPolicy: IfNotPresent > env: > - name: TZ > value: "Europe/Amsterdam" > ports: > - name: "discover-tcp" > containerPort: 3483 > protocol: TCP > - name: "discover-udp" > containerPort: 3483 > protocol: UDP > - name: "web" > containerPort: 9000 > protocol: TCP > - name: "admin" > containerPort: 9090 > protocol: TCP > - name: "castbridge" > containerPort: 49152 > protocol: TCP > volumeMounts: > - name: lms-config > mountPath: "/config" > subPath: "state" > - name: lms-config > mountPath: "/playlist" > subPath: "playlists" > - name: music > mountPath: "/music" > readOnly: true > - name: downloads > mountPath: "/downloads" > - name: tz-config > mountPath: /etc/localtime > readOnly: true > readinessProbe: > httpGet: > path: / > port: 9000 > initialDelaySeconds: 60 > failureThreshold: 10 > timeoutSeconds: 60 > livenessProbe: > httpGet: > path: / > port: 9000 > initialDelaySeconds: 60 > failureThreshold: 10 > timeoutSeconds: 60 > resources: > requests: > cpu: "1.0" > memory: "1500Mi" > limits: > cpu: "3.0" > memory: "2500Mi" > volumes: > - name: lms-config > persistentVolumeClaim: > claimName: lms-config > - name: downloads > nfs: > server: 192.168.172.8 > path: /volume1/downloads/music > - name: music > nfs: > server: 192.168.172.8 > path: /volume1/music > - name: tz-config > hostPath: > path: /etc/localtime > --- > Huey11's Profile: http://forums.slimdevices.com/member.php?userid=67632 View this thread: http://forums.slimdevices.com/showthread.php?t=111828 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] 'Official' docker container for LMS?
apn wrote: > > At some point I want to add a cron to prune the orphaned container image > files (the previous versions before watchtower upgraded them). Watchtower has a clean option which does the pruning for you? ---- Huey11's Profile: http://forums.slimdevices.com/member.php?userid=67632 View this thread: http://forums.slimdevices.com/showthread.php?t=111828 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix