Jump to content

Upgrading Tetra Firmware via Commandline


odycay12

Recommended Posts

How do I update the firmware via commandline. I'm running 2.0.2 and i tried following the instructions for the mark iv already, but run into an error with the sysupgrade command, wherein it will say 

Saving config files...
etc/config/autossh
etc/config/deauth
etc/config/dhcp
etc/config/dnsspoof
...
a bunch more config files are saved here.
...
etc/ssmtp/ssmtp.conf
etc/sysctl.conf
etc/sysupgrade.conf
Command failed: Not found

I haven't been able to find anything at all online about this.

Link to comment
Share on other sites

  • 7 months later...

I had problems with upgrading firmware via the web interface (http://172.16.42.1:1471/#!/modules/Advanced). It just said "Module returned empty response".

I upgraded manually instead:

  1. On the host download latest firmware from https://downloads.hak5.org./pineapple/tetra
  2. Start wifipineapple and connect it to PC with USB cable to eth1 on wifipineapple. Wait until booting up and blue LED stops blinking.
  3. In terminal:
    1. ifconfig              #check it eth1 has 172.16.42.x. If not wait longer until boot is finished
  4. In terminal copy upgrade file from PC to wifipineapple.
    1. scp upgrade-2.5.4.bin 172.16.42.1:/tmp/upgrade.bin
  5. ssh 172.16.42.1             #login to wifipineapple via ssh
    1. cd /tmp
    2. sysupgrade -n upgrade.bin &       #I add "&" at the end because it starts to update and reboots and sometimes it didn't work without &

 

Link to comment
Share on other sites

10 minutes ago, dvc0de said:

I had problems with upgrading firmware via the web interface (http://172.16.42.1:1471/#!/modules/Advanced). It just said "Module returned empty response".

I upgraded manually instead:

  1. On the host download latest firmware from https://downloads.hak5.org./pineapple/tetra
  2. Start wifipineapple and connect it to PC with USB cable to eth1 on wifipineapple. Wait until booting up and blue LED stops blinking.
  3. In terminal:
    1. ifconfig              #check it eth1 has 172.16.42.x. If not wait longer until boot is finished
  4. In terminal copy upgrade file from PC to wifipineapple.
    1. scp upgrade-2.5.4.bin 172.16.42.1:/tmp/upgrade.bin
  5. ssh 172.16.42.1             #login to wifipineapple via ssh
    1. cd /tmp
    2. sysupgrade -n upgrade.bin &       #I add "&" at the end because it starts to update and reboots and sometimes it didn't work without &

 

That's some weird behaviour. I would be more tempted to do a firmware recovery.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...