Jump to content
Hak5 Forums
Sign in to follow this  
0brix

No modules listed Unable to complete opkg update

Recommended Posts

On a recently purchased LANTurtle SD with the new turtle3 firmware following the below guide.

Given that I can install packages such as curl it looks like there's an issue with the repo. Given the lack of modules in the TUI I suspect that the new firmware does not put them in the expected locations.

The link here appears to add the modules, though obviously the entire pkg update does not complete successfully.

 

Note that there are some typos in this guide.

1. Instructs to install turtle-2.bin instead of turtle-3.bin
2. MD5 checksum when sha256 provided
3. No sha256 present on turtle (can use either busybox or coreutils-sha256sum)

Quote

 

LAN Turtle firmware may be updated”over the air” by choosing Check for Updates from the Config menu. If an Internet providing Ethernet connection is not available, updates may be flashed to the device manually using the following process:

  1. Download the latest UPDATE file from https://downloads.lanturtle.com/turtle-3.bin and verify its checksum. SHA256: 49f14fb742c1d27053b762fae63c6f3dbe611ef589f7a8a2913d04efe400f11c
  2. Verify that the MD5 checksums match
  3. Manually SCP the file to the LAN Turtle in /tmp (ex: scp turtle-2.bin [email protected]:/tmp/)
  4. From the LAN Turtle, exit shell to the bash prompt and issue: sysupgrade -n /tmp/turtle-2.bin
  5. Wait about 5 minutes for the LAN Turtle to flash the firmware and reboot

 

  1.  

https://www.hak5.org/gear/lan-turtle/docsVersion info

Quote

 

Share this post


Link to post
Share on other sites

Sorry for lack of some details, I keep getting filtered out rather frustratingly.

 

Quote

[email protected]:~# opkg update
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/base/Packages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_base.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/base/Packages.sig.
Signature check passed.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/telephony/Packages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_telephony.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/telephony/Packages.sig.
Signature check passed.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/oldpackages/Packages.gz.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/oldpackages/Packages.sig.
Signature check failed.
Remove wrong Signature file.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/packages/Packages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_packages.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/packages/Packages.sig.
Signature check passed.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/routing/Packages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_routing.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/routing/Packages.sig.
Signature check passed.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/luci/Packages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_luci.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/luci/Packages.sig.
Signature check passed.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/management/Packages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_management.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/management/Packages.sig.
Signature check passed.
Collected errors:
 * opkg_download: Failed to download http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/oldpackages/Packages.gz, wget returned 8.
 * opkg_download: Failed to download http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/oldpackages/Packages.sig, wget returned 8.

[email protected]:~#
[email protected]:~# opkg install curl
Installing curl (7.40.0-3) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/base/curl_7.40.0-3_ar71xx.ipk.
Installing libcurl (7.40.0-3) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/base/libcurl_7.40.0-3_ar71xx.ipk.
Installing libpolarssl (1.3.14-1) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/base/libpolarssl_1.3.14-1_ar71xx.ipk.
Configuring libpolarssl.
Configuring libcurl.
Configuring curl.
[email protected]:~#

 

Share this post


Link to post
Share on other sites

This allows the module manager to actually work.

cd /etc/turtle/modules

opkg update

opkg install curl

curl https://raw.githubusercontent.com/hak5/lanturtle-wiki/gh-pages/modules/modulemanager -k -o modulemanager

chmod +x modulemanager

Share this post


Link to post
Share on other sites

Hi there,

 

11 hours ago, 0brix said:

Note that there are some typos in this guide.

I have corrected the instructions found inside the manual. Thanks for catching that! 

 

11 hours ago, 0brix said:

The OpenWrt "oldpackages" repository has been removed. We will probably remove it from our package lists in the next firmware, but the errors can be ignored safely.

 

11 hours ago, 0brix said:

This allows the module manager to actually work.

I can't explain why your module manager is not working properly. Mine works without any issues. I can see that in the thread you linked, there are a couple of misunderstandings:

  1. Module Manager cannot be started. It can only be configured.
  2. When downloading modules, they need to be selected with the SHIFT key (they will become checked). If this is not done, nothing is installed.

 

Best regards,
Sebkinne

Share this post


Link to post
Share on other sites

hi, I have similar problems (with the old lanturtle). I upgraded to turtle-3 because the old firmware couldn't get modules anymore. When I try to get the module directory it downloads the module_list file and thereafter it hangs for a while and then switches back to the menu with directory, delete, update, back. No module list is shown.

Share this post


Link to post
Share on other sites
7 hours ago, daktar said:

hi, I have similar problems (with the old lanturtle). I upgraded to turtle-3 because the old firmware couldn't get modules anymore. When I try to get the module directory it downloads the module_list file and thereafter it hangs for a while and then switches back to the menu with directory, delete, update, back. No module list is shown.

Same here, it says "no modules available." I've tried a clean install and I restored it to factory settings but no luck so far. 

Share this post


Link to post
Share on other sites
19 minutes ago, Thecolorchanges said:

When SSH’d into the turtle can you ping/resolve say www.google.com? Just want to verify network connectivity.

Yeah I can ping google.com and it resolves. It just doesn't seem to be able to reach any of the lan turtle related sites. Wierd. Also when I run check for updates it says "wget : https://www.hak5.org/gear/lan-turtle " then it says no update found" 

Share this post


Link to post
Share on other sites

That new issue was my bad. I changed redirects yesterday and they broke updates and module listing. 

The issue should be fixed now. 

Share this post


Link to post
Share on other sites
49 minutes ago, Thecolorchanges said:

Check out this thread, may fix the issue: 

Thanks it's flashing it right now, I'll report back to confirm it worked! 

 

Share this post


Link to post
Share on other sites
1 hour ago, Thecolorchanges said:

Check out this thread, may fix the issue: 

 

Looks like it worked! Thanks for your help! Should include this in the forum sticky for the turtle. CHEERS! 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×