Boot Wtware on PI from HTTP in Cloud
Boot Wtware on PI from HTTP in Cloud
I see there is plenty of reference to booting from LOCAL network but little from my understanding on how to boot from HTTP over cloud
What I would like to do is power up Pi3 > Get IP from local LAN DHCP
Then get config from HTTP in the cloud.
Our DCHP is served from a hardware firewall which does not permit us to setup dhcp options and parameters, we have no local server as such so installing IIS etc in the local environment is not an options, all our data is in the cloud.
Can this be done and is there anyone who has done something similar. If so what are the steps or is there any documentation out there
Thank in advance.
What I would like to do is power up Pi3 > Get IP from local LAN DHCP
Then get config from HTTP in the cloud.
Our DCHP is served from a hardware firewall which does not permit us to setup dhcp options and parameters, we have no local server as such so installing IIS etc in the local environment is not an options, all our data is in the cloud.
Can this be done and is there anyone who has done something similar. If so what are the steps or is there any documentation out there
Thank in advance.
Re: Boot Wtware on PI from HTTP in Cloud
Configure your local device to DHCP relay to a more functional DHCP server instead, which could also be in AWS/Azure if you like. Then you can control it as you need.
Re: Boot Wtware on PI from HTTP in Cloud
First of all understand the difference between boot and configuration. Boot is downloading operating system binary files. Raspberry can not boot over HTTP. No way. Absolutely.iTenol wrote:from my understanding on how to boot from HTTP over cloud
No problems, if you boot from local SD.iTenol wrote:What I would like to do is power up Pi3 > Get IP from local LAN DHCP
No problems, if you boot from local SD. Press Del in the very beginning, type password if you specified one and in the text menu choose to download configuration from HTTP.iTenol wrote:Then get config from HTTP in the cloud.
-
- Posts: 7
- Joined: Tue Mar 21, 2017 4:22 pm
Re: Boot Wtware on PI from HTTP in Cloud
if i boot by network, it is impossible to use TFTP and HTTP server too?aka wrote:First of all understand the difference between boot and configuration. Boot is downloading operating system binary files. Raspberry can not boot over HTTP. No way. Absolutely.iTenol wrote:from my understanding on how to boot from HTTP over cloud
No problems, if you boot from local SD.iTenol wrote:What I would like to do is power up Pi3 > Get IP from local LAN DHCP
No problems, if you boot from local SD. Press Del in the very beginning, type password if you specified one and in the text menu choose to download configuration from HTTP.iTenol wrote:Then get config from HTTP in the cloud.
Can we use HTTP server only when we boot by local?
Re: Boot Wtware on PI from HTTP in Cloud
I don't understand the reason. What do you want to use HTTP for?radicspeter wrote:if i boot by network, it is impossible to use TFTP and HTTP server too?
Can we use HTTP server only when we boot by local?
-
- Posts: 7
- Joined: Tue Mar 21, 2017 4:22 pm
Re: Boot Wtware on PI from HTTP in Cloud
Okay, if i choose network boot option, my config files transfer only by TFTP... And if i choose local boot option, there is an option to use HTTP server to transfer my config files... 1.)aka wrote:I don't understand the reason. What do you want to use HTTP for?radicspeter wrote:if i boot by network, it is impossible to use TFTP and HTTP server too?
Can we use HTTP server only when we boot by local?
if i use network boot in Raspberry Pi 2, it can only use TFTP server?
Re: Boot Wtware on PI from HTTP in Cloud
If you choose network boot option, this means that you have TFTP server (because Raspberry firmware can boot by network only using TFTP, it's Raspberry firmware limitation. Raspberry firmware can't download files by HTTP) nearby. Raspberry firmware loads WTware binary files by TFTP. After WTware binary files loaded and WTware started, we can add HTTP config downloading, but I don't understand the reason. Why do you want to download small configs over HTTP if you have TFTP server nearby?radicspeter wrote:Okay, if i choose network boot option, my config files transfer only by TFTP...
When you use local boot, you do not need to have TFTP nearby. Raspberry firmware, that doesn't handle HTTP, boots WTware from SD card. WTware handles HTTP and WTware can download configs from everywhere.radicspeter wrote:And if i choose local boot option, there is an option to use HTTP server to transfer my config files...
1.) if i use network boot in Raspberry Pi 2, it can only use TFTP server?
-
- Posts: 7
- Joined: Tue Mar 21, 2017 4:22 pm
Re: Boot Wtware on PI from HTTP in Cloud
Yes , the config over TFTP is better in this case. Now i see clear how it is working. Aka, what do you do, if you have a Windows Server 2012R2 on the cloud (google cloud), and you want to use this server to boot RP2s via TFTP...? Is it possible from the cloud?aka wrote:If you choose network boot option, this means that you have TFTP server (because Raspberry firmware can boot by network only using TFTP, it's Raspberry firmware limitation. Raspberry firmware can't download files by HTTP) nearby. Raspberry firmware loads WTware binary files by TFTP. After WTware binary files loaded and WTware started, we can add HTTP config downloading, but I don't understand the reason. Why do you want to download small configs over HTTP if you have TFTP server nearby?radicspeter wrote:Okay, if i choose network boot option, my config files transfer only by TFTP...
(With local boot downloading config files from this server tested and working good. )
Re: Boot Wtware on PI from HTTP in Cloud
Install open firmware with configurable DHCP and TFTP on router.radicspeter wrote:and you want to use this server to boot RP2s via TFTP...?
No.radicspeter wrote:Is it possible from the cloud?