Post
Topic
Board Hardware
Re: ANTMINER S3 Discussion and Support Thread.
by
mahowi
on 03/09/2014, 21:04:18 UTC
Does anybody have the commands for installing nano on the s3 by putty?
Tried "opkg update" and "opkg install nano" but get errores on the first already



The repository in /etc/opkg.conf is incorrect, so it doesn't have any packages to install.  However even if you fix that (add /base to the path), there isn't a precompiled nano package for this openwrt variant. I suggest learning some basic vi skills, as it's the lowest common denominator in the editor world (any *nix machine will have vi).


Pathes have changed on openwrt repository server, there are now 5 different pathes. You have to change /etc/opk.conf:
Code:
root@antMinerS3:~# cat /etc/opkg.conf
src/gz barrier_breaker http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/packages
src/gz base http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/base
src/gz luci http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/luci
src/gz routing http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/routing
src/gz management http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/management
src/gz telephony http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/telephony
dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay

Code:
opkg update && opkg install nano
should work after modification. You could do the changes also via webinterface of your Antminer.