Jump to content

Entware-3x. Проблемы с установкой, настройки...


Recommended Posts

  • 2 weeks later...

Здравствуйте.

В Entware есть свои настройки DNS ?

 

Нашёл, как и в любом Linux /etc/resolv.conf 😄

Edited by Mihan
Link to comment
Share on other sites

Ещё раз здравствуйте :-)

Подскажите пожалуйста как сделать так, чтобы при запуске роутера выполнялись 2 команды?

Link to comment
Share on other sites

Здравствуйте. После перезапуска роутера entware не включается. Еще до перезапуска в ssh выводил Segmentation fault. Куда копать что исправить проблему?

[I] Aug 10 22:50:20 ndm: UPnP::Service: "System": forward rule added: tcp FastEthernet0/Vlan2 -> 192.168.1.116:32400. 
[I] Aug 10 22:50:20 ndhcps: sending ACK of 192.168.1.61 to 4e:84:eb:77:cf:ac. 
[I] Aug 10 22:54:05 ndm: Opkg::Manager: unmount existing /opt disk: 32b9b7eb-cc8e-b447-a55d-cf5d0851d11e:/. 
[C] Aug 10 22:54:05 kernel: EXT4-fs error (device sda1): __ext4_iget:4641: inode #262266: comm ndm: bad extra_isize (418 != 256)
[C] Aug 10 22:54:05 ndm: Process: system failed [0xcffd0ab9]. 
[E] Aug 10 22:54:05 ndm: Process: unable to create and initialize "Opkg shell" process. 
[E] Aug 10 22:54:05 ndm: Io::Process: "Opkg shell" is broken. 
[E] Aug 10 22:54:05 ndm: Opkg::Manager: process /opt/etc/init.d/rc.unslung: failed to start. 
[I] Aug 10 22:54:05 ndm: Opkg::Manager: disk unmounted. 
[I] Aug 10 22:54:05 ndm: Opkg::Manager: disk is unset. 
[I] Aug 10 22:54:05 ndm: Opkg::Manager: init script reset to default: /opt/etc/initrc. 
[I] Aug 10 22:54:05 ndm: Core::System::StartupConfig: saving (http/rci). 
[I] Aug 10 22:54:10 ndm: Opkg::Manager: disk is set to: 32b9b7eb-cc8e-b447-a55d-cf5d0851d11e:/. 
[I] Aug 10 22:54:10 kernel: EXT4-fs (sda1): re-mounted. Opts: (null)
[I] Aug 10 22:54:10 ndm: Opkg::Manager: /tmp/mnt/32b9b7eb-cc8e-b447-a55d-cf5d0851d11e mounted to /tmp/mnt/32b9b7eb-cc8e-b447-a55d-cf5d0851d11e. 
[I] Aug 10 22:54:10 ndm: Opkg::Manager: /tmp/mnt/32b9b7eb-cc8e-b447-a55d-cf5d0851d11e mounted to /opt/. 
[I] Aug 10 22:54:10 ndm: Opkg::Manager: /tmp/mnt/32b9b7eb-cc8e-b447-a55d-cf5d0851d11e initialized. 
[I] Aug 10 22:54:10 ndm: Opkg::Manager: configured init script: "/opt/etc/init.d/rc.unslung". 
[C] Aug 10 22:54:10 kernel: EXT4-fs error (device sda1): __ext4_iget:4641: inode #262266: comm ndm: bad extra_isize (418 != 256)
[C] Aug 10 22:54:10 ndm: Process: system failed [0xcffd0ab9]. 
[E] Aug 10 22:54:10 ndm: Process: unable to create and initialize "Opkg shell" process. 
[E] Aug 10 22:54:10 ndm: Io::Process: "Opkg shell" is broken. 
[E] Aug 10 22:54:10 ndm: Opkg::Manager: process /opt/etc/init.d/rc.unslung: failed to start. 
[I] Aug 10 22:54:10 ndm: Core::System::StartupConfig: configuration saved. 
[I] Aug 10 22:54:10 ndm: Core::System::StartupConfig: saving (http/rci). 
[I] Aug 10 22:54:15 ndm: Core::System::StartupConfig: configuration saved. 
[I] Aug 10 22:56:07 ndm: UPnP::Service: "System": redirect and forward rules deleted: tcp 29971. 
[I] Aug 10 22:56:07 ndm: UPnP::Service: "System": redirect rule added: tcp FastEthernet0/Vlan2:29971 -> 192.168.1.116:32400. 
[I] Aug 10 22:56:07 ndm: UPnP::Service: "System": forward rule added: tcp FastEthernet0/Vlan2 -> 192.168.1.116:32400. 

 

Link to comment
Share on other sites

  • 2 weeks later...
В 15.01.2024 в 00:48, Arabezar сказал:

Отвечаю сам себе... переустановить Entware просто:

- отсоединить Накопитель в OPKG (значение "Не выбран")

- вытащить из роутера USB, форматнуть раздел USB на компе, вставить USB обратно в роутер

- снова подключить Накопитель в OPKG

- установить, как описано, Entware

Т.к. "Сервер SSH" у меня уже установлен, то SSH Entware поднялся на 222 порту, поэтому соединение установилось без проблем.

Вот за это спасибо. Спрашивал в другой группе, там никто не знал.

Link to comment
Share on other sites

В 10.08.2024 в 14:07, Artanisky сказал:
[C] Aug 10 22:54:10 kernel: EXT4-fs error (device sda1): __ext4_iget:4641: inode #262266: comm ndm: bad extra_isize (418 != 256)

 

Link to comment
Share on other sites

Доброго времени суток. Устанавливаю Entware по этой инструкции
Модель Giga (KN-1011) EAEU, версия ос 4.1.7. Ставлю на флешку sandisk 32 ГБ usb 3.0, порт тоже 3.0. Название "sandisk". Пакеты все нужные включены. Дал доступы на чтение и запись флешки. Создал install папку, подкинул mipsel-installer.tar.gz. Выбираю в OPKG флешку. Вижу такой лог:

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

Opkg::Manager: disk is set to: SanDisk32:/.
Авг 28 21:32:45 ndm
Opkg::Manager: init script reset to default: /opt/etc/initrc.
Авг 28 21:32:45 ndm
Core::System::StartupConfig: saving (http/rci).
Авг 28 21:32:45 ndm
Opkg::Manager: /tmp/mnt/66CF-5C57 mounted to /tmp/mnt/66CF-5C57.
Авг 28 21:32:45 ndm
Opkg::Manager: /tmp/mnt/66CF-5C57 mounted to /opt/.
Авг 28 21:32:45 npkg
inflating "mipsel-installer.tar.gz".
Авг 28 21:32:45 npkg
failed to inflate "mipsel-installer.tar.gz": bin/telnet: operation not permitted.
Авг 28 21:32:45 ndm
Opkg::Manager: system failed [0xcffd0259], exit code 147.
Авг 28 21:32:45 ndm
Opkg::Manager: invalid initrc "/opt/etc/initrc": no such file or directory, trying /opt/etc/init.d/.
Авг 28 21:32:49 ndm
Core::System::StartupConfig: configuration saved.

Ставлю тот же архив в nand память - всё проходит успешно. Порезул флешку до ~12 ГБ, тот же лог:

Цитата

failed to inflate "mipsel-installer.tar.gz": bin/telnet: operation not permitted

Пробовал второй usb порт с 2.0, тот же лог.
Пробовал FAT32. Форматировал и macOS и windows 10.

Подскажите пожалуйста, куда еще копнуть можно?

(еще ssd внешний пробовал подкинуть, но он подлагивает и результат такой же)

Link to comment
Share on other sites

Keenetic ULTRA KN-1811

Пробую ставить opkg по инструкции. Файл aarch64-installer.tar.gz

Пробовал и с внешним диском и с флешкой. Форматирую Gnome-Utils

[I] Sep  1 11:57:13 ndm: Opkg::Manager: disk is set to: 38452870-7bd4-4c6f-ae57-4e34476f89be:/. 
[I] Sep  1 11:57:13 ndm: Opkg::Manager: init script reset to default: /opt/etc/initrc. 
[I] Sep  1 11:57:13 ndm: Core::Authenticator: user "admin" tagged with "opt". 
[I] Sep  1 11:57:13 ndm: Core::System::StartupConfig: saving (http/rci). 
[I] Sep  1 11:57:13 kernel: EXT4-fs (sda): re-mounted. Opts: (null)
[I] Sep  1 11:57:13 ndm: Opkg::Manager: /tmp/mnt/38452870-7bd4-4c6f-ae57-4e34476f89be mounted to /tmp/mnt/38452870-7bd4-4c6f-ae57-4e34476f89be. 
[I] Sep  1 11:57:13 ndm: Opkg::Manager: /tmp/mnt/38452870-7bd4-4c6f-ae57-4e34476f89be mounted to /opt/. 
[I] Sep  1 11:57:13 ndm: Opkg::Manager: none mounted to /opt/proc/. 
[I] Sep  1 11:57:13 ndm: Opkg::Manager: none mounted to /opt/sys/. 
[I] Sep  1 11:57:13 ndm: Opkg::Manager: /dev mounted to /opt/dev/. 
[I] Sep  1 11:57:13 ndm: Opkg::Manager: /tmp mounted to /opt/tmp. 
[I] Sep  1 11:57:13 ndm: Opkg::Manager: none mounted to /opt/dev/pts/. 
[E] Sep  1 11:57:13 ndm: Io::File: unable to open "/etc/shells": no such file or directory. 
[C] Sep  1 11:57:13 ndm: Opkg::Manager: system failed [0xcffd03a8], unable to copy /etc/shells -> /opt/etc/shells. 
[E] Sep  1 11:57:13 ndm: Io::File: unable to open "/etc/profile": no such file or directory. 
[C] Sep  1 11:57:13 ndm: Opkg::Manager: system failed [0xcffd03b0], unable to copy /etc/profile -> /opt/etc/profile. 
[I] Sep  1 11:57:13 npkg: inflating "aarch64-installer.tar.gz". 
[I] Sep  1 11:57:13 ndm: Opkg::Manager: /tmp/mnt/38452870-7bd4-4c6f-ae57-4e34476f89be initialized. 
[E] Sep  1 11:57:13 ndm: Opkg::Manager: invalid initrc "/opt/etc/initrc": no such file or directory, trying /opt/etc/init.d/. 
[C] Sep  1 11:57:13 ndm: Process: system failed [0xcffd0b0c], "/opt/bin/sh" executable not found. 
[E] Sep  1 11:57:13 ndm: Process: unable to create and initialize "Opkg shell" process. 
[E] Sep  1 11:57:13 ndm: Io::Process: "Opkg shell" is broken. 
[E] Sep  1 11:57:13 ndm: Opkg::Manager: process /opt/etc/init.d/doinstall: failed to start. 

Пролистал тут много страничек, смотрю что все успешные установки были с другой архитектурой. Может это проблема именно arm64

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...