When I try to update the package lists using
Gpkg update
Command I get the following error on the command line:
Downloading package list for attitude_adjustment source... WARNING: Could not retrieve package list for attitude_adjustment
Downloading package list for gargoyle source... WARNING: Could not retrieve package list for gargoyle.
Currently connected to the Internet via the router, so it should be able to see the web.
Any thoughts? Router is TP1043.
Cheers
Rob
Opkg and gpkg Update not working 1.5.10
Moderator: Moderators
Re: Opkg and gpkg Update not working 1.5.10
Same here. Gargoyle 1.5.11, TL-WR1043ND. 

Re: Opkg and gpkg Update not working 1.5.10
I've tested and this seems to work. Please post the contents of /etc/opkg.conf
Re: Opkg and gpkg Update not working 1.5.10
Thank you Eric to take the time to look into it. The contents of the config file was good (pointing to the correct files), but I believe I may have found why it happens.Eric wrote:I've tested and this seems to work. Please post the contents of /etc/opkg.conf
At least in my case, this only happens when the router is configured as a (wired) switch. Even when I have internet working on the PC connected to the router, it seems the router itself somehow does not have access to it (opkg, etc...).
I solved it configuring and downloading all needed packages in router mode and then changing network configuration to switch.
If you think this may point to a bug, I may test the exact configurations, when it happens and when doesn't.
Re: Opkg and gpkg Update not working 1.5.10
Well, thank you for pointing to the right spot.
In my case the only problem was that there was no DNS configured.
So instead of changing the router to "router" configuration it may be easier to add DNS settings to /etc/resolv.conf file.
In my case nameserver was only localhost (127.0.0.1)...
There you should put someting like
nameserver <nameserver1>
nameserver <nameserver2>
To do that you can open an SSH connection and then put the lines accordingly by "vi /etc/resolv.conf".
Hope that helps the next guy who wants to have the right time on his openwrt.
In my case the only problem was that there was no DNS configured.
So instead of changing the router to "router" configuration it may be easier to add DNS settings to /etc/resolv.conf file.
In my case nameserver was only localhost (127.0.0.1)...
There you should put someting like
nameserver <nameserver1>
nameserver <nameserver2>
To do that you can open an SSH connection and then put the lines accordingly by "vi /etc/resolv.conf".
Hope that helps the next guy who wants to have the right time on his openwrt.