slava.trifonov Posted September 30, 2017 Posted September 30, 2017 Заглючил что-то роутер, отключил opkg - стало всё хорошо. Решил переустановить с нуля. В итоге не запускаются программы. В журнале роутера пишется вот это: Sep 30 23:56:54ndmCore::Syslog: the system log has been cleared. Sep 30 23:57:01ndmOpkg::Manager: disk is set to: b605bb92-5c69-e3ff-5148-9a40bd635ad7: Sep 30 23:57:01ndmOpkg::Manager: init script reset to default: /opt/etc/initrc. Sep 30 23:57:01ndmOpkg::Manager: /tmp/mnt/OPKG/ mounted to /tmp/mnt/OPKG/. Sep 30 23:57:01ndmOpkg::Manager: /tmp/mnt/OPKG/ mounted to /opt/. Sep 30 23:57:01ndmOpkg::Manager: /tmp/mnt/OPKG/ initialized. Sep 30 23:57:01ndmOpkg::Manager: invalid initrc "/opt/etc/initrc": no such file or directory, trying /opt/etc/init.d/. Sep 30 23:57:01ndmCore::ConfigurationSaver: saving configuration... Sep 30 23:57:05ndmCore::ConfigurationSaver: configuration saved. Sep 30 23:57:13rootFailed to start cron from . Sep 30 23:57:13ndmOpkg::Manager: /opt/etc/init.d/S10cron: exit code 255. Sep 30 23:57:25rootFailed to start tor from . Sep 30 23:57:25ndmOpkg::Manager: /opt/etc/init.d/S35tor: exit code 255. Sep 30 23:57:25dropbear[1251]Running in background Sep 30 23:57:36rootFailed to start dnsmasq from . Sep 30 23:57:36ndmOpkg::Manager: /opt/etc/init.d/S56dnsmasq: exit code 255. Sep 30 23:57:48rootFailed to start cron from . Sep 30 23:58:00rootFailed to start tor from . Sep 30 23:58:00ndmOpkg::Manager: /opt/etc/init.d/rc.unslung: timed out. Sep 30 23:58:11rootFailed to start dnsmasq from . При попытке запустить из консоли выдаёт это и висит: /opt/root # /opt/etc/init.d/S56dnsmasq start Starting dnsmasq... /opt/etc/init.d/S56dnsmasq: /opt/etc/init.d/rc.func: line 115: 1: Invalid argument /opt/etc/init.d/S56dnsmasq: /opt/etc/init.d/rc.func: line 115: 1: Invalid argument Что делать то? Переустанавливать бесполезно, всё то же самое. Quote
slava.trifonov Posted October 1, 2017 Author Posted October 1, 2017 Прошивка v2.06(AAFS.7)C2 Система пакетов - это что? Opkg, mipsel? Флешку форматировать в ext3 в партишн меджике (paragon чего-то там), но установочный пакет скопировал в тотал коммандере (он у меня с плагином поддержки ехт3). Quote
zyxmon Posted October 1, 2017 Posted October 1, 2017 2 минуты назад, slava.trifonov сказал: Прошивка v2.06(AAFS.7)C2 Рекомендую обновить до более свежей и ставить не entware-keenetic, а entware-3x (это системы пакетов). Форматировать в gparted или live дистрибутиве linux и копировать так, как написано. Сохранить все логи, начиная с установки и их проанализировать. Quote
slava.trifonov Posted October 1, 2017 Author Posted October 1, 2017 Более новая прошивка только Бета, 2.06 последняя стабильная. 3х вроде как для 2.07 и новее, нет? Попробую переформатировать и закинуть через ftp. Quote
zyxmon Posted October 1, 2017 Posted October 1, 2017 5 минут назад, slava.trifonov сказал: Более новая прошивка только Бета, 2.06 последняя стабильная. Это не значит, что стабильная прошивка стабильнее беты. 1 Quote
TheBB Posted October 1, 2017 Posted October 1, 2017 проверил Скрытый текст root@192.168.2.1's password: BusyBox v1.25.1 () built-in shell (ash) ~ # ndmq -p "show version" -P device Keenetic Giga II ~ # ndmq -p "show version" -P release v2.06(AAFS.7)C2 ~ # ../etc/init.d/S56dnsmasq restart Shutting down dnsmasq... done. Starting dnsmasq... done. ~ # ../etc/init.d/S56dnsmasq stop Checking dnsmasq... alive. Shutting down dnsmasq... done. ~ # ../etc/init.d/S56dnsmasq start Starting dnsmasq... done. ~ # opkg install busybox Upgrading busybox on root from 1.25.1-2a to 1.27.2-1... Downloading http://pkg.entware-keenetic.ru/binaries/keenle/busybox_1.27.2-1_keenle.ipk cat: can't open 'share/busybox_applets.lst': No such file or directory Configuring busybox. Warning: '/opt/bin/renice' is already exists, skipping. ... Warning: '/opt/sbin/swapon' is already exists, skipping. ~ # opkg install busybox Package busybox (1.27.2-1) installed in root is up to date. ~ # ../etc/init.d/S56dnsmasq start Starting dnsmasq... already running. ~ # ../etc/init.d/S56dnsmasq stop Checking dnsmasq... alive. Shutting down dnsmasq... ../etc/init.d/S56dnsmasq: /opt/etc/init.d/rc.func: line 115: 2: Invalid argument failed. ~ # ../etc/init.d/S56dnsmasq restart ../etc/init.d/S56dnsmasq: /opt/etc/init.d/rc.func: line 115: 1: Invalid argument Starting dnsmasq... already running. ~ # opkg install busybox_1.25.1-2a_keenle.ipk --force-downgrade Downgrading busybox on root from 1.27.2-1 to 1.25.1-2a... Configuring busybox. Warning: '/opt/bin/renice' is already exists, skipping. ... Warning: '/opt/sbin/swapon' is already exists, skipping. ~ # ../etc/init.d/S56dnsmasq restart Shutting down dnsmasq... done. Starting dnsmasq... done. ~ # ../etc/init.d/S56dnsmasq stop Checking dnsmasq... alive. Shutting down dnsmasq... done. ~ # ../etc/init.d/S56dnsmasq start Starting dnsmasq... done. ~ # это "новый" busybox шалит... 1 Quote
slava.trifonov Posted October 1, 2017 Author Posted October 1, 2017 Спасибо, откатился на 1,25 и всё заработало. Quote
zyxmon Posted October 1, 2017 Posted October 1, 2017 4 минуты назад, slava.trifonov сказал: Спасибо, откатился на 1,25 и всё заработало. Еще раз настоятельно рекомендую поставить нормальную прошивку на нормальном ядре и entware-3x. У Вас прошивка на ядре древнем как д-мо мамонта с кучей багов. Ядро определяет стабильность прошивки прежде всего! Нормальные ядра начинаются с 2.07. Quote
slava.trifonov Posted October 1, 2017 Author Posted October 1, 2017 Спасибо за совет, останется только побороть страх бета-версий. И, как я понимаю, обновление 2ой Гиги до 2.07 производится не штатными средствами... Quote
Mamay Posted October 1, 2017 Posted October 1, 2017 40 минут назад, slava.trifonov сказал: Спасибо за совет, останется только побороть страх бета-версий. И, как я понимаю, обновление 2ой Гиги до 2.07 производится не штатными средствами... Штатными штатными. Не волнуйтесь. Коли пошла такая пьянка, советую ставить не 2.07, а сразу 2.10. отсюда . Quote
TheBB Posted October 1, 2017 Posted October 1, 2017 а для Giga II - 2.07 не выпускалась (как и для нек-рых др. устройств)... прошивки с ядром 3.4 для них начались с 2.08 Quote
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.