Page 1 of 1

Boot Wtware on PI from HTTP in Cloud

Posted: Wed Mar 22, 2017 11:58 pm
by iTenol
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.

Re: Boot Wtware on PI from HTTP in Cloud

Posted: Thu Mar 23, 2017 2:43 pm
by J1mbo
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

Posted: Fri Mar 24, 2017 12:40 pm
by aka
iTenol wrote:from my understanding on how to boot from HTTP over 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:What I would like to do is power up Pi3 > Get IP from local LAN DHCP
No problems, if you boot from local SD.
iTenol wrote:Then get config from HTTP in the cloud.
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.

Re: Boot Wtware on PI from HTTP in Cloud

Posted: Sat Mar 25, 2017 1:26 pm
by radicspeter
aka wrote:
iTenol wrote:from my understanding on how to boot from HTTP over 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:What I would like to do is power up Pi3 > Get IP from local LAN DHCP
No problems, if you boot from local SD.
iTenol wrote:Then get config from HTTP in the cloud.
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.
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?

Re: Boot Wtware on PI from HTTP in Cloud

Posted: Sat Mar 25, 2017 2:57 pm
by aka
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?
I don't understand the reason. What do you want to use HTTP for?

Re: Boot Wtware on PI from HTTP in Cloud

Posted: Sat Mar 25, 2017 3:48 pm
by radicspeter
aka wrote:
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?
I don't understand the reason. What do you want to use HTTP for?
Okay, if i choose network boot option, my config files transfer only by TFTP...
Képkivágás.PNG
Képkivágás.PNG (12.8 KiB) Viewed 10699 times
And if i choose local boot option, there is an option to use HTTP server to transfer my config files...
Képkivágás2.PNG
Képkivágás2.PNG (9.62 KiB) Viewed 10699 times
1.)
if i use network boot in Raspberry Pi 2, it can only use TFTP server?

Re: Boot Wtware on PI from HTTP in Cloud

Posted: Sun Mar 26, 2017 1:15 pm
by aka
radicspeter wrote:Okay, if i choose network boot option, my config files transfer only by TFTP...
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: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?
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.

Re: Boot Wtware on PI from HTTP in Cloud

Posted: Mon Mar 27, 2017 6:54 am
by radicspeter
aka wrote:
radicspeter wrote:Okay, if i choose network boot option, my config files transfer only by TFTP...
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?
Yes :wink: , 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?

(With local boot downloading config files from this server tested and working good. )

Re: Boot Wtware on PI from HTTP in Cloud

Posted: Mon Mar 27, 2017 11:54 am
by akatik
radicspeter wrote:and you want to use this server to boot RP2s via TFTP...?
Install open firmware with configurable DHCP and TFTP on router.
radicspeter wrote:Is it possible from the cloud?
No.