@Wayne-Workman Will do.
After am I doing a re-install of Fog over my pre-existing one using the same steps I used to install it originally?
@Wayne-Workman Will do.
After am I doing a re-install of Fog over my pre-existing one using the same steps I used to install it originally?
Ok, thanks. I found them and am copying the folder over to my external drive.
I also did the FOG Configuration -> Configuration Save -> Export and Host Management -> Export -> Export which created a fog_backup.sql .
These two things are all I need?
@Wayne-Workman me external drive’s path is \media\
Where does Fog put the images by default in Ubuntu? I haven’t had any luck finding where they are stored.
I am running into trouble trying to run FOGBackup.sh
I have an external drive connected to my laptop (/media).
I am logged in as root.
At the terminal, I went to the FogBackup directory and I am typed sudo ./FOGBachup.sh /media/
In Ubuntu 12.04 LTS, this is what I am seeing:
I look on my external drive and there’s nothing there. Please advise, thank you!
(/uploads/files/1438184849443-screenshot-from-2015-07-29-10_36_40.jpg)
If I re-run the installer. will I lose all my images?
I am running into an issue where I can register a host with Fog, but it won’t image. The host machine just goes into a loop of rebooting, making an iPXE connection with the Fog server and then shutting down and rebooting again.
I get the eas2r driver message, but after a few seconds it will boot into the Fog menu. My Fog server has always done this and it hasn’t been an issue.
I am using Fog 1.2.0 with Ubuntu 12.04 LTS.
Thanks!
Here’s what’s I got when I ran ls -laR /images. The image I am trying to deploy is AcerIntel:
[url=“/_imported_xf_attachments/1/1941_PageTownImages.zip?:”]PageTownImages.zip[/url]
I tried the switch idea with a few different configurations, some using a crossover cable, some not. It didn’t change anything.
However, running the [I]sudo service isc-dhcp-server restart[/I] command followed by the [I]sudo service tftpd-hpa restart[/I] [B]got me going again![/B] I ran both of those commands previously and they didn’t get me running, not sure how or why they worked this time. I am afraid to shut down and restart to test them out now that I have Fog up and running again. I’m just going to avoid powering the machine off for as long as I can!
Thanks for all the help everyone!
[quote=“Tom Elliott, post: 46461, member: 7271”]My guess is tftp isn’t running. Try [code]sudo service tftpd-hpa restart[/code][/quote]
Hi Tom. Unfortunately, this didn’t solve my issue. I have attached the logs you have mentioned in your sig if you’d like to take a look at them.
I am running [FONT=Tahoma]Fog 1.2.0 on Ubuntu 12.04. [/FONT]
[url=“/_imported_xf_attachments/1/1935_PageTown Fog logs.zip?:”]PageTown Fog logs.zip[/url]
Using a crossover cable didn’t make any difference. I’m still getting the “No DHCP or ProxyDHCP offers were received” on the PXE boot screen.
Any other ideas?
I disabled the firewall per Joseph Hale’s suggestion. I’ll go ahead and try a crossover cable.
I didn’t need one before. Everything worked fine until I powered the server off. What’s changed?
I am running Fog on an Asus K50I laptop. One end of my cable is plugged into its ethernet port. The other, the target computer.
I am using a standard Cat5e cable. I used the same cable to upload and deploy images before the restart so I don’t think it’s the issue.
Here’s what’s in my etc/dhcp/dhcpd.conf file:
use-host-decl-names on;
ddns-update-style interim;
ignore client-updates;
next-server 10.1.0.185;
subnet 10.1.0.0 netmask 255.255.254.0 {
option subnet-mask 255.255.254.0;
range dynamic-bootp 10.1.0.10 10.1.0.254;
default-lease-time 21600;
max-lease-time 43200;
option domain-name-servers 127.0.0.1;
option routers 10.1.0.185;
filename “undionly.kpxe”;
}
Excellent. Here it is.
[url=“/_imported_xf_attachments/1/1933_PageTownPCAPFile.zip?:”]PageTownPCAPFile.zip[/url]
It kind of looks like my DHCP might be giving out the wrong Netmask.
On my Ubuntu wired connection and when I set up Fog, I used the following info:
Static IP:10.1.0.185
Netmask: 255.255.254.0
Gateway: 10.1.0.1
DNS: 12.127.16.67
Here’s a txt file I saved using Wireshark of the PCAP file. Let me know if this doesn’t work. The board won’t let me upload the original PCAP file.
[url=“/_imported_xf_attachments/1/1932_PageTownPCAPData.txt?:”]PageTownPCAPData.txt[/url]
[quote=“Wayne Workman, post: 46383, member: 28155”]
[CODE]sudo service isc-dhcp-server restart
sudo service isc-dhcp-server start
sudo service isc-dhcp-server stop[/CODE][/quote]
Typed the “sudo service-irc-dhcp-server start” and got “isc-dhcp-server start/running, process 7890”. Am I correct to assume that this message means my DHCP server IS running?
[quote=“Wayne Workman, post: 46383, member: 28155”]
I assume you were able to get to the FOG menu from the target-host before? If so, then your configuration is correct.
It’s probably something simple… Check your patch cables to the target-host, the server, etc. Ensure they are snug.[/quote]
Yes. I had Fog up and running. I successfully uploaded three images and deployed those images out without any problems. Checked cables, tried different cables just to make sure. They’re good and Ubuntu machine acknowledges the wired connection.
[quote=“Wayne Workman, post: 46383, member: 28155”]Did you set a static IP for the FOG server? I know that in Fedora 21 server, it’s like impossible to get DHCP/dnsmasq to work without a static IP set prior.[/quote]
Yes. I set a static IP for Fog and used that IP for the DHCP service also.
I was reading on these forums that there’s a bug on Ubuntu 12.04 (Which I am using) that resets some of the IP info when the machine gets powered off? I wasn’t sure if maybe that was my issue or not.
[FONT=Tahoma]I am running Fog 1.2.0 on Ubuntu 12.04[/FONT]. I am running Fog locally, not over a network. When I shut the Fog server machine down and restarted it, I lost my DHCP service and the machine I am trying to image is not making a PXE connection and tells me there is no DHCP service running. After Googling and trying some potential solutions I found, I am still not having any luck getting the server to start.
[FONT=Tahoma]Here’s what I have tried so far:[/FONT]
[FONT=Tahoma]I went into /etc/dhcp/dhcpd.conf and changed the subnet mask to what I set it as when I originally installed Fog and its DHCP service.[/FONT]
[FONT=Tahoma]I have tried typing “sudo service isc-dhcp-server start” and I get:
stop: Unknown Instance:
isc-dhcp-server start/running, process 6852[/FONT]
[FONT=Tahoma]s[/FONT][FONT=Tahoma]o I tried “sudo netstat –ump” to check and see if DHCP was running and I got:[/FONT]
[FONT=Tahoma]netstat: invalid option – ‘m’ and a usage menu.[/FONT]
[FONT=Tahoma]I also tried “sudo /etc/init.d/dhcp-server start” , response was “command not found”[/FONT]
[FONT=Tahoma]Also tried “systemctl start dhcpd.service ”, response was “command not found”[/FONT]
[FONT=Tahoma] [/FONT]
[FONT=Tahoma]Any help would be greatly appreciated![/FONT]
[quote=“Wayne Workman, post: 46362, member: 28155”]Check this page out, it’ll explain 067 for DHCP, and has links to dnsmasq if you use that.
[url]http://fogproject.org/wiki/index.php/DHCP_Settings#FOG_dnsmasq_.28ProxyDHCP.29[/url][/quote]
Thanks! I am unable to find where I need to go in Ubuntu 12.04 to see/change anything on that page though.