Problem with ap-hotspot
This is the message displayed in my terminal screen when I typed
sudo ap-hotspot start
Another process is already running
Which process is running and how do I stop it?
Solution 1:
I found this solution
sudo rm /tmp/hotspot.pid
this will delete the process id created temporarily and no more the error is displayed. This worked in my case.
Solution 2:
The problem may be with the recent version hostapd package that installs with ap-hotspot.
First uninstall ap-hotspot. Download old hostapd package(bug free) you can get it from
wget http://archive.ubuntu.com/ubuntu/pool/universe/w/wpa/hostapd_1.0-3ubuntu2.1_amd64.deb
To install hostpad.deb you can use gdebi package manager or simply
sudo dpkg -i hostapd_1.0-3ubuntu2.1_amd64.deb
After installation hold the package so no latest versions gets updated
sudo apt-mark hold hostapd
Now install ap-hotspot normally.
- Do not update the hostapd package.