In order to install additional tools the Shark Jack will require an Internet connection in Arming Mode. Typically this is achieved by using the
Connect to the Shark Jack shell by SSH (or Serial in the case of the Shark Jack Cable) and plug it into a local network. Ensure that it has Internet connection (e.g.
ping -c4 18.104.22.168). If it does not, use the
NETMODEcommand above to establish an Internet connection via DHCP.
Update the package manager with
opkg update. Using the
opkg listcommand you may find the name of the package you wish to install. Finally, install the package with the command
opkg install <name of package>.
[email protected]:~# opkg install httping
Installing httping (2.5-1) to root...
[email protected]:~# httping
No URL/host to ping given
[email protected]:~# httping example.com
PING example.com:80 (/):
connected to 22.214.171.124:80 (43 bytes), seq=0 time= 27.99 ms
connected to 126.96.36.199:80 (357 bytes), seq=1 time= 18.41 ms
connected to 188.8.131.52:80 (351 bytes), seq=2 time= 17.20 ms
connected to 184.108.40.206:80 (43 bytes), seq=3 time= 17.45 ms
connected to 220.127.116.11:80 (43 bytes), seq=4 time= 17.35 ms
connected to 18.104.22.168:80 (43 bytes), seq=5 time= 17.39 ms
^CGot signal 2
--- http://example.com/ ping statistics ---
6 connects, 6 ok, 0.00% failed, time 5946ms
round-trip min/avg/max = 17.2/19.3/28.0 ms
Learn more about using the opkg package manager from the OpenWRT documentation at https://openwrt.org/docs/guide-user/additional-software/opkg