Re: [SlimDevices: Radio] Strange network/WiFi issue

2020-11-04 Thread bpa


slartibartfast wrote: 
> The error seems to be a red herring. If I close the error message I can
> see the file system. Enabling debug for net.http is extremely verbose. I
> am not sure if it is worth spending too much time investigating this. It
> is a minor annoyance and probably has always been there.

Logging is always verbose - trick is to find a way to minimise the
traffic. 
The issue seems like a minor but annoying niggle & difficult to
identify.  If it is battery associated - yet another potential level of
complexity, I have no idea of what special measures are taken with the
battery.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=113140

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


Re: [SlimDevices: Radio] Strange network/WiFi issue

2020-11-04 Thread mrw


slartibartfast wrote: 
> The network icon colours changed at some point to give less info. Now
> blue no longer exists. There is no difference now between a WiFi or LMS
> issue.

If you want to restore blueness, and you're feeling brave, the attached
patch does it. (For me, anyway). E&OE.

Upload the attached patch file to your Radio, into the root user's home
directory. Name it -icon.patch-

Then save the existing -QVGAbaseSkinApplet.lua- script, e.g. to
-QVGAbaseSkinApplet.lua.original-, and apply the patch. Then check your
work, and restart the Radio. You can restore the saved version back if
things go wrong.

Here's a screen dump of the process as I undertook it:

Code:


  # cd /usr/share/jive/applets/QVGAbaseSkin
  # cp -p QVGAbaseSkinApplet.lua QVGAbaseSkinApplet.lua.original
  # patch <~/icon.patch
  
  Check your handiwork:
  
  # diff -u QVGAbaseSkinApplet.lua.original QVGAbaseSkinApplet.lua 
  --- QVGAbaseSkinApplet.lua.original
  +++ QVGAbaseSkinApplet.lua
  @@ -2385,10 +2385,10 @@
img = _loadImage(self, "Icons/icon_wireless_disabled.png"),
})
s.button_wireless_SERVERERROR = _uses(s._button_wireless, {
  - img = _loadImage(self, "Icons/icon_wireless_disabled.png"),
  + --img = _loadImage(self, "Icons/icon_wireless_disabled.png"),
-- In 7.6, decision is to go with only red colored icons for 
both network and server errors
-- leaving the old path here in case we decide that was a 
mistake
  - --img = _loadImage(self, "Icons/icon_wireless_cantconnect.png"),
  + img = _loadImage(self, "Icons/icon_wireless_cantconnect.png"),
})
s.button_wireless_NONE = _uses(s._button_wireless, {
img = false,
  @@ -2401,10 +2401,10 @@
img = _loadImage(self, "Icons/icon_ethernet_disabled.png"),
})
s.button_ethernet_SERVERERROR = _uses(s._button_wireless, {
  - img = _loadImage(self, "Icons/icon_ethernet_disabled.png"),
  + --img = _loadImage(self, "Icons/icon_ethernet_disabled.png"),
-- In 7.6, decision is to go with only red colored icons for 
both network and server errors
-- leaving the old path here in case we decide that was a 
mistake
  - -- img = _loadImage(self, 
"Icons/icon_ethernet_cantconnect.png"),
  + img = _loadImage(self, "Icons/icon_ethernet_cantconnect.png"),
})
  
-- time
  
  



+---+
|Filename: icon.patch.txt   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=32084|
+---+


mrw's Profile: http://forums.slimdevices.com/member.php?userid=38299
View this thread: http://forums.slimdevices.com/showthread.php?t=113140

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


Re: [SlimDevices: Radio] Strange network/WiFi issue

2020-11-04 Thread slartibartfast


bpa wrote: 
> "pwd" works OK for me after ssh'ing into a Touch.
> 
> Latest log file is in /var/log/messages  - there is also
> /var/log/messages.0 which I think is created from messages about every
> 10 mins.The error seems to be a red herring. If I close the error message I 
> can
see the file system. Enabling debug for net.http is extremely verbose. I
am not sure if it is worth spending too much time investigating this. It
is a minor annoyance and probably has always been there. Maybe the
community Radio firmware will fix it [emoji3]

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=113140

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


Re: [SlimDevices: Radio] Strange network/WiFi issue

2020-11-04 Thread bpa


slartibartfast wrote: 
> I logged into the Radio using Putty successfully but thought it would be
> easier to find the log file with WinSCP. When I try to connect I get an
> error message
> 
> Error getting name of current remote directory
> Command 'pwd'
> failed with return code 0 and error message
> -sh: groups: not found.

"pwd" works OK for me after ssh'ing into a Touch.

Latest log file is in /var/log/messages  - there is also
/var/log/messages.0 which I think is created from messages about every
10 mins.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=113140

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


Re: [SlimDevices: Radio] Strange network/WiFi issue

2020-11-04 Thread slartibartfast


bpa wrote: 
> Don't think you can do all. IIRC Problem is that there is limited space
> for log file (kept in RAM) and while usually I'd sit on tail of the log
> after ssh'ing into Radio - if there is a network problem then link will
> go down and ssh will be disconnected. Similarly if you redirect the log
> over the net.
> 
> To start, there are 4 network log options - http, slimproto, socket and
> thread.  Logging really means using DEBUG as I think INFO is minimal.
> 
> If the stream is played direct then net.http should be logged as Radio
> will do a http/GET to play the stream.  So enable net.http - verify what
> a good seesion looks like to make sure it logs the HTTP GET.  You want
> to look to see if there are two HTTP GETs or one with a break making
> your problem. Even if not played direct - see what net.http does in a
> good connection (http/GET is made to LMS) and if minimal then enable for
> testing.
> 
> net.slimproto is good to monitor "life" in the player (I.e. buffer
> fullness)  but I think don't monitor initially - you can probably do
> better by enabling network.protocol.slimproto logging on LMS side but
> make only one player connected to LMS - otherwise too much data logged.
> 
> net.socket - there'll be a lot of sockets in use but it will probably
> show whether network connection.  I'd enable logging and but first see
> if it captures network connection status changing (if using radio, block
> signal with maybe tinfoil or large metal cooking pot). 
> 
> net.thread - not sure but I think it is too low level.I logged into the Radio 
> using Putty successfully but thought it would be
easier to find the log file with WinSCP. When I try to connect I get an
error message

Error getting name of current remote directory
Command 'pwd'
failed with return code 0 and error message
-sh: groups: not found.



Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=113140

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


Re: [SlimDevices: Radio] Strange network/WiFi issue

2020-11-04 Thread bpa


slartibartfast wrote: 
> I tried a different station this morning and same result, it may have
> been longer than 30 seconds but playback halts and restarts when the
> network recovers.
> I had a look at the logging options and quite a few are concerned with
> network. Any idea which one to turn on? All of them?

Don't think you can do all. IIRC Problem is that there is limited space
for log file (kept in RAM) and while usually I'd sit on tail of the log
after ssh'ing into Radio - if there is a network problem then link will
go down and ssh will be disconnected. Similarly if you redirect the log
over the net.

To start, there are 4 network log options - http, slimproto, socket and
thread.  Logging really means using DEBUG as I think INFO is minimal.

If the stream is played direct then net.http should be logged as Radio
will do a http/GET to play the stream.  So enable net.http - verify what
a good seesion looks like to make sure it logs the HTTP GET.  You want
to look to see if there are two HTTP GETs or one with a break making
your problem. Even if not played direct - see what net.http does in a
good connection (http/GET is made to LMS) and if minimal then enable for
testing.

net.slimproto is good to monitor "life" in the player (I.e. buffer
fullness)  but I think don't monitor initially - you can probably do
better by enabling network.protocol.slimproto logging on LMS side but
make only one player connected to LMS - otherwise too much data logged.

net.socket - there'll be a lot of sockets in use but it will probably
show whether network connection.  I'd enable logging and but first see
if it captures network connection status changing (if using radio, block
signal with maybe tinfoil or large metal cooking pot). 

net.thread - not sure but I think it is too low level.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=113140

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


Re: [SlimDevices: Radio] Strange network/WiFi issue

2020-11-04 Thread slartibartfast


Redrum wrote: 
> I don't have a solution but...I have seen something similar...but only
> when the radio is on battery power. I can't recall ever seeing this on
> adaptor power.
> 
> I will often listen to podcasts on a radio which is synced with a touch.
> I carry the radio into a room I am going to be working in and sometimes
> plug it in, sometimes not. I have experienced, occasionally, and only
> when the radio is on battery power, the podcasts will stop, and either
> restart a short time later, or I will have to restart them. I have
> noticed the white wifi symbol on the radio, and if it turns red, the
> podcast restarts. I remembering wondering if my wifi dropped out. But,
> once when it was stuck white I checked with my phone and the wifi was
> fine.
> 
> But, my experiences with podcast control are not that great. I try to
> pause, resume doesn't work and I have to start over, I try to "start
> from last position" and it starts over from the beginning, etc, etc. so
> I always just chalked this stopping to my other struggles with
> podcasts.
> 
> This radio has the flawed "you have to wiggle it" adaptor jack. I
> wondering if it might have something to do with the radio
> adaptor/battery switching circuitry? Just a stab in the dark.
> 
> JimThis is also on battery. It only happens once though and after that is
totally fine.

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=113140

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


Re: [SlimDevices: Radio] Strange network/WiFi issue

2020-11-04 Thread Redrum


I don't have a solution but...I have seen something similar...but only
when the radio is on battery power. I can't recall ever seeing this on
adaptor power.

I will often listen to podcasts on a radio which is synced with a touch.
I carry the radio into a room I am going to be working in and sometimes
plug it in, sometimes not. I have experienced, occasionally, and only
when the radio is on battery power, the podcasts will stop, and either
restart a short time later, or I will have to restart them. I have
noticed the white wifi symbol on the radio, and if it turns red, the
podcast restarts. I remembering wondering if my wifi dropped out. But,
once when it was stuck white I checked with my phone and the wifi was
fine.

But, my experiences with podcast control are not that great. I try to
pause, resume doesn't work and I have to start over, I try to "start
from last position" and it starts over from the beginning, etc, etc. so
I always just chalked this stopping to my other struggles with
podcasts.

This radio has the flawed "you have to wiggle it" adaptor jack. I
wondering if it might have something to do with the radio
adaptor/battery switching circuitry? Just a stab in the dark.

Jim



Redrum's Profile: http://forums.slimdevices.com/member.php?userid=33806
View this thread: http://forums.slimdevices.com/showthread.php?t=113140

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


Re: [SlimDevices: Radio] Strange network/WiFi issue

2020-11-04 Thread slartibartfast


bpa wrote: 
> My two thoughts.
> 1. If it is the same station and playing direct, then audio maybe left
> in buffer and so immediately played but then new connection is needed to
> station
> 2. Some problem related to initial buffering (i.e. Radio gets enough
> data to start playing but has a problem once playing has started)  - try
> increasing Network/Radio Station Buffer Seconds to minutes to see if
> 15-30 secs is affected.I tried a different station this morning and same 
> result, it may have
been longer than 30 seconds but playback halts and restarts when the
network recovers.
I had a look at the logging options and quite a few are concerned with
network. Any idea which one to turn on? All of them?

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=113140

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


Re: [SlimDevices: Radio] Strange network/WiFi issue

2020-11-04 Thread slartibartfast


mvordeme wrote: 
> Do you have a WiFi mesh with multiple repeaters / access points? Maybe
> the radio gets pushed to a closer access point when it actually starts
> to transmit and receive data.No just standard router.

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=113140

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


Re: [SlimDevices: Radio] Strange network/WiFi issue

2020-11-01 Thread mvordeme


Do you have a WiFi mesh with multiple repeaters / access points? Maybe
the radio gets pushed to a closer access point when it actually starts
to transmit and receive data.



scaleo home server 2105 | logitech media server 8.0.0 |
server power control 20120716.103808 |
transporter & duet & touch & boom & radio | rotel rc-995 & rmb-100 |
nubert nuvero 140

mvordeme's Profile: http://forums.slimdevices.com/member.php?userid=22892
View this thread: http://forums.slimdevices.com/showthread.php?t=113140

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


Re: [SlimDevices: Radio] Strange network/WiFi issue

2020-11-01 Thread bpa


slartibartfast wrote: 
> The network icon colours changed at some point to give less info. Now
> blue no longer exists. There is no difference now between a WiFi or LMS
> issue.
OK - don't use radio much except for testing.

Enabling logging for network stuff on Radio might be a starting point.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=113140

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


Re: [SlimDevices: Radio] Strange network/WiFi issue

2020-11-01 Thread slartibartfast


bpa wrote: 
> I can no longer find wiki page with the meaning of the colours.  White,
> Blue, Red ? 
> 
> IIRC 3 states
> - no network
> - network OK but no connection to LMS
> - All good (white)
> 
> I think netweork status displayed remains unchanged until action is
> requested.  If no network activity for a while then maybe "power save
> mode" by router and so when Radio tries to connect after a button push 
> - network fail but then router "wakes" up.The network icon colours changed at 
> some point to give less info. Now
blue no longer exists. There is no difference now between a WiFi or LMS
issue.

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=113140

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


Re: [SlimDevices: Radio] Strange network/WiFi issue

2020-11-01 Thread bpa


slartibartfast wrote: 
> I see the same issue when nothing is playing though. I would expect the
> network icon to be red at turn on then change to white when the
> connection to WiFi is achieved, but it is white at turn on and seems to
> turn red if I touch any buttons.

I can no longer find wiki page with the meaning of the colours.  White,
Blue, Red ? 

IIRC 3 states
- no network
- network OK but no connection to LMS
- All good (white)

I think netweork status displayed remains unchanged until action is
requested.  If no network activity for a while then maybe "power save
mode" by router and so when Radio tries to connect after a button push 
- network fail but then router "wakes" up.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=113140

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


Re: [SlimDevices: Radio] Strange network/WiFi issue

2020-11-01 Thread slartibartfast


bpa wrote: 
> My two thoughts.
> 1. If it is the same station and playing direct, then audio maybe left
> in buffer and so immediately played but then new connection is needed to
> station
> 2. Some problem related to initial buffering (i.e. Radio gets enough
> data to start playing but has a problem once playing has started)  - try
> increasing Network/Radio Station Buffer Seconds to minutes to see if
> 15-30 secs is affected.

I see the same issue when nothing is playing though. I would expect the
network icon to be red at turn on then change to white when the
connection to WiFi is achieved, but it is white at turn on and seems to
turn red if I touch any buttons.

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=113140

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


Re: [SlimDevices: Radio] Strange network/WiFi issue

2020-11-01 Thread bpa


slartibartfast wrote: 
> Sorry I didn't see your reply until just now. It probably was the last
> station but started by pushing the preset button. 
> New info from this morning. I turned on the Radio and saw that the
> network icon was white. I left it for a while to see if it would turn
> red on its own and it didn't. When I pressed the Home button on the
> Radio the icon turned red then back to white after around 15 seconds.

My two thoughts.
1. If it is the same station and playing direct, then audio maybe left
in buffer and so immediately played but then new connection is needed to
station
2. Some problem related to initial buffering (i.e. Radio gets enough
data to start playing but has a problem once playing has started)  - try
increasing Network/Radio Station Buffer Seconds to minutes to see if
15-30 secs is affected.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=113140

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


Re: [SlimDevices: Radio] Strange network/WiFi issue

2020-11-01 Thread slartibartfast


bpa wrote: 
> When you play the radio station - is this a new station or starting to
> play the last stationSorry I didn't see your reply until just now. It 
> probably was the last
station but started by pushing the preset button. 
New info from this morning. I turned on the Radio and saw that the
network icon was white. I left it for a while to see if it would turn
red on its own and it didn't. When I pressed the Home button on the
Radio the icon turned red then back to white after around 15 seconds.

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=113140

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


Re: [SlimDevices: Radio] Strange network/WiFi issue

2020-10-30 Thread bpa


When you play the radio station - is this a new station or starting to
play the last station



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=113140

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