The bootup issue on a ChiPiratebox

Posted by saturday_sun 
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
Now, this forum is in read-only mode. You find details Details hereContinue on /r/PirateBox
The bootup issue on a ChiPiratebox
April 14, 2016 10:25PM
Hi!

I've just made a Piratebox with the C.H.I.P. computer.

It seem to work, but I have problems with getting the service to run at bootup.

I have exactly the same problem as in this thread:
[forum.piratebox.cc] (Solving the bootup issue)

A problem is that I can't find the file /etc/systemd/system/piratebox.service in order to correct as described in the post linked above.

I have started the service with
# systemctl enable piratebox

and also tried
# systemctl enable piratebox.service

I'm not very keen with systemd, yet anyway...

Here's the output from systemctl:
chip@chip:~$ sudo systemctl status piratebox
[sudo] password for chip:
● piratebox.service - LSB: All services around piratebox
   Loaded: loaded (/etc/init.d/piratebox)
   Active: failed (Result: exit-code) since Thu 2016-04-14 22:14:10 UTC; 2min 19                   s ago
  Process: 185 ExecStart=/etc/init.d/piratebox start (code=exited, status=99)

Apr 14 22:14:08 chip piratebox[185]: rm: cannot remove '/opt/piratebox/tmp/...ry
Apr 14 22:14:08 chip piratebox[185]: Copy over design files
Apr 14 22:14:09 chip piratebox[185]: Starting hostap... :.
Apr 14 22:14:10 chip piratebox[185]: Setting up wlan:Bringing up wifi inter...n0
Apr 14 22:14:10 chip piratebox[185]: wlan0: ERROR while getting interface f...ce
Apr 14 22:14:10 chip piratebox[185]: ..failed
Apr 14 22:14:10 chip piratebox[185]: failed setting up Interface ... failed!
Apr 14 22:14:10 chip systemd[1]: piratebox.service: control process exited,...99
Apr 14 22:14:10 chip systemd[1]: Failed to start LSB: All services around p...x.
Apr 14 22:14:10 chip systemd[1]: Unit piratebox.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.

Would be very happy if someone could point me in the right direction!

(This post maybe got in the wrong forum part, sorry about that!)

Best regards,
Tobias



Edited 1 time(s). Last edit at 04/14/2016 10:28PM by saturday_sun.
Re: The bootup issue on a ChiPiratebox
June 27, 2016 06:16PM
Hi Tobias,
Do you have a wifi adapter available?
Can you post the output of

iwconfig 
iw phy

best regards
Matthias


This is only my signature.