staswork Posted October 24 Share Posted October 24 Добрый день! Прошу помочь с установкой готового пакета с АТС Asterisk на роутер Viva 1912 (4.0.5) На роутере не ставил никаких дополнительных пакетов (VPN и прочее) Установку делал строго по инструкции. Результат : [I] Oct 24 19:06:16 ndm: Opkg::Manager: disk is set to: OPKG:/. [I] Oct 24 19:06:17 ndm: Opkg::Manager: init script reset to default: /opt/etc/initrc. [I] Oct 24 19:06:17 ndm: Core::System::StartupConfig: saving (http/rci). [I] Oct 24 19:06:17 kernel: EXT4-fs (sda1): re-mounted. Opts: (null) [I] Oct 24 19:06:17 ndm: Opkg::Manager: /tmp/mnt/ba4697f5-1a70-fb6d-8e5e-fee95f9c9881 mounted to /tmp/mnt/ba4697f5-1a70-fb6d-8e5e-fee95f9c9881. [I] Oct 24 19:06:17 ndm: Opkg::Manager: /tmp/mnt/ba4697f5-1a70-fb6d-8e5e-fee95f9c9881 mounted to /opt/. [I] Oct 24 19:06:17 ndm: Opkg::Manager: none mounted to /opt/proc/. [I] Oct 24 19:06:17 ndm: Opkg::Manager: none mounted to /opt/sys/. [I] Oct 24 19:06:17 ndm: Opkg::Manager: /dev mounted to /opt/dev/. [I] Oct 24 19:06:17 ndm: Opkg::Manager: /tmp mounted to /opt/tmp. [I] Oct 24 19:06:17 ndm: Opkg::Manager: none mounted to /opt/dev/pts/. [C] Oct 24 19:06:17 ndm: Opkg::Manager: system failed [0xcffd0396]. [C] Oct 24 19:06:17 ndm: Opkg::Manager: system failed [0xcffd039c]. [E] Oct 24 19:06:17 ndm: Io::File: unable to open "/etc/shells": no such file or directory. [E] Oct 24 19:06:17 ndm: Io::File: unable to open "/opt/etc/shells": no such file or directory. [C] Oct 24 19:06:17 ndm: Opkg::Manager: system failed [0xcffd03a8], unable to copy /etc/shells -> /opt/etc/shells. [E] Oct 24 19:06:17 ndm: Io::File: unable to open "/etc/profile": no such file or directory. [E] Oct 24 19:06:17 ndm: Io::File: unable to open "/opt/etc/profile": no such file or directory. [C] Oct 24 19:06:17 ndm: Opkg::Manager: system failed [0xcffd03b0], unable to copy /etc/profile -> /opt/etc/profile. [I] Oct 24 19:06:17 ndm: Opkg::Manager: /tmp/mnt/ba4697f5-1a70-fb6d-8e5e-fee95f9c9881 initialized. [E] Oct 24 19:06:17 ndm: Opkg::Manager: invalid initrc "/opt/etc/initrc": no such file or directory, trying /opt/etc/init.d/. [I] Oct 24 19:06:20 ndm: Core::System::StartupConfig: configuration saved Делаю подобное первый раз в жизни. Прошу помочь с копанием. Quote Link to comment Share on other sites More sharing options...
Mamay Posted October 25 Share Posted October 25 18 часов назад, staswork сказал: Делаю подобное первый раз в жизни. Прошу помочь с копанием. Настоятельно рекомендую потренироваться на "кошках", читайте в виртуалке, либо на живом железе на x86 и лишь затем пытаться повторить сие на MIPS. Иначе у вас начнутся вопросы буквально с первого шага, при том что токсичные линуксоиды не любят постоянно разжёвывать алфавит и таблицу умножения! Quote Link to comment Share on other sites More sharing options...
staswork Posted October 25 Author Share Posted October 25 Понял, спасибо. Quote Link to comment Share on other sites More sharing options...
sips Posted October 26 Share Posted October 26 On 10/24/2023 at 7:24 PM, staswork said: Прошу помочь с установкой готового пакета с АТС Asterisk на роутер Viva 1912 (4.0.5) Попробуйте установить сборку https://storage.googleapis.com/cdn.help.keenetic.net/mipsel-ast-lte-installer.tar.gz из этой статьи https://help.keenetic.com/hc/ru/articles/10317614546332/. Эта сборка представляет собой стандартный установщик Entware последней версии для mipsel с добавленным скриптом установки Asterisk и конфигурационными файлами для настройки VoLTE. Скрипт запускается автоматически после установки пакетов Entware. Он загружает, устанавливает и запускает Asterisk из репозитория. Если вам VoLTE не требуется и модем Quectel не подключен к Кинетику, то скрипт не будет устанавливать драйвер модема и добавлять конфигурацию связанную с VoLTE. Эту сборку можно устанавливать как на внутренний накопитель роутера, так и на внешний USB-накопитель. В случае внешнего накопителя на нем нужно создать раздел с файловой системой ext4. Чтобы получить функциональность аналогичную сборке Asterisk18, после установки можно извлечь конфигурационные файлы /etc/asterisk/*.conf из архива сборки Asterisk18, которая у вас не заработала и перезаписать ими файлы /opt/etc/asterisk/*.conf на Кинетике. Чтобы применить новую конфигурацию, Asterisk нужно перезапустить. Quote Link to comment Share on other sites More sharing options...
staswork Posted October 26 Author Share Posted October 26 (edited) Попробовал. Результат тот же что и со сборкой, указанной в шапке. Io::File: unable to open "/etc/shells": no such file or directory. Окт 26 20:34:11 ndm Opkg::Manager: system failed [0xcffd03a8], unable to copy /etc/shells -> /opt/etc/shells. Окт 26 20:34:11 ndm Io::File: unable to open "/etc/profile": no such file or directory. Окт 26 20:34:11 ndm Opkg::Manager: system failed [0xcffd03b0], unable to copy /etc/profile -> /opt/etc/profile. Окт 26 20:34:11 ndm Opkg::Manager: /tmp/mnt/4d6e5182-406b-70ac-fb55-d0330ed92f31 initialized. Окт 26 20:34:11 ndm Opkg::Manager: invalid initrc "/opt/etc/initrc": no such file or directory, trying /opt/etc/init.d/. После установки и размонтирования/монтирования диска, повторной установки появляются файлы profile и shells с 0 размером Попробовал на внутренний накопитель установить. Результата нет Opkg::Manager: system failed [0xcffd0396]. Окт 26 20:39:40 ndm Opkg::Manager: system failed [0xcffd039c]. Окт 26 20:39:40 ndm Io::File: unable to open "/etc/shells": no such file or directory. Окт 26 20:39:40 ndm Io::File: unable to open "/opt/etc/shells": no such file or directory. Окт 26 20:39:40 ndm Opkg::Manager: system failed [0xcffd03a8], unable to copy /etc/shells -> /opt/etc/shells. Окт 26 20:39:40 ndm Io::File: unable to open "/etc/profile": no such file or directory. Окт 26 20:39:40 ndm Io::File: unable to open "/opt/etc/profile": no such file or directory. Окт 26 20:39:40 ndm Opkg::Manager: system failed [0xcffd03b0], unable to copy /etc/profile -> /opt/etc/profile. Окт 26 20:39:40 ndm Opkg::Manager: /storage initialized. Окт 26 20:39:40 ndm Opkg::Manager: invalid initrc "/opt/etc/initrc": no such file or directory, trying /opt/etc/init.d/. Все манипуляции провожу через web-интерфейс Edited October 26 by staswork добавил скришот Quote Link to comment Share on other sites More sharing options...
Mamay Posted October 27 Share Posted October 27 12 часа назад, staswork сказал: Все манипуляции провожу через web-интерфейс Чистая консоль аля пуск-выполнить-cmd-telnet 192.168.1.1 исключают массу внешних факторов и как бы помягче сказать, является трушным путём, а не сексом по домофону... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.