Bring Https to U-boot - u-boot

i am new to U-boot. I need to work on bringing the HTTPS support in U-boot for arm processor and use the https apis during boot time not as a standalone application. Any pointers how to do please.

If you need https support on U-Boot you should use the bootefi command to start the iPXE snp.efi binary as described in:
https://www.xypron.de/projects/u-boot/iscsi.html
http://git.denx.de/?p=u-boot.git;a=blob;f=doc/README.iscsi

Related

Retrieve network camera stream URL in Linux

I am trying to retrieve rtsp URLs of cameras on my network. I can do this using Onvif Device Manager on Windows but how to do this on Linux using C/C++ or command line tool. I have tried various libs e.g. onvifc (OpenCVR) and onvifcpplib but none of them could compile on Linux, neither they have API documentation. Any suggestions please!
I was able to find a gsoap-onvif solution from https://github.com/tonyhu/gsoap-onvif. This programs successfully retrieves parameters from most of the Onvif complaint cameras.
you can have a try with python onvif, some feature you can use, may be other feature such as PTZ you can use .
also, you can have a try with opencvr's another project, https://github.com/veyesys/h5stream, if you can't compile,you can download from sourceforge.
Good luck.

How to easily transfer qpython scripts from windows to android for development?

while developing qpython scripts, it would be much easier to develop them on a pc and only transfer them to the android device for testing.
What is the easiest way to do such a transfer? (Development might require to do this very frequently)
Thanks in advance for all your feedback.
tfv
In linux with ADB installed, in terminal you can use
adb push pcprojectfolder /sdcard/com.hipipal.qpyplus/projects/androidprojectfolder
You do need to manually end the task on the phone before pushing though.
There is a ftp service in setting part which can help you to translate files between android device and pc.
QPy for android has built in FTP. Just enter the local address it provides into an ftp program (like bareftp for ubuntu)

how can I get the AUFS kernel module on a Google Compute Engine (GCE) kernel?

The latest compute engine kernel is a 3.3.8 variant, and does not appear to have AUFS support configured in. The kernel is distributed outside the main file system image (I am using the default Debian image), and the Debian image does not appear to include AUFS as a module.
Is there already a binary module for AUFS on GCE available somewhere?
If not, how would I go about compiling a module against the kernel provided by the system?
My end goal is to get the Docker LXC manager running, and AUFS is a dependency.
The Google Compute Engine kernels do not currently support AUFS or allow dynamic module loading but I've submitted an internal feature request to address this need. Of course, that's not a commitment, just a way to ensure this gets considered for the future.

Creating a server socket in beaglebone

I'm new in using beaglebone, and I need some help about some issues I'm facing.
I wrote a code in c (running in a laptop with ubuntu) in which a server socket is opened (running an apache server), and then another device connects to it through internet.
I would like to do the same in the beaglebone with ansgtrom distro (the one that comes with the board). I have read that angstrom distro comes with cloud9 (which from what I understand it acts as a server, like apache).
So, how can I create/open/use a server socket (through a program written in c) in cloud9-beaglebone?
Also, how can I configure cloud9 to store certain webpage? Is such configuration similar to the one in apache?
Cloud9 IDE is an IDE for developing code for Node.JS.
The version of Node.JS used today is 0.6.20. There are examples on the nodejs.org home page and for the particular version at http://nodejs.org/docs/v0.6.20/.
To serve up web pages, I recommend you look into frameworks like ExpressJS. You can use the 'npm' utility under the Cloud9 IDE or the command line to install ExpressJS.
Since Cloud9 IDE allows you to edit C code, you can create typical C code that opens and serves sockets. pkg-config is installed to help you with linking libraries. You'll want to go to https://beaglebone.local to use Gate One to ssh into the board (username: root, password: ) and run the C compiler from the command line. You can use the same tools you'd use under Ubuntu, like 'make' and 'g++'.

Cache Outgoing Data from browser

This might be a very broad question. But this is what i want. I open a website and enter some details in the website like my credentials to login or it may be any data that pass from my browser to the website. Now what i want is that i should cache ( write to a temp file ) whatever that i send to that website. How can this be done? I tried to extract the data present in the packets that are flowing out of my machine but i find only junk characters in that (may be header). any ideas are welcomed. I am using Ubuntu Linux and would like to achieve this using shell script/C/C++
One option would be to use the Fiddler Web Debugger which is scriptable (C#).
Although it's a Win32 program, it can act as a proxy for any Linux machine. See Debug traffic from another machine (even a Mac or Unix box) for details.
There's also a native Linux app called dsniff which can be used to log all HTTP traffic to a file.

Resources