<?xml version="1.0"?>
<rss version="2.0"><channel><title>Opkg Cookbook Latest Topics</title><link>https://forum.keenetic.com/forum/24-opkg-cookbook/</link><description>Opkg Cookbook Latest Topics</description><language>en</language><item><title>Syncthing</title><link>https://forum.keenetic.com/topic/3956-syncthing/</link><description><![CDATA[
<h2>
	Introduction
</h2>

<p>
	<span ipsnoautolink="true"><a href="https://syncthing.net/" rel="external nofollow">Syncthing</a> replaces proprietary sync and cloud services with something open, trustworthy and decentralized. Your data is your data alone and you deserve to choose where it is stored, if it is shared with some third party and how it's transmitted over the Internet.</span>
</p>

<h2>
	Requirements
</h2>

<ul>
<li>
		RAM &gt;= 128 MB and swap
	</li>
</ul>
<h2>
	Installation
</h2>

<ul>
<li>
		Install necessary packages:
	</li>
</ul>
<pre class="ipsCode" id="ips_uid_8566_5">
opkg install syncthing</pre>

<ul>
<li>
		Start syncthing:
	</li>
</ul>
<pre class="ipsCode" id="ips_uid_8566_7">
/opt/etc/init.d/S92syncthing start</pre>

<h2>
	Using Syncthing
</h2>

<p>
	On the first run  it may take  several minutes to generate certificates. Wait and open http://&lt;ip address of device&gt;:8384 and configure it.
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" data-fileid="10857" href="https://forum.keenetic.com/uploads/monthly_2018_02/screen_238.png.80b92feff1c9ee1268ae6f4bc99758c4.png" rel=""><img alt="screen_238.png" class="ipsImage ipsImage_thumbnailed" data-fileid="10857" data-unique="payfzf95q" src="https://forum.keenetic.com/uploads/monthly_2018_02/screen_238.thumb.png.14196158983b8c8671f3e5047a9acc59.png" style=""></a>
</p>
]]></description><guid isPermaLink="false">3956</guid><pubDate>Thu, 01 Feb 2018 12:47:27 +0000</pubDate></item><item><title>Entware Quickstart</title><link>https://forum.keenetic.com/topic/4290-entware-quickstart/</link><description><![CDATA[<div class="ipsType_normal ipsType_richText ipsContained" data-controller="core.front.core.lightboxedImages" data-role="commentContent">
	<p>
		<strong><span style="font-size:14px;">Attention!</span></strong>
	</p>

	<p>
		Keenetic provides no official support for third-party packages, such as Entware. If you have questions, comments, or suggestions, feel free to post them <a href="https://forum.keenetic.com/forum/3-%D1%81%D0%B1%D0%BE%D1%80%D0%BA%D0%B0-%D0%B8-%D0%BD%D0%B0%D1%81%D1%82%D1%80%D0%BE%D0%B9%D0%BA%D0%B0-%D0%BF%D1%80%D0%B8%D0%BB%D0%BE%D0%B6%D0%B5%D0%BD%D0%B8%D0%B9-opkg/" rel="">here</a>.
	</p>

	<p>
		<strong><span style="font-size:14px;">Requirements</span></strong>
	</p>

	<p>
		To start using Entware on Keenetic, you need:
	</p>

	<ul><li>
			A Keenetic router with a USB port (except Keenetic 4G) running NDMS 2.07 or higher
		</li>
		<li>
			Either "File and printer sharing (SMB/CIFS protocols)", or "FTP server" component installed
		</li>
		<li>
			The "Open Package support" component installed
		</li>
		<li>
			A USB disk with an ext2/ext3/ext4 partition
		</li>
	</ul><p>
		<strong><span style="font-size:14px;">Important</span></strong>: Keenetic should be connected to the Internet.
	</p>

	<p>
		<strong><span style="font-size:14px;">Installation instructions</span></strong>
	</p>

	<ol><li>
			Connect your USB storage to Keenetic
		</li>
		<li>
			Share the ext2/ext3/ext4 partition via FTP or SMB/CIFS
		</li>
		<li>
			Create the "install" directory
		</li>
		<li>
			Copy the following archive to the "install" directory: <a href="http://bin.entware.net/mipselsf-k3.4/installer/EN_mipsel-installer.tar.gz" rel="external nofollow">EN_mipsel-installer.tar.gz</a> ; for KN-2011 and KN-2111 - <a href="http://bin.entware.net/mipssf-k3.4/installer/EN_mips-installer.tar.gz" rel="external nofollow">EN_mips-installer.tar.gz</a>; for KN-2710 - <a href="http://bin.entware.net/aarch64-k3.10/installer/EN_aarch64-installer.tar.gz" rel="external nofollow">EN_aarch64-installer.tar.gz</a>
		</li>
		<li>
			Go to the Keenetic web interface: "Applications » OPKG", check "Enable", select the USB drive, and click "Apply"
		</li>
	</ol><p>
		Wait for the following message in the system log:
	</p>

	<p>
		"... installer: [5/5] Entware installed!"
	</p>

	<pre class="ipsCode" id="ips_uid_4346_6">...
[I] Mar 17 14:47:57 ndm: Opkg::Manager: disk is set to: 13af943c-7374-46f1-9256-f2cc76c2ff1a:
[I] Mar 17 14:47:58 ndm: kernel: EXT4-fs (sdd1): re-mounted. Opts: (null)
[I] Mar 17 14:47:58 ndm: Opkg::Manager: /tmp/mnt/E-3x_test mounted to /tmp/mnt/E-3x_test.
[I] Mar 17 14:47:58 ndm: Opkg::Manager: /tmp/mnt/E-3x_test mounted to /opt/.
[I] Mar 17 14:47:58 npkg: inflating "EN_mipsel-installer(1).tar.gz".
[I] Mar 17 14:47:59 ndm: Opkg::Manager: /tmp/mnt/E-3x_test initialized.
[I] Mar 17 14:47:59 ndm: Opkg::Manager: init script reset to default: /opt/etc/initrc.
[E] Mar 17 14:47:59 ndm: Opkg::Manager: invalid initrc "/opt/etc/initrc": no such file or directory, trying /opt/etc/init.d/.
[I] Mar 17 14:47:59 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Partition is OK.
[I] Mar 17 14:47:59 ndm: Core::ConfigurationSaver: saving configuration...
[I] Mar 17 11:47:59 installer: [1/5] Starting Entware deployment...
[I] Mar 17 11:47:59 installer: [2/5] Basic packages installation...
[I] Mar 17 14:48:01 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Downloading http://bin.entware.net/mipselsf-k3.4/Packages.gz.
[I] Mar 17 14:48:01 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Updated list of available packages in /opt/var/opkg-lists/entware.
[I] Mar 17 14:48:01 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Downloading http://bin.entware.net/mipselsf-k3.4/keenetic/Packages.gz.
[I] Mar 17 14:48:01 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Updated list of available packages in /opt/var/opkg-lists/keendev.
[I] Mar 17 14:48:01 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing opt-ndmsv2 (1.0-10a) to root...
[I] Mar 17 14:48:01 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Downloading http://bin.entware.net/mipselsf-k3.4/keenetic/opt-ndmsv2_1.0-10a_mipsel-3.4_kn.ipk.
[I] Mar 17 14:48:03 ndm: Core::ConfigurationSaver: configuration saved.
[I] Mar 17 14:48:03 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing libc (2.27-8) to root...
[I] Mar 17 14:48:03 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Downloading http://bin.entware.net/mipselsf-k3.4/libc_2.27-8_mipsel-3.4.ipk.
[I] Mar 17 14:48:08 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing libgcc (7.3.0-8) to root...
[I] Mar 17 14:48:08 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Downloading http://bin.entware.net/mipselsf-k3.4/libgcc_7.3.0-8_mipsel-3.4.ipk.
[I] Mar 17 14:48:08 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing libssp (7.3.0-8) to root...
[I] Mar 17 14:48:08 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Downloading http://bin.entware.net/mipselsf-k3.4/libssp_7.3.0-8_mipsel-3.4.ipk.
[I] Mar 17 14:48:09 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing librt (2.27-8) to root...
[I] Mar 17 14:48:09 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Downloading http://bin.entware.net/mipselsf-k3.4/librt_2.27-8_mipsel-3.4.ipk.
[I] Mar 17 14:48:09 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing libpthread (2.27-8) to root...
[I] Mar 17 14:48:09 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Downloading http://bin.entware.net/mipselsf-k3.4/libpthread_2.27-8_mipsel-3.4.ipk.
[I] Mar 17 14:48:10 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing libstdcpp (7.3.0-8) to root...
[I] Mar 17 14:48:10 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Downloading http://bin.entware.net/mipselsf-k3.4/libstdcpp_7.3.0-8_mipsel-3.4.ipk.
[I] Mar 17 14:48:12 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing ldconfig (2.27-8) to root...
[I] Mar 17 14:48:12 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Downloading http://bin.entware.net/mipselsf-k3.4/ldconfig_2.27-8_mipsel-3.4.ipk.
[I] Mar 17 14:48:14 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing findutils (4.6.0-1) to root...
[I] Mar 17 14:48:14 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Downloading http://bin.entware.net/mipselsf-k3.4/findutils_4.6.0-1_mipsel-3.4.ipk.
[I] Mar 17 14:48:14 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing terminfo (6.1-1) to root...
[I] Mar 17 14:48:14 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Downloading http://bin.entware.net/mipselsf-k3.4/terminfo_6.1-1_mipsel-3.4.ipk.
[I] Mar 17 14:48:14 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing ndmq (1.0.2-3) to root...
[I] Mar 17 14:48:14 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Downloading http://bin.entware.net/mipselsf-k3.4/keenetic/ndmq_1.0.2-3_mipsel-3.4_kn.ipk.
[I] Mar 17 14:48:15 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing libndm (1.8.0-1) to root...
[I] Mar 17 14:48:15 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Downloading http://bin.entware.net/mipselsf-k3.4/keenetic/libndm_1.8.0-1_mipsel-3.4_kn.ipk.
[I] Mar 17 14:48:16 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing locales (2.27-8) to root...
[I] Mar 17 14:48:16 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Downloading http://bin.entware.net/mipselsf-k3.4/locales_2.27-8_mipsel-3.4.ipk.
[I] Mar 17 14:48:18 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing grep (2.26-1) to root...
[I] Mar 17 14:48:18 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Downloading http://bin.entware.net/mipselsf-k3.4/grep_2.26-1_mipsel-3.4.ipk.
[I] Mar 17 14:48:19 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing libpcre (8.41-2) to root...
[I] Mar 17 14:48:19 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Downloading http://bin.entware.net/mipselsf-k3.4/libpcre_8.41-2_mipsel-3.4.ipk.
[I] Mar 17 14:48:20 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing zoneinfo-asia (2018c-1) to root...
[I] Mar 17 14:48:20 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Downloading http://bin.entware.net/mipselsf-k3.4/zoneinfo-asia_2018c-1_mipsel-3.4.ipk.
[I] Mar 17 14:48:20 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing zoneinfo-europe (2018c-1) to root...
[I] Mar 17 14:48:20 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Downloading http://bin.entware.net/mipselsf-k3.4/zoneinfo-europe_2018c-1_mipsel-3.4.ipk.
[I] Mar 17 14:48:21 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing entware-release (1.0-2) to root...
[I] Mar 17 14:48:21 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Downloading http://bin.entware.net/mipselsf-k3.4/entware-release_1.0-2_all.ipk.
[I] Mar 17 14:48:21 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing opkg (2011-04-08-9c97d5ec-17b) to root...
[I] Mar 17 14:48:21 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Downloading http://bin.entware.net/mipselsf-k3.4/opkg_2011-04-08-9c97d5ec-17b_mipsel-3.4.ipk.
[I] Mar 17 14:48:22 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing dropbear (2017.75-5) to root...
[I] Mar 17 14:48:22 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Downloading http://bin.entware.net/mipselsf-k3.4/dropbear_2017.75-5_mipsel-3.4.ipk.
[I] Mar 17 14:48:22 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Entware uses separate locale-archive file independent from main system.
[I] Mar 17 14:48:22 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: You can download locale sources from http://pkg.entware.net/sources/i18n_glib227.tar.gz.
[I] Mar 17 14:48:22 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: You can add new locales to Entware using /opt/bin/localedef.new.
[I] Mar 17 14:48:22 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Updating /opt/etc/ld.so.cache... done.
[I] Mar 17 14:48:22 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Package ndmq (1.0.2-3) installed in root is up to date.
[I] Mar 17 14:48:22 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring libgcc.
[I] Mar 17 14:48:22 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring libc.
[I] Mar 17 14:48:22 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring libssp.
[I] Mar 17 14:48:22 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring libpthread.
[I] Mar 17 14:48:22 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring librt.
[I] Mar 17 14:48:22 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring terminfo.
[I] Mar 17 14:48:22 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring ldconfig.
[I] Mar 17 14:48:22 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring libpcre.
[I] Mar 17 14:48:22 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring grep.
[I] Mar 17 14:48:22 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring locales.
[I] Mar 17 14:48:22 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring opkg.
[I] Mar 17 14:48:22 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring zoneinfo-europe.
[I] Mar 17 14:48:22 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring zoneinfo-asia.
[I] Mar 17 14:48:22 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring libndm.
[I] Mar 17 14:48:22 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring ndmq.
[I] Mar 17 14:48:22 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring dropbear.
[I] Mar 17 14:48:22 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring libstdcpp.
[I] Mar 17 14:48:22 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring findutils.
[I] Mar 17 14:48:22 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring entware-release.
[I] Mar 17 14:48:22 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring opt-ndmsv2.
[I] Mar 17 11:48:34 installer: Info: Packages installed...
[I] Mar 17 11:48:34 installer: [3/5] Generating SSH keys...
[I] Mar 17 14:48:34 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Generating key, this may take a while...
[I] Mar 17 14:48:36 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: .Generating key, this may take a while...
[I] Mar 17 11:48:38 installer: [4/5] Setting timezone, script initrc and starting dropbear...
[I] Mar 17 14:48:38 ndm: Core::Server: started Session /var/run/ndm.core.socket.
[I] Mar 17 14:48:38 ndm: Core::Server: client disconnected.
[I] Mar 17 11:48:38 dropbear[20781]: Running in background
[I] Mar 17 14:48:38 ndm: Core::Server: started Session /var/run/ndm.core.socket.
[I] Mar 17 14:48:38 ndm: Opkg::Manager: configured init script: "/opt/etc/init.d/rc.unslung".
[I] Mar 17 14:48:38 ndm: Core::Server: client disconnected.
[I] Mar 17 14:48:38 ndm: Core::Server: started Session /var/run/ndm.core.socket.
[I] Mar 17 14:48:38 ndm: Core::ConfigurationSaver: saving configuration...
[I] Mar 17 14:48:38 ndm: Core::Server: client disconnected.
[I] Mar 17 11:48:38 installer: [5/5] Entware installed!
[I] Mar 17 11:48:38 installer: Log on at root:keenetic@my.keenetic.net -p 222 to start new SSH session.
[I] Mar 17 14:48:38 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: .
[I] Mar 17 14:48:42 ndm: Core::ConfigurationSaver: configuration saved.
...</pre>

	<p>
		<span style="font-size:14px;"><strong>Further steps</strong></span>
	</p>

	<p>
		Connect to the Keenetic by SSH (login/password: root/keenetic) (if installed component "SSH server", connect to the port 222)
	</p>

	<p>
		Update package list
	</p>

	<pre class="ipsCode" id="ips_uid_3631_10">opkg update</pre>

	<p>
		For example, install midnight commander
	</p>

	<pre class="ipsCode" id="ips_uid_3631_12">opkg install mc</pre>

	<p>
		You can find the list of basic packages <a href="http://bin.entware.net/mipselsf-k3.4/Packages.html" rel="external nofollow">here</a> and additional packages for Keenetic <a href="http://bin.entware.net/mipselsf-k3.4/keenetic/Packages.html" rel="external nofollow">here</a>
	</p>
</div>
]]></description><guid isPermaLink="false">4290</guid><pubDate>Sat, 17 Mar 2018 10:34:21 +0000</pubDate></item><item><title>Debian Quickstart</title><link>https://forum.keenetic.com/topic/4000-debian-quickstart/</link><description><![CDATA[<p>
	You may use <a href="https://www.debian.org/releases/jessie/" rel="external nofollow">Debian 8.11 "Jessie"</a> , <a href="https://www.debian.org/News/2020/20200718" rel="external nofollow">Debian 9.13 "Stretch"</a> , <a href="https://www.debian.org/News/2022/20220910" rel="external nofollow">Debian 10.13 "Buster"</a> , <a href="https://www.debian.org/News/2024/2024083102" rel="external nofollow">Debian 11.11 "Bullseye"</a> , <a href="https://www.debian.org/News/2026/2026011002" rel="external nofollow">Debian 12.13 "Bookworm"</a> or <a href="https://www.debian.org/News/2026/20260314" rel="external nofollow">Debian 13.4 "Trixie"</a> right on your Keenetic router.
</p>

<p>
	<a href="http://files.keenopt.ru/" rel="external nofollow">http://files.keenopt.ru/</a> is a good example of working Debian on Keenetic Giga III.
</p>

<p>
	! <a href="https://www.debian.org/releases/stable/mips/release-notes/ch-whats-new.en.html#idm120" rel="external nofollow">Dropping mips architecture</a>
</p>

<p>
	! <a href="https://www.debian.org/releases/trixie/release-notes/issues.en.html#mips-architectures-removed" rel="external nofollow">Dropping mipsel architecture</a>
</p>

<p>
	! <a href="https://www.debian.org/News/2023/2023120902" rel="external nofollow">Debian 12.3 image release delayed</a>
</p>

<p>
	<strong>Requirements</strong>
</p>

<ul>
	<li>
		USB-port on router,
	</li>
	<li>
		Ext2/Ext3/Ext4 formatted flash drive or HDD. You may use <a href="http://www.partition-tool.com/" rel="external nofollow">EaseUS Partition Master free</a> on Windows to format USB drive.
	</li>
</ul>

<p>
	<strong>Installation</strong>
</p>

<ul>
	<li>
		Connect USB drive and get access to it via FTP or SAMBA,
	</li>
	<li>
		Make <strong>install</strong> folder on USB drive,
	</li>
	<li>
		Put <a href="http://ndm.zyxmon.org/binaries/debian/debian-jessie-8_11-mipsel.tar.gz" rel="external nofollow">debian-jessie-8_11-mipsel.tar.gz</a> or <a href="http://ndm.zyxmon.org/binaries/debian/debian-stretch-9_13-mipsel.tar.gz" rel="external nofollow">debian-stretch-9_13-mipsel.tar.gz</a> or <a href="http://ndm.zyxmon.org/binaries/debian/debian-buster-10.13-mipsel.tar.gz" rel="external nofollow">debian-buster-10.13-mipsel.tar.gz</a> or <a href="http://ndm.zyxmon.org/binaries/debian/debian-bullseye-11.11-mipsel.tar.gz" rel="external nofollow">debian-bullseye-11.11-mipsel.tar.gz</a> or <a href="http://ndm.zyxmon.org/binaries/debian/debian-bookworm-12.13-mipsel.tar.gz" rel="external nofollow">debian-bookworm-12.13-mipsel.tar.gz</a> file to <strong>Install</strong> folder,
	</li>
</ul>

<p>
	           ( for KN-2011 or KN-2111 - <a href="http://ndm.zyxmon.org/binaries/debian/debian-jessie-8_11-mips.tar.gz" rel="external nofollow">debian-jessie-8_11-mips.tar.gz</a> or <a href="http://ndm.zyxmon.org/binaries/debian/debian-stretch-9_13-mips.tar.gz" rel="external nofollow">debian-stretch-9_13-mips.tar.gz</a> or <a href="http://ndm.zyxmon.org/binaries/debian/debian-buster-10.13-mips.tar.gz" rel="external nofollow">debian-buster-10.13-mips.tar.gz</a> ),
</p>

<p>
	           ( for KN-2710 - <a href="http://ndm.zyxmon.org/binaries/debian/debian-buster-10.13-aarch64.tar.gz" rel="external nofollow">debian-buster-10.13-aarch64.tar.gz</a> or <a href="http://ndm.zyxmon.org/binaries/debian/debian-bullseye-11.11-aarch64.tar.gz" rel="external nofollow">debian-bullseye-11.11-aarch64.tar.gz</a> or <a href="http://ndm.zyxmon.org/binaries/debian/debian-bookworm-12.13-aarch64.tar.gz" rel="external nofollow">debian-bookworm-12.13-aarch64.tar.gz</a> or <a href="http://ndm.zyxmon.org/binaries/debian/debian-trixie-13.4-aarch64.tar.gz" rel="external nofollow">debian-trixie-13.4-aarch64.tar.gz</a>)
</p>

<ul>
	<li>
		Open <a href="http://my.keenetic.net/#usb.opkg" rel="external nofollow">OPKG</a> page, pick your USB drive and hit "Apply".
	</li>
</ul>

<p>
	Give your Keenetic a couple of minutes to unpack necessary files, you''ll see following syslog messages if all went fine:
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">[I] Jul 19 13:24:28 ndm: Opkg::Manager: disk is set to: fb4e34d1-3cab-fd19-b96d-4bb3a2d5ec84:
[I] Jul 19 13:24:28 ndm: Opkg::Manager: init script reset to default: /opt/etc/initrc.
[I] Jul 19 13:24:28 ndm: kernel: EXT4-fs (sda1): re-mounted. Opts: (null)
[I] Jul 19 13:24:28 ndm: Opkg::Manager: /tmp/mnt/FIT8GB/ mounted to /tmp/mnt/FIT8GB/.
[I] Jul 19 13:24:28 ndm: Opkg::Manager: /tmp/mnt/FIT8GB/ mounted to /opt/.
[I] Jul 19 13:24:28 npkg: inflating "debian-keenetic.tar.gz".
[I] Jul 19 13:24:28 ndm: Core::ConfigurationSaver: saving configuration...
[I] Jul 19 13:26:10 ndm: Opkg::Manager: /tmp/mnt/FIT8GB/ initialized.
[I] Jul 19 13:26:10 ndm: Core::ConfigurationSaver: configuration saved.
[I] Jul 19 10:26:10 root: Starting Debian services...
[W] Jul 19 13:26:11 ndm: kernel: Algorithmics/MIPS FPU Emulator v1.5
[I] Jul 19 13:26:11 ndm: Opkg::Manager: /opt/etc/initrc: Starting OpenBSD Secure Shell server: sshd.
[I] Jul 19 13:26:11 ndm: Opkg::Manager: /opt/etc/initrc: Done.
[I] Jul 19 10:26:11 sshd[448]: Server listening on 0.0.0.0 port 22.
[I] Jul 19 10:26:11 sshd[448]: Server listening on :: port 22.
</span></pre>

<div class="ipsSpoiler" data-ipsspoiler="">
	<div class="ipsSpoiler_header">
		<span>Spoiler</span>
	</div>

	<div class="ipsSpoiler_contents" data-gramm="false">
		<pre class="ipsCode" id="ips_uid_7186_8">...
[I] Feb 19 12:26:45 ndm: Opkg::Manager: disk is set to: debian:/.
[I] Feb 19 12:26:45 ndm: kernel: EXT4-fs (sde): re-mounted. Opts: (null)
[I] Feb 19 12:26:45 ndm: Opkg::Manager: /tmp/mnt/bc2a2eb6-f889-4366-83ba-2cc3b93646f9 mounted to /tmp/mnt/bc2a2eb6-f889-4366-83ba-2cc3b93646f9.
[I] Feb 19 12:26:45 ndm: Opkg::Manager: /tmp/mnt/bc2a2eb6-f889-4366-83ba-2cc3b93646f9 mounted to /opt/.

[I] Feb 19 12:26:45 npkg: inflating "debian-stretch-9_8-mipsel.tar.gz".

[I] Feb 19 12:27:13 ndm: Opkg::Manager: /tmp/mnt/bc2a2eb6-f889-4366-83ba-2cc3b93646f9 initialized.
[I] Feb 19 12:27:13 ndm: Opkg::Manager: init script reset to default: /opt/etc/initrc.
[I] Feb 19 12:27:13 ndm: Core::ConfigurationSaver: saving configuration...
[I] Feb 19 12:27:13 ndm: Dns::Manager: RPC-only mode enabled.
[I] Feb 19 12:27:13 ndnproxy: ndnproxy stopped.

[I] Feb 19 09:27:13 0: Starting Debian services...
[I] Feb 19 09:27:14 sshd[8096]: Server listening on 0.0.0.0 port 222.
[I] Feb 19 12:27:14 ndm: Opkg::Manager: /opt/etc/initrc: Starting OpenBSD Secure Shell server: sshd.
[I] Feb 19 12:27:14 ndm: Opkg::Manager: /opt/etc/initrc: Done.
[I] Feb 19 09:27:14 sshd[8096]: Server listening on :: port 222.

[I] Feb 19 12:27:15 ndnproxy: ndnproxy 1.3.0b22 started.
[I] Feb 19 12:27:15 ndnproxy: PID file: /var/ndnproxymain.pid.
[I] Feb 19 12:27:15 ndnproxy: stats. file: /var/ndnproxymain.stat.
[I] Feb 19 12:27:17 ndm: Core::ConfigurationSaver: configuration saved.

[I] Feb 19 09:27:55 sshd[8308]: Connection closed by 192.168.1.60 port 48314 [preauth]
[I] Feb 19 09:28:34 sshd[8476]: Accepted password for root from 192.168.1.60 port 48318 ssh2
[I] Feb 19 09:28:34 sshd[8476]: pam_unix(sshd:session): session opened for user root by (uid=0)
[E] Feb 19 09:28:34 sshd[8476]: pam_env(sshd:session): Unable to open env file: /etc/default/locale: No such file or directory

[I] Feb 19 09:29:56 chroot: Hello, World!

[I] Feb 19 09:31:13 sshd[8476]: Received disconnect from 192.168.1.60 port 48318:11: disconnected by user
[I] Feb 19 09:31:13 sshd[8476]: Disconnected from 192.168.1.60 port 48318
[I] Feb 19 09:31:13 sshd[8476]: pam_unix(sshd:session): session closed for user root

[I] Feb 19 12:31:30 ndm: Opkg::Manager: unmount existing /opt disk: debian:/.
[I] Feb 19 09:31:30 0: Stopping Debian services...
[I] Feb 19 09:31:31 sshd[8096]: Received signal 15; terminating.
[I] Feb 19 12:31:31 ndm: Opkg::Manager: /opt/etc/initrc: Stopping OpenBSD Secure Shell server: sshd.
[I] Feb 19 12:31:31 ndm: Opkg::Manager: /opt/etc/initrc: Done.
[I] Feb 19 12:31:31 ndm: Opkg::Manager: disk unmounted.

[I] Feb 19 12:31:31 ndnproxy: ndnproxy stopped.
[I] Feb 19 12:31:31 ndm: Dns::Manager: RPC-only mode disabled.
[I] Feb 19 12:31:31 ndm: Opkg::Manager: disk is unset.
[I] Feb 19 12:31:31 ndm: Opkg::Manager: init script reset to default: /opt/etc/initrc.
[I] Feb 19 12:31:31 ndm: Core::ConfigurationSaver: saving configuration...
[I] Feb 19 12:31:33 ndnproxy: ndnproxy 1.3.0b22 started.
[I] Feb 19 12:31:33 ndnproxy: PID file: /var/ndnproxymain.pid.
[I] Feb 19 12:31:33 ndnproxy: stats. file: /var/ndnproxymain.stat.
[I] Feb 19 12:31:34 ndm: Core::ConfigurationSaver: configuration saved.
...</pre>

		<p>
			 
		</p>
	</div>
</div>

<p>
	<strong>Using Debian</strong>
</p>

<p>
	Use following SSH credentials to get access to Debian environment:
</p>

<ul>
	<li>
		host: my.keenetic.net,
	</li>
	<li>
		port: 222
	</li>
	<li>
		user name: root,
	</li>
	<li>
		password: debian.
	</li>
</ul>

<p>
	This is it, you've got 10000+ available packages from one of greatest linux community!
</p>

<p>
	For 64MB RAM devices is highly recommended to <a href="http://my.keenetic.net/#tools.swap" rel="external nofollow">turn on Swap-file</a>.
</p>

<p>
	 
</p>

<p>
	<strong>Details</strong>
</p>

<p>
	You see chroot-environment after SSH logon, there's only minimal Busubox outside of it and /opt/etc/initrc script to fire up sandbox, this script starts necessary Debian services on boot and gracefully shut them down on reboot or unmount USB drive:
</p>

<p>
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">[I] Jul 19 10:28:36 root: Stopping Debian services...
[I] Jul 19 10:28:36 sshd[448]: Received signal 15; terminating.
[I] Jul 19 13:28:36 ndm: Opkg::Manager: /opt/etc/initrc: Stopping OpenBSD Secure Shell server: sshd.
[I] Jul 19 13:28:36 ndm: Opkg::Manager: /opt/etc/initrc: Done.
[I] Jul 19 13:28:36 ndm: Opkg::Manager: disk unmounted.</span></pre>

<p>
	Also, you'll find <strong>/chroot-services.list</strong> file, where you can put new services which should be started on boot, please use one name per string, service names can be taken from  /etc/init.d.
</p>

<p>
	Good luck!
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" data-fileext="png" data-fileid="4434" href="https://forum.keenetic.com/uploads/monthly_2016_07/deb.png.a6bcaf0f86dcc2c97ba78e101c512c9e.png" rel=""><img alt="deb.png" class="ipsImage ipsImage_thumbnailed" data-fileid="4434" src="https://forum.keenetic.com/uploads/monthly_2016_07/deb.png.a6bcaf0f86dcc2c97ba78e101c512c9e.png"></a>
</p>
]]></description><guid isPermaLink="false">4000</guid><pubDate>Mon, 05 Feb 2018 07:22:40 +0000</pubDate></item><item><title>ownCloud &#x2014; the private cloud</title><link>https://forum.keenetic.com/topic/3942-owncloud-%E2%80%94-the-private-cloud/</link><description><![CDATA[<p>
	Adapted for Keenetic, the original manual is <span style="display: none;">  </span><a href="https://github.com/Entware/Entware/wiki/Using-ownCloud" rel="external nofollow">here</a>.
</p>

<h2>
	Introduction
</h2>

<p>
	<a href="https://owncloud.org/" rel="external nofollow">OwnCloud</a> provides universal access to your files via the web, computer or mobile devices — wherever you are.
</p>

<p>
	<span style="font-size:16px;"><strong>Attention</strong></span>
</p>

<div class="ipsSpoiler" data-ipsspoiler="">
	<div class="ipsSpoiler_header">
		<span>Spoiler</span>
	</div>

	<div class="ipsSpoiler_contents ipsClearfix" data-gramm="false">
		<p>
			<img alt="screen_2020-02-05_13-03(OC).png" class="ipsImage ipsImage_thumbnailed" data-fileid="19023" data-ratio="22.88" data-unique="le9d0qdhr" width="459" src="https://forum.keenetic.com/uploads/monthly_2020_02/screen_2020-02-05_13-03(OC).png.4082235127d21da5673bb4e1fd6cb7f5.png"></p>

		<p>
			comment next lines in /opt/share/www/owncloud/index.php after unpack
		</p>

		<pre class="ipsCode" id="ips_uid_6264_17">


if (\version_compare(PHP_VERSION, '7.4.0alpha1') !== -1) {
	echo 'This version of ownCloud is not compatible with PHP 7.4&lt;br/&gt;';
	echo 'You are currently running PHP ' . PHP_VERSION . '.';
	return;
}
</pre>

		<p>
			example before &amp; after
		</p>

		<pre class="ipsCode" id="ips_uid_6264_21">


~ # diff -uraN /opt/share/www/owncloud/index.php.orig /opt/share/www/owncloud/index.php
--- /opt/share/www/owncloud/index.php	2020-01-08 20:12:56.000000000 +0300
+++ /opt/share/www/owncloud/index.php	2020-02-05 15:03:02.471994881 +0300
@@ -36,11 +36,11 @@
 }
 
 // Show warning if PHP 7.4 or later is used as ownCloud is not compatible with PHP 7.4
-if (\version_compare(PHP_VERSION, '7.4.0alpha1') !== -1) {
-	echo 'This version of ownCloud is not compatible with PHP 7.4&lt;br/&gt;';
-	echo 'You are currently running PHP ' . PHP_VERSION . '.';
-	return;
-}
+//if (\version_compare(PHP_VERSION, '7.4.0alpha1') !== -1) {
+//	echo 'This version of ownCloud is not compatible with PHP 7.4&lt;br/&gt;';
+//	echo 'You are currently running PHP ' . PHP_VERSION . '.';
+//	return;
+//}
 
 // running oC on Windows is unsupported since 8.1, this has to happen here because
 // is seems that the autoloader on Windows fails later and just throws an exception.</pre>

		<p>
			 
		</p>
	</div>
</div>

<h2>
	Requirements
</h2>

<ul><li>
		Ability to open TCP81 port to access ownCloud from internet.
	</li>
</ul><h2>
	Installation
</h2>

<ul><li>
		Install necessary packages:
	</li>
</ul><pre class="ipsCode" id="ips_uid_9037_5">
opkg install bzip2 curl lighttpd-mod-access lighttpd-mod-fastcgi php7-cgi php7-mod-ctype \
php7-mod-curl php7-mod-dom php7-mod-fileinfo php7-mod-gd php7-mod-iconv php7-mod-intl \
php7-mod-json php7-mod-mbstring php7-mod-pdo-sqlite php7-mod-session php7-mod-simplexml \
php7-mod-sqlite3 php7-mod-xml php7-mod-xmlreader php7-mod-xmlwriter php7-mod-zip</pre>

<ul><li>
		Download and unpack ownCloud files:
	</li>
</ul><pre class="ipsCode" id="ips_uid_6264_15">
curl https://download.owncloud.org/community/testing/owncloud-10.4.0RC1.tar.bz2 | \
bzip2 -cd | tar -xvC /opt/share/www/</pre>

<ul><li>
		Create the file `/opt/etc/lighttpd/conf.d/clouds.conf` and add following strings:
	</li>
</ul><pre class="ipsCode" id="ips_uid_6384_7">
server.port = 81

fastcgi.server = (
  ".php" =&gt;
    ( "localhost" =&gt;
      ( "socket" =&gt; "/tmp/php-fcgi.sock",
        "bin-path" =&gt; "/opt/bin/php-fcgi",
        "max-procs" =&gt; 1,
        "bin-environment" =&gt;
          ( "PHP_FCGI_CHILDREN" =&gt; "2",
            "PHP_FCGI_MAX_REQUESTS" =&gt; "1000"
          )
        )
     )
 )

$HTTP["url"] =~ "^/owncloud/data/" {
  url.access-deny = ("")
}

$HTTP["url"] =~ "^/owncloud($|/)" {
  dir-listing.activate = "disable"
}</pre>

<ul><li>
		Edit <code>/opt/etc/php.ini</code>:
	</li>
</ul><pre class="ipsCode" id="ips_uid_6384_13">
upload_max_filesize = 100M 
post_max_size = 100M 
memory_limit = 32M</pre>

<ul><li>
		Start lighttpd:
	</li>
</ul><pre class="ipsCode" id="ips_uid_6384_9">
/opt/etc/init.d/S80lighttpd start</pre>

<h2>
	Using Owncloud
</h2>

<p>
	Open <code>http://&lt;ip address of device&gt;:81/owncloud</code> and create a new account. You can access your files using the Web interface, or a <a href="https://owncloud.org/install/#install-clients" rel="external nofollow">Desktop/Mobile app</a>.
</p>

<p>
	 
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" data-fileext="png" data-fileid="10818" href="https://forum.keenetic.com/uploads/monthly_2018_01/screen_231.png.ce0ebe02226c75f2da4b6a53d216de78.png" rel=""><img alt="screen_231.png" class="ipsImage ipsImage_thumbnailed" data-fileid="10818" data-unique="h6nmsmnyj" style="" src="https://forum.keenetic.com/uploads/monthly_2018_01/screen_231.thumb.png.e91d90c8cb95043d7e202ca9fdd8dd7e.png"></a><a class="ipsAttachLink ipsAttachLink_image" data-fileext="png" data-fileid="10816" href="https://forum.keenetic.com/uploads/monthly_2018_01/screen_232.png.9c34f8d05fde2789ab6f39dd06d27567.png" rel=""><img alt="screen_232.png" class="ipsImage ipsImage_thumbnailed" data-fileid="10816" data-unique="nxr6uv8zc" style="" src="https://forum.keenetic.com/uploads/monthly_2018_01/screen_232.thumb.png.0d6f05b71347490c23b1aa9045597cb7.png"></a><a class="ipsAttachLink ipsAttachLink_image" data-fileext="png" data-fileid="10815" href="https://forum.keenetic.com/uploads/monthly_2018_01/screen_233.png.d56018d352b92423eaf3c823fe98a20c.png" rel=""><img alt="screen_233.png" class="ipsImage ipsImage_thumbnailed" data-fileid="10815" data-unique="mx359ht6j" style="" src="https://forum.keenetic.com/uploads/monthly_2018_01/screen_233.thumb.png.16a88cf30f636bcd3225b2566f432a90.png"></a>
</p>]]></description><guid isPermaLink="false">3942</guid><pubDate>Wed, 31 Jan 2018 08:56:28 +0000</pubDate></item><item><title>Need support for vpn protocols such as shadowsocks, cloak, AmneziaVPN</title><link>https://forum.keenetic.com/topic/16747-need-support-for-vpn-protocols-such-as-shadowsocks-cloak-amneziavpn/</link><description><![CDATA[<p>
	Need support for vpn protocols such as shadowsocks, cloak, AmneziaVPN
</p>
]]></description><guid isPermaLink="false">16747</guid><pubDate>Tue, 08 Aug 2023 19:29:57 +0000</pubDate></item><item><title>Ad blocking</title><link>https://forum.keenetic.com/topic/4002-ad-blocking/</link><description><![CDATA[
<p>
	How to remove ads from web pages and Android apps.
</p>

<p>
	Before:
</p>

<p>
	<a href="http://radikal.ru/fp/d7236032b9c547cabd262b1015a300ce" rel="external nofollow"><img alt="4d262a31311et.jpg" src="http://s020.radikal.ru/i704/1602/65/4d262a31311et.jpg"></a>
</p>

<p>
	After:
</p>

<p>
	<a href="http://radikal.ru/fp/491ea1ccaf604018896654311e3b4aa0" rel="external nofollow"><img alt="5643795dd011t.jpg" src="http://s017.radikal.ru/i405/1602/ae/5643795dd011t.jpg"></a>
</p>

<p>
	<span style="font-size:14px;"><strong>Installation</strong></span>
</p>

<p>
	Install necessary packages:
</p>

<pre class="ipsCode">
opkg install dnsmasq-full iptables ndmq</pre>

<p>
	Create a netfilter hook <strong>/opt/etc/ndm/netfilter.d/010-intercept-dns.sh</strong>:
</p>

<pre class="ipsCode" id="ips_uid_760_6">
#!/bin/sh

[ "$table" != "nat" ] &amp;&amp; exit 0

lan_ip=$(ndmq -p 'show interface Bridge0' -P address)

iptables -t nat -I PREROUTING -p udp -m udp --dport 53 -j DNAT --to-destination $lan_ip:65053
iptables -t nat -I PREROUTING -p tcp -m tcp --dport 53 -j DNAT --to-destination $lan_ip:65053
</pre>

<p>
	Make it executable:
</p>

<pre class="ipsCode">
chmod +x /opt/etc/ndm/netfilter.d/010-intercept-dns.sh</pre>

<p>
	Add the following lines to the <strong>/opt/etc/dnsmasq.conf</strong>:
</p>

<pre class="ipsCode" id="ips_uid_760_8">
no-resolv
server=77.88.8.88#1253
server=77.88.8.2#1253
port=65053
</pre>

<p>
	Download your favorite blacklist to <strong>/opt/etc/hosts</strong>. For example:
</p>

<pre class="ipsCode">
wget -O /opt/etc/hosts <a href="http://winhelp2002.mvps.org/hosts.txt" rel="external nofollow">http://winhelp2002.mvps.org/hosts.txt</a></pre>

<p>
	Done! Reboot your router for the changes to take effect.
</p>

<p>
	<span style="font-size:14px;"><strong>Troubleshooting</strong></span>
</p>

<ol>
<li>
		<p>
			Make sure you have not configured custom DNS servers in the Internet Connection properties.
		</p>
	</li>
	<li>
		<p>
			Flush your operating system DNS cache (in Windows — <strong>ipconfig /flushdns</strong>)
		</p>
	</li>
	<li>
		<p>
			Close and open your web browser.
		</p>
	</li>
</ol>
<p>
	<span style="font-size:14px;"><strong>Notes</strong></span>
</p>

<div class="ipsSpoiler" data-ipsspoiler="">
	<div class="ipsSpoiler_header">
		Notes
	</div>

	<div class="ipsSpoiler_contents">
		<p>
			The <g class="gr_ gr_35 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling" data-gr-id="35" id="35">iptables</g> rules redirect all DNS requests to the <g class="gr_ gr_36 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling" data-gr-id="36" id="36">dnsmasq</g>. The <g class="gr_ gr_37 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling" data-gr-id="37" id="37">dnsmasq</g> uses <strong>/opt/etc/hosts</strong> as an exception list. Yandex.DNS anti-ad servers are used for the unlisted hostnames. You can replace Yandex.DNS with Norton ConnectSafe or AdGuard public servers.
		</p>
	</div>
</div>
]]></description><guid isPermaLink="false">4002</guid><pubDate>Mon, 05 Feb 2018 07:28:48 +0000</pubDate></item><item><title>Using DNS-O-Matic</title><link>https://forum.keenetic.com/topic/4006-using-dns-o-matic/</link><description><![CDATA[
<p>
	<a href="https://dnsomatic.com/" rel="external nofollow">DNS-O-Matic</a> provides you a free and easy way to announce your dynamic IP changes to multiple services with a single update. Using DNS-O-Matic allows you to pick and choose what Dynamic DNS services you want to notify, all from one easy to use interface.
</p>

<p>
	This is helpful if Keenetic does not support your Dynamic DNS provider directly.
</p>

<ol>
<li>
		<p>
			<a href="https://www.dnsomatic.com/create/" rel="external nofollow">Create</a> a DNS-O-Matic account
		</p>
	</li>
	<li>
		<p>
			Configure it to start sending the updates with your preferred Dynamic DNS provider
		</p>
	</li>
	<li>
		<p>
			In the Keenetic Web interface, open <a href="http://my.keenetic.net/_/controlPanel/remoteAccess/DDNS" rel="external nofollow">Domain Name » DDNS</a> and configure a custom profile:
		</p>

		<ul>
<li>
				<p>
					Service: Another
				</p>
			</li>
			<li>
				<p>
					DDNS service provider URL: <a href="https://updates.dnsomatic.com/nic/update" rel="external nofollow">https://updates.dnsomatic.com/nic/update</a>
				</p>
			</li>
			<li>
				<p>
					Domain name: <em>(DDNS domain name that is configured in DNS-O-Matic, such as example.ddns.net)</em>
				</p>
			</li>
			<li>
				<p>
					User name: <em>(DNS-O-Matic user name)</em>
				</p>
			</li>
			<li>
				<p>
					Password: <em>(DNS-O-Matic password)</em>
				</p>
			</li>
			<li>
				<p>
					Automatically detect my IP address: uncheck
				</p>
			</li>
			<li>
				<p>
					For connections: select your connection
				</p>
			</li>
		</ul>
</li>
	<li>
		<p>
			Click "Save".
		</p>
	</li>
</ol>
<p>
	Check that your current IP address is shown in <a href="https://dnsomatic.com/" ipsnoembed="true" rel="external nofollow">https://dnsomatic.com/</a> account status.
</p>
]]></description><guid isPermaLink="false">4006</guid><pubDate>Mon, 05 Feb 2018 07:33:00 +0000</pubDate></item><item><title>Who's eating my bandwidth?</title><link>https://forum.keenetic.com/topic/4004-whos-eating-my-bandwidth/</link><description><![CDATA[
<p>
	There is a quick and easy solution to deploy traffic accounting on your Keenetic. The external USB storage is required. The same storage can be used for the other Keenetic applications at the same time.
</p>

<p>
	<span style="font-size:14px;"><strong>What is </strong></span><strong><span style="font-size:14px;">darkstat</span></strong>
</p>

<p>
	Darkstat is a <a href="https://unix4lyfe.org/darkstat/" rel="external nofollow">traffic accounting software</a> that allows you to monitor the activity of all network hosts in your home network.
</p>

<div class="ipsSpoiler" data-ipsspoiler="">
	<div class="ipsSpoiler_header">
		<span>Скрытый текст</span>
	</div>

	<div class="ipsSpoiler_contents">
		<p>
			<img alt="screen-graphs.png" class="ipsImage" src="https://unix4lyfe.org/darkstat/screen-graphs.png"></p>

		<p>
			<img alt="screen-hosts.png" class="ipsImage" src="https://unix4lyfe.org/darkstat/screen-hosts.png"></p>

		<p>
			<img alt="screen-ports.png" class="ipsImage" src="https://unix4lyfe.org/darkstat/screen-ports.png"></p>

		<p>
			 
		</p>
	</div>
</div>

<p>
	<span style="font-size:14px;"><strong>How to install</strong></span>
</p>

<ul>
<li>
		Create the "install" directory on a USB drive, and put the <a data-fileid="7155" href="https://forum.keenetic.com/applications/core/interface/file/attachment.php?id=7155" rel="">attached file</a> in there
	</li>
	<li>
		Make sure you have installed the Open Package support
	</li>
	<li>
		Connect the USB drive to the Keenetic
	</li>
	<li>
		Enable <a href="http://my.keenetic.net/_/controlPanel/opkg/" rel="external nofollow">OPKG</a>, select your USB drive and save settings.
	</li>
</ul>
<p>
	<span style="font-size:14px;"><strong>How to use</strong></span>
</p>

<p>
	Open <a href="http://my.keenetic.net:667" ipsnoembed="true" rel="external nofollow">http://my.keenetic.net:667</a> in your browser.
</p>

<p>
	<span style="font-size:14px;"><strong>How to remove</strong></span>
</p>

<ul>
<li>
		Unmount your USB disk from the Applications menu
	</li>
	<li>
		Remove "etc" and "bin" directories
	</li>
</ul>
<p>
	<a class="ipsAttachLink" data-fileid="7155" href="https://forum.keenetic.com/applications/core/interface/file/attachment.php?id=7155" rel="">darkstat_mipsel.tgz</a>
</p>
]]></description><guid isPermaLink="false">4004</guid><pubDate>Mon, 05 Feb 2018 07:31:11 +0000</pubDate></item><item><title>Control your Keenetic via Telegram</title><link>https://forum.keenetic.com/topic/4001-control-your-keenetic-via-telegram/</link><description><![CDATA[
<p>
	Chat with your Keenetic CLI via Telegram like a pro!:)
</p>

<p>
	<img alt="b92d38f5d243.png" src="http://s017.radikal.ru/i433/1601/86/b92d38f5d243.png"></p>

<ul>
<li>
		Install necessary Entware packages:
		<pre class="ipsCode">
opkg install bash curl dtach</pre>

		<div>
			 
		</div>

		<p>
			 
		</p>
	</li>
	<li>
		Download the bash-script, which serving as Telegram bot:
		<pre class="ipsCode">
curl --output /opt/bin/bashbot.sh --insecure https://raw.githubusercontent.com/ryzhovau/telegram-bot-bash/master/opt/bin/bashbot.sh
curl --output /opt/bin/JSON.sh --insecure https://raw.githubusercontent.com/ryzhovau/telegram-bot-bash/master/opt/bin/JSON.sh
curl --output /opt/etc/init.d/S51bashbot  --insecure https://raw.githubusercontent.com/ryzhovau/telegram-bot-bash/master/opt/etc/init.d/S51bashbot
chmod +x /opt/bin/bashbot.sh
chmod +x /opt/bin/JSON.sh
chmod +x /opt/etc/init.d/S51bashbot</pre>

		<div>
			 
		</div>

		<p>
			 
		</p>
	</li>
	<li>
		Ask <a href="https://web.telegram.org/#/im?p=@BotFather" rel="external nofollow">@BotFather</a> to create a new boot and remember auth token for it.
	</li>
	<li>
		Write down this token to <strong>TOKEN=''</strong> string at <strong>/opt/bin/bashbot.sh</strong>.
	</li>
	<li>
		Replace following string in <strong>/opt/bin/bashbot.sh</strong>
		<pre class="ipsCode">
*) msg="$MESSAGE";;</pre>

		<div>
			 
		</div>

		<p>
			to
		</p>

		<pre class="ipsCode">
*) msg=$(ndmq -p "$MESSAGE" -x);;</pre>

		<div>
			 
		</div>

		<p>
			 
		</p>
	</li>
	<li>
		Start bot buy typing <strong>/opt/etc/init.d/S51bashbot start</strong>. This bot will start automatically on every boot.
	</li>
</ul>
<p>
	Please, keep in mind security question like authorisation, which is outside of this How-To. This is just proof-of-concept, which you can edit for your needs.
</p>

<p>
	Bot log can be found at <strong>/opt/var/log/bashbot.log</strong>.
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">4001</guid><pubDate>Mon, 05 Feb 2018 07:26:42 +0000</pubDate></item><item><title>Tor proxy</title><link>https://forum.keenetic.com/topic/3946-tor-proxy/</link><description><![CDATA[
<h2>
	Introduction
</h2>

<p>
	<a href="https://www.torproject.org/" rel="external nofollow">Tor</a> is free software and an open network that helps you defend against traffic analysis, a form of network surveillance that threatens personal freedom and privacy, confidential business activities and relationships, and state security.
</p>

<h2>
	Installation
</h2>

<ul>
<li>
		Install necessary packages:
	</li>
</ul>
<pre class="ipsCode" id="ips_uid_4358_6">
opkg install polipo tor</pre>

<ul>
<li>
		Edit <strong><span style="font-size:12px;">/opt/etc/tor/torrc</span> </strong><code>(</code>uncomment the following strings<code>)</code>:
	</li>
</ul>
<pre class="ipsCode" id="ips_uid_4358_10">
SOCKSPort 9050 # Default: Bind to localhost:9050 for local connections.
SOCKSPort 192.168.1.1:9100 # Bind to this address:port too.
RunAsDaemon 1
DataDirectory /opt/var/lib/tor</pre>

<ul>
<li>
		<span style="font-size:12px;">Edit</span><strong><span style="font-size:12px;"> /opt/etc/polipo/config</span>  </strong><code>(</code>uncomment and change the following strings<code>)</code>:
	</li>
</ul>
<pre class="ipsCode" id="ips_uid_4358_12">
proxyAddress = "0.0.0.0"    # IPv4 only
allowedClients = 127.0.0.1, 192.168.1.0/24
socksParentProxy = "localhost:9050"
socksProxyType = socks5
dnsQueryIPv6 = no
dnsUseGethostbyname = yes</pre>

<ul>
<li>
		Start tor and polipo:
	</li>
</ul>
<pre class="ipsCode" id="ips_uid_4358_14">
/opt/etc/init.d/S28polipo start
/opt/etc/init.d/S35tor start</pre>

<h2>
	Using Tor
</h2>

<p>
	Configure your web browser. For example, Firefox:
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" data-fileid="10821" href="https://forum.keenetic.com/uploads/monthly_2018_01/screen_236.png.a32f342f2ff47497d5e2210735fbb322.png" rel=""><img alt="screen_236.png" class="ipsImage ipsImage_thumbnailed" data-fileid="10821" data-unique="d15d98e85" height="599" src="https://forum.keenetic.com/uploads/monthly_2018_01/screen_236.thumb.png.a71e2e9c4dbeb6b2923d62d33a90bd3a.png" width="431"></a>
</p>

<p>
	Visit <a href="https://check.torproject.org/" ipsnoembed="true" rel="external nofollow">https://check.torproject.org/</a> to check if you got it right.
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" data-fileid="10820" href="https://forum.keenetic.com/uploads/monthly_2018_01/screen_235.png.b759154434364cce5fa42dda8a73906d.png" rel=""><img alt="screen_235.png" class="ipsImage ipsImage_thumbnailed" data-fileid="10820" data-unique="dxf0t7doc" height="466" src="https://forum.keenetic.com/uploads/monthly_2018_01/screen_235.thumb.png.b6775ae9bd00a561b94910720147bd22.png" width="433"></a>
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">3946</guid><pubDate>Wed, 31 Jan 2018 12:16:46 +0000</pubDate></item><item><title>Opkg cookbook contents</title><link>https://forum.keenetic.com/topic/3884-opkg-cookbook-contents/</link><description><![CDATA[
<p>
	This is a brief translation of some topics titles in Russian on Entware installation and packages. Links will be added later
</p>

<p>
	1. screen, tmux, dtach terminal multiplexors
</p>

<p>
	2. syncthing (fast cpu required) - application for file synchronization
</p>

<p>
	3. rclone - command line application to sync files with cloud services
</p>

<p>
	4. how to send mail from command line
</p>

<p>
	5. mkvtoolnix - how to extract subtitles from mkv
</p>

<p>
	6. sms scheduling on particular event
</p>

<p>
	7. controlling your router via telegram
</p>

<p>
	8. writing logs to usb storage with syslog-ng
</p>

<p>
	9. how to mount exfat usb flashdrive
</p>

<p>
	10 
</p>
]]></description><guid isPermaLink="false">3884</guid><pubDate>Wed, 24 Jan 2018 10:34:24 +0000</pubDate></item></channel></rss>
