OpenInternet / copilot

An easy to use censorship simulating access point in a box
https://openinternet.github.io/copilot/
GNU Lesser General Public License v3.0
26 stars 2 forks source link

A function in the install (before install_plugins) breaks the devices ability to resolve apt sources #98

Closed seamustuohy closed 8 years ago

seamustuohy commented 8 years ago

apt-get -y install hostapd fails to resolve any of the apt sources. The last apt-get based install that works before the break is the install of python-pip.

I believe that this is caused by the change in hostname done in the avahi setup By setting the hostname and not restarting or otherwise cleaning up the localhost to point to the new hostname all sorts of havok can happen.

I suggest swapping out kali for copilot in /etc/hosts and then restarting networking.

sed -i 's/127.0.0.1\s*kali/127.0.0.1\tcopilot/' /etc/hosts
service networking restart
seamustuohy commented 8 years ago

Working branch https://github.com/OpenInternet/co-pilot/tree/issue_98