Resource websites of the opkg packets can only be accessible with HTTP, not HTTPS

Hello.

After executing the operation explained in this article, the packets can no longer be received through HTTPS and I had to change the addresses to HTTP with editing the /etc/opkg/distfeeds.conf

What should I do?

Note: After the operation requested in the mentioned article, I uninstalled the luci-ssl packet by mistake, but after re-installation luci-ssl, receiving packets from HTTPS packet resource websites does not work any longer and Luci Web GUI does not open with any address and I have to use putty (ssh).But my internet connection seems to work with no problem.

My OpenWRT version is 22.03.2

Make a backup, reset to defaults, and then restore the backup.

Ideally, you will upgrade to the latest version (22.03.2 or 21.02.5) while you are doing this process

3 Likes

Can you tell me how to make a backup with putty please? :sweat_smile:
I read this: https://openwrt.org/docs/guide-user/troubleshooting/backup_restore but it gave me nothing to download I even tried with cable but didn't work.

It is all in the instructions you linked. Can you show us the exact commands you used and the results? (Copy paste from putty)


root@OpenWrt:~# umask go=
root@OpenWrt:~# sysupgrade -b /tmp/backup-${HOSTNAME}-$(date +%F).tar.gz
Sat Jan  7 16:53:30 +0330 2023 upgrade: Saving config files...
root@OpenWrt:~# ls /tmp/backup-*.tar.gz
/tmp/backup-OpenWrt-2023-01-07.tar.gz
root@OpenWrt:~# scp root@openwrt.lan:/tmp/backup-*.tar.gz .

/usr/bin/dbclient: Connection to root@openwrt.lan:22 exited: Connect failed: Err                                                                                                             or resolving 'openwrt.lan' port '22'. Name does not resolve
                            or resolving 'openwrt.lan' port '22'. Name does not resolve

You download this.

there is no file in my laptop by this name.
usually IDM will grab gz files when I download them but not this time.

  • You backup router
  • Download backup file from router, to laptop
1 Like

Ohhh I thought it should download to my device. :face_with_hand_over_mouth:
I watched a video : https://www.youtube.com/watch?v=uyI2_B024Nk
Thank you.