Page 4 of 5 FirstFirst ... 2345 LastLast
Results 46 to 60 of 64

Thread: Установка svn на Asus WL-500g Premium

  1. #46

    Post

    Может ктонить объяснить как там выполнить пункт "8. Устанавливаем автозапуск при старте роутера."?
    Что то ничего немогу понять с "[admin@mev root]$ cat /opt/etc/init.d/S66svn "
    фуф... наконецто разобрался... изначальный амнуальчик слишком уж краткий... там нету некоторых особенностей...
    Last edited by Omega; 11-09-2011 at 17:24. Reason: fixed

  2. #47
    Не выходит! делал по инструкции
    http://chenado.net/2008/04/23/ustano...asus-wl-500gp/

    Просто, как есть скопировал настройки. В итоге под mev вхожу (нормально работает, полный доступ),
    а под test и test2 пишет "Authorization failed"

    Пробовал заходить и svn://192.168.1.1/svn и svn://192.168.1.1/svn/project1
    В чем проблема?

    Снес и сделал снова - вышло!
    Last edited by Omega; 11-09-2011 at 17:28. Reason: fixed

  3. #48
    Quote Originally Posted by OtStoyNick View Post
    Не получается никак.
    делал по инструкции http://chenado.net/2008/04/23/ustano...asus-wl-500gp/

    Снес и сделал снова - вышло!
    В мануале была небольшая неточность. Сейчас подправил.

  4. #49

    SVN-клиент на роутере

    Добрый день.

    У меня при попытке скачать либо обновить дерево из svn выдается следующее ругательство:

    svn: Can't read directory '.': Operation now in progress

    создает папки .svn с подпапками, далее вылетает и ничего не делает.

    Это можно как-то победить?

  5. #50
    Join Date
    Mar 2009
    Location
    Russia, Moscow
    Posts
    2,119
    Blog Entries
    33
    Last edited by Omega; 11-09-2011 at 17:35. Reason: fixed

  6. #51
    Join Date
    Feb 2007
    Location
    Moscow, Russia
    Posts
    3,805
    Quote Originally Posted by Omega View Post
    Поиск по тэгу svn поможет
    от себя могу подтвердить, что svn на роутере работает именно так. Т.е. не работает с такими симптомами. Зато работает svnserve.

    Omega, если действительно встречал решение --- дай, пожалуйста, ссылку.

  7. #52
    Quote Originally Posted by al37919 View Post
    от себя могу подтвердить, что svn на роутере работает именно так. Т.е. не работает с такими симптомами. Зато работает svnserve.

    Omega, если действительно встречал решение --- дай, пожалуйста, ссылку.
    А svnserve как можно использовать для этих целей, если, конечно, можно. Я просто не специалист в svn.

  8. #53
    Join Date
    Feb 2007
    Location
    Moscow, Russia
    Posts
    3,805
    svn --- клиент, svnserve --- сервер. Так что никак.

  9. #54
    Quote Originally Posted by al37919 View Post
    svn --- клиент, svnserve --- сервер. Так что никак.
    Ну я так и подумал изначально. Просто там параметры типа tunnel меня смутили.

    А может есть аналог svn?

  10. #55
    Join Date
    Nov 2006
    Location
    Russia, Moscow
    Posts
    3,640
    Quote Originally Posted by therox View Post
    Это можно как-то победить?
    Зависит от желания и умений. Во-первых, нужно посмотреть strace'ом - вдруг клиент хочет записать в /var/_куда_то_там или в home/.svn , а этого каталога просто нет... Ну а если это не поможет - только смотреть в код.

  11. #56
    Quote Originally Posted by ghost_ufa View Post
    Прежде чем понять - надо руками потрогать, а вот с этим-то и проблема имеется. Еще раз - optware-devel уже стоит и даже успешно заюзан, но если я хочу не собирать (например) mysql с нуля, а сначала поглядеть как он собирается в составе пакетов - то мне нужны сорцы из SVN. Что к настоящему моменту уже успешно решено

    Всем спасибо - вопрос снят.
    А как решено? Такая же проблема.

  12. #57

    Angry svn, Network connection closed unexpectedly

    Пытаюсь поставить svn сервер на wl-500gP.
    Делал все по этой инструкции, предварительно сделав ipkg update.

    Потом
    Code:
    ipkg install svn
    Svn пакет стал. svn - 1.6.5-1 - a compelling replacement for CVS

    Создал репозитарий:
    Code:
    svnadmin create /mnt/sambafiles/svnrep
    В появившейся директории настроил доступ, пользователей:

    svnrep/conf/authz:
    Code:
    [aliases]
    # joe = /C=XZ/ST=Dessert/L=Snake City/O=Snake Oil, Ltd./OU=Research Institute/CN=Joe Average
    
    [groups]
    # harry_and_sally = harry,sally
    # harry_sally_and_joe = harry,sally,&joe
    admins = root
    
    [/]
    @admins = rw
    * =
    
    # [/foo/bar]
    # harry = rw
    # &joe = r
    # * =
    
    # [repository:/baz/fuz]
    # @harry_and_sally = rw
    # * = r
    svnrep/conf/passwd:
    Code:
    [users]
    root = root
    svnrep/conf/svnserve.conf:
    Code:
    [general]
    ### These options control access to the repository for unauthenticated
    ### and authenticated users.  Valid values are "write", "read",
    ### and "none".  The sample settings below are the defaults.
    anon-access = none
    auth-access = write
    password-db = passwd
    authz-db = authz
    realm = My First Repository
    запускаю:
    Code:
    /opt/bin/svnserve -d -r /mnt/sambafiles/svnrep/ --log-file=/opt/var/log/svn.log
    Затем разными клиентами пытаюсь открыть репозиторий:

    subclipse (JavaHL(JNI) 1.6.5)
    TortoisSVN 1.6.5

    Code:
    svn://192.168.1.1/
    В ответ в обоих клиентах получаю сообщение
    Network connection closed unexpectedly

    пробую subclipse(SVNKit 1.3.0 Pure Java)
    пишет svn: Malformed network data

    До svnserve мои попытки до него достучаться доходят, потому что в лог он что-то пишет:
    Code:
    268 2009-09-24T21:48:13.739348Z 192.168.1.31 root svnrep open 2 cap=(edit-pipeline svndiff1 absent-entries depth mergeinfo log-revprops) / SVN/1.6.5%20(r38866) -
    268 2009-09-24T21:48:13.747002Z 192.168.1.31 root svnrep get-latest-rev
    268 2009-09-24T21:48:13.750149Z 192.168.1.31 root svnrep reparent /
    268 2009-09-24T21:48:13.752577Z 192.168.1.31 root svnrep stat /@0
    273 2009-09-24T21:49:28.676543Z 192.168.1.31 root svnrep open 2 cap=(edit-pipeline svndiff1 absent-entries depth mergeinfo log-revprops) /.project SVN/1.6.5%20(r38866) -
    273 2009-09-24T21:49:28.736725Z 192.168.1.31 root svnrep get-latest-rev
    273 2009-09-24T21:49:28.739345Z 192.168.1.31 root svnrep reparent /.project
    273 2009-09-24T21:49:28.741783Z 192.168.1.31 root svnrep check-path /.project@0
    273 2009-09-24T21:49:28.748514Z 192.168.1.31 root svnrep get-file /.project r0 props
    276 2009-09-24T21:49:36.243588Z 192.168.1.31 root svnrep open 2 cap=(edit-pipeline svndiff1 absent-entries depth mergeinfo log-revprops) / SVN/1.6.5%20(r38866) -
    276 2009-09-24T21:49:36.251250Z 192.168.1.31 root svnrep get-latest-rev
    276 2009-09-24T21:49:36.256708Z 192.168.1.31 root svnrep reparent /
    276 2009-09-24T21:49:36.259988Z 192.168.1.31 root svnrep check-path /@0
    276 2009-09-24T21:49:36.264567Z 192.168.1.31 root svnrep get-dir / r0 props
    279 2009-09-24T21:49:38.372107Z 192.168.1.31 root svnrep open 2 cap=(edit-pipeline svndiff1 absent-entries depth mergeinfo log-revprops) / SVN/1.6.5%20(r38866) -
    279 2009-09-24T21:49:38.385703Z 192.168.1.31 root svnrep get-latest-rev
    279 2009-09-24T21:49:38.388930Z 192.168.1.31 root svnrep reparent /
    279 2009-09-24T21:49:38.392225Z 192.168.1.31 root svnrep get-latest-rev
    279 2009-09-24T21:49:38.395847Z 192.168.1.31 root svnrep log (/) r0:0 limit=26 discover-changed-paths revprops=(svn:author svn:date svn:log)
    282 2009-09-24T21:49:55.289215Z 192.168.1.31 root svnrep open 2 cap=(edit-pipeline svndiff1 absent-entries depth mergeinfo log-revprops) / SVN/1.6.5%20(r38866) -
    282 2009-09-24T21:49:55.296832Z 192.168.1.31 root svnrep get-latest-rev
    282 2009-09-24T21:49:55.299886Z 192.168.1.31 root svnrep reparent /
    282 2009-09-24T21:49:55.303890Z 192.168.1.31 root svnrep stat /@0
    285 2009-09-24T21:50:07.973229Z 192.168.1.31 root svnrep open 2 cap=(edit-pipeline svndiff1 absent-entries depth mergeinfo log-revprops) / SVN/1.6.5%20(r38866) -
    285 2009-09-24T21:50:07.980792Z 192.168.1.31 root svnrep get-latest-rev
    285 2009-09-24T21:50:07.984217Z 192.168.1.31 root svnrep reparent /
    285 2009-09-24T21:50:07.988920Z 192.168.1.31 root svnrep stat /@0
    289 2009-09-24T21:52:22.962070Z 192.168.1.31 root svnrep open 2 cap=(edit-pipeline svndiff1 absent-entries depth mergeinfo log-revprops) / - -
    289 2009-09-24T21:52:22.970613Z 192.168.1.31 root svnrep get-latest-rev
    289 2009-09-24T21:52:22.974494Z 192.168.1.31 root svnrep stat /@0
    292 2009-09-24T21:57:02.345341Z 192.168.1.31 root svnrep open 2 cap=(edit-pipeline svndiff1 absent-entries depth mergeinfo log-revprops) / SVN/1.6.5%20(r38866) -
    292 2009-09-24T21:57:02.352986Z 192.168.1.31 root svnrep get-latest-rev
    292 2009-09-24T21:57:02.356060Z 192.168.1.31 root svnrep reparent /
    292 2009-09-24T21:57:02.358708Z 192.168.1.31 root svnrep stat /@0
    295 2009-09-24T21:57:04.405883Z 192.168.1.31 root svnrep open 2 cap=(edit-pipeline svndiff1 absent-entries depth mergeinfo log-revprops) / SVN/1.6.5%20(r38866) -
    295 2009-09-24T21:57:04.413301Z 192.168.1.31 root svnrep get-latest-rev
    295 2009-09-24T21:57:04.416475Z 192.168.1.31 root svnrep reparent /
    295 2009-09-24T21:57:04.419000Z 192.168.1.31 root svnrep stat /@0
    Что я делаю не так?

    Весь день сегодня убил на это..

    Гугл выдает кучу сообщений по запросу
    Network connection closed unexpectedly
    но все они как-то не по моей теме и касаются более старых версий svn (1.5, 1.4)
    Также было упоминание про наличие "mesg y" в .bashrc. Но в баше я не силен, да и он на моем рутере не стоит. А нужен ли?

    Заранее спасибо

  13. #58
    еще заметил, что
    netstat -n|grep 3690
    ничего не находит

    Проблема разрешилась обновлением зависимых пакетов svn-а
    Last edited by Omega; 11-09-2011 at 17:30. Reason: fixed

  14. #59
    Подозреваю, что дело в отсутствии или некорректной версии какого-то пакета, т.к. у меня тоже такое было, но потом вдруг заработало.

    Вот мой список установленных пакетов:
    Code:
    apr - 1.3.8-1 - Apache Portable Runtime library
    apr-util - 1.3.9-1 - Apache Portable Runtime utilities library
    autoconf - 2.63-1 - Creating scripts to configure source code packages using templates
    automake - 1.10-2 - Creates GNU standards-compliant Makefiles from template files
    bash - 3.2.49-1 - A bourne style shell
    bison - 2.4.1-1 - a general-purpose parser generator that converts an annotated context-free grammar into an LALR(1) or GLR parser for that gramm
    buildroot - 4.1.1-13 - uClibc compilation toolchain
    bzip2 - 1.0.5-1 - Very high-quality data compression program
    coreutils - 7.5-1 - Bunch of heavyweight *nix core utilities
    cyrus-sasl-libs - 2.1.22-2 - Provides client or server side authentication (see RFC 2222).
    diffutils - 2.8.1-6 - contains gnu diff, cmp, sdiff and diff3 to display differences between and among text files
    e2fslibs - 1.41.9-1 - Ext2 Filesystem Libraries
    expat - 2.0.1-1 - XML Parser library
    file - 5.03-1 - Ubiquitous file identification utility.
    findutils - 4.2.32-1 - File finding utilities
    flex - 2.5.35-1 - Generates programs that perform pattern-matching on text.
    gawk - 3.1.7-1 - Gnu AWK interpreter
    gdbm - 1.8.3-2 - GNU dbm is a set of database routines that use extensible hashing. It works similar to the standard UNIX dbm routines.
    glib - 2.20.4-1 - The GLib library of C routines.
    grep - 2.5.3-1 - Global regular expression parser
    groff - 1.19.2-2 - front-end for the groff document formatting system
    gzip - 1.2.4a-3 - GNU Zip data compression program
    ipkg-opt - 0.99.163-10 - The Itsy Package Manager
    libcurl - 7.19.6-1 - Curl is a command line tool for transferring files with URL syntax, supporting FTP, FTPS, HTTP, HTTPS, GOPHER, TELNET, DICT, FI
    libcurl-dev - 7.19.6-1 - Development files for libcurl
    libdb - 4.2.52-3 - Berkeley DB Libraries
    libidn - 1.14-1 - GNU Libidn is an implementation of the Stringprep, Punycode and IDNA specifications defined by the IETF Internationalized Domai
    libsigc++ - 2.2.3-1 - libsigc++ implements a typesafe callback system for standard C++.
    libtool - 1.5.26-1 - Library tools.
    libtorrent - 0.12.5-2 - libtorrent is a BitTorrent library with a focus on high performance and good code.
    libuclibc++ - 0.2.2-8 - C++ standard library designed for use in embedded systems
    libxml2 - 2.7.5-1 - Libxml2 is the XML C parser and toolkit developed for the Gnome project.
    m4 - 1.4.13-1 - gnu macro processor and compiler front end
    make - 3.81-2 - examines files and runs commands necessary for compilation
    mc - 4.6.2-1 - Midnight Commander File Manager
    ncurses - 5.7-1 - NCurses libraries
    ncursesw - 5.7-1 - NCurses libraries with wide char support.
    neon - 0.28.4-1 - an HTTP and WebDAV client library, with a C interface
    openldap-libs - 2.3.43-1 - Open Lightweight Directory Access Protocol
    openssl - 0.9.7m-5 - Openssl provides the ssl implementation in libraries libcrypto and libssl, and is needed by many other applications and librari
    openssl-dev - 0.9.7m-5 - openssl native development files
    patch - 2.5.9-3 - applies a diff to produce a patched file
    pcre - 7.9-1 - Perl-compatible regular expression library
    perl - 5.8.8-20 - Practical Extraction and Report Language.
    pkgconfig - 0.15.0-1 - Package configuration tool
    python25 - 2.5.4-2 - Python is an interpreted, interactive, object-oriented programming language.
    readline - 6.0-1 - The GNU Readline library provides a set of functions for use by applications that allow users to edit command lines as they are
    rsync - 3.0.6-1 - fast remote file copy program (like rcp)
    sed - 4.2.1-1 - Stream editor.
    slang - 2.1.4-1 - S-Lang is a multi-platform library designed to allow a developer to create robust multi-platform software.
    sqlite - 3.6.18-1 - SQLite is a small C library that implements a self-contained, embeddable, zero-configuration SQL database engine.
    svn - 1.6.5-1 - a compelling replacement for CVS
    tar - 1.22-2 - heavyweight version of the Tape ARchiver
    uclibc-opt - 0.9.28-13 - micro C library for embedded Linux systems
    wget - 1.12-2 - A network utility to retrieve files from the Web
    zlib - 1.2.3-3 - zlib is a library implementing the 'deflate' compression system.
    Successfully terminated.

  15. #60
    Quote Originally Posted by al37919 View Post
    Чтобы компилять на роутере ставьте пакет optware-devel После этого --- как привыкли --- качаете исходик && ./configure && make && make install --- и если скомпилится, то сразу попадет на место.
    захотел поставить из исходников прожку. нашел для этого сей рецепт
    заинсталлил optware-devel
    правда с нереальными плясками с бубнами - все ему чето мешал wget хочет неприменно wget-ssl, но последний, в свою очередь не все может качать из зависимостей(((
    в общем, шел по цепочке, то ставя wget-ssl, то простой wget

    ладно, пишу make - мне вот что говорит
    Code:
    # make
    gcc -s -static -Wall -O3    pointer.c   -o pointer
    make: gcc: Command not found
    make: *** [pointer] Error 127
    стал ставить buildroot, про который тут же говорилось - не может его ipkg опять же качать с wget-ssl, котоый в свою очередь нужен devel-y
    скачал руками , заинсталлил в явном виде

    Code:
    wget http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/buildroot_4.1.1-13_mipsel.ipk
    ipkg install buildroot_4.1.1-13_mipsel.ipk
    компилячу свою прожку - make все собрала
    ./configure в нем не потребовалось

    дальше уперся в make install
    Code:
    [admin@ddd nbench-byte-2.2.3]$ make install
    
    make: *** No rule to make target `install'.  Stop.
    как я понял, сборщик не вдуплил в нашу файловую систему с /opt и не понял, куда ему инсталлить бинарник

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

    вопрос
    что за rule to make target??
    чтобы все по честному было?

    надо всего то прописать, чтобы install положил наш продукт куда нить типа /opt/bin или /opt/local/bin...

Page 4 of 5 FirstFirst ... 2345 LastLast

Similar Threads

  1. Низкий уровень сигнала Wi-Fi в ASUS WL-500g Premium
    By marmot in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 226
    Last Post: 18-03-2013, 17:28
  2. Asus WL-500g Premium и шлюз
    By Grig_oriy in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 106
    Last Post: 15-05-2012, 20:43
  3. Как подружить ASUS WL-500g Premium с ADSL модемом ZyXEL P-600?
    By FilimoniC in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 135
    Last Post: 11-03-2012, 07:44
  4. Сборка пакетов под WL-500g Premium
    By angel_il in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 127
    Last Post: 24-11-2011, 12:28
  5. ASUS WL-500g Premium + Maxtor OneTouch IV Plus
    By PowerZzz in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 41
    Last Post: 26-11-2008, 11:16

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •