Skip to content

Instantly share code, notes, and snippets.

@tevino
Last active June 16, 2021 04:17
Show Gist options
  • Save tevino/06edc90087f3fc470c0a to your computer and use it in GitHub Desktop.
Save tevino/06edc90087f3fc470c0a to your computer and use it in GitHub Desktop.
Enable ssh server on hiwifi

Get login token

  1. Login into http://192.168.99.1
  2. Copy the token in the url (stok=TOKEN)

Open the secret page

Fill the token in this url, then open it:

http://192.168.99.1/cgi-bin/luci/;stok={LOGIN TOKEN HERE}/admin/system/startup

Add the following into text box at the bottom before exit 0:

  sleep 10
  wget -O- http://tevin.qiniudn.com/hiwifi-sshd.tar.gz | tar -C / -zxvf - && /etc/init.d/dropbear start

Remember to submit

Reboot

You may now ssh with login password:

ssh root@192.168.99.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment