Jump to content

Дмитрий

Forum Members
  • Posts

    182
  • Joined

  • Last visited

Posts posted by Дмитрий

  1. В ‎01‎.‎11‎.‎2019 в 11:51, TheBB сказал:

    Всё, как в wiki

    Там не сказано сколько ждать, например, после install Test2::Util или install HTTP::Date, час-два, сутки, двое, неделю. kn-1910 ночи не хватает, а после у меня большие сомнения, тем более новых символов в терминал не падает.

  2. Изменилось ли что, либо после объединения репозиториев в entware?

    Скрытый текст
    ~ # perl -MCPAN -e shell
    Terminal does not support AddHistory.
    
    
     
    There seems to be running another CPAN process (pid 8234). Contacting...
    Other job not responding. Shall I overwrite the lockfile '/opt/root/.cpan/.lock'? (Y/n) [y]
    
    
     
    cpan shell -- CPAN exploration and modules installation (v2.20)
    Enter 'h' for help.
    
    
     
    cpan[1]> install HTTP::Date
    Reading '/opt/root/.cpan/sources/authors/01mailrc.txt.gz'
    ............................................................................DONE
    Reading '/opt/root/.cpan/sources/modules/02packages.details.txt.gz'
    Database was generated on Thu, 31 Oct 2019 17:55:20 GMT
    HTTP::Date not available
    .............
    New CPAN.pm version (v2.27) available.
    [Currently running version is v2.20]
    You might want to try
    install CPAN
    reload cpan
    to both upgrade CPAN.pm and run the new version without leaving
    the current session.
    
    
     
    
    
     
    .............. <- это все, или закрытие cpan

     

  3. Ну что опять?

    Скрытый текст
    ~/motion # ./configure --prefix=/opt
    checking for a BSD-compatible install... ./install-sh -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... ./install-sh -c -d
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether make supports nested variables... yes
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking whether gcc understands -c and -o together... yes
    checking for style of include used by make... GNU
    checking dependency style of gcc... gcc3
    checking for g++... g++
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking dependency style of g++... gcc3
    checking how to run the C preprocessor... gcc -E
    checking for grep that handles long lines and -e... /opt/bin/grep
    checking for egrep... /opt/bin/grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking minix/config.h usability... no
    checking minix/config.h presence... no
    checking for minix/config.h... no
    checking whether it is safe to define __EXTENSIONS__... yes
    checking build system type... mipsel-unknown-Linux-gnu
    checking host system type... mipsel-unknown-linux-gnu
    ./configure: line 4737: syntax error: unexpected word (expecting ")")

     

    configure

  4. Ну да, конечно, мой косяк, config нету:

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

    Итак, чтобы собрать что-то из исходников, нужно сначала собрать конфигуратор; как собрать конфигуратор, описано в файле configure.in. Для сборки конфигуратора необходимо выполнить

    
    ./bootstrap

    или

    
    ./autogen.sh

    Если таких скриптов не оказалось, то можно выполнить последовательно следующие команды:

    
    aclocal
    autoheader
    automake --gnu --add-missing --copy --foreign
    autoconf -f -Wall

    Появился ./configure

  5. В ‎25‎.‎10‎.‎2019 в 22:29, TheBB сказал:

    знает толк в извращениях!

    Потому что не знает толк в Линукс.

    Доставил пакеты и далее по инструкции:

    opkg install busybox ldd make gawk sed
    wget -qO- http://bin.entware.net/mipselsf-k3.4/include/include.tar.gz | tar xvz -C /opt/include

    Далее 

    git clone https://github.com/Motion-Project/motion.git
    cd motion
    ./configure.ac --prefix=/opt

    Получаю ./configure.ac: Permission denied:

    Скрытый текст
    ~/motion # ./configure.ac --prefix=/opt
    -sh: ./configure.ac: Permission denied
    ~/motion # ls -al
    drwxr-xr-x 9 root root 4096 Oct 27 07:58 .
    drwxr-xr-x 4 root root 4096 Oct 27 07:51 ..
    drwxr-xr-x 8 root root 4096 Oct 27 07:51 .git
    -rw-r--r-- 1 root root 806 Oct 27 07:51 .gitignore
    -rw-r--r-- 1 root root 5823 Oct 27 07:51 .travis.yml
    -rw-r--r-- 1 root root 3074 Oct 27 07:51 CONTRIBUTING.md
    -rw-r--r-- 1 root root 408 Oct 27 07:51 ISSUE_TEMPLATE.md
    -rw-r--r-- 1 root root 2593 Oct 27 07:51 Makefile.am
    -rw-r--r-- 1 root root 1682 Oct 27 07:51 README.md
    -rw-r--r-- 1 root root 17448 Oct 27 07:51 configure.ac
    drwxr-xr-x 2 root root 4096 Oct 27 07:51 data
    drwxr-xr-x 2 root root 4096 Oct 27 07:51 doc
    drwxr-xr-x 2 root root 4096 Oct 27 07:51 man
    drwxr-xr-x 2 root root 4096 Oct 27 07:51 po
    drwxr-xr-x 2 root root 4096 Oct 27 07:51 scripts
    drwxr-xr-x 3 root root 4096 Oct 27 07:51 src

    Из под root все делал :(

  6. Прошу помощи, не пойму  почему make не хочет make? На роутере хочу собрать пакет motion, но с поддержкой RTSP, малой кровью
     

    Скрытый текст
    
    ~/Entware # uname -a
    Linux Keenetic_Viva 4.9-ndm-3 #2 SMP Sat Oct 19 10:56:57 MSK 2019 mips GNU/Linux
    ~/Entware # make --version
    GNU Make 4.2.1
    Built for mipsel-openwrt-linux-gnu
    Copyright (C) 1988-2016 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.
    ~/Entware # make tools/install
    make: /opt/root/Entware/scripts/getver.sh: Command not found
    make: /opt/root/Entware/scripts/get_source_date_epoch.sh: Command not found
    make[1]: /opt/root/Entware/scripts/getver.sh: Command not found
    make[1]: /opt/root/Entware/scripts/get_source_date_epoch.sh: Command not found
    make[2]: /opt/root/Entware/scripts/getver.sh: Command not found
    make[2]: /opt/root/Entware/scripts/get_source_date_epoch.sh: Command not found
    Checking 'working-make'... ok.
    Checking 'case-sensitive-fs'... ok.
    Checking 'proper-umask'... ok.
    Checking 'gcc'... ok.
    Checking 'working-gcc'... ok.
    Checking 'g++'... ok.
    Checking 'working-g++'... ok.
    Checking 'ncurses'... ok.
    Checking 'perl-thread-queue'... ok.
    Checking 'tar'... ok.
    Checking 'find'... ok.
    Checking 'bash'... ok.
    Checking 'patch'... ok.
    Checking 'diff'... ok.
    Checking 'cp'... ok.
    Checking 'seq'... ok.
    Checking 'awk'... ok.
    Checking 'grep'... ok.
    Checking 'getopt'... ok.
    Checking 'stat'... ok.
    Checking 'unzip'... ok.
    Checking 'bzip2'... ok.
    Checking 'wget'... ok.
    Checking 'perl'... ok.
    Checking 'python2-cleanup'... ok.
    Checking 'python'... ok.
    Checking 'python3'... ok.
    Checking 'git'... ok.
    Checking 'file'... ok.
    Prerequisite check failed. Use FORCE=1 to override.
    make[2]: *** [/opt/root/Entware/include/toplevel.mk:168: staging_dir/host/.prereq-build] Error 1
    make[1]: *** [/opt/root/Entware/include/toplevel.mk:83: prepare-tmpinfo] Error 2
    make: *** [/opt/root/Entware/include/toplevel.mk:216: tools/install] Error 2

     

     

  7. В 23.07.2019 в 16:29, Sergey Zozulya сказал:

    В моем случае также все подсчитывается верно.

     

    В 23.07.2019 в 13:02, Alexander Podyakov сказал:

    У нас всё выглядит правильно. Не могли бы вы прислать скриншот, если ошибка сохраняется?

    Peek 2019-07-23 13-00.gif

    Судя по стрелке с раскрытием, вы смотрите в /apps.

    Проверьте в /dashboard, там разворачивается по ссылке "еще разделы". 

  8. 21 минуту назад, Илья Картавенко сказал:

    Если вы перенесли куда-то эту папку с BR диска, переименуйте ее. Уберите"_"

    Попробовал, но вроде опять остановился.

    Можно было бы пробовать удалить ее или без !, но роутер просто висит, изредка разрешает что либо сделать. Хоть бы приоритет интерфейсу оставили...

  9. Заметил неприятную тенденцию. Раньше KDNS при отключении белого адреса автоматом переходил на облако. В 3+ прошивках такого не наблюдается, доступ пропадает полностью.

  10. kn1910 3.00.B.1.0-0

    Любые сервисы получают доступ к разделам usb диска (механического) только чтение.

    ФС ext3.

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

     

    ~ # chmod ugo+rwx /tmp/mnt/disk/
    chmod: /tmp/mnt/disk/: Read-only file system
     

    ~ # sudo mount -o remount,rw
    /dev/root on / type squashfs (ro,relatime)
    tmpfs on /dev type tmpfs (rw,nosuid,noexec,relatime)
    none on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600,ptmxmode=000)
    proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
    tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
    sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
    /dev/mtdblock/5 on /storage type jffs2 (rw,nosuid,relatime)
    none on /sys/kernel/debug type debugfs (rw,nosuid,noexec,relatime)
    /dev/sda1 on /tmp/mnt/90f8191b-9598-6bcb-d528-0e31f9fd0dfb type ext3 (rw,noatime,errors=remount-ro,data=ordered)
    /dev/sda1 on /opt type ext3 (rw,noatime,errors=remount-ro,data=ordered)
    /dev/sda5 on /tmp/mnt/d07d1755-aaf2-f355-2930-476fda6321c9 type ext3 (ro,nosuid,noexec,noatime,errors=remount-ro,data=ordered)

     

    Что можно попробовать без форматирования дисков?
     

  11. В K3 не работает usb модем когда подключаю через хаб его жесткий диск. Хаб с доп питанием, питание подключено, на плате хаба вижу что питание с usb порта роутера напрямую разведено к разъему внешнего питания и питанию внешних портов. Отладку прилагаю.

    До этого стоял омни с такой же конфигурацией usb устройств - все работало, но похожие симптомы были при отключении внешнего питания хаба, а сейчас питание подключено.

  12. В 08.03.2018 в 15:36, Le ecureuil сказал:

    Сейчас занимаюсь модемами, нужно и ваш случай рассмотреть.

    Есть небольшое уточнение: статус подключения на странице #broadband.globals всегда подключен, даже есть доступ к интернет, стоит зайти на страницу #dashboard.status состояние сначала: доступ в интернет, потом проверка обновлений пишет: Отсутствует подключение и следом "сереет" модем: Нет доступа в Интернет. В тоже время на вкладке #broadband.globals модем Подключен и есть доступ в интернет.

    Вкладки #tools.components и #usb.keendns интернета тоже не видят.

  13. В 16.03.2018 в 23:25, r13 сказал:

    Открыто конечно, это же обычный dns

    Интересно, когда провайдер не видит dns запросы. 

    Ну тогда компонент необходимость теряет, если можно откл dns провайдеров и забить вручную в интернет-прочее.

    Скрытый текст
    "По умолчанию"
    Используйте эти адреса для блокировки рекламы, трекинга и фишинга
    176.103.130.130
    176.103.130.131
    Или используйте IPv6 адреса
    2a00:5a60::ad1:0ff
    2a00:5a60::ad2:0ff
    "Семейный"
    "По умолчанию" + блокировка взрослых сайтов + безопасный поиск
    176.103.130.132
    176.103.130.134
    Или используйте IPv6 адреса
    2a00:5a60::bad1:0ff
    2a00:5a60::bad2:0ff

     

  14. В 08.03.2018 в 15:36, Le ecureuil сказал:

    @Дмитрий точную модель модема, его аппаратную ревизию (эти две вещи можно узнать на этикетке под крышкой, только в скрытом посте), версию HiLink-ПО и версию WebUI-dashboard (это из Web Hilink можно увидеть) сообщите пожалуйста. Сейчас занимаюсь модемами, нужно и ваш случай рассмотреть.

    Ради благого дела слажу на чердак :)

    Сейчас вкл режим отладки при включении ПК пока интернет работал и полез в инет, подключение cdc стало "подключено без ip адреса" - как-тотак. Селф тест скинул.

×
×
  • Create New...