Error while installing FOG on Ubuntu 18.04
-
I found info on how to solve the libcurl issue here on the forum but now, almost near the end, It stops with another error:
Press [Enter] key when database is updated/installed. Setting up storage…OK Setting up and starting DHCP Server…/lib/common/functions.sh: line 169: Error:: syntax error in expression (error token is “:”) …/lib/common/functions.sh: line 271: let: octet4+=: syntax error: operand expected (error token is “+=”) Failed!
-
Problem solved. Looks like the libcurl error caused this also. I did a fresh install and modified the reference to libcurl3 before starting the install and all went well.
-
For future readers, this is already fixed in the up-coming 1.5.3 release.
-
@andreiv Erm, something seems to have broken it again in 1.5.5
This happens at the beginning where I enter the needed configuration data:
What network interface would you like to use? enp6s0 ../lib/common/functions.sh: Zeile 149: /8: Syntax Fehler: Operator erwartet. (Fehlerverursachendes Zeichen ist »/8«). Would you like to setup a router address for the DHCP server? [Y/n]
And this then happens at the end:
* Setting up and starting DHCP Server.........................../lib/common/functions.sh: Zeile 169: Error:: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist »:«). ../lib/common/functions.sh: Zeile 271: let: octet4+=: Syntax Fehler: Operator erwartet. (Fehlerverursachendes Zeichen ist »+=«). Failed!
-
@Rhywden What OS and version are you running?
-
@Rhywden said in Error while installing FOG on Ubuntu 18.04:
enp6s0
Do you have an IP configured on that interface enp6s0 before running the installer?? FOG does not do this for you! IP needs to be set beforehand.
-
@Wayne-Workman said in Error while installing FOG on Ubuntu 18.04:
@Rhywden What OS and version are you running?
I tried it on both Debian 8 and Ubuntu 18.04
@Sebastian-Roth said in Error while installing FOG on Ubuntu 18.04:
@Rhywden said in Error while installing FOG on Ubuntu 18.04:
enp6s0
Do you have an IP configured on that interface enp6s0 before running the installer?? FOG does not do this for you! IP needs to be set beforehand.
Yes. Statically set to a valid IP address.
Basically I want to set it up thus that it’s able to connect to an existing network over Wifi (i.e. not this interface) while the
enp6s0
interface is connected to a switch I’m then connecting the laptops to I want to image. Which also means that DHCP to anything other thanenp6s0
is strictly verboten. -
@Rhywden said in Error while installing FOG on Ubuntu 18.04:
I tried it on both Debian 8 and Ubuntu 18.04
We have automatic daily installer test running and there is no general issue with Debian or Ubuntu I can assure you.
Make sure that interface is up and has an IP! Run
ip a s
before running the installer and post output here.Basically I want to set it up thus that it’s able to connect to an existing network over Wifi.
Ok then you need to configure both interfaces. First WLAN, get an IP and make sure you have internet access through that (
ping -c ix.de
). Then configureenp6s0
with a static IP and make sure the interface is UP!ip a s
…
2: enp6s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
…