February-7th-2019, 12:05 PM
We want to use the netPI in a network that uses proxy to connect to the internet.
Unfortunately I can't see any options where I can set the proxy settings.
Is there any way to setup the proxy connection?
Kind regards
Julian
February-7th-2019, 03:24 PM
Hello Julian,
the current netPI's web GUI does not offer any general proxy settings.
But please explain me a little closer what your application exactly is.
I know the proxy function normally under conditions where a routing of HTTPS, HTTP or FTP services across a proxy is necessary. Is this the same idea you have in mind?
Thx
Armin
„You never fail until you stop trying.“, Albert Einstein (1879 - 1955)
February-7th-2019, 03:32 PM
Yes, that's pretty much what we want to do in our company network.
Regards,
Julian
February-7th-2019, 03:37 PM
Well then this can be a solution for you:
https://docs.docker.com/network/proxy/
Since netPI applications are coming all containerized you can hand over the parameters HTTP(S)_PROXY as enviroment variables to a container. Then applications like a web browser in a container use this proxy path to get connection to the destination device.
I don't know a working proxy server on the internet ... maybe you know one ... and I can try if this proxy mechanism works.
Thx
Armin
„You never fail until you stop trying.“, Albert Einstein (1879 - 1955)
February-7th-2019, 03:48 PM
The problem is that we can't pull images from DockerHub without proxy settings.
So the only way to deploy a container is to upload it manually from 'remote access'.
And I think that isn't the best solution, especially if you want to update the containers regularly.
We need the ability to establish the proxy connection within the netPI environment and not within the container.
Thanks,
Julian
February-7th-2019, 04:23 PM
Hello Julian,
got your problem. Right now there is no possibility for you to configure any proxy server settings to pull images over proxies like described here:
https://docs.docker.com/config/daemon/sy...ttps-proxy
There are no possibilities to reconfigure those environment variables on the Linux host right now for you. I gonna discuss this topic in the next developer meeting and ask for an implementation. Right now I don't see a solution within the next months.
Thx
Armin
„You never fail until you stop trying.“, Albert Einstein (1879 - 1955)
January-29th-2020, 08:45 AM
Hello Harry,
indeed we have been working on the proxy function to integrate it in the netPIs control panel. I have already have seen a beta software running. The test of the overall software package is currently ongoing and the software team scheduled a release for end of march 2020.
Using SSH is not possible at all with netPI. netPI's OS in combination with Docker is limiting this access to any Linux host environment. The SSH in a container like the bluetooth container you are referencing allows SSH accesses in the container only, not in the host.
Thx
Armin
„You never fail until you stop trying.“, Albert Einstein (1879 - 1955)
December-5th-2022, 06:21 PM
From the beginning of netPI development in the year 2016 the security demand of the netPI OS as core software was set to the maximum level. So the decision was not to implement the SSH service into the netPI OS. Also what you must know is even if the device would offer you an SSH service you have no chance to change anything in the OS since there are no commands available such as "apt" or "sudo". It's a proprietary Hilscher OS only.
If you want to have a more open OS, you can easily remove the SD card from the device and insert an SD card loaded with Raspbian OS if you want to use it instead. Then you have an SSH available from the beginning.
The development of the netPI OS is freezed. There are no further developments for this device in planning
Thx
Armin
„You never fail until you stop trying.“, Albert Einstein (1879 - 1955)