Can't complete the fog install!
-
I’m back again because, although I got to the fog management page, once I shifted the server off the internet, I couldn’t get there any more.
I really don’t understand IP settings much. When I ran the installer today, I answered yes to the suggested IP addresses, and got on, then move the pc to where we are making the network and couldn’t get into fog anymore.
I since found the user guide for installing for an isolated network and there it says to put in a static IP, and answer no to the next two IP questions. [url]http://www.fogproject.org/wiki/index.php/FOG_on_an_Isolated_Network[/url]
But with that method, I couldn’t get into the fog page.
-
So, if I use the automatic IP which the fog install script gives me, I can connect to the fog page.
But what do I do later on when I take the server off the internet/change network ??
-
Hi, I need some one to answer my question, if they could be a little patient!
My fog server IP was set up by the install script as [url]http://192.168.0.129[/url]
That was made because of connected to internet.
Now I want to go on isolated network, so how do I change the IP address? what to?
Note that installing using “isolated network” guide failed to let me connect to fog UI page.
OK, I can see the guide how to change the IP, in the fog settings, but I can’t find those other files to make changes.
can I use [url]http://192.168.1.1/[/url] ? but does the server IP need to change first? How do I do that??? I need step by step as I’m really tired!
Tahnks
-
I changed the IP as the guide shows, then restarted apache service
I login with [url]http://127.0.0.1/fog/[/url]
then it states Error contacting server - but that is with the ethernet internet pulled out
when I plugin again there’s “Estimated FOG sites: [B]4875”[/B]
-
Yeah
That’s expected. The contacting stuff goes out to the internet. If you unplug, you’re no longer on the internet.
-
alright then so thats just contacting the internet? if im unplugged it says server not found and I thought I needed the server!
Pls save me your sarcasm and look at my posts above. I need to set up isolated server. Are you really unwilling to offer help here?
-
so sorry, that prob wasn’t sarcasm on your part, now I see your yeah as like I’m heading in the right direction.
so I can connect to 127.0.0.1/fog but still not 192.168.1.1 which I changed to in fog UI
maybe that doesn’t matter??
-
my only guess, as you’re 127.0.0.1 is always Loop back.
It’s also known as localhost.
You setting the auto lo to auto eth0 is incorrect.
All auto lo does is start the loopback interface.
you can keep the lo interface from starting and only get the information from eth0 start start, but you need to statically set the IP and ifnormation for it.
How to do this is a little vague to be due to it being ubuntu/debian derivative. I believe you have to edit the auto eth0 to somethign like:
/etc/network/interfaces
[code]auto eth0
iface eth0 inet static
address 192.168.1.1
netmask 255.255.255.0
gateway 192.168.1.254
[/code]Then restart the system.
As far as I can tell the interface needs to be established before the other parts of the gui will work.
-
Yes I think Tom is right. You need to have a look at your network configuration. I’d suggest to have the config ‘/etc/network/interfaces’ like this:
[CODE]auto lo
iface lo inet loopbackauto eth0
iface eth0 inet static
address 192.168.1.1
netmask 255.255.255.0[/CODE]
You don’t need the gateway statement if you are in an isolated network without connection to the internet. [B]Please make sure you have ‘eth0’ and ‘lo’ configured as some linux services really need that loopback interface!!![/B]
Reboot your machine and check your network settings:
[CODE]# ifconfig
eth0 Link encap:Ethernet Hardware Adresse 00:1f:16:0c:32:50
inet Adresse:192.168.1.1 Maske:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1
…
lo Link encap:Lokale Schleife
inet Adresse:127.0.0.1 Maske:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metrik:1
…[/CODE] -
Right, you both confirmed what I’d seen about interface.
Concerning ip add change, the only file I can’t find is the pxe file. Its not in /tftpboot.
Can I run the fog install script again to set the ip add?
-
Right, you both confirmed what I’d seen about interface.
Concerning ip add change, the only file I can’t find is the pxe file. Its not in /tftpboot.
Can I run the fog install script again to set the ip add?
-
Right, you both confirmed what I’d seen about interface.
Concerning ip add change, the only file I can’t find is the pxe file. Its not in /tftpboot.
So to fix this whole thing i edited the .fogsetings file and I ran the fog install script again to set the ip address to my static one, as the last time I had used the automatic ip.
After that the client could register! Actually, there’s a list of correct things to do in the installation.txt file that I hadn’t read before, about setting static ip before install of fog. Perhaps the user guide should mention that file?
Thanks guys for this software…. We are donating 100s of computers to villages in the malayan jungle so fog is crucial.