lemmy999 wrote: 
> I have looked on my cell phone, laptop and other devices and haven't
> seen an apostrophe for any of the SSIDs in my area.
Ok, so the script if failing for another reason. The so-far noted
reasons for exiting after running for a while have been a "sh: =11: bad
number...arithmetic syntax error" and failing to launch the ping (radio
out of resources?). The script is designed to exit immediately after
launch if there are certain problems with its configuration, which is
why the original (not simplified) instructions are to test launch it
from the ssh shell.

> ...Quality:65/94 Signal level:-30 dBm...
A very (too?) strong signal. If the music plays for ~10 seconds then
pauses, this is odd. You would have to troubleshoot the connection
handshakes somehow. What was the source? Are other sources more
responsive? Other radios synced to this one, with another radio failing,
might be an issue (although not consistently 10 seconds after
resumption)?

--- Hello Developers: In light of the WiFi Connectivity Issue, it might
be a good idea to review the synchronization code to see if it could be
made more robust to radio connection dropouts... ---

> I also had one instance where wlanpoke successfully reset the wifi link
> but the music stopped playing and never started again.
This happens here from time to time, and has happened well before the
connectivity loss started.

> I will try changing it to 3 failed pings. ... Is there any point in
> changing the ping time from the default 2 to 1 second? ... 
I don't think so. It would just save about one second out of 40, a minor
improvement at the risk of additional bugs, etc., including taking more
time away from the player. The current software has been tested fairly
widely, and works mostly, and sometimes fails or just doesn't work. With
a record like that, I believe the focus should be on reliability first
and then a reliable quick reset method, which could save a lot of outage
time. See the development branch.

> ... I will set things back up and be sure to capture the the more
> detailed log that is stored on the radio this time.  At the time I
> hadn't read through the manual file yet and wasn't aware that those had
> a limited size and I would lose the data after a while. 
The size and log file location is configurable. It was set to be fairly
modest, less than the radio's own logs, but it can be much larger.
However, I don't think the logs will help with the exit issue. The
exiting entry is particularly unhelpful. What is helpful is a serial
connection and launching the script from the console, and the "ash -x"
debugging launch with its massive output piped to another process piping
it to your desktop. See github.

> So far I have only had 2 wlanpoke exits. One was within 8 hours of
> playing music, and the other was after 3 days of being on, but not
> playing music. 
"only 2" is 2 too many, and too frequent. I sort of wish one of my
radios did this, I could perhaps find the issue.

> Ok, I will try the quick option.
The "web server" should not fail. This is a clue, but has not led to a
solution so far.

> I saw one person say they couldn't get wlanpoke to work for them until
> they added the -X option to disable the tcp logging.  If you do not have
> -X (so logging is on) but you do not have anything receiving the log on
> the LMS server, does this typically cause problems?  I do have ncat
> running on the LMS server, but I was just curious about this.

I believe it could cause problems with the software waiting for a failed
connection to the server, although the case of a failed server and
failed receiving nc or ncat has been tested, but perhaps not enough. 

Also, not every invocation of the nc reporting is turned off by -x
(lower case), so in three cases (2 in wpa_cli_check() and after the
gateway comes up, the others don't matter) an nc report is attempted
anyway, potentially causing more problems. These nc invocations -should-
immediately fail with a "can't connect to remote host" message, but, for
completeness, those calls could also be disabled.

Thanks for your troubleshooting help.


------------------------------------------------------------------------
POMdev's Profile: http://forums.slimdevices.com/member.php?userid=70558
View this thread: http://forums.slimdevices.com/showthread.php?t=111663

_______________________________________________
Radio mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/radio

Reply via email to