Re: Fedora PXE boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/11/19 10:57 AM, Aaron Gray wrote:
On Thu, 7 Nov 2019 at 03:53, Samuel Sieb <samuel@xxxxxxxx> wrote:
On 11/6/19 3:39 PM, Aaron Gray wrote:
Does anyone have PXE booting working ?

Yes, for both legacy and EFI modes.

Right I am only needing legacy

I have BOOTP and TFTP working but it seems to be failing on DNS and
HTTP or HTTPS.

You need to explain in more detail where the boot process is getting stuck. Does the PXE BIOS get an IP address? Does it load the file from the tftp server or does it fail there?

Here's my dhcp.conf :-
~~~
# dhcpd.conf

# option definitions common to all supported networks...
option domain-name "aarongray.org";
option domain-name-servers ns1.hover.com, ns2.hover.com;

This is incorrect, you have to put IP addresses. You can't resolve the names without having a DNS server already. :-)

# No service will be given on this subnet, but declaring it helps the
# DHCP server to understand the network topology.

I think that's a copy and paste comment that is invalid.

subnet 192.168.2.0 netmask 255.255.255.0 {
    authoritative;

   range 192.168.2.1 192.168.2.127;
   option domain-name-servers 8.8.8.8, 8.8.4.4;
   option routers 192.168.1.111;

Your gateway address is not in this subnet.  That won't work.

   option broadcast-address 192.168.2.255;
#  option ip-forwarding off;
   default-lease-time 600;
   max-lease-time 7200;

   option ntp-servers ntp.fedora.org;

   range dynamic-bootp 192.168.2.128 192.168.2.240;
   ddns-update-style none;
   filename "pxelinux.0";
}

When you say tftp is working, do you mean the server is running or that the clients are getting the boot file? You're missing the info telling the clients what tftp server to use. You need a line like:
next-server 192.168.2.1;

Do you have a "pxelinux.cfg" directory on the tftp server? That would be the next step.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux