当前位置: 首页> 科技> 数码 > how to connect the VRTE to Internet

how to connect the VRTE to Internet

时间:2025/8/7 15:46:37来源:https://blog.csdn.net/usstmiracle/article/details/141425473 浏览次数:2次

Are all gen_swp_fb python dependecies installed?

In the build log it is present a fail of gen_swp_fb tool?

Steps:

  1. Configure the VM according to proxy/no-proxy
  2. $ cd ../vrte/project/AraUCM_SwUpdate/gen_swp_fb/
  3. $ python3 -m pip install -r requirements.txt
  4. Restore the VM network configuration
  5. Run the example
    1. $ rvbuild -c AraUCM_HelloWorld 20
    2. $ rvbuild -cd AraUCM_SwUpdate 20

About VM network see the documentation RTA-VRTE v3.2.0 Working with Proxies.pdf.

About the python tool, more information are present in the 17.8.2.5 Packing the SW Package, RTA-VRTE v3.2.0 User Guide.pdf.

Pay attention about AraUCM_HelloWorld. The option is only -c: we need only build the example without deployment phase.

  1. Set up the proxy https://confluence.etas-dev.com/pages/viewpage.action?pageId=1739291
  2. Change Network from NAT to Bridge Adapter

下载px-v0.9.0-windows-amd64.zip 包

https://github.com/genotrance/px/releases/download/v0.9.0/px-v0.9.0-windows-amd64.zip

找一个目录解压,(不要再download目录下解压)

  1. Place the attached px.ini in the same folder: px.ini 
  2. Open the Px folder in a terminal (cmd, Powershell, Windows Terminal, ...) and execute the following (yes, the dot is meant to be included):

.\px.exe --install

3 Restart the computer. Px should start automatically on Windows startup. 

Set Windows proxies

Add following system variables to your Windows environment variables: HTTP_PROXYHTTPS_PROXYNO_PROXY and set them as stated in following screenshots. Note the protocols.
Please notice that the value for both 
HTTP_PROXY & HTTPS_PROXY is the same, http://127.0.0.1:3128Do not use https in the value.

Updating Px

Px needs to be updated manually. Similar like in the first installation, just download, replace the old folder with the newly unzipped folder, copy your old px.ini into the new folder, and restart the machine.

Setting the proxy variables temporary in a shell

If needed, you can also set the proxy in a running admin shell using the below commands. The settings will only be valid in that shell (and child processes started from it).

HTTP_PROXY   

HTTPS_PROXY

Get-ChildItem Env:HTTP_PROXY

Get-ChildItem Env:HTTPS_PROXY

If the variables should only applied for the current user, then remove the "-m" argument.

Be aware of using full qualified names when setting Bosch servers in your applications (e.g. atmo1tfsapp.de.bosch.com instead of atmo1tfsapp) so that the no_proxy rule is effective.

Run the cmd / powershell with Admin

Okay so you need to enable internet first (Set adapter 1 to Brindge Adapter) test it with "sudo curl google.com" if it works then run the following commands:

unset http_proxy && unset https_proxy
sudo apt-get update
sudo apt-get install python3-pip
cd vrte/project/AraUCM_SwUpdate/gen_swp_fb/
python3 -m pip install -r requirements.txt

关键字:how to connect the VRTE to Internet

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com

责任编辑: