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

Re: Solving the bootup issue

$
0
0
[root@alarmpi ~]# systemctl status piratebox
* piratebox.service - PirateBox Service
Loaded: loaded (/etc/systemd/system/piratebox.service; enabled)
Active: active (running) since Wed 2014-07-09 17:18:59 MDT; 16s ago
Process: 332 ExecStart=/opt/piratebox/init.d/piratebox_alt start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/piratebox.service
|-349 /usr/sbin/hostapd /opt/piratebox/conf/hostapd.conf
|-359 /usr/sbin/dnsmasq -x /var/run/piratebox_dnsmasq.pid -C /opt/...
|-366 python /opt/piratebox/bin/droopy -H piratebox.lan -d /opt/pi...
`-374 /usr/sbin/lighttpd -f /opt/piratebox/conf/lighttpd/lighttpd....

Jul 09 17:18:57 alarmpi dnsmasq-dhcp[359]: DHCP, IP range 192.168.77.10 -- 1...h
Jul 09 17:18:57 alarmpi dnsmasq[359]: read /opt/piratebox/conf/hosts_mesh -...es
Jul 09 17:18:57 alarmpi dnsmasq[359]: read /opt/piratebox/conf/hosts_genera...es
Jul 09 17:18:57 alarmpi piratebox_alt[332]: 0
Jul 09 17:18:57 alarmpi piratebox_alt[332]: Starting droopy...
Jul 09 17:18:57 alarmpi piratebox_alt[332]: 0
Jul 09 17:18:59 alarmpi piratebox_alt[332]: Generated HTML-Shoutbox File.
Jul 09 17:18:59 alarmpi piratebox_alt[332]: Starting lighttpd...
Jul 09 17:18:59 alarmpi piratebox_alt[332]: 0
Jul 09 17:18:59 alarmpi systemd[1]: Started PirateBox Service.
Hint: Some lines were ellipsized, use -l to show in full.




and for journalctl -xn:

-- Logs begin at Wed 1969-12-31 17:00:04 MST, end at Wed 2014-07-09 17:26:15 MDT. --
Jul 09 17:26:13 alarmpi dnsmasq-dhcp[404]: DHCP, IP range 192.168.77.10 -- 192.168.77.250, lease time 12h
Jul 09 17:26:13 alarmpi dnsmasq[404]: read /opt/piratebox/conf/hosts_mesh - 0 addresses
Jul 09 17:26:13 alarmpi dnsmasq[404]: read /opt/piratebox/conf/hosts_generated - 1 addresses
Jul 09 17:26:13 alarmpi piratebox_alt[374]: 0
Jul 09 17:26:13 alarmpi piratebox_alt[374]: Starting droopy...
Jul 09 17:26:13 alarmpi piratebox_alt[374]: 0
Jul 09 17:26:15 alarmpi piratebox_alt[374]: Generated HTML-Shoutbox File.
Jul 09 17:26:15 alarmpi piratebox_alt[374]: Starting lighttpd...
Jul 09 17:26:15 alarmpi piratebox_alt[374]: 0
Jul 09 17:26:15 alarmpi systemd[1]: Started PirateBox Service.
-- Subject: Unit piratebox.service has finished start-up
-- Defined-By: systemd
-- Support: [lists.freedesktop.org]
--
-- Unit piratebox.service has finished starting up.
--
-- The start-up result is done.





After reboot it does not work,. I get:

* piratebox.service - PirateBox Service
Loaded: loaded (/etc/systemd/system/piratebox.service; enabled)
Active: failed (Result: exit-code) since Wed 1969-12-31 17:00:10 MST; 44 years 6 months ago
Process: 114 ExecStart=/opt/piratebox/init.d/piratebox_alt start (code=exited, status=255)

Dec 31 17:00:09 alarmpi piratebox_alt[114]: Starting hostap...
Dec 31 17:00:09 alarmpi piratebox_alt[114]: 0
Dec 31 17:00:09 alarmpi piratebox_alt[114]: Setting up wlan
Dec 31 17:00:10 alarmpi piratebox_alt[114]: Bringing up wifi interface wlan0
Dec 31 17:00:10 alarmpi piratebox_alt[114]: wlan0: ERROR while getting interface flags: No such device
Dec 31 17:00:10 alarmpi piratebox_alt[114]: ..failed
Dec 31 17:00:10 alarmpi systemd[1]: piratebox.service: control process exited, code=exited status=255
Dec 31 17:00:10 alarmpi piratebox_alt[114]: failed setting up Interface
Dec 31 17:00:10 alarmpi systemd[1]: Failed to start PirateBox Service.
Dec 31 17:00:10 alarmpi systemd[1]: Unit piratebox.service entered failed state.

Viewing all articles
Browse latest Browse all 1863

Trending Articles