-
Posts
10 -
Joined
-
Last visited
Content Type
Profiles
Forums
Gallery
Downloads
Blogs
Events
Posts posted by Renat Bogdanov
-
-
Ребят, долго не мог понять, почему порт который я меняю в файле sshd_config после рестарта роутера или по команде restart этого сервера, не дает нужный мне порт...
Подтвердите мне верно ли я понял.
Строка, начинающаяся с решетки (#Port 2222), в файле sshd_config, система выводила мне порт 22
Скрытый текстFeb 22 18:54:15sshd[3843]Server listening on 0.0.0.0 port 22.Feb 22 18:54:15sshd[3843]Server listening on :: port 22.Строка, начинающаяся без решетки (Port 2222), , в файле sshd_config, , система выводила мне порт 2222Скрытый текстFeb 22 18:52:53sshd[3722]Server listening on 0.0.0.0 port 2222.Feb 22 18:52:53sshd[3722]Server listening on :: port 2222.Получается решетку нужно удалять в конфиг файле, чтобы я смог выставить нужный порт?
-
Не могу попасть в SSH по логину root keenetic
Порты менял на 23,24,25, все равно accsess denided
Dropbear в логе ругается на порт 22 и в начале лога красным что-то система не нашла...
Прошивка: 2.12.A.4.0-1:
Скрытый текстFeb 21 17:35:39ndm
Opkg::Manager: init script reset to default: /opt/etc/initrc.Feb 21 17:35:39ndmCore::ConfigurationSaver: saving configuration...Feb 21 17:35:43ndmCore::ConfigurationSaver: configuration saved.Feb 21 17:35:45ndmOpkg::Manager: disk is set to: 519b9058-a50e-473e-8f92-18d0bfa58bb7:Feb 21 17:35:45ndmOpkg::Manager: init script reset to default: /opt/etc/initrc.Feb 21 17:35:45ndmkernel: EXT4-fs (sda1): re-mounted. Opts: (null)Feb 21 17:35:45ndmOpkg::Manager: /tmp/mnt/Zyxel_Flash mounted to /tmp/mnt/Zyxel_Flash.Feb 21 17:35:45ndmOpkg::Manager: /tmp/mnt/Zyxel_Flash mounted to /opt/.Feb 21 17:35:45npkginflating "mipsel-installer-3x.tar.gz".Feb 21 17:35:45ndmCore::ConfigurationSaver: saving configuration...Feb 21 17:35:50ndmOpkg::Manager: /tmp/mnt/Zyxel_Flash initialized.Feb 21 17:35:50ndmOpkg::Manager: invalid initrc "/opt/etc/initrc": no such file or directory, trying /opt/etc/init.d/.Feb 21 17:35:50installerInfo: Раздел пригоден для установки.Feb 21 17:35:50ndmCore::ConfigurationSaver: configuration saved.Feb 21 17:35:50installer[1/5] Начало развёртывания системы Entware-3x...Feb 21 17:35:50installerInfo: Создание папок...Feb 21 17:35:50installer[2/5] Загрузка и установка базовых пакетов...Feb 21 17:35:51ndmOpkg::Manager: /opt/etc/init.d/doinstall: Downloading http://entware-3x.zyxmon.org/binaries/mipsel/Packages.gz.Feb 21 17:35:51ndmOpkg::Manager: /opt/etc/init.d/doinstall: Updated list of available packages in /opt/var/opkg-lists/keen3x.Feb 21 17:35:52ndmOpkg::Manager: /opt/etc/init.d/doinstall: Installing opt-ndmsv2 (1.0-9) to root...Feb 21 17:35:52ndmOpkg::Manager: /opt/etc/init.d/doinstall: Downloading http://entware-3x.zyxmon.org/binaries/mipsel/opt-ndmsv2_1.0-9_keenle-3x.ipk.Feb 21 17:35:53ndmOpkg::Manager: /opt/etc/init.d/doinstall: Installing libc (2.25-8) to root...Feb 21 17:35:53ndmOpkg::Manager: /opt/etc/init.d/doinstall: Downloading http://entware-3x.zyxmon.org/binaries/mipsel/libc_2.25-8_mipsel-3x.ipk.Feb 21 17:35:58ndmOpkg::Manager: /opt/etc/init.d/doinstall: Installing libgcc (6.3.0-8) to root...Feb 21 17:35:58ndmOpkg::Manager: /opt/etc/init.d/doinstall: Downloading http://entware-3x.zyxmon.org/binaries/mipsel/libgcc_6.3.0-8_mipsel-3x.ipk.Feb 21 17:35:58ndmOpkg::Manager: /opt/etc/init.d/doinstall: Installing libssp (6.3.0-8) to root...Feb 21 17:35:58ndmOpkg::Manager: /opt/etc/init.d/doinstall: Downloading http://entware-3x.zyxmon.org/binaries/mipsel/libssp_6.3.0-8_mipsel-3x.ipk.Feb 21 17:35:59ndmOpkg::Manager: /opt/etc/init.d/doinstall: Installing librt (2.25-8) to root...Feb 21 17:35:59ndmOpkg::Manager: /opt/etc/init.d/doinstall: Downloading http://entware-3x.zyxmon.org/binaries/mipsel/librt_2.25-8_mipsel-3x.ipk.Feb 21 17:35:59ndmOpkg::Manager: /opt/etc/init.d/doinstall: Installing libpthread (2.25-8) to root...Feb 21 17:35:59ndmOpkg::Manager: /opt/etc/init.d/doinstall: Downloading http://entware-3x.zyxmon.org/binaries/mipsel/libpthread_2.25-8_mipsel-3x.ipk.Feb 21 17:36:00ndmOpkg::Manager: /opt/etc/init.d/doinstall: Installing libstdcpp (6.3.0-8) to root...Feb 21 17:36:00ndmOpkg::Manager: /opt/etc/init.d/doinstall: Downloading http://entware-3x.zyxmon.org/binaries/mipsel/libstdcpp_6.3.0-8_mipsel-3x.ipk.Feb 21 17:36:02ndmOpkg::Manager: /opt/etc/init.d/doinstall: Installing ldconfig (2.25-8) to root...Feb 21 17:36:02ndmOpkg::Manager: /opt/etc/init.d/doinstall: Downloading http://entware-3x.zyxmon.org/binaries/mipsel/ldconfig_2.25-8_mipsel-3x.ipk.Feb 21 17:36:04ndmOpkg::Manager: /opt/etc/init.d/doinstall: Installing findutils (4.6.0-1) to root...Feb 21 17:36:04ndmOpkg::Manager: /opt/etc/init.d/doinstall: Downloading http://entware-3x.zyxmon.org/binaries/mipsel/findutils_4.6.0-1_mipsel-3x.ipk.Feb 21 17:36:05ndmOpkg::Manager: /opt/etc/init.d/doinstall: Installing terminfo (6.0-1c) to root...Feb 21 17:36:05ndmOpkg::Manager: /opt/etc/init.d/doinstall: Downloading http://entware-3x.zyxmon.org/binaries/mipsel/terminfo_6.0-1c_mipsel-3x.ipk.Feb 21 17:36:05ndmOpkg::Manager: /opt/etc/init.d/doinstall: Installing ndmq (1.0.2-1a) to root...Feb 21 17:36:05ndmOpkg::Manager: /opt/etc/init.d/doinstall: Downloading http://entware-3x.zyxmon.org/binaries/mipsel/ndmq_1.0.2-1a_keenle-3x.ipk.Feb 21 17:36:06ndmOpkg::Manager: /opt/etc/init.d/doinstall: Installing libndm (1.5.0-1) to root...Feb 21 17:36:06ndmOpkg::Manager: /opt/etc/init.d/doinstall: Downloading http://entware-3x.zyxmon.org/binaries/mipsel/libndm_1.5.0-1_keenle-3x.ipk.Feb 21 17:36:07ndmOpkg::Manager: /opt/etc/init.d/doinstall: Installing locales (2.25-8) to root...Feb 21 17:36:07ndmOpkg::Manager: /opt/etc/init.d/doinstall: Downloading http://entware-3x.zyxmon.org/binaries/mipsel/locales_2.25-8_mipsel-3x.ipk.Feb 21 17:36:09ndmOpkg::Manager: /opt/etc/init.d/doinstall: Installing zoneinfo-asia (2017c-1) to root...Feb 21 17:36:09ndmOpkg::Manager: /opt/etc/init.d/doinstall: Downloading http://entware-3x.zyxmon.org/binaries/mipsel/zoneinfo-asia_2017c-1_mipsel-3x.ipk.Feb 21 17:36:09ndmOpkg::Manager: /opt/etc/init.d/doinstall: Installing zoneinfo-europe (2017c-1) to root...Feb 21 17:36:09ndmOpkg::Manager: /opt/etc/init.d/doinstall: Downloading http://entware-3x.zyxmon.org/binaries/mipsel/zoneinfo-europe_2017c-1_mipsel-3x.ipk.Feb 21 17:36:10ndmOpkg::Manager: /opt/etc/init.d/doinstall: Installing dropbear (2017.75-5) to root...Feb 21 17:36:10ndmOpkg::Manager: /opt/etc/init.d/doinstall: Downloading http://entware-3x.zyxmon.org/binaries/mipsel/dropbear_2017.75-5_mipsel-3x.ipk.Feb 21 17:36:10ndmOpkg::Manager: /opt/etc/init.d/doinstall: Entware uses separate locale-archive file independent from main system.Feb 21 17:36:10ndmOpkg::Manager: /opt/etc/init.d/doinstall: You can download locale sources from http://pkg.entware.net/sources/i18n_glib225.tar.gz.Feb 21 17:36:10ndmOpkg::Manager: /opt/etc/init.d/doinstall: You can add new locales to Entware using /opt/bin/localedef.new.Feb 21 17:36:11ndmOpkg::Manager: /opt/etc/init.d/doinstall: Updating /opt/etc/ld.so.cache... done.Feb 21 17:36:11ndmOpkg::Manager: /opt/etc/init.d/doinstall: Package ndmq (1.0.2-1a) installed in root is up to date.Feb 21 17:36:11ndmOpkg::Manager: /opt/etc/init.d/doinstall: Configuring libgcc.Feb 21 17:36:11ndmOpkg::Manager: /opt/etc/init.d/doinstall: Configuring libc.Feb 21 17:36:11ndmOpkg::Manager: /opt/etc/init.d/doinstall: Configuring libssp.Feb 21 17:36:11ndmOpkg::Manager: /opt/etc/init.d/doinstall: Configuring libpthread.Feb 21 17:36:11ndmOpkg::Manager: /opt/etc/init.d/doinstall: Configuring librt.Feb 21 17:36:11ndmOpkg::Manager: /opt/etc/init.d/doinstall: Configuring terminfo.Feb 21 17:36:11ndmOpkg::Manager: /opt/etc/init.d/doinstall: Configuring ldconfig.Feb 21 17:36:11ndmOpkg::Manager: /opt/etc/init.d/doinstall: Configuring locales.Feb 21 17:36:11ndmOpkg::Manager: /opt/etc/init.d/doinstall: Configuring zoneinfo-europe.Feb 21 17:36:11ndmOpkg::Manager: /opt/etc/init.d/doinstall: Configuring zoneinfo-asia.Feb 21 17:36:11ndmOpkg::Manager: /opt/etc/init.d/doinstall: Configuring libndm.Feb 21 17:36:11ndmOpkg::Manager: /opt/etc/init.d/doinstall: Configuring ndmq.Feb 21 17:36:11ndmOpkg::Manager: /opt/etc/init.d/doinstall: Configuring dropbear.Feb 21 17:36:11ndmOpkg::Manager: /opt/etc/init.d/doinstall: Configuring libstdcpp.Feb 21 17:36:11ndmOpkg::Manager: /opt/etc/init.d/doinstall: Configuring findutils.Feb 21 17:36:11ndmOpkg::Manager: /opt/etc/init.d/doinstall: Configuring opt-ndmsv2.Feb 21 17:36:18installerInfo: Установка пакетов прошла успешно! Продолжаем...Feb 21 17:36:18installer[3/5] Генерация SSH-ключей...Feb 21 17:36:22ndmOpkg::Manager: /opt/etc/init.d/doinstall: Generating key, this may take a while...Feb 21 17:36:24installerInfo: Ключ ecdsa созданFeb 21 17:36:24ndmOpkg::Manager: /opt/etc/init.d/doinstall: .Generating key, this may take a while...Feb 21 17:36:26installerInfo: Ключ rsa созданFeb 21 17:36:26installer[4/5] Установка Entware-3x завершена! Сохранение временной зоны и запуск dropbear...Feb 21 17:36:26ndmCore::Server: started Session /var/run/ndm.core.socket.Feb 21 17:36:26ndmCore::Server: client disconnected.Feb 21 17:36:26dropbear[6747]Failed listening on '22': Error listening: Address already in useFeb 21 17:36:26dropbear[6747]Early exit: No listening ports available.Feb 21 17:36:26installer[5/5] Настройка сценария запуска для прошивки NDMS...Feb 21 17:36:26ndmCore::Server: started Session /var/run/ndm.core.socket.Feb 21 17:36:26ndmOpkg::Manager: configured init script: "/opt/etc/init.d/rc.unslung".Feb 21 17:36:26ndmCore::Server: client disconnected.Feb 21 17:36:26ndmCore::Server: started Session /var/run/ndm.core.socket.Feb 21 17:36:26ndmCore::ConfigurationSaver: saving configuration...Feb 21 17:36:26ndmCore::Server: client disconnected.Feb 21 17:36:26installerГотово!!!Feb 21 17:36:26installerМожно открыть SSH-сессию для соединения с устройством (логин:пароль -> root:keenetic).Feb 21 17:36:26ndmOpkg::Manager: /opt/etc/init.d/doinstall: .Feb 21 17:36:30ndmCore::ConfigurationSaver: configuration saved.Внимание! Видимо это не у меня проблема, скачал вот этот архив mipsel_ent_deb_5.tar.gz и все нормально, запустил SSH без проблем. Видимо нужно найти ошибку и пофиксить.
★Полная установка entware-3x совместно с Debian 8, и настройка всей системы★
in Каталог готовых решений Opkg
Posted
Круто, только теперь я в ступоре, полно решеток в конфигах, чтобы их строки активировать, мне нужно понимать что это строка будет делать, немного тяжко для новичка )