Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to install mini-isp on debian 7 #1

Open
sacarlson opened this issue Oct 22, 2014 · 0 comments
Open

unable to install mini-isp on debian 7 #1

sacarlson opened this issue Oct 22, 2014 · 0 comments
Assignees

Comments

@sacarlson
Copy link
Owner

In an attempt to install mini-isp on a fresh install of debian 7
we see this error:
mv: cannot move /usr/share/mini-isp/ruby/mini-isp-apache.conf.rZH8PQ' to/etc/apache2/conf-available/mini-isp-apache.conf': No such file or directory
dpkg: error processing mini-isp (--install):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
mini-isp

with a debian install due to differences in way ubuntu and debian have appache2 configured and how they setup resolve.

The workaound at present before you install mini-isp on a debian 7 system you must:
cd /etc/apache2
mkdir conf-available
mkdir conf-enabled
cd conf.d
ln -sf ../conf-available/mini-isp-apache.conf mini-isp.conf
mkdir /etc/resolvconf/resolv.conf.d

Also after mini-isp package is installed:
edit file /usr/share/mini-isp/masq.sh
after the line with contents "stop network-manager"
add line with " service network-manager stop"
add another line with "killall dhclient"

This is another difference in ubuntu and debian to allow use to dissable network manager at start.
otherwise network-manager distrurbes mini-isp static configs
after the fixes I did some tests in virtualbox with two system running to simulate operation
most everything seemed to work ok.

for details and screen shots captured in debian 7 install and integration see:
https://drive.google.com/folderview?id=0B4pSHwxHXW9SZnhsaDdvQ1lrSzg&usp=sharing

Update: I also found that dhcpd fails to autostart at boot time on debian, even when autostart mode is set active.
It seems to start fine after boot with sudo /etc/init.d/isc-dhcp-server restart or by restarting mini-isp with sudo /usr/share/mini-isp/masq.sh . I have not been able to determine why it won't start at this time. maybe added delays added in masq.sh after network-manger stop might fix it but not tested yet.

at time of this publish debian 7 is not fully tested on real sytems and may have other unknown problems
at this time mini-isp has only been run and mostly tested on Linux Mint 17
at some point we hope to have a single deb that works on both ubuntu and debian
or release another deb just for debian, until then this work around will be used for continued testing.

@sacarlson sacarlson self-assigned this Oct 22, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant