Jump to content
zyxmon

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

Recommended Posts

 

Всем привет. Подскажите,пожалуйста,в чём ошибка скрипта автозапуска. Создал файл в opt/etc/init.d/S11AdGuardHome следующего содержания (содрал по аналогии с dropbear).

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

#!/bin/sh

PATH=/opt/bin:/opt/sbin:/sbin:/bin:/usr/sbin:/usr/bin

PIDFILE="/opt/var/run/ad.pid"
DROPBEAR="/opt/sbin/AdGuardHome"

dropbear_status ()
{
	[ -f $PIDFILE ] && [ -d /proc/`cat $PIDFILE` ]
}

start()
{
	$DROPBEAR -c /opt/root/AdGuardHome.yaml -w /opt/root/data --pidfile $PIDFILE
}

stop()
{
	kill `cat $PIDFILE`
}
case "$1" in
	start)
		if dropbear_status
		then
			echo Adguard already running
		else
			start
		fi
		;;
	stop)
		if dropbear_status
		then
			stop
		else
			echo Adguard is not running
		fi
		;;
	status)
		if dropbear_status
		then
			echo Adguard already running
		else
			echo Adguard is not running
		fi
		;;

	restart)
		stop
		sleep 3
		start
		;;
	*)
		echo "Usage: $0 {start|stop|restart|status}"
		;;
esac

 

Dropbear спокойно запускается,а этот пишет 

-sh: /opt/etc/init.d/S11AdGuardHome: not found

Пробовал оставить только 2 строчки 

#!/opt/bin/sh
/opt/sbin/AdGuardHome -c /opt/root/AdGuardHome.yaml -w /opt/root/data

Но эффекта 0,даже при автозапуске.

chmod+x естественно делал.

Скрипт из темы,естественно давал тот же результат. 

 

 

Edited by ExzoTikFruiT

Share this post


Link to post
Share on other sites
В 29.05.2020 в 21:10, ExzoTikFruiT сказал:

Всем привет. Подскажите,пожалуйста,в чём ошибка скрипта автозапуска. Создал файл в opt/etc/init.d/S11AdGuardHome следующего содержания (содрал по аналогии с dropbear).

Самый простой запуск

/opt/etc/init.d # ls -l | grep Ad
-rwxr-xr-x    1 root     root           239 Feb 16 17:36 S101AdGuardHome
/opt/etc/init.d # 


#!/bin/sh

ENABLED=yes
PROCS=AdGuardHome
ARGS="-l /opt/tmp/AdGuard.log"
PREARGS=""
DESC=$PROCS
PATH=/opt/sbin:/opt/bin:/opt/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/home/AdGuard

. /opt/etc/init.d/rc.func


По логу роутер

[I] May 29 09:06:46 root: Started AdGuardHome from .


Сам AdGuardHome лежит в /opt/home/AdGuard

/opt/home/AdGuard # ls -l
-rwxr-xr-x    1 root     root      15007744 May 15 17:31 AdGuardHome
-rw-r--r--    1 root     root          6319 May 29 09:06 AdGuardHome.yaml
-rwxr-xr-x    1 root     root          3313 Feb 14 16:36 adguardhome_letsencrypt.rb
drwxr-xr-x    3 root     root          1024 May 29 09:01 data
/opt/home/AdGuard # 

 

Share this post


Link to post
Share on other sites
В 31.05.2020 в 15:51, vasek00 сказал:

Самый простой запуск


/opt/etc/init.d # ls -l | grep Ad
-rwxr-xr-x    1 root     root           239 Feb 16 17:36 S101AdGuardHome
/opt/etc/init.d # 


#!/bin/sh

ENABLED=yes
PROCS=AdGuardHome
ARGS="-l /opt/tmp/AdGuard.log"
PREARGS=""
DESC=$PROCS
PATH=/opt/sbin:/opt/bin:/opt/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/home/AdGuard

. /opt/etc/init.d/rc.func


По логу роутер

[I] May 29 09:06:46 root: Started AdGuardHome from .


Сам AdGuardHome лежит в /opt/home/AdGuard

/opt/home/AdGuard # ls -l
-rwxr-xr-x    1 root     root      15007744 May 15 17:31 AdGuardHome
-rw-r--r--    1 root     root          6319 May 29 09:06 AdGuardHome.yaml
-rwxr-xr-x    1 root     root          3313 Feb 14 16:36 adguardhome_letsencrypt.rb
drwxr-xr-x    3 root     root          1024 May 29 09:01 data
/opt/home/AdGuard # 

 

В итоге проблема оказалось в самом файле. Через notepad++ через пункт edit-EOL-unix и всё завелось :)
Спасибо

Share this post


Link to post
Share on other sites

Здравствуйте. Долгое время не использовал opkg, а сегодня зашел по SSH чтобы установить curl
Сначала конечно обновил пакеты, после чего все сломалось. Как можно восстановить без переустановки?

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

BusyBox v1.31.0 () built-in shell (ash)

~ # opkg update
Downloading http://bin.entware.net/mipselsf-k3.4/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/entware
Downloading http://bin.entware.net/mipselsf-k3.4/keenetic/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/keendev
~ # opkg upgrade
Upgrading terminfo on root from 6.1-5 to 6.2-1...
Downloading http://bin.entware.net/mipselsf-k3.4/terminfo_6.2-1_mipsel-3.4.ipk
Upgrading ldconfig on root from 2.27-8 to 2.27-9...
Downloading http://bin.entware.net/mipselsf-k3.4/ldconfig_2.27-9_mipsel-3.4.ipk
Upgrading libc on root from 2.27-8 to 2.27-9...
Downloading http://bin.entware.net/mipselsf-k3.4/libc_2.27-9_mipsel-3.4.ipk
Upgrading locales on root from 2.27-8 to 2.27-9...
Downloading http://bin.entware.net/mipselsf-k3.4/locales_2.27-9_mipsel-3.4.ipk
Removing obsolete file /opt/bin/islebe.
Upgrading libpthread on root from 2.27-8 to 2.27-9...
Downloading http://bin.entware.net/mipselsf-k3.4/libpthread_2.27-9_mipsel-3.4.ipk
Upgrading busybox on root from 1.31.0-1 to 1.31.1-1...
Downloading http://bin.entware.net/mipselsf-k3.4/busybox_1.31.1-1_mipsel-3.4.ipk
double free or corruption (out)
Aborted

~ # curl
-sh: curl: not found
~ # opkg install curl
Unknown package 'curl'.
Collected errors:
 * opkg_install_cmd: Cannot install package curl.
 
~ # opkg update
Downloading http://bin.entware.net/mipselsf-k3.4/Packages.gz
*** Failed to download the package list from http://bin.entware.net/mipselsf-k3.4/Packages.gz

Downloading http://bin.entware.net/mipselsf-k3.4/keenetic/Packages.gz
*** Failed to download the package list from http://bin.entware.net/mipselsf-k3.4/keenetic/Packages.gz

Collected errors:
 * opkg_download: Failed to download http://bin.entware.net/mipselsf-k3.4/Packages.gz, wget returned 255.
 * opkg_download: Failed to download http://bin.entware.net/mipselsf-k3.4/keenetic/Packages.gz, wget returned 255.

 

 

Share this post


Link to post
Share on other sites

Чёт не ставится..

 

Jun 19 19:05:17installer

[2/5] Загрузка и установка основных пакетов...
Jun 19 19:05:21ndhcps
Jun 19 19:06:05ndm
Opkg::Manager: /opt/etc/init.d/doinstall: timed out.

Share this post


Link to post
Share on other sites

И опять что-то не удаётся поставить всё с нуля:

Jun 20 15:22:20installer[2/5] Загрузка и установка основных пакетов...
Jun 20 15:22:20installerInfo: Устанавливается пакет "libgcc"...
Jun 20 15:22:22installerCritical error: Во время установки пакета "libgcc" произошла ошибка.
Jun 20 15:22:22installerВыход из установки.
Jun 20 15:22:22ndmOpkg::Manager: /opt/etc/init.d/doinstall: exit code 1.

 

Share this post


Link to post
Share on other sites

ждите, индексы криво сгенерировались...

  • Thanks 1

Share this post


Link to post
Share on other sites
22 часа назад, BACbKA сказал:

Чёт не ставится..

 

1 час назад, BACbKA сказал:

И опять что-то не удаётся поставить всё с нуля:

пробуйте, должно заработать.

Share this post


Link to post
Share on other sites

Вроде бы поставилось, но как-то криво. GUI не работает

 

Сайт 192.168.1.1 не позволяет установить соединение.

 

Edited by BACbKA

Share this post


Link to post
Share on other sites

Вот хоть убейте, не понимаю. Поставилось всё с нуля:

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

Jun 21 12:16:38ndmOpkg::Manager: disk is set to: ec7d4ffa-6078-4e49-990f-8219fcfa6ffa:
Jun 21 12:16:38kernelEXT4-fs (sda): re-mounted. Opts: (null)
Jun 21 12:16:38ndmOpkg::Manager: /tmp/mnt/keen-dev mounted to /tmp/mnt/keen-dev.
Jun 21 12:16:38ndmOpkg::Manager: /tmp/mnt/keen-dev mounted to /opt/.
Jun 21 12:16:39npkginflating "mips-installer.tar.gz".
Jun 21 12:16:40ndmOpkg::Manager: /tmp/mnt/keen-dev initialized.
Jun 21 12:16:40ndmOpkg::Manager: init script reset to default: /opt/etc/initrc.
Jun 21 12:16:40ndmOpkg::Manager: invalid initrc "/opt/etc/initrc": no such file or directory, trying /opt/etc/init.d/.
Jun 21 12:16:40ndmCore::Server: started Session /var/run/ndm.core.socket.
Jun 21 12:16:40ndmCore::Server: client disconnected.
Jun 21 12:16:40installer[1/5] Начало установки системы пакетов "Entware"...
Jun 21 12:16:40ndmCore::ConfigurationSaver: saving configuration...
Jun 21 12:16:40ndmCore::Server: started Session /var/run/ndm.core.socket.
Jun 21 12:16:41ndmCore::Server: client disconnected.
Jun 21 12:16:41ndmCore::Server: started Session /var/run/ndm.core.socket.
Jun 21 12:16:42ndmCore::Server: client disconnected.
Jun 21 12:16:42installerInfo: Раздел пригоден для установки.
Jun 21 12:16:42ndmOpkg::Manager: /opt/etc/init.d/doinstall: installer: Info: "ping google.com"...
Jun 21 12:16:42installerInfo: "ping google.com"...
Jun 21 12:16:44installerInfo: "ping google.com" ..... OK
Jun 21 12:16:44ndmOpkg::Manager: /opt/etc/init.d/doinstall: installer: Info: "ping google.com" ..... OK.
Jun 21 12:16:44ndmCore::ConfigurationSaver: configuration saved.
Jun 21 12:16:45installerInfo: "ping bin.entware.net"...
Jun 21 12:16:45ndmOpkg::Manager: /opt/etc/init.d/doinstall: installer: Info: "ping bin.entware.net"...
Jun 21 12:16:47ndmOpkg::Manager: /opt/etc/init.d/doinstall: installer: Info: "ping bin.entware.net" ..... OK.
Jun 21 12:16:47installerInfo: "ping bin.entware.net" ..... OK
Jun 21 12:16:48installerInfo: Создание каталогов...
Jun 21 12:16:48installer[2/5] Загрузка и установка основных пакетов...
Jun 21 12:16:49installerInfo: Устанавливается пакет "libgcc"...
Jun 21 12:16:50installerInfo: Пакет "libgcc" установлен.
Jun 21 12:16:52installerInfo: Устанавливается пакет "libc"...
Jun 21 12:16:58installerInfo: Пакет "libc" установлен.
Jun 21 12:17:00installerInfo: Устанавливается пакет "libpthread"...
Jun 21 12:17:00ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:01ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:01ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:01installerInfo: Пакет "libpthread" установлен.
Jun 21 12:17:02ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:03ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:03ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:03installerInfo: Устанавливается пакет "librt"...
Jun 21 12:17:04ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:05ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:05installerInfo: Пакет "librt" установлен.
Jun 21 12:17:06ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:07ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:07installerInfo: Устанавливается пакет "entware-release"...
Jun 21 12:17:08ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:09ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:09installerInfo: Пакет "entware-release" установлен.
Jun 21 12:17:10ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:11ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:11installerInfo: Устанавливается пакет "findutils"...
Jun 21 12:17:12ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:13ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:13installerInfo: Пакет "findutils" установлен.
Jun 21 12:17:14ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:15ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:15installerInfo: Устанавливается пакет "grep"...
Jun 21 12:17:16ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:17ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:17ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:18installerInfo: Пакет "grep" установлен.
Jun 21 12:17:18ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:19ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:20installerInfo: Устанавливается пакет "ldconfig"...
Jun 21 12:17:20ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:22ndmCore::Syslog: last message repeated 2 times.
Jun 21 12:17:22ndmCore::Syslog: last message repeated 2 times.
Jun 21 12:17:23installerInfo: Пакет "ldconfig" установлен.
Jun 21 12:17:23ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:24ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:24ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:25installerInfo: Устанавливается пакет "locales"...
Jun 21 12:17:25ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:26ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:27ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:28ndmCore::Syslog: last message repeated 3 times.
Jun 21 12:17:28installerInfo: Пакет "locales" установлен.
Jun 21 12:17:29ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:30ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:30installerInfo: Устанавливается пакет "ndmq"...
Jun 21 12:17:31ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:32ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:33installerInfo: Пакет "ndmq" установлен.
Jun 21 12:17:33ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:34ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:35installerInfo: Устанавливается пакет "opkg"...
Jun 21 12:17:35ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:36ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:36ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:37installerInfo: Пакет "opkg" установлен.
Jun 21 12:17:37ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:38ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:38ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:39installerInfo: Устанавливается пакет "zoneinfo-asia"...
Jun 21 12:17:40ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:41ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:41installerInfo: Пакет "zoneinfo-asia" установлен.
Jun 21 12:17:42ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:43ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:43installerInfo: Устанавливается пакет "zoneinfo-europe"...
Jun 21 12:17:44ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:45ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:45installerInfo: Пакет "zoneinfo-europe" установлен.
Jun 21 12:17:46ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:47ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:47installerInfo: Устанавливается пакет "opt-ndmsv2"...
Jun 21 12:17:48ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:49ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:50ndmCore::Syslog: last message repeated 2 times.
Jun 21 12:17:50installerInfo: Пакет "opt-ndmsv2" установлен.
Jun 21 12:17:51ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:52ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:52installerInfo: Устанавливается пакет "dropbear"...
Jun 21 12:17:53ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:54ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:17:55installerInfo: Пакет "dropbear" установлен.
Jun 21 12:17:57installerInfo: Устанавливается пакет "poorbox"...
Jun 21 12:17:59installerInfo: Пакет "poorbox" установлен.
Jun 21 12:18:01installerInfo: Устанавливается пакет "busybox"...
Jun 21 12:18:07installerInfo: Пакет "busybox" установлен.
Jun 21 12:18:09installerInfo: Установка пакетов прошла успешно!
Jun 21 12:18:09ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:18:09installer[3/5] Генерация SSH-ключей...
Jun 21 12:18:09installerInfo: Генерируется ключ "ed25519"...
Jun 21 12:18:10installerInfo: Ключ "ed25519" создан.
Jun 21 12:18:10ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:18:11installerInfo: Генерируется ключ "ecdsa"...
Jun 21 12:18:11installerInfo: Ключ "ecdsa" создан.
Jun 21 12:18:11ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:18:12installerInfo: Генерируется ключ "rsa"...
Jun 21 12:18:12ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:18:13ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:18:13ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:18:14installerInfo: Ключ "rsa" создан.
Jun 21 12:18:14ndmOpkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
Jun 21 12:18:15installer[4/5] Настройка сценария запуска, установка часового пояса и запуск "dropbear"...
Jun 21 12:18:15ndmCore::Server: started Session /var/run/ndm.core.socket.
Jun 21 12:18:15ndmCore::Server: client disconnected.
Jun 21 12:18:15dropbear[2535]Running in background
Jun 21 12:18:15ndmCore::Server: started Session /var/run/ndm.core.socket.
Jun 21 12:18:15ndmOpkg::Manager: configured init script: "/opt/etc/init.d/rc.unslung".
Jun 21 12:18:15ndmCore::Server: client disconnected.
Jun 21 12:18:15ndmCore::Server: started Session /var/run/ndm.core.socket.
Jun 21 12:18:15ndmCore::ConfigurationSaver: saving configuration...
Jun 21 12:18:15ndmCore::Server: client disconnected.
Jun 21 12:18:15installerМожно открыть SSH-сессию для соединения с устройством (ssh root:keenetic@my.keenetic.net).
Jun 21 12:18:15installer[5/5] Установка системы пакетов "Entware" завершена! Не забудьте сменить пароль и номер порта!
Jun 21 12:18:19ndmCore::ConfigurationSaver: configuration saved.

Вроде бы ошибок никаких. А куда делась вебморда по 192.168.1.1:88? Как её вернуть/поставить? 

Далее после переустановки adguard ругаться стал при заходе в него. Фильтры не подгружаются, маячит надпись:

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

Error: control/version.json | Couldn't get version check json from https://static.adguard.com/adguardhome/release/version.json: *url.Error Get "https://static.adguard.com/adguardhome/release/version.json": x509: certificate signed by unknown authority | 502

 

Edited by BACbKA

Share this post


Link to post
Share on other sites
On 6/20/2020 at 7:23 PM, BACbKA said:

И опять что-то не удаётся поставить всё с нуля:


Jun 20 15:22:20installer[2/5] Загрузка и установка основных пакетов...
Jun 20 15:22:20installerInfo: Устанавливается пакет "libgcc"...
Jun 20 15:22:22installerCritical error: Во время установки пакета "libgcc" произошла ошибка.
Jun 20 15:22:22installerВыход из установки.
Jun 20 15:22:22ndmOpkg::Manager: /opt/etc/init.d/doinstall: exit code 1.

 

Столкнулся с такой же проблемой. Тоже попробовать позднее?

 

Подскажите, надо ли ещё как-то очищать этот диск? А то на диске появляются линуксовые директории и не все их них удаляются?

  • Upvote 1

Share this post


Link to post
Share on other sites

@n06rin возможно сервер с репой опять лежит. На счёт очистки диска.... вполне хватит его отформатировать командой 

mkfs.ext4 -O^metadata_csum,^64bit -b 4096 -m0 -L KEENETIC /dev/sdXY
Edited by BACbKA

Share this post


Link to post
Share on other sites

Entware-3x уже два года как заморожен и никакой поддержки по нему авторы не обеспечивают.

Есть что-то специфичное, чего нет в Entware?

Share this post


Link to post
Share on other sites
2 часа назад, BACbKA сказал:

возможно сервер с репой опять лежит.

от монтирования до входа

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

*** mipsel-installer(15).tar.gz - свежескачанный архив


[I] Jul 31 13:19:33 nlldo.fb: Core::Syslog: last message repeated 6 times.
[I] Jul 31 13:19:44 kernel: usb 1-1.1.4: new high-speed USB device number 5 using xhci-mtk
[I] Jul 31 13:19:44 kernel: usb 1-1.1.4: New USB device found, idVendor=0781, idProduct=5571
[I] Jul 31 13:19:44 kernel: usb 1-1.1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[I] Jul 31 13:19:44 kernel: usb 1-1.1.4: Product: Cruzer Fit
[I] Jul 31 13:19:44 kernel: usb 1-1.1.4: Manufacturer: SanDisk
[I] Jul 31 13:19:44 kernel: usb 1-1.1.4: SerialNumber: 4C530009770621103194
[I] Jul 31 13:19:44 kernel: usb-storage 1-1.1.4:1.0: USB Mass Storage device detected
[I] Jul 31 13:19:44 kernel: scsi host2: usb-storage 1-1.1.4:1.0
[I] Jul 31 13:19:46 kernel: scsi 2:0:0:0: Direct-Access     SanDisk  Cruzer Fit       1.00 PQ: 0 ANSI: 6
[I] Jul 31 13:19:46 kernel: sd 2:0:0:0: Attached scsi generic sg2 type 0
[I] Jul 31 13:19:46 kernel: sd 2:0:0:0: [sdc] 15630336 512-byte logical blocks: (8.00 GB/7.45 GiB)
[I] Jul 31 13:19:46 kernel: sd 2:0:0:0: [sdc] Write Protect is off
[I] Jul 31 13:19:46 kernel: sd 2:0:0:0: [sdc] Mode Sense: 43 00 00 00
[I] Jul 31 13:19:46 kernel: sd 2:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[I] Jul 31 13:19:46 kernel:  sdc: sdc1 sdc2
[I] Jul 31 13:19:46 kernel: sd 2:0:0:0: [sdc] Attached SCSI removable disk
[I] Jul 31 13:19:46 ndm: Storage::Manager: created "Media2", port 2.
[I] Jul 31 13:19:46 ndm: Storage::Partition: ext2 "2143a5cb-40e1-42c6-aee1-d8e8b7d9f129:": filesystem initialized.
[I] Jul 31 13:19:46 kernel: EXT4-fs (sdc1): mounting ext2 file system using the ext4 subsystem
[W] Jul 31 13:19:46 kernel: EXT4-fs (sdc1): warning: mounting unchecked fs, running e2fsck is recommended
[I] Jul 31 13:19:46 kernel: EXT4-fs (sdc1): mounted filesystem without journal. Opts: (null)
[I] Jul 31 13:19:46 ndm: Storage::Manager: "Media2": registered partition "2143a5cb-40e1-42c6-aee1-d8e8b7d9f129:".
[I] Jul 31 13:19:46 ndm: Storage::Partition: swap "fd22eff5-baf2-48bb-a846-59ac86966162:": filesystem initialized.
[I] Jul 31 13:19:46 kernel: Adding 2097148k swap on /dev/sdc2.  Priority:-4 extents:1 across:2097148k 
[I] Jul 31 13:19:46 ndm: Storage::Manager: "Media2": registered partition "fd22eff5-baf2-48bb-a846-59ac86966162:".
[I] Jul 31 13:19:52 nlldo.fb: Io::UnixStreamSocket: connected after 0 tries.
[I] Jul 31 13:20:05 ndm: Core::FileSystem::Repository: "testing:/install" created.
[I] Jul 31 13:20:14 nlldo.fb: Io::UnixStreamSocket: connected after 0 tries.
[I] Jul 31 13:20:52 nlldo.fb: Core::Syslog: last message repeated 3 times.
[I] Jul 31 13:20:55 ndm: lib::libndmCore: file "testing:/install/mipsel-installer(15).tar.gz" was uploaded.
[I] Jul 31 13:21:14 nlldo.fb: Io::UnixStreamSocket: connected after 0 tries.
[I] Jul 31 13:21:33 nlldo.fb: Core::Syslog: last message repeated 2 times.
[I] Jul 31 13:21:42 ndm: Opkg::Manager: disk is set to: testing:/.
[I] Jul 31 13:21:42 kernel: EXT4-fs (sdc1): re-mounted. Opts: (null)
[I] Jul 31 13:21:42 ndm: Opkg::Manager: /tmp/mnt/2143a5cb-40e1-42c6-aee1-d8e8b7d9f129 mounted to /tmp/mnt/2143a5cb-40e1-42c6-aee1-d8e8b7d9f129.
[I] Jul 31 13:21:42 ndm: Opkg::Manager: /tmp/mnt/2143a5cb-40e1-42c6-aee1-d8e8b7d9f129 mounted to /opt/.
[I] Jul 31 13:21:42 npkg: inflating "mipsel-installer(15).tar.gz".
[I] Jul 31 13:21:44 ndm: Opkg::Manager: /tmp/mnt/2143a5cb-40e1-42c6-aee1-d8e8b7d9f129 initialized.
[I] Jul 31 13:21:44 ndm: Opkg::Manager: init script reset to default: /opt/etc/initrc.
[E] Jul 31 13:21:44 ndm: Opkg::Manager: invalid initrc "/opt/etc/initrc": no such file or directory, trying /opt/etc/init.d/.
[I] Jul 31 13:21:44 ndm: Core::ConfigurationSaver: saving configuration...
[I] Jul 31 13:21:44 ndm: Core::Server: started Session /var/run/ndm.core.socket.
[I] Jul 31 13:21:44 ndm: Core::Session: client disconnected.
[I] Jul 31 13:21:44 installer: [1/5] Начало установки системы пакетов "Entware"...
[I] Jul 31 13:21:44 ndm: Core::Server: started Session /var/run/ndm.core.socket.
[I] Jul 31 13:21:44 ndm: Core::Session: client disconnected.
[I] Jul 31 13:21:44 ndm: Core::Server: started Session /var/run/ndm.core.socket.
[I] Jul 31 13:21:45 ndm: Core::Session: client disconnected.
[I] Jul 31 13:21:45 installer: Info: Раздел пригоден для установки.
[I] Jul 31 13:21:45 installer: Info: "ping google.com"...
[I] Jul 31 13:21:45 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: installer: Info: "ping google.com"...
[I] Jul 31 13:21:47 installer: Info: "ping google.com" ..... OK
[I] Jul 31 13:21:47 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: installer: Info: "ping google.com" ..... OK.
[I] Jul 31 13:21:47 ndm: Core::ConfigurationSaver: configuration saved.
[I] Jul 31 13:21:48 installer: Info: "ping bin.entware.net"...
[I] Jul 31 13:21:48 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: installer: Info: "ping bin.entware.net"...
[I] Jul 31 13:21:50 installer: Info: "ping bin.entware.net" ..... OK
[I] Jul 31 13:21:50 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: installer: Info: "ping bin.entware.net" ..... OK.
[I] Jul 31 13:21:51 installer: Info: Создание каталогов...
[I] Jul 31 13:21:51 installer: [2/5] Загрузка и установка основных пакетов...
[I] Jul 31 13:21:52 nlldo.fb: Io::UnixStreamSocket: connected after 0 tries.
[I] Jul 31 13:21:52 installer: Info: Устанавливается пакет "libgcc"...
[I] Jul 31 13:21:59 installer: Info: Пакет "libgcc" установлен.
[I] Jul 31 13:22:01 installer: Info: Устанавливается пакет "libc"...
[I] Jul 31 13:22:05 installer: Info: Пакет "libc" установлен.
[I] Jul 31 13:22:07 installer: Info: Устанавливается пакет "libpthread"...
[I] Jul 31 13:22:07 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:22:08 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:22:08 installer: Info: Пакет "libpthread" установлен.
[I] Jul 31 13:22:09 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:22:10 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:22:10 installer: Info: Устанавливается пакет "librt"...
[I] Jul 31 13:22:11 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:22:12 installer: Info: Пакет "librt" установлен.
[I] Jul 31 13:22:12 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:22:13 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:22:14 installer: Info: Устанавливается пакет "entware-release"...
[I] Jul 31 13:22:14 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:22:14 nlldo.fb: Io::UnixStreamSocket: connected after 0 tries.
[I] Jul 31 13:22:15 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:22:16 installer: Info: Пакет "entware-release" установлен.
[I] Jul 31 13:22:16 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:22:17 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:22:18 installer: Info: Устанавливается пакет "findutils"...
[I] Jul 31 13:22:18 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:22:20 ndm: Core::Syslog: last message repeated 2 times.
[I] Jul 31 13:22:20 installer: Info: Пакет "findutils" установлен.
[I] Jul 31 13:22:21 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:22:22 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:22:22 installer: Info: Устанавливается пакет "grep"...
[I] Jul 31 13:22:23 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:22:24 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:22:24 installer: Info: Пакет "grep" установлен.
[I] Jul 31 13:22:24 nlldo.fb: Io::UnixStreamSocket: connected after 0 tries.
[I] Jul 31 13:22:25 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:22:26 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:22:26 installer: Info: Устанавливается пакет "ldconfig"...
[I] Jul 31 13:22:27 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:22:28 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:22:28 installer: Info: Пакет "ldconfig" установлен.
[I] Jul 31 13:22:29 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:22:30 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:22:30 installer: Info: Устанавливается пакет "locales"...
[I] Jul 31 13:22:31 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:22:32 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:22:33 nlldo.fb: Io::UnixStreamSocket: connected after 0 tries.
[I] Jul 31 13:22:33 installer: Info: Пакет "locales" установлен.
[I] Jul 31 13:22:33 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:22:34 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:22:35 installer: Info: Устанавливается пакет "ndmq"...
[I] Jul 31 13:22:35 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:22:37 ndm: Core::Syslog: last message repeated 2 times.
[I] Jul 31 13:22:37 installer: Info: Пакет "ndmq" установлен.
[I] Jul 31 13:22:38 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:22:39 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:22:39 installer: Info: Устанавливается пакет "opkg"...
[I] Jul 31 13:22:40 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:22:46 ndm: Core::Syslog: last message repeated 6 times.
[I] Jul 31 13:22:46 installer: Info: Пакет "opkg" установлен.
[I] Jul 31 13:22:47 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:22:48 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:22:48 installer: Info: Устанавливается пакет "zoneinfo-asia"...
[I] Jul 31 13:22:49 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:22:50 installer: Info: Пакет "zoneinfo-asia" установлен.
[I] Jul 31 13:22:50 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:22:51 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:22:52 installer: Info: Устанавливается пакет "zoneinfo-europe"...
[I] Jul 31 13:22:52 nlldo.fb: Io::UnixStreamSocket: connected after 0 tries.
[I] Jul 31 13:22:52 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:22:53 installer: Info: Пакет "zoneinfo-europe" установлен.
[I] Jul 31 13:22:53 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:22:54 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:22:55 installer: Info: Устанавливается пакет "opt-ndmsv2"...
[I] Jul 31 13:22:55 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:22:57 ndm: Core::Syslog: last message repeated 2 times.
[I] Jul 31 13:22:58 installer: Info: Пакет "opt-ndmsv2" установлен.
[I] Jul 31 13:22:58 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:22:59 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:23:00 installer: Info: Устанавливается пакет "dropbear"...
[I] Jul 31 13:23:00 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:23:01 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:23:02 installer: Info: Пакет "dropbear" установлен.
[I] Jul 31 13:23:04 installer: Info: Устанавливается пакет "poorbox"...
[I] Jul 31 13:23:06 installer: Info: Пакет "poorbox" установлен.
[I] Jul 31 13:23:08 installer: Info: Устанавливается пакет "busybox"...
[I] Jul 31 13:23:13 installer: Info: Пакет "busybox" установлен.
[I] Jul 31 13:23:14 nlldo.fb: Io::UnixStreamSocket: connected after 0 tries.
[I] Jul 31 13:23:15 installer: Info: Установка пакетов прошла успешно!
[I] Jul 31 13:23:15 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:23:15 installer: [3/5] Генерация SSH-ключей...
[I] Jul 31 13:23:15 installer: Info: Генерируется ключ "ed25519"...
[I] Jul 31 13:23:16 installer: Info: Ключ "ed25519" создан.
[I] Jul 31 13:23:16 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:23:17 installer: Info: Генерируется ключ "ecdsa"...
[I] Jul 31 13:23:17 installer: Info: Ключ "ecdsa" создан.
[I] Jul 31 13:23:17 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:23:18 installer: Info: Генерируется ключ "rsa"...
[I] Jul 31 13:23:18 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:23:20 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:23:20 installer: Info: Ключ "rsa" создан.
[I] Jul 31 13:23:21 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: ... in progress...
[I] Jul 31 13:23:21 installer: [4/5] Настройка сценария запуска, установка часового пояса и запуск "dropbear"...
[I] Jul 31 13:23:21 ndm: Core::Server: started Session /var/run/ndm.core.socket.
[I] Jul 31 13:23:21 ndm: Core::Session: client disconnected.
[I] Jul 31 13:23:21 dropbear[13133]: Running in background
[I] Jul 31 13:23:21 ndm: Core::Server: started Session /var/run/ndm.core.socket.
[I] Jul 31 13:23:21 ndm: Opkg::Manager: configured init script: "/opt/etc/init.d/rc.unslung".
[I] Jul 31 13:23:21 ndm: Core::Session: client disconnected.
[I] Jul 31 13:23:21 ndm: Core::Server: started Session /var/run/ndm.core.socket.
[I] Jul 31 13:23:21 ndm: Core::ConfigurationSaver: saving configuration...
[I] Jul 31 13:23:21 ndm: Core::Session: client disconnected.
[I] Jul 31 13:23:21 installer: Можно открыть SSH-сессию для соединения с устройством (ssh root:keenetic@my.keenetic.net -p 222).
[I] Jul 31 13:23:21 installer: [5/5] Установка системы пакетов "Entware" завершена! Не забудьте сменить пароль и номер порта!
[I] Jul 31 13:23:24 nlldo.fb: Io::UnixStreamSocket: connected after 0 tries.
[I] Jul 31 13:23:25 ndm: Core::ConfigurationSaver: configuration saved.
[I] Jul 31 13:23:33 nlldo.fb: Io::UnixStreamSocket: connected after 0 tries.
[I] Jul 31 13:25:33 nlldo.fb: Core::Syslog: last message repeated 8 times.
[I] Jul 31 13:25:50 dropbear[13925]: Child connection from 192.168.82.50:34548
[I] Jul 31 13:25:52 nlldo.fb: Io::UnixStreamSocket: connected after 0 tries.
[I] Jul 31 13:25:55 dropbear[13925]: Password auth succeeded for 'root' from 192.168.82.50:34548
[I] Jul 31 13:26:14 nlldo.fb: Io::UnixStreamSocket: connected after 0 tries.
[I] Jul 31 13:26:52 nlldo.fb: Core::Syslog: last message repeated 3 times.
[I] Jul 31 13:26:55 ndm: Core::Server: started Session /var/run/ndm.core.socket.
[I] Jul 31 13:26:55 ndm: Core::Session: client disconnected.
[I] Jul 31 13:26:55 root: Keenetic Ultra II
[I] Jul 31 13:27:06 ndm: Core::Server: started Session /var/run/ndm.core.socket.
[I] Jul 31 13:27:06 ndm: Core::Session: client disconnected.
[I] Jul 31 13:27:06 root: 3.05.A.15.0-0
[I] Jul 31 13:27:14 nlldo.fb: Io::UnixStreamSocket: connected after 0 tries.
[I] Jul 31 13:27:33 nlldo.fb: Core::Syslog: last message repeated 2 times.

 

 

Share this post


Link to post
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...