I encounter wifi disonnection problem on a Dell XPS 13 9360. Here is the solution I used to fix this bad behavior.
lspci | grep -i net
3a:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)
| from functools import wraps | |
| class SometimesClassmethod: | |
| def __init__(self, wrapped_function): | |
| self._wrapped = wrapped_function | |
| def __get__(self, instance, owner=None): | |
| if instance is None: | |
| return self._class_call(owner) |
| # Run this like fab -R www deploy | |
| from fabric.api import * | |
| REPO_URL = '[email protected]:username/repo.git' | |
| PROJECT_DIR = '$HOME/projects/projectname' | |
| PROJECT_NAME = 'projectname' | |
| SERVER_NAME = 'projectname.servername' # I use gunicorn, so i have projectname.gunicorn | |
| env.roledefs['www'] = ['www1.example.com'] |