Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: Radio Station not working
#14
@kosi123 

Here in the US with my ISP service, I can resolve and play the FM4 URL. Using the Linux dig command I find that orf-live.ors-shoutcast.at resolves to the following host IPs (in the fifth column)


Code:
orf-live.ors-shoutcast.at. 1    IN    A    109.70.96.178
orf-live.ors-shoutcast.at. 1    IN    A    92.60.12.148
orf-live.ors-shoutcast.at. 1    IN    A    92.60.12.147
orf-live.ors-shoutcast.at. 1    IN    A    92.60.12.146
orf-live.ors-shoutcast.at. 1    IN    A    109.70.96.180
orf-live.ors-shoutcast.at. 1    IN    A    81.16.149.156
orf-live.ors-shoutcast.at. 1    IN    A    109.70.96.179
orf-live.ors-shoutcast.at. 1    IN    A    185.81.213.122
orf-live.ors-shoutcast.at. 1    IN    A    185.81.213.126
orf-live.ors-shoutcast.at. 1    IN    A    185.81.213.123
orf-live.ors-shoutcast.at. 1    IN    A    81.16.149.155
orf-live.ors-shoutcast.at. 1    IN    A    81.16.149.154

If you can ping these addresses from the command line of your moOde player, then it's only DNS which is tripping you up.

Example: choosing one of the IPs at random, here's a successful ping (the -c1 option means one ping only)


Code:
rho@m922green:~ $ ping -c1 81.16.149.156
PING 81.16.149.156 (81.16.149.156) 56(84) bytes of data.
64 bytes from 81.16.149.156: icmp_seq=1 ttl=52 time=114 ms

--- 81.16.149.156 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 114.190/114.190/114.190/0.000 ms

Your startup log shows you are provisioning your wireless adapter parameters through DHCP; that service has also configured it to use your gateway (192.168.2.1) as your DNS server. In fact, the gateway is just forwarding DNS requests from your player to your ISP's DNS servers.

If you can successfully ping the IP addresses above, you could try the following to bypass your ISPs DNS. NOTE - you'll have to choose a IP address which isn't in use. On my router, I have configured my router to reserve a small segment of IP addresses as not assignable via DHCP so I can assign them statically. That prevents accidental collisions. YMMV.

On with the show:

On the Networking config screen, change the wireless addressing method from DHCP to static. A new block of options will appear below the access point block.

Address: enter your chosen static IP address (somewhere in the range 192.168.2.2-254; maybe 192.168.2.250)
Netmask: 255.255.255.0
Gateway: 192.168.2.1
Primary DNS: I usually use 8.8.8.8 (Google) or 1.1.1.1 (Cloudflare)
Secondary DNS: I use the one I didn't choose as primary

Be sure to save and reboot. Now you should be able to reach FM4. I just did this here and I can still reach FM4 (and all other radio stations) so at least it doesn't break a working system.

If for some reason your moOde player boots up but you can't reach it either by hostname or by the static IP address you entered above, and if it also doesn't come up as a hotspot, you can connect temporarily via Ethernet cable in order to revert the settings to DHCP. (It's possible to recover by editing your uSD card on another host but that's really getting into Linux-fu).

Regards,
Kent
Reply


Messages In This Thread
Radio Station not working - by kosi123 - 01-20-2025, 12:07 PM
RE: Radio Station not working - by Tim Curtis - 01-20-2025, 12:15 PM
RE: Radio Station not working - by kosi123 - 01-20-2025, 02:23 PM
RE: Radio Station not working - by kosi123 - 01-20-2025, 06:49 PM
RE: Radio Station not working - by kosi123 - 01-20-2025, 08:07 PM
RE: Radio Station not working - by kosi123 - 01-20-2025, 08:42 PM
RE: Radio Station not working - by Tim Curtis - 01-20-2025, 08:46 PM
RE: Radio Station not working - by kosi123 - 01-20-2025, 08:52 PM
RE: Radio Station not working - by Tim Curtis - 01-20-2025, 09:08 PM
RE: Radio Station not working - by Nutul - 01-20-2025, 10:57 PM
RE: Radio Station not working - by TheOldPresbyope - Yesterday, 03:00 AM
RE: Radio Station not working - by kosi123 - Yesterday, 06:58 PM

Forum Jump: