I just used this procedure to edit rc.local and it did work. It takes a few minutes for the IP address to change to the static IP I configured, but it does work consistently. I may experiment with shortening the sleep time. When I get some more time, I may try the connman approach.
Stephen Barner
So Burlington High School, Vermont