After installing hostapd (Ubuntu 14.04) Network Manager icon disappears. Even after removing hostapd, still Network Manager icon is not appearing.

  • During boot up:

    Waiting up to 60 seconds to start network configuration

  • and after that another message:

    booting up without network configuration

How can I resolve this issue?


A bug with Network Manager obviously can be solved this way:

First you need anyway purge hostapd together with configuration:

sudo apt-get purge hostapd

Then try to reinstall network-manager, and this way your configuration of network-manager will be saved:

sudo apt-get install --reinstall -fmu network-manager

where -f is fix-broken, -m is fix-missing and -u is show upgraded

sudo reboot

OR completely purge hostapd & network-manager together with their configurations and again freshly install network-manager by single command:

sudo apt-get purge -y hostapd && sudo apt-get purge -y network-manager && sudo apt-get install network-manager && sudo reboot

For a chance to have hostapd installed my opinion you need to go step-by-step this guide:
WifiDocs / MasterMode

Then, if success you can begin stepping second guide to setup your wifi from there:
Using hostapd on Ubuntu to create a wifi access point

Cited the part 5.Troubleshooting from second guide:

If you have network-manager configured to use your wifi card, you should disable auto-connect for all the wireless connections. Otherwise, it may interfere with hostapd. If some frequencies are disabled, make sure your driver is set to use the right regulatory domain. You can see the current one with:

iw reg get

If it says country 00, you need to set it manually, in /etc/default/crda. To set it manually you need (at least for some cards) to have cfg80211 and mac80211 installed as kernel modules. You can check if they’re installed as modules by using:

zcat /proc/config.gz

Look for CONFIG_CFG80211=m, if it says “=y” then it’s compiled into the kernel, and you’ll need to re-install your kernel. If you’re using an Atheros card, you may also need to set the region in the driver. Do this by adding “cfg80211 ieee80211_regdom=US” to /etc/modules

Last sentence is about your country code sure.