Quantcast
Channel: PirateBox Forum - Raspberry Pi(rate)Box
Viewing all articles
Browse latest Browse all 1863

Re: Raspbian Jessie Lite Piratebox

$
0
0
I was able to connect after running

sudo /etc/init.d/dnsmasq stop
sudo /etc/init.d/piratebox stop
sudo /etc/init.d/piratebox start

When I tried to reset the piratebox I got an error near the end

pi@raspberrypi:~ $ sudo /etc/init.d/piratebox start
[....] Starting script piratebox :
Generating hosts file ....
Generating dnsmasq.conf .....
Generating Environment-config for lighttpd .....
Empty tmp folder
rm: cannot remove ‘/opt/piratebox/tmp/’: Is a directory
Copy over design files
Generating json configuration file: /opt/piratebox/www/piratebox_config.json
[ ok ] Starting hostap... :.
[....]   Setting up wlan:Bringing up wifi interface wlan0
Setting up wlan0
[ ok ] Starting dnsmasq... :.
[ ok ] Setting up firewall rules...:.
[ ok ] Starting droopy...:.
Generated HTML-Shoutbox File.
CRITICAL: /opt/piratebox/share/Shared modified 2 minutes ago. Threshold set to 5 minutes. Cannot update.
Generated HTML-DiskUsage File.
[....] Starting lighttpd...:2016-09-24 11:32:43: (network.c.409) can't bind to port:  80 Address already in use
 (warning).
pi@raspberrypi:~ $

I was able to connect to the piratebox, but the webserver doesnt seem to work right. browse files goes to a 404. and after uploading a file through piratebox.lan that domain now redirects to a lighttpd place holder.


*addition :
after running

sudo /etc/init.d/lighttpd stop

I was able to stop / start the piratebox without the address error. I'll have to reimage and update the sd card again as the web server half broke somehow.

Viewing all articles
Browse latest Browse all 1863

Trending Articles