Task #7389
closed
Setup a webserver on the APU, create an ipxe script and add bootable files
Added by Nico Schottelius almost 5 years ago.
Updated about 4 years ago.
Description
- install nginx
- download ipxescript
- download kernel
- download initramfs
- verify with wget or curl that the files are accessible on the APU from outside
- try wget/curl from your notebook
- place all files in the nginx directory
- modify dhcp6 config to use YOUR webserver (= APU) instead of routerX
- Description updated (diff)
[19:33] diamond:~% wget http://[2a0a:e5c0:2:1::6]/ipxescript
--2019-11-30 19:33:10-- http://[2a0a:e5c0:2:1::6]/ipxescript
Connecting to [2a0a:e5c0:2:1::6]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 180 [application/octet-stream]
Saving to: ‘ipxescript’
ipxescript 100%[===========================================>] 180 --.-KB/s in 0s
2019-11-30 19:33:10 (14.8 MB/s) - ‘ipxescript’ saved [180/180]
[19:33] diamond:~% cat ipxescript
#!ipxe
initrd --name initramfs initramfs.igz
#echo ... done loading initramfs
#imgstat
kernel kernel initrd=initramfs
#echo ... done loading kernel
#imgstat
#echo booting ...
boot
[19:33] diamond:~% wget http://[2a0a:e5c0:2:1::6]/
[19:33] diamond:~% cat ipxescript
[19:33] diamond:~% wget http://[2a0a:e5c0:2:1::6]/kernel
--2019-11-30 19:33:43-- http://[2a0a:e5c0:2:1::6]/kernel
Connecting to [2a0a:e5c0:2:1::6]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4208416 (4.0M) [application/octet-stream]
Saving to: ‘kernel’
kernel 100%[===========================================>] 4.01M 4.72MB/s in 0.9s
2019-11-30 19:33:44 (4.72 MB/s) - ‘kernel’ saved [4208416/4208416]
[19:33] diamond:~% wget http://[2a0a:e5c0:2:1::6]/initramfs.igz
--2019-11-30 19:33:48-- http://[2a0a:e5c0:2:1::6]/initramfs.igz
Connecting to [2a0a:e5c0:2:1::6]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 403195171 (385M) [application/octet-stream]
Saving to: ‘initramfs.igz’
initramfs.igz 3%[> ] 13.21M 5.86MB/s ^C
[19:33] diamond:~%
- Description updated (diff)
- Status changed from New to Closed
Also available in: Atom
PDF