@alexamore90 it also seems the ip address being attempted is 192.168.122.1 not 192.168.11.1
Posts made by Tom Elliott
-
RE: fog configuration problem
-
RE: fog configuration problem
@alexamore90 the reason I had all three commands is so we can get all the details much more readily.
-
RE: Offline installation
I understand what you’re requesting, but we don’t put limits to what can “also” be added to the list of packages.
Here’s the List for Ubuntu (Modern versions at least)
apache2 build-essential cpp curl g++ gawk gcc genisoimage git gzip htmldoc isc-dhcp-server isolinux lftp libapache2-mod-fastcgi libapache2-mod-php libc6 libcurl3 liblzma-dev m4 mariadb-client mariadb-server net-tools nfs-kernel-server openssh-server php-fpm php php-cli php-curl php-gd php-json php-ldap php-mbstring php-mysql php-mysqlnd tar tftpd-hpa tftp-hpa vsftpd wget zlib1g
Here’s the list for Redhat based OS (Modern versions beyond Centos/Redhat 7)
curl dhcp-server gcc gcc-c++ genisoimage git gzip httpd lftp m4 make mod_fastcgi mod_ssl mtools mysql mysql-server net-tools nfs-utils openssl php php-cli php-common php-fpm php-gd php-json php-ldap php-mbstring php-mysqlnd php-process syslinux tar tftp-server util-linux-user vsftpd wget xz-devel
But I am also unware that this is even potentially possible since we require internet access at the time of install.
So, if you’re able to take an SD card, load the packages, then reinsert that SD Card to the machine to install, why couldn’t you just run the installer from an “internet established link” then disconnect and isolate it?
I understand what you’re requesting, but there’s various reasons this was not put into place in the past.
-
RE: fog configuration problem
@alexamore90 This doesn’t have the other commands I was looking for?
-
RE: fog configuration problem
@alexamore90 What’s the output of
systemctl restart dhcpd systemctl status -l dhcpd journalctl -xe
-
RE: fog configuration problem
@alexamore90
systemctl restart dhcpd
It looks correct, at my cursory glance of things, yes.
-
RE: Update to Ubuntu 23.10 arise Kernel Panic on Fog 1.5.10 with Kernel 6.1.22
@herman This must’ve been changed by someone else at somepoint. Glad you found it and returned here. It seems you were missing the file entirely so that explains the kernel panic.
-
RE: fog configuration problem
@alexamore90 said in fog configuration problem:
This picture is incorrect I think.
You probably want the “Netmask” to be 255.255.255.0 as well. 0.0.0.0 = “any open IP address” which isn’t really “feasible” or accurate. In Most systems this is unusable as a Netmask.
-
RE: fog configuration problem
@alexamore90 The service is called
dhcpd
notdhcp
While in our eye’s they’re one in the same.
-
RE: Offline installation
@matthewadams12 I’m not fully understand what exactly you’re requesting.
The packages line in the fogsettings file is all the packages installed for FOG to operate.
Of course you’re correct this can be manually edited.
However, this is used at the initial install and built that way. Future upgrades typically use the information from this line for checking unless there’s a significant need to change it?
The reason I’m hesitant is it’s completely based on the OS installed (and its relevant version) and can be changed:
https://github.com/FOGProject/fogproject/blob/master/lib/ubuntu/config.sh
https://github.com/FOGProject/fogproject/blob/master/lib/redhat/config.sh
https://github.com/FOGProject/fogproject/blob/master/lib/arch/config.shcase $linuxReleaseName_lower in *ubuntu*|*bian*|*mint*) initdsrc="../packages/init.d/ubuntu" ;; *) initdsrc="../packages/init.d/redhat" ;; esac
https://github.com/FOGProject/fogproject/blob/master/lib/common/functions.sh#L658
There’s so much that can change just at the time you run the installer I don’t know of a simple “–list-packages” argument that would be accurate without assuming fogsettings packages as the options on upgrades at least
-
RE: fog configuration problem
@alexamore90 You might want to set a subnet for the interface.
0.0.0.0 subnet mask means no ips available. So how could it even get 192.168.11.1
Your subnet should potentially be 255.255.255.0?
I don’t know wht the dhcpd.conf file looks like though either.
-
RE: fog configuration problem
@alexamore90 The
d
in the dhcpd that Sebastian suggested is absolutely necessary:It stands for “DHCP Daemon” as a way to think of it all.
Please what is output of:
systemctl status -l dhcpd
-
RE: fog configuration problem
@alexamore90 So the “reinstall” process is really very simple.
And generally corrects 90% of the problems people face. It’s not quite the same as a reinstall as you might envision it.
Would you be willing to try simply re-running the installer? It will not delete existing information or anything, and might tell you if dhcp fails to start as well.
-
RE: fog configuration problem
Can you provide the error log from the installation so we can maybe help provide more information?
-
RE: Offline installation
@matthewadams12 If you have already installed fog, look at the /opt/fog/.fogsettings file particularly the “packages” variable
This should contain all the necessary packages needed to install on the server.
-
RE: img to iso
@professorb24 There is one way to make “image files” bootable.
That is to deploy the image.
Otherwise no… Not reailly. -
RE: Deploy and capture images remotely?
@gaemover9 The “mobile server” would provide DHCP