How to run pxe server on linux tftp

Is there a way to install pxe server on linux.

For windows but i don’t know how to do it in windows.

2 Likes

actually what happen while installing openwrt i broke my router so fixing that it need to run a pxe server and hold reset and turn on system can this same thing done with tftp??
i think you are in openwrt forum also so if you can help

here is the guide.

# Server
sudo dnf install dnsmasq
sudo wget -O /var/lib/dnsmasq/test.bin https://bigota.miwifi.com/xiaoqiang/rom/r4a/miwifi_r4a_firmware_72d65_2.28.62.bin
sudo tee /etc/NetworkManager/dnsmasq-shared.d/custom.conf << EOF > /dev/null
enable-tftp
tftp-root=/var/lib/dnsmasq
dhcp-boot=test.bin
EOF
sudo nmcli connection add type ethernet connection.id shared ipv4.method shared ipv4.addresses 192.168.11.1/24
sudo nmcli connection up id shared
sudo firewall-cmd --permanent --zone=nm-shared --add-service=tftp
sudo firewall-cmd --reload

# Client
sudo dnf install tftp
tftp 192.168.11.1 -m binary -c get test.bin
1 Like

i am using silverblue so i will use a live usb for this i will try to save my 4a gigabit.


Error

you are great bro you fixed it but now all are in mandarin chinese so how to get english i thing i neeed to flash openwrt again can you help me which rom should i install last time i try snapshot https://forum.openwrt.org/uploads/default/original/3X/b/c/bc5ace07780bfce0fe85786b06390b1577da40a2.png
so this time i want to succeed.

I’d be happy to help you if I knew the cause of the problem, but this requires reproducing the issue using at least a similar device and firmware, which is not possible for me, and since the problem seems no longer Fedora related, your best bet is to continue on the OpenWrt forum.

Yes i know but you help me in a single instruction and they asked me for windows system and then i have to go to a friends home for that and failed still so i just asked here. Anyways thanks really… Anyways thanks again.

1 Like

i just flashed accurately because of you thanks.