Page 1 of 1

Plugin Repository Changes for Openwrt

Posted: Sun Jan 07, 2018 12:03 am
by Lantis
Hi All,

Due to changes in the Openwrt infrastructure, the links to Openwrt package repositories are no longer valid.

Please change any entries like "downloads.openwrt" to "archive.openwrt" in the /etc/opkg.conf file through whatever method you are most comfortable with.

If you need assistance please post back.

This is only necessary if you would like to install packages from openwrt that are not included in Gargoyle (e.g. curl, wget w/ SSL etc etc)

Re: Plugin Repository Changes for Openwrt

Posted: Sun Jan 07, 2018 4:28 am
by ispyisail
you don;t want to push a change for the next build?

Re: Plugin Repository Changes for Openwrt

Posted: Sun Jan 07, 2018 5:15 am
by Lantis
I've got one ready, but this is something that should be solved upstream by Openwrt.
I'm also not sure what the final infrastructure changes are going to look like so there is a high chance that i push a patch that is only valid for a week or two at best.

It will probably be pushed later tonight anyway
EDIT: done. https://github.com/ericpaulbishop/gargoyle/pull/715

Re: Plugin Repository Changes for Openwrt

Posted: Thu Jan 18, 2018 9:32 pm
by setham
Thanks for the info.
Lantis wrote:Hi All,

Due to changes in the Openwrt infrastructure, the links to Openwrt package repositories are no longer valid.

Please change any entries like "downloads.openwrt" to "archive.openwrt" in the /etc/opkg.conf file through whatever method you are most comfortable with.

If you need assistance please post back.

This is only necessary if you would like to install packages from openwrt that are not included in Gargoyle (e.g. curl, wget w/ SSL etc etc)

Re: Plugin Repository Changes for Openwrt

Posted: Sat Sep 15, 2018 1:27 pm
by Sai
Hi Lantis,

It seems that OpenWrt fixed that and repos are back to "downloads.openwrt".
Although I can't install curl.

When I do an update, I see that all the links are valid

Code: Select all

~# opkg update
Downloading package list for chaos_calmer_base source...
Package list for chaos_calmer_base downloaded successfully.

Downloading package list for gargoyle source...
Package list for gargoyle downloaded successfully.

Downloading package list for chaos_calmer_packages source...
Package list for chaos_calmer_packages downloaded successfully.

Downloading package list for chaos_calmer_telephony source...
Package list for chaos_calmer_telephony downloaded successfully.

Downloading package list for chaos_calmer_routing source...
Package list for chaos_calmer_routing downloaded successfully.

Downloading package list for chaos_calmer_management source...
Package list for chaos_calmer_management downloaded successfully.
But I can't install curl:

Code: Select all

~# opkg install curl
ERROR: No package named curl found, try updating your package lists
Which makes sens because it's not in the list

Code: Select all

opkg list | grep [cC]url
But that's bizarre...
Am I doing something wrong?

Note, I have a WRT1900ACv2 running Gargoyle 1.10.0

Thank you

Re: Plugin Repository Changes for Openwrt

Posted: Sat Sep 15, 2018 5:38 pm
by Lantis
For versions 1.10.x and earlier, they are still at archive.openwrt.org
The archive site is currently down and refusing connections. It is interesting that you’re not getting an error indicating this.

You’ll need to wait for the servers to come back.

Admins are aware of the issue
http://lists.infradead.org/pipermail/op ... 00894.html

Re: Plugin Repository Changes for Openwrt

Posted: Sat Sep 22, 2018 3:23 pm
by Sai
Thank you, "archive.openwrt" are online and working as expected (note, I'm using https)

Re: Plugin Repository Changes for Openwrt

Posted: Sat Sep 22, 2018 5:10 pm
by Lantis
Excellent :)

Re: Plugin Repository Changes for Openwrt

Posted: Mon Nov 05, 2018 3:09 am
by aaaboy
how to edit /etc/opkg.conf

when i save file , it display "/etc/opkg.conf is read only"

Re: Plugin Repository Changes for Openwrt

Posted: Mon Nov 05, 2018 3:54 am
by Lantis
aaaboy wrote:how to edit /etc/opkg.conf

when i save file , it display "/etc/opkg.conf is read only"
If you are using a router with 4MB of flash, it is likely your router is full and has reverted to read-only mode to stop the filesystem from corrupting.

A failsafe reset will bring it back to normal, but you will run into the issue again.