Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Running ZeroNet on router #783
Running ZeroNet on the router can reduce carbon emissions, and as long as the router is not closed the entire LAN can be quick and easy access, the following, I will introduce how to run ZeroNet on the router.
First of all, check whether your router install Padavan firmware and plug-in storage, if not, maybe it will not work.
After that, ssh to router and execute the following command
opkg update && opkg install wget python-pip python-gevent python-greenlet tmux
Update and install these software, cd to your router's external storage, my hard drive on the router's directory is /media/AiDisk_a5, if you don't know where is your plug-in storge can be
Open the file manager, access \\[your_router_ip] (such as I was \\192.168.123.1) and then open inside the AiDisk_ax folder (x on behalf of your hard drive number, such as my AiDisk_a5), you can see just downloaded master. Zip and unzipped the ZeroNet-master folder underneath. Then rename the ZeroNet-master folder to ZeroNet, enter the folder, then open the zeronet.py file with npp or other editor, and add the following two lines under
from thread import stack_size stack_size(32768)
In the current directory and then create a new zeronet.conf file, enter the following and save:
Back in ssh, execute these command
cd ZeroNet tmux
This will be displayed as follows:
Wait finished, then type