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

Re: GENERAL QUESTION

$
0
0
Syntax errors are not from not using vi or nano correctly.
These syntax errors usually come from unexpected input. For example special characters.
The tool is working on my box as expected. I run it like this
sudo /opt/piratebox/bin/install_piratebox.sh  /opt/piratebox/conf/piratebox.conf  hostname 'helloworld.com'

In general, if you encounter an error message like you hade, then it strongly recommended that you capture (copy&paste) the hole output including the executed commando. Without, I can not identify where the command failed and the message reads for a developer like "an error occurred" (and we do not know why and what exactly).

The command(-prefix) "sudo" is a command which executed the following commands as the root user. Linux is following the principle of a strict differentiation between a normal (unprivileged) user and a superuser (root). If you connect to the box as the user "alarm", then you are a normal user and are not allowed to change system configuration. PirateBox under /opt/piratebox is counting as a privileged service and needs to be changed and executed as root using sudo.

best regards Matthias

Viewing all articles
Browse latest Browse all 1863

Trending Articles