I use a Lenovo U31-70 with a Qualcomm Atheros QCA6164 Wireless Network Adapter using the ath10k_pci driver module.

I recently tried to upgrade my Jessie installation to Stretch by altering my /etc/apt/sources.list to point to the stretch repositories, and then running apt-get update and apt-get upgrade. This ran for quite a while and got into a loop where the restart of network-manager timed out, and finally hanged my system hard enough to make it non-responsive.

After hard reboot, the system booted up and connected fine to my wifi, but running any apt-get operation finally ended up in the same state.

I decided to take drastic action; backed up my /home and installed Debian Stretch with non-free additions from scratch.

Now apt-get works fine, but the system won't shut down cleanly. Sometimes I will get a black screen with network operations trying to finish but never succeeding.

[*   ] (1 of 2) A stop job is running for Network Manager (4min 49s / 5min)
[*   ] (2 of 2) A stop job is running for WPA supplicant (5 min 2s / 6 min) 

If I loose a network connection, I'm not able to re-establish it or switch to another network.

# service wpa_supplicant stop

takes about two minutes to return and so does

# service network_manager stop

Has anyone else experienced trouble with network managing in Stretch? Is there anything I can do about this?

The output of ip a is

3: wlp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
  link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
  inet brd scope global dynamic wlp320
    valid_lft 3450sec preferred_left 3450sec
  inet6 xxxx::xxxx:xxxx:xxxx:xxxx/64 scope link
    valid_lft forever preferred_left forever

/etc/network/interfaces is very short

source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback

and /etc/network/interfaces.d is an empty directory.

  • Did you have the same problem when using su? for example try su -c 'ps -ef' – GAD3R Jul 31 '17 at 11:06
  • 1
    @GAD3R Indeed I have not! With su -c both commands work fine. I'll try to capture the log next time this error appears. – Bex Jul 31 '17 at 11:10
  • Run the command hostname , let's say the output is Debian , as root edit your /etc/hots file by adding the following line on the top Debian (replace Debian with yours) logout then login then run some command with sudo – GAD3R Jul 31 '17 at 11:16
  • @GAD3R Oh, wow, thanks! One problem down, another one to go! ;) – Bex Jul 31 '17 at 11:22
  • what is the output of lspci -knn | grep Net -A2? – GAD3R Jul 31 '17 at 11:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.