PXE not being detected
-
Hi
Having trouble in not not able to boot PXE onto the fog server from a network.
Setup
Fedora Workstation 22, running in a VM on hyper-v 2012.
Can browse fine onto the network
DHCP is done via a windows server.
Set a mac address to have a lease and also configured that with the settings for 66 and 67.
Hyper-v the firewall for the network has been set to disabled - netsh advfirewall set allprofiles state offOn the fedora both the firewall and the selinux has been disable.
Couple of things.
The VM is on a network port that is shared with another VM.
The network link goes into a switch that has VLANS, though you are able to browse just fine to the fog box.Thanks in advance for your help and advice.
cheers
blue
-
Try capturing the DHCP packets (mostly broadcasts) from another client in the same VLAN/subnet or on your DHCP server using wireshark (display filter
bootp
) and upload the PCAP file here in the forums so we can have a look. -
Hi
will do.
One thing the setup for the mac address that I’m testing is for DHCP.
Should it be on supported types
Both
DHCP
Bootpcheers
-
I guess you are talking about this: http://www.tech-faq.com/wp-content/uploads/DHCP-Reservation.jpg
I haven’t used windows DHCP server yet but from my understanding “DHCP only” should work for PXE booting. If you boot up windows on that client it might not be as happy but I don’t know for sure. Give it a try.
-
What is the exact error you are getting?
For the DHCP options, I would set it to both to be safe. DHCP is the most correct since dhcp is an extension of the older bootp.
Is there any specific reason you are using mac reservations? This is not a typical setup or requirement.
What computer (model and mfg) are you using.
-
Hi
I’ve done the capture.
Looks like it can not find the fog server.
But when I login to that pc client and do a ping and arp it is able to get to the fog server as well as get the correct arp result…
cheers
-
-
What I’m interested in seeing is what is on the screen of the target computer you are trying to boot. If there is a PXE error it should be listed as PXE-XXXX where XXXX is a number. A screen shot of the PXE error would speak volumes to me.
-
damit it just broke…
coming up that the schmea needs to be reapplied, going for a reinstall to fix -
@BlueTech The schema messages indicates that you just updated from the SVN and the SVN needed to make some changes to the database structure. As you noted, just restart the SVN upgrade install and at the right spot connect to the management console and update the schema. Then continue with the SVN install. No problems here. Tom did make several updates last night and one did update the database schema.
-
@BlueTech Unfortunately windows DHCP server does not answer to broadcast so I don’t see the answers in the pcap file. BUT from the packets I see I know that things are going pretty well!! First I see discovery and request from your PXE ROM. Then it asks who has 192.168.2.21 via ARP. I guess this is your FOG server, right? Then I see another pair of DHCP discovery and request (this time with Etherboot option 175 set, so I know this is iPXE talking!!). After that there is another ARP request for 192.168.2.21. Again your FOG server being asked for default.ipxe I would say.
So from the pcap files this all looks pretty good!! Please show us a picture or the exact error message you see. Otherwise we won’t be able to help you.
-
hi
um well the fog server has just died…
Come up with error that the database is not configured and it going through the whole loop of not installing.
It difficult to get the pxe message on the computer…will try to.
Just about to resinstall FOG.
BTW what is the best dist of linux to use?
seems there has been a quite a few changes to yum, mysql etc…had to dig around to get a clear picture, then again maybe it something i done wrong on the setup.
starting again from scratch.
will try and get the pxe message…
one thing from the trace that i picked up is that it does not find the server, it does not get the mac address from the arp.
which kind of matches up with the message on the client that I saw…in that it can not find the pxe server…
-
Sorry to hear that your fog server went sideways on you.
Im a bit of a Luddite, but I’ve had great success with Centos 6.7. I’ve installed FOG and Centos 7 without issue either. Fedora works as well as Ubuntu. I find there is the least about of messing around with Centos. But mainstream linux platforms are supported.
If you have a mobile phone, you can grab the error message on the client if you are quick.
-
@BlueTech I’d recommend CentOS 7 or Fedora 23 Server.
-
Hi
Well um I went with ubuntu 14.04
Found a nice youtube video
https://www.youtube.com/watch?v=TG9qRLQyDU8
That went through the setup of it…
Good news.
The PXE option now works. But you have to be quick in order to select it, so maybe that was the issue last time???
Anyway
New problem…
Created the image.
Set to single disk, resizable partititons.
And told it to create an image.How ever came back that it could not find any resizable partitions…
Now going to try it to do the all disk options…
Not to big a problem I guess…but would have been nice to be able to re size…
BTW
think you could resize the partitions on clonezilla…
-
hi
well think i found the elephant in the fog…
went debug and ran the fixparts command
came up with a gpt error on the disk and said that I should remove this.
so did and now it doing the clone.
throughput currently running at aprox 1000mb/min…which aint that good…but that might be due to where it is plugged in etc…
using the multi part single disk, though don’t think that would cause a slow down.
cheers
blue
-
@BlueTech What is compression set to? And you should be able to set to resize. The issue before was it couldn’t find any of the partitions.
-
hi
well first before fog as a stop gap used clonezilla.
ok so that was booting off the computer that I was going to clone, but well it went to the same server as a target…
throughput was about 4gb/min compared with just under 1gb/min.
will need to check…though - might do a test to see if and where there is a bottleneck…
also well the location has changed…so well the network could be affecting.
Implemented FOG about 5 years odd ago, so glad to get it back up and running. Clonezilla ok for a single one time solution, but fog so much better than the clonezilla server…
-
compression tech?
just used the defaults…where do i find that?
on the image? -
@BlueTech FYI I’m planning on producing several dozen videos for FOG as soon as 1.3.0 is released. Probably closer to 100 than 50.