On Tuesday, February 6, 2018 at 9:08:30 AM UTC-8, Rod in Edm wrote:
>
> I really need to research installing a momentary contact on a gpio 
> pin-pair to allow for graceful shutdown (and/or a restart button) when 
> things go south.  Since I know processes continue to run when the carrier 
> goes south, pushing such a button should at least allow a safe restart of 
> everything without the power-plug-pull hack.  I hate doing that.
>
>
A little gpio button to do an orderly shutdown (and/or reboot) is pretty 
easy to do.   The Adafruit TFT display that I bought way back had button 
capability for that, and the script to monitor for the button being pressed 
was about as easy as it gets.
 

> But what is triggering the loss of wlan0 interface when the network 
> remains up?  And why did it suddenly start?  Ok, I'll give you that a naive 
> neighbour may be intruding on my wireless space - maybe installing a new 
> mesh wireless extender that's right next to my closest wall or something. 
>  I hadn't considered an external cause like that.  Right now my router is 
> set for "Auto" in terms of choosing a 2.4GHz WiFi channel, but I could set 
> it to one of 1, 6, or 11 (being the strongest of the dozen or so choices) 
> instead to see if it makes any difference.  I could also connect to the 
> less powerful 5GHz WiFi for this RPi3 to see if I can evade the 
> interference.  The funny thing is that no other WiFi device loses its WiFi 
> carrier and I have several that notify me within seconds if the WiFi is 
> lost.
>
>
raspi do not talk 5GHz so that's out for a vanilla pi card.   It might even 
be where you have the pi located physically.  My model-B that is next to an 
upstairs window for my timelapse camera finds different AP's in the 
neighborhood than the model-B that is at ground level behind the house.

I always hard-set my APs to a specific channel to at least rule 'that' out. 
  I know one neighbor has something that channel-hops which drives me crazy 
trying to work around.  Just wish I knew who it was so I could talk to them.

Intermittent things are rough to figure out....

There also used to be a setting to stop the wifi from going to low-power on 
inactivity (I think it was called 'power management') but I'm not sure if 
that's set correctly now as the default in Raspbian anyway.  Mine's been 
very stable for a long time since I went to a Ubiquiti AP that can radiate 
basically to Mars it's so powerful, so I've lost those brain cells by 
now.....


-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to