OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Packages
  • Assigned To No-one
  • Operating System All
  • Severity High
  • Priority Very Low
  • Reported Version openwrt-21.02
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by JadianRadiator - 27.08.2021

FS#3994 - opkg on 21.02 for the Cudy WR2100 doesn't honor its http_proxy option

opkg on 21.02 for the Cudy WR2100 doesn’t honor its http_proxy option.
Supply the following if possible:
- Device problem occurs on

 Cudy WR2100

- Software versions of OpenWrt/LEDE release, packages, etc.

 21.02.0-rc4
 As well as the SNAPSHOT build built on 2021-08-25

- Steps to reproduce

 Be on an http proxy you can verify works with OpenWRT's opkg's http_proxy option.
 Add the "option http_proxy..." setting as you normally would.
 Run "opkg update"


JadianRadiator commented on 27.08.2021 17:51

I made a mistake on the "Steps to reproduce."
Here are the corrected instructions to reproduce.

- Steps to reproduce

 Be on an http proxy you can verify works with OpenWRT's opkg's http_proxy option.
 Have said proxy be the only internet.
 Add the "option http_proxy..." setting as you normally would.
 Run "opkg update"
JadianRadiator commented on 04.09.2021 15:30

I tried with "export https_proxy=https://192.168.49.1:8821/" and no option in the config.
https://bitbin.it/h4BAcwBh/

I tried with "export https_proxy=192.168.49.1:8821" and no option in the config.
https://bitbin.it/B320LMj0/

I tried with "export https_proxy=http://192.168.49.1:8821/" and no option in the config.
Which takes forever just to fail this much.
https://bitbin.it/HG77raa8/

And trying the same proxy url's but in the config made zero difference.

Luiz Angelo Daros de Luca commented on 22.11.2021 22:11

The issue is that opkg does not have (yet) an "option https_proxy".

At least for 21.02, I'm using env variables like this:

https_proxy=http://myproxy:myport opkg ...
env https_proxy=http://myproxy:myport opkg ...
export https_proxy=http://myproxy:myport; opkg ...

You can permanently run that export putting it in a new file at /etc/profile.d/99_proxy.sh

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing