Jump to content

Recommended Posts

Проекты Entware-ng и Entware-ng-3x объединились под общим названием Entware.

 

Ниже перечислен минимальный набор действий для использования Entware.

Требования:

- ZyXEL Keenetic с USB-портом. Любой c NDMS v2.07 (2.08) и выше, кроме моделей 4GII/III.

- Прошивка с компонентом OPKG.

- USB носитель с разделом ext2/ext3/ext4 и заданной меткой.

- Начиная с версии 2.12.A.4.0-0, при установленном компоненте "Сервер SSH", свободный порт 222

Инструкция по установке:

1. Подключите USB-носитель к кинетику

2. Зайдите на носитель по FTP или CIFS

3. Cоздайте на разделе с заданной меткой USB-носителя папку install

4. Скопируйте в папку install подготовленный архив установки для своего устройства:

- для Keenetic DSL, LTE, VOX, DSL (KN-2010), DUO (KN-2110) - mips-installer.tar.gz

- для остальных интернет-центров Keenetic - mipsel-installer.tar.gz

5. Зайдите в веб-интерфейс кинетика и на странице «Приложения > OPKG» поставьте галку «Включить», затем выберите из списка нужный USB-носитель и  нажмите кнопку «Применить».

Скрытый текст

Выделение_001.png

Выделение_002.png

 

прим. количество вкладок, их порядок и названия зависят от: устройства, версии прошивки и установленных компонентов

Если все сделали правильно, то в системном журнале через некоторое время появится строчка "...Можно открыть SSH-сессию для соединения с устройством..."

Пример сообщений системного журнала:

Скрытый текст

...
[I] Mar 19 13:50:08 ndm: Core::ConfigurationSaver: saving configuration...
[I] Mar 19 13:50:12 ndm: Core::ConfigurationSaver: configuration saved.
[I] Mar 19 13:50:16 ndm: Opkg::Manager: disk is set to: 13af943c-7374-46f1-9256-f2cc76c2ff1a:
[I] Mar 19 13:50:16 ndm: kernel: EXT4-fs (sdd1): re-mounted. Opts: (null)
[I] Mar 19 13:50:16 ndm: Opkg::Manager: /tmp/mnt/E-3x_test mounted to /tmp/mnt/Entware.
[I] Mar 19 13:50:16 ndm: Opkg::Manager: /tmp/mnt/E-3x_test mounted to /opt/.
[I] Mar 19 13:50:16 npkg: inflating "mipsel-installer.tar.gz".
[I] Mar 19 13:50:18 ndm: Opkg::Manager: /tmp/mnt/E-3x_test initialized.
[I] Mar 19 13:50:18 ndm: Opkg::Manager: init script reset to default: /opt/etc/initrc.
[E] Mar 19 13:50:18 ndm: Opkg::Manager: invalid initrc "/opt/etc/initrc": no such file or directory, trying /opt/etc/init.d/.
[I] Mar 19 13:50:18 installer: Info: Раздел пригоден для установки.
[I] Mar 19 13:50:18 installer: [1/5] Начало развёртывания системы Entware...
[I] Mar 19 13:50:18 installer: Info: Создание папок...
[I] Mar 19 13:50:18 installer: [2/5] Загрузка и установка базовых пакетов...
[I] Mar 19 13:50:18 ndm: Core::ConfigurationSaver: saving configuration...
[I] Mar 19 13:50:19 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Downloading http://bin.entware.net/mipselsf-k3.4/Packages.gz.
[I] Mar 19 13:50:19 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Updated list of available packages in /opt/var/opkg-lists/entware.
[I] Mar 19 13:50:19 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Downloading http://bin.entware.net/mipselsf-k3.4/keenetic/Packages.gz.
[I] Mar 19 13:50:19 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Updated list of available packages in /opt/var/opkg-lists/keendev.
[I] Mar 19 13:50:20 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing opt-ndmsv2 (1.0-10a) to root...
[I] Mar 19 13:50:20 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 19 13:50:22 ndm: Core::ConfigurationSaver: configuration saved.
[I] Mar 19 13:50:22 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing libc (2.27-8) to root...
[I] Mar 19 13:50:22 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 19 13:50:25 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing libgcc (7.3.0-8) to root...
[I] Mar 19 13:50:25 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 19 13:50:26 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing libssp (7.3.0-8) to root...
[I] Mar 19 13:50:26 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 19 13:50:26 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing librt (2.27-8) to root...
[I] Mar 19 13:50:26 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 19 13:50:26 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing libpthread (2.27-8) to root...
[I] Mar 19 13:50:26 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 19 13:50:28 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing libstdcpp (7.3.0-8) to root...
[I] Mar 19 13:50:28 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 19 13:50:30 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing ldconfig (2.27-8) to root...
[I] Mar 19 13:50:30 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 19 13:50:31 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing findutils (4.6.0-1) to root...
[I] Mar 19 13:50:31 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 19 13:50:32 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing terminfo (6.1-1) to root...
[I] Mar 19 13:50:32 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 19 13:50:32 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing ndmq (1.0.2-3) to root...
[I] Mar 19 13:50:32 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 19 13:50:33 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing libndm (1.8.0-1) to root...
[I] Mar 19 13:50:33 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 19 13:50:34 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing locales (2.27-8) to root...
[I] Mar 19 13:50:34 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 19 13:50:36 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing grep (2.26-1) to root...
[I] Mar 19 13:50:36 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 19 13:50:37 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing libpcre (8.41-2) to root...
[I] Mar 19 13:50:37 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 19 13:50:38 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing zoneinfo-asia (2018c-1) to root...
[I] Mar 19 13:50:38 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 19 13:50:38 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing zoneinfo-europe (2018c-1) to root...
[I] Mar 19 13:50:38 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 19 13:50:39 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing entware-release (1.0-2) to root...
[I] Mar 19 13:50:39 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 19 13:50:39 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing opkg (2011-04-08-9c97d5ec-17b) to root...
[I] Mar 19 13:50:39 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 19 13:50:41 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing dropbear (2017.75-5) to root...
[I] Mar 19 13:50:41 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 19 13:50:41 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Entware uses separate locale-archive file independent from main system.
[I] Mar 19 13:50:41 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 19 13:50:41 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: You can add new locales to Entware using /opt/bin/localedef.new.
[I] Mar 19 13:50:41 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Updating /opt/etc/ld.so.cache... done.
[I] Mar 19 13:50:41 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Package ndmq (1.0.2-3) installed in root is up to date.
[I] Mar 19 13:50:41 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring libgcc.
[I] Mar 19 13:50:41 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring libc.
[I] Mar 19 13:50:41 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring libssp.
[I] Mar 19 13:50:41 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring libpthread.
[I] Mar 19 13:50:41 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring librt.
[I] Mar 19 13:50:41 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring terminfo.
[I] Mar 19 13:50:41 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring ldconfig.
[I] Mar 19 13:50:41 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring libpcre.
[I] Mar 19 13:50:41 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring grep.
[I] Mar 19 13:50:41 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring locales.
[I] Mar 19 13:50:41 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring opkg.
[I] Mar 19 13:50:41 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring zoneinfo-europe.
[I] Mar 19 13:50:41 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring zoneinfo-asia.
[I] Mar 19 13:50:41 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring libndm.
[I] Mar 19 13:50:41 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring ndmq.
[I] Mar 19 13:50:41 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring dropbear.
[I] Mar 19 13:50:41 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring libstdcpp.
[I] Mar 19 13:50:41 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring findutils.
[I] Mar 19 13:50:41 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring entware-release.
[I] Mar 19 13:50:41 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring opt-ndmsv2.
[I] Mar 19 13:50:53 installer: Info: Установка пакетов прошла успешно! Продолжаем...
[I] Mar 19 13:50:53 installer: [3/5] Генерация SSH-ключей...
[I] Mar 19 13:50:53 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Generating key, this may take a while...
[I] Mar 19 13:50:55 installer: Info: Ключ ecdsa создан
[I] Mar 19 13:50:55 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: .Generating key, this may take a while...
[I] Mar 19 13:50:57 installer: Info: Ключ rsa создан
[I] Mar 19 13:50:57 installer: [4/5] Установка Entware завершена! Сохранение временной зоны и запуск dropbear...
[I] Mar 19 13:50:57 ndm: Core::Server: started Session /var/run/ndm.core.socket.
[I] Mar 19 13:50:58 ndm: Core::Server: client disconnected.
[I] Mar 19 13:50:58 dropbear[5067]: Running in background
[I] Mar 19 13:50:58 installer: [5/5] Настройка сценария запуска для прошивки NDMS...
[I] Mar 19 13:50:58 ndm: Core::Server: started Session /var/run/ndm.core.socket.
[I] Mar 19 13:50:58 ndm: Opkg::Manager: configured init script: "/opt/etc/init.d/rc.unslung".
[I] Mar 19 13:50:58 ndm: Core::Server: client disconnected.
[I] Mar 19 13:50:58 ndm: Core::Server: started Session /var/run/ndm.core.socket.
[I] Mar 19 13:50:58 ndm: Core::ConfigurationSaver: saving configuration...
[I] Mar 19 13:50:58 ndm: Core::Server: client disconnected.
[I] Mar 19 13:50:58 installer: Можно открыть SSH-сессию для соединения с устройством (ssh root:keenetic@my.keenetic.net -p 222).
[I] Mar 19 13:50:58 installer: 
[I] Mar 19 13:50:58 installer:  @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[I] Mar 19 13:50:58 installer:  Не забудьте сменить пароль и номер порта!
[I] Mar 19 13:50:58 installer:  @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[I] Mar 19 13:50:58 installer: 
[I] Mar 19 13:50:58 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: .
[I] Mar 19 13:51:02 ndm: Core::ConfigurationSaver: configuration saved.
...

 

Всё! Можно зайти на кинетик по ssh, логин root, пароль keenetic.

Если установлен компонент прошивки "Сервер SSH", подключаться следует на 222 порт (см. лог выше)

Пароль Entware никак не связан с паролем Кинетика. Настоятельно рекомендуется сменить пароль стандартной командой `passwd`:

~ # passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root

Обновите список пакетов

opkg update

и устанавливайте нужные, например файловый менеджер "Midnight Commander":

opkg install mc

Ознакомиться с основным списком пакетов можно здесь (для mips) и здесь (для mipsel), с дополнительным списком пакетов для Кинетиков здесь (для mips) и здесь (для mipsel).

 

Edited by TheBB
+ DSL (KN-2010), DUO (KN-2110)
  • Thanks 10

Share this post


Link to post
Share on other sites

Вопросы, замечания, предложения...

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

  • Recently Browsing   1 member

×
×
  • Create New...