无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站广告联系 微信:wuyouceo QQ:184822951
12
返回列表 发新帖
楼主: 未完成的歌
打印 上一主题 下一主题

分享一款运行在安卓手机上的PXE服务器软件

  [复制链接]
31#
发表于 2020-7-25 10:54:01 来自手机 | 只看该作者
回复

使用道具 举报

32#
发表于 2020-10-9 23:49:33 来自手机 | 只看该作者
支持
回复

使用道具 举报

33#
发表于 2021-8-8 18:07:26 | 只看该作者
查看本帖隐藏内容
回复

使用道具 举报

34#
 楼主| 发表于 2022-1-8 12:50:49 | 只看该作者
  1. And the dnsmasq.confg is also working on bios, you just had a little typo on (l)pxelinux.0. I have no "Legacy UEFI" syslinux32 machines, so no ideia if that's working. Config is:

  2. dhcp-match=set:bios,option:client-arch,0
  3. dhcp-match=set:efi32,option:client-arch,6
  4. dhcp-match=set:efi64,option:client-arch,7
  5. dhcp-match=set:efi64,option:client-arch,9
  6. dhcp-boot=tag:bios,pxelinux.0
  7. dhcp-boot=tag:efi32,syslinux32.efi
  8. dhcp-boot=tag:efi64,grubnetx64.efi.signed
复制代码

回复

使用道具 举报

35#
 楼主| 发表于 2022-1-8 12:54:05 | 只看该作者
本帖最后由 未完成的歌 于 2022-1-8 12:55 编辑

Add to /etc/dnsmasq.conf:
  1. dhcp-match=set:bios,option:client-arch,0
  2. dhcp-match=set:efi32,option:client-arch,6
  3. dhcp-match=set:efi64,option:client-arch,7
  4. dhcp-boot=tag:bios,lpxelinux.0
  5. dhcp-boot=tag:efi32,syslinux32.efi
  6. dhcp-boot=tag:efi64,syslinux64.efi
复制代码
Or with external TFTP server:
  1. dhcp-boot=tag:bios,lpxelinux.0,external-tftp-server.lan,10.10.10.10
  2. dhcp-boot=tag:efi32,syslinux32.efi,external-tftp-server.lan,10.10.10.10
  3. dhcp-boot=tag:efi64,syslinux64.efi,external-tftp-server.lan,10.10.10.10
复制代码
These files for BIOS PXE boot with boot menu:
bios/com32/elflink/ldlinux/ldlinux.c32
bios/com32/lib/libcom32.c32
bios/com32/libutil/libutil.c32
bios/com32/menu/menu.c32
bios/com32/menu/vesamenu.c32
bios/core/lpxelinux.0
bios/memdisk/memdisk
UEFI PXE IA32 files:
efi32/com32/elflink/ldlinux/ldlinux.e32
efi32/efi/syslinux.efi
UEFI PXE x64 files:
efi64/com32/elflink/ldlinux/ldlinux.e64
efi64/efi/syslinux.efi
Boot menu config file in TFTP root:
pxelinux.cfg/default
  1. UI vesamenu.c32
  2. TIMEOUT 80
  3. TOTALTIMEOUT 9000

  4. MENU WIDTH 64
  5. MENU MARGIN 2
  6. MENU ROWS 15
  7. MENU TITLE PXE Boot MENU
  8. #MENU BACKGROUND background.png
  9. MENU AUTOBOOT Starting Local System in # seconds
  10. MENU COLOR border 0 #ffffffff #ee000000 std
  11. MENU COLOR title 0 #ffffffff #ee000000 std
  12. MENU COLOR sel 5 #f0f0f00f #8500f000 std
  13. MENU COLOR unsel 0 #ffffffff #ee000000 std
  14. MENU COLOR pwdheader 0 #ff000000 #99ffffff rev
  15. MENU COLOR pwdborder 0 #ff000000 #99ffffff rev
  16. MENU COLOR pwdentry 0 #ff000000 #99ffffff rev
  17. MENU COLOR hotkey 0 #ff00ff00 #ee000000 std
  18. MENU COLOR hotsel 0 #f0f0f00f #85000000 std

  19. LABEL local
  20. MENU DEFAULT
  21. MENU LABEL ^Boot from Local Hard Disk
  22. LOCALBOOT 0

  23. LABEL installdebian
  24. MENU LABEL ^Install Debian amd64
  25. KERNEL http://d-i.debian.org/daily-images/amd64/daily/netboot/debian-installer/amd64/linux
  26. APPEND vga=788 url=http://10.10.10.10/debian-preseed.cfg locale=en_US keymap=fi hostname=debian domain=lan --
  27. INITRD http://d-i.debian.org/daily-images/amd64/daily/netboot/debian-installer/amd64/initrd.gz

  28. LABEL ubuntu
  29. MENU LABEL Boot ^Ubuntu Server from NFS
  30. KERNEL http://10.10.10.10/boot/ubuntu/vmlinuz
  31. APPEND root=/dev/nfs nfsroot=10.10.10.10:/volume3/nfsroot/ubuntu ip=dhcp rw --
  32. INITRD http://10.10.10.10/boot/ubuntu/initrd.img

  33. LABEL systemrescuecd
  34. MENU LABEL ^SystemRescueCd
  35. KERNEL http://10.10.10.10/boot/systemrescue/rescue32
  36. APPEND setkmap=fi rootpass=notsecure netboot=http://10.10.10.10/boot/systemrescue/sysrcd.dat ethx=10.10.10.99/24 dns=10.10.10.10 gateway=10.10.10.10
  37. INITRD http://10.10.10.10/boot/systemrescue/initram.igz

  38. LABEL dos
  39. MENU LABEL Free^DOS
  40. KERNEL memdisk
  41. APPEND initrd=bootdisks/freedos.img # from default TFTP server
复制代码
回复

使用道具 举报

36#
 楼主| 发表于 2022-1-8 13:09:48 | 只看该作者
  1. LABEL ubuntu-18.04.3-desktop-amd64
  2.   MENU LABEL Ubuntu 18.04.3 Desktop
  3.   KERNEL ubuntu-18.04.3-desktop-amd64/vmlinuz.efi
  4.   APPEND initrd=ubuntu-18.04.3-desktop-amd64/initrd.lz boot=casper netboot=nfs nfsroot=192.168.0.1:/srv/nfs4/ubuntu-18.04.3-desktop-amd64 splash --

  5. LABEL winpe32
  6.   MENU LABEL Windows PE 32bit
  7.   KERNEL memdisk
  8.   INITRD winpe10/winpe32.iso
  9.   APPEND iso raw

  10. LABEL winpe64
  11.   MENU LABEL Windows PE 64bit
  12.   KERNEL memdisk
  13.   INITRD winpe10/winpe64.iso
  14.   APPEND iso raw

  15. LABEL hdd
  16.   MENU LABEL Boot from hard drive
  17.   LOCALBOOT 0
复制代码

回复

使用道具 举报

37#
 楼主| 发表于 2022-1-8 13:10:56 | 只看该作者
  1. enable-tftp
  2. tftp-lowercase
  3. dhcp-no-override
  4. tftp-root=/mnt/sda1/pxeboot
  5. dhcp-match=set:iPXE,175
  6. dhcp-vendorclass=set:flag,PXEClient:Arch:00000
  7. dhcp-vendorclass=set:flag,PXEClient:Arch:00006
  8. dhcp-vendorclass=set:flag,PXEClient:Arch:00007
  9. dhcp-vendorclass=set:flag,PXEClient:Arch:00009
  10. tag-if=set:load,tag:!iPXE,tag:flag
  11. pxe-prompt="Press F8 or Enter key for PXE menu.", 5
  12. #BIOS MENU
  13. pxe-service=tag:load,X86PC, "BIOS ipxe undionly", undionly.kpxe
  14. pxe-service=tag:load,X86PC, "BIOS ipxe.pxe", ipxe.pxe
  15. pxe-service=tag:load,X86PC, "BIOS Microsoft PXE", pxeboot.n12
  16. pxe-service=tag:load,X86PC, "boot from local", 0
  17. #UEFI MENU
  18. pxe-service=tag:load,IA32_EFI, "Microsoft UEFI (IA32_EFI)", bootia32.efi
  19. pxe-service=tag:load,X86-64_EFI, "Microsoft UEFI (X86-64_EFI)", bootx64.efi
  20. pxe-service=tag:load,BC_EFI, "Microsoft UEFI(BC-EFI)", bootx64.efi
  21. pxe-service=tag:load,6, "iPXE snponly UEFI32(6)", snponly32.efi
  22. pxe-service=tag:load,7, "iPXE snponly UEFI(7)", snponly.efi
  23. pxe-service=tag:load,9, "iPXE snponly UEFI(9)", snponly.efi
  24. pxe-service=tag:load,06,  "iPXE UEFI32(06)", ipxe32.efi
  25. pxe-service=tag:load,07,  "iPXE UEFI(07)", ipxe.efi
  26. pxe-service=tag:load,09,  "iPXE UEFI(09)", ipxe.efi
  27. dhcp-boot=tag:iPXE,ipxemenu.txt
复制代码

点评

pls
请问老同志有最新Servers Ultimate的破解版吗?  详情 回复 发表于 2022-1-8 16:20
回复

使用道具 举报

38#
发表于 2022-1-8 16:20:04 | 只看该作者

请问老同志有最新Servers Ultimate的破解版吗?
回复

使用道具 举报

39#
发表于 2022-1-9 21:22:09 | 只看该作者
谢谢分享
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2024-4-26 01:00

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表