Перейти к содержимому
Калькуляторы

Anohimer

Пользователи
  • Публикации

    6
  • Зарегистрирован

  • Посещение

О Anohimer

  • Звание
    Абитуриент
  1. accel pptpd

    Всё поехало! Спасибо! Сейчас только вот такое выводит, но собирается нормально. Scanning dependencies of target log_file [ 88%] Building C object accel-pptpd/logs/CMakeFiles/log_file.dir/log_file.c.o /root/src/accel-pptp/accel-pptp/accel-pptpd/logs/log_file.c: In function ‘ev_ppp_authorized’: /root/src/accel-pptp/accel-pptp/accel-pptpd/logs/log_file.c:503: warning: implicit declaration of function ‘mkdir’
  2. accel pptpd

    Чот не собирается... Initialized empty Git repository in /root/src/accel-pptp/accel-pptp/.git/ remote: Counting objects: 2874, done. remote: Compressing objects: 100% (1967/1967), done. remote: Total 2874 (delta 1917), reused 1302 (delta 830) Receiving objects: 100% (2874/2874), 1.58 MiB | 598 KiB/s, done. Resolving deltas: 100% (1917/1917), done. -- The C compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Looking for MD5_Init in crypto -- Looking for MD5_Init in crypto - found -- Looking for timerfd_create -- Looking for timerfd_create - found -- Configuring done -- Generating done -- Build files have been written to: /root/src/accel-pptp/accel-pptp/build Scanning dependencies of target triton [ 1%] Building C object accel-pptpd/triton/CMakeFiles/triton.dir/md.c.o [ 3%] Building C object accel-pptpd/triton/CMakeFiles/triton.dir/timer.c.o [ 5%] Building C object accel-pptpd/triton/CMakeFiles/triton.dir/triton.c.o [ 6%] Building C object accel-pptpd/triton/CMakeFiles/triton.dir/conf_file.c.o [ 8%] Building C object accel-pptpd/triton/CMakeFiles/triton.dir/loader.c.o [ 10%] Building C object accel-pptpd/triton/CMakeFiles/triton.dir/log.c.o [ 11%] Building C object accel-pptpd/triton/CMakeFiles/triton.dir/mempool.c.o /root/src/accel-pptp/accel-pptp/accel-pptpd/triton/mempool.c: In function ‘mempool_alloc_md’: /root/src/accel-pptp/accel-pptp/accel-pptpd/triton/mempool.c:168: error: ‘struct _item_t’ has no member named ‘timestamp’ make[2]: *** [accel-pptpd/triton/CMakeFiles/triton.dir/mempool.c.o] Ошибка 1 make[1]: *** [accel-pptpd/triton/CMakeFiles/triton.dir/all] Ошибка 2 make: *** [all] Ошибка 2 [ 1%] Building C object accel-pptpd/triton/CMakeFiles/triton.dir/mempool.c.o /root/src/accel-pptp/accel-pptp/accel-pptpd/triton/mempool.c: In function ‘mempool_alloc_md’: /root/src/accel-pptp/accel-pptp/accel-pptpd/triton/mempool.c:168: error: ‘struct _item_t’ has no member named ‘timestamp’ make[2]: *** [accel-pptpd/triton/CMakeFiles/triton.dir/mempool.c.o] Ошибка 1 make[1]: *** [accel-pptpd/triton/CMakeFiles/triton.dir/all] Ошибка 2 make: *** [all] Ошибка 2 Linux obs 2.6.35-24-server #42-Ubuntu SMP Thu Dec 2 03:58:11 UTC 2010 x86_64 GNU/Linux Путь к хедерам верный.
  3. accel pptpd

    Спасибо большое! :)
  4. accel pptpd

    Что-то не могу разобраться что за фигня... Скачиваю из гит последнюю версию # git clone git://accel-pptp.git.sourceforge.net/gitroot/accel-pptp/accel-pptp Initialized empty Git repository in /root/src/accel-pptp/accel-pptp/.git/ remote: Counting objects: 2670, done. remote: Compressing objects: 100% (1764/1764), done. remote: Total 2670 (delta 1761), reused 1302 (delta 830) Receiving objects: 100% (2670/2670), 1.56 MiB | 548 KiB/s, done. Resolving deltas: 100% (1761/1761), done. Затем как написано в ридми: # cmake -DBUILD_DRIVER=TRUE -DKDIR=/usr/src/linux -DCMAKE_INSTALL_PREFIX=/ -- The C compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Looking for MD5_Init in crypto -- Looking for MD5_Init in crypto - found -- Looking for timerfd_create -- Looking for timerfd_create - found -- Configuring done -- Generating done -- Build files have been written to: /root/src/accel-pptp/accel-pptp Потом: # make Scanning dependencies of target triton [ 1%] Building C object accel-pptpd/triton/CMakeFiles/triton.dir/md.c.o [ 3%] Building C object accel-pptpd/triton/CMakeFiles/triton.dir/timer.c.o [ 5%] Building C object accel-pptpd/triton/CMakeFiles/triton.dir/triton.c.o [ 7%] Building C object accel-pptpd/triton/CMakeFiles/triton.dir/conf_file.c.o [ 8%] Building C object accel-pptpd/triton/CMakeFiles/triton.dir/loader.c.o [ 10%] Building C object accel-pptpd/triton/CMakeFiles/triton.dir/log.c.o [ 12%] Building C object accel-pptpd/triton/CMakeFiles/triton.dir/mempool.c.o [ 14%] Building C object accel-pptpd/triton/CMakeFiles/triton.dir/event.c.o Linking C shared library libtriton.so [ 14%] Built target triton Scanning dependencies of target accel-pptpd [ 15%] Building C object accel-pptpd/CMakeFiles/accel-pptpd.dir/ppp/ppp.c.o [ 17%] Building C object accel-pptpd/CMakeFiles/accel-pptpd.dir/ppp/ppp_fsm.c.o [ 19%] Building C object accel-pptpd/CMakeFiles/accel-pptpd.dir/ppp/ppp_lcp.c.o [ 21%] Building C object accel-pptpd/CMakeFiles/accel-pptpd.dir/ppp/lcp_opt_mru.c.o [ 22%] Building C object accel-pptpd/CMakeFiles/accel-pptpd.dir/ppp/lcp_opt_magic.c.o [ 24%] Building C object accel-pptpd/CMakeFiles/accel-pptpd.dir/ppp/lcp_opt_pcomp.c.o [ 26%] Building C object accel-pptpd/CMakeFiles/accel-pptpd.dir/ppp/lcp_opt_accomp.c.o [ 28%] Building C object accel-pptpd/CMakeFiles/accel-pptpd.dir/ppp/ppp_auth.c.o [ 29%] Building C object accel-pptpd/CMakeFiles/accel-pptpd.dir/ppp/ppp_ipcp.c.o [ 31%] Building C object accel-pptpd/CMakeFiles/accel-pptpd.dir/ppp/ipcp_opt_ipaddr.c.o [ 33%] Building C object accel-pptpd/CMakeFiles/accel-pptpd.dir/ppp/ipcp_opt_dns.c.o [ 35%] Building C object accel-pptpd/CMakeFiles/accel-pptpd.dir/ppp/ppp_ccp.c.o [ 36%] Building C object accel-pptpd/CMakeFiles/accel-pptpd.dir/ppp/ccp_mppe.c.o [ 38%] Building C object accel-pptpd/CMakeFiles/accel-pptpd.dir/cli/std_cmd.c.o [ 40%] Building C object accel-pptpd/CMakeFiles/accel-pptpd.dir/cli/telnet.c.o [ 42%] Building C object accel-pptpd/CMakeFiles/accel-pptpd.dir/cli/tcp.c.o [ 43%] Building C object accel-pptpd/CMakeFiles/accel-pptpd.dir/cli/cli.c.o [ 45%] Building C object accel-pptpd/CMakeFiles/accel-pptpd.dir/pwdb.c.o [ 47%] Building C object accel-pptpd/CMakeFiles/accel-pptpd.dir/ipdb.c.o [ 49%] Building C object accel-pptpd/CMakeFiles/accel-pptpd.dir/iprange.c.o [ 50%] Building C object accel-pptpd/CMakeFiles/accel-pptpd.dir/utils.c.o [ 52%] Building C object accel-pptpd/CMakeFiles/accel-pptpd.dir/log.c.o [ 54%] Building C object accel-pptpd/CMakeFiles/accel-pptpd.dir/main.c.o [ 56%] Building C object accel-pptpd/CMakeFiles/accel-pptpd.dir/memdebug.c.o Linking C executable accel-pptpd [ 56%] Built target accel-pptpd Scanning dependencies of target radius [ 57%] Building C object accel-pptpd/radius/CMakeFiles/radius.dir/dict.c.o [ 59%] Building C object accel-pptpd/radius/CMakeFiles/radius.dir/req.c.o [ 61%] Building C object accel-pptpd/radius/CMakeFiles/radius.dir/packet.c.o [ 63%] Building C object accel-pptpd/radius/CMakeFiles/radius.dir/auth.c.o [ 64%] Building C object accel-pptpd/radius/CMakeFiles/radius.dir/acct.c.o [ 66%] Building C object accel-pptpd/radius/CMakeFiles/radius.dir/dm_coa.c.o [ 68%] Building C object accel-pptpd/radius/CMakeFiles/radius.dir/radius.c.o Linking C shared library libradius.so [ 68%] Built target radius Scanning dependencies of target pptp [ 70%] Building C object accel-pptpd/ctrl/pptp/CMakeFiles/pptp.dir/pptp.c.o Linking C shared library libpptp.so [ 70%] Built target pptp Scanning dependencies of target pppoe [ 71%] Building C object accel-pptpd/ctrl/pppoe/CMakeFiles/pppoe.dir/pppoe.c.o [ 73%] Building C object accel-pptpd/ctrl/pppoe/CMakeFiles/pppoe.dir/mac_filter.c.o [ 75%] Building C object accel-pptpd/ctrl/pppoe/CMakeFiles/pppoe.dir/cli.c.o Linking C shared library libpppoe.so [ 75%] Built target pppoe Scanning dependencies of target l2tp [ 77%] Building C object accel-pptpd/ctrl/l2tp/CMakeFiles/l2tp.dir/l2tp.c.o [ 78%] Building C object accel-pptpd/ctrl/l2tp/CMakeFiles/l2tp.dir/dict.c.o [ 80%] Building C object accel-pptpd/ctrl/l2tp/CMakeFiles/l2tp.dir/packet.c.o Linking C shared library libl2tp.so [ 80%] Built target l2tp Scanning dependencies of target auth_chap_md5 [ 82%] Building C object accel-pptpd/auth/CMakeFiles/auth_chap_md5.dir/auth_chap_md5.c.o Linking C shared library libauth_chap_md5.so [ 82%] Built target auth_chap_md5 Scanning dependencies of target auth_mschap_v1 [ 84%] Building C object accel-pptpd/auth/CMakeFiles/auth_mschap_v1.dir/auth_mschap_v1.c.o Linking C shared library libauth_mschap_v1.so [ 84%] Built target auth_mschap_v1 Scanning dependencies of target auth_mschap_v2 [ 85%] Building C object accel-pptpd/auth/CMakeFiles/auth_mschap_v2.dir/auth_mschap_v2.c.o Linking C shared library libauth_mschap_v2.so [ 85%] Built target auth_mschap_v2 Scanning dependencies of target auth_pap [ 87%] Building C object accel-pptpd/auth/CMakeFiles/auth_pap.dir/auth_pap.c.o Linking C shared library libauth_pap.so [ 87%] Built target auth_pap Scanning dependencies of target log_file [ 89%] Building C object accel-pptpd/logs/CMakeFiles/log_file.dir/log_file.c.o /root/src/accel-pptp/accel-pptp/accel-pptpd/logs/log_file.c: In function ‘ev_ppp_authorized’: /root/src/accel-pptp/accel-pptp/accel-pptpd/logs/log_file.c:503: warning: implicit declaration of function ‘mkdir’ Linking C shared library liblog_file.so [ 89%] Built target log_file Scanning dependencies of target log_tcp [ 91%] Building C object accel-pptpd/logs/CMakeFiles/log_tcp.dir/log_tcp.c.o Linking C shared library liblog_tcp.so [ 91%] Built target log_tcp Scanning dependencies of target chap-secrets [ 92%] Building C object accel-pptpd/extra/CMakeFiles/chap-secrets.dir/chap-secrets.c.o Linking C shared library libchap-secrets.so [ 92%] Built target chap-secrets Scanning dependencies of target ippool [ 94%] Building C object accel-pptpd/extra/CMakeFiles/ippool.dir/ippool.c.o Linking C shared library libippool.so [ 94%] Built target ippool Scanning dependencies of target pppd_compat [ 96%] Building C object accel-pptpd/extra/CMakeFiles/pppd_compat.dir/pppd_compat.c.o Linking C shared library libpppd_compat.so [ 96%] Built target pppd_compat Scanning dependencies of target sigchld [ 98%] Building C object accel-pptpd/extra/CMakeFiles/sigchld.dir/sigchld.c.o Linking C shared library libsigchld.so [ 98%] Built target sigchld Scanning dependencies of target pptp_drv [ 98%] Generating driver/pptp.ko [100%] Built target pptp_drv Затем:# make [ 14%] Built target triton [ 56%] Built target accel-pptpd [ 68%] Built target radius [ 70%] Built target pptp [ 75%] Built target pppoe [ 80%] Built target l2tp [ 82%] Built target auth_chap_md5 [ 84%] Built target auth_mschap_v1 [ 85%] Built target auth_mschap_v2 [ 87%] Built target auth_pap [ 89%] Built target log_file [ 91%] Built target log_tcp [ 92%] Built target chap-secrets [ 94%] Built target ippool [ 96%] Built target pppd_compat [ 98%] Built target sigchld [ 98%] Generating driver/pptp.ko [100%] Built target pptp_drv И под конец: # make install [ 14%] Built target triton [ 56%] Built target accel-pptpd [ 68%] Built target radius [ 70%] Built target pptp [ 75%] Built target pppoe [ 80%] Built target l2tp [ 82%] Built target auth_chap_md5 [ 84%] Built target auth_mschap_v1 [ 85%] Built target auth_mschap_v2 [ 87%] Built target auth_pap [ 89%] Built target log_file [ 91%] Built target log_tcp [ 92%] Built target chap-secrets [ 94%] Built target ippool [ 96%] Built target pppd_compat [ 98%] Built target sigchld [ 98%] Generating driver/pptp.ko [100%] Built target pptp_drv Install the project... -- Install configuration: "" -- Installing: /usr/sbin/accel-pptpd -- Set runtime path of "/usr/sbin/accel-pptpd" to "//usr/lib/accel-pptp" -- Installing: /etc/accel-pptp.conf.dist -- Installing: /usr/share/man/man5/accel-pptp.conf.5 -- Installing: /usr/lib/accel-pptp/libradius.so -- Installing: /usr/share/accel-pptp/radius/dictionary.cisco -- Installing: /usr/share/accel-pptp/radius/dictionary.rfc3580 -- Installing: /usr/share/accel-pptp/radius/dictionary.rfc2868 -- Installing: /usr/share/accel-pptp/radius/dictionary.rfc2869 -- Installing: /usr/share/accel-pptp/radius/dictionary.rfc2867 -- Installing: /usr/share/accel-pptp/radius/dictionary.rfc4675 -- Installing: /usr/share/accel-pptp/radius/dictionary.rfc3576 -- Installing: /usr/share/accel-pptp/radius/dictionary.rfc5176 -- Installing: /usr/share/accel-pptp/radius/dictionary.microsoft -- Installing: /usr/share/accel-pptp/radius/dictionary.rfc4072 -- Installing: /usr/share/accel-pptp/radius/dictionary.rfc4679 -- Installing: /usr/share/accel-pptp/radius/dictionary.rfc4818 -- Installing: /usr/share/accel-pptp/radius/dictionary.rfc2866 -- Installing: /usr/share/accel-pptp/radius/dictionary.rfc4372 -- Installing: /usr/share/accel-pptp/radius/dictionary.rfc4849 -- Installing: /usr/share/accel-pptp/radius/dictionary -- Installing: /usr/share/accel-pptp/radius/dictionary.rfc2865 -- Installing: /usr/lib/accel-pptp/libtriton.so -- Installing: /usr/lib/accel-pptp/libpptp.so -- Installing: /usr/lib/accel-pptp/libpppoe.so -- Installing: /usr/lib/accel-pptp/libl2tp.so -- Installing: /usr/share/accel-pptp/l2tp/dictionary.rfc3931 -- Installing: /usr/share/accel-pptp/l2tp/dictionary.rfc2661 -- Installing: /usr/share/accel-pptp/l2tp/dictionary -- Installing: /usr/lib/accel-pptp/libauth_pap.so -- Installing: /usr/lib/accel-pptp/libauth_chap_md5.so -- Installing: /usr/lib/accel-pptp/libauth_mschap_v1.so -- Installing: /usr/lib/accel-pptp/libauth_mschap_v2.so -- Installing: /usr/lib/accel-pptp/liblog_file.so -- Installing: /usr/lib/accel-pptp/liblog_tcp.so -- Installing: /usr/lib/accel-pptp/libpppd_compat.so -- Installing: /usr/lib/accel-pptp/libippool.so -- Installing: /usr/lib/accel-pptp/libsigchld.so -- Installing: /usr/lib/accel-pptp/libchap-secrets.so Потом запускаю depmod Т.е. вроде как всё хорошо. Но # modprobe pptp FATAL: Module pptp not found. т.е. либо модуль не собрался, либо я чего-то не понимаю. Подскажите куда копнуть? PS: Ubuntu 10.10 uname -a Linux obs 2.6.37-020637rc2-generic #201011160905 SMP Tue Nov 16 09:08:47 UTC 2010 x86_64 GNU/Linux
  5. После неудачной прошивки загнулся оптокоммутатор Planet FSGW-2624SF (v2), ищу для него оригинальную прошивку v1.08. Если у кого есть - вышлите пожалуйста на anohimer@gmail.com
  6. Был один узел на чердаке - открыто весел коммутатор, постоянно зимой глючил. Сделали небольшой бокс из монтажной пены: обмотнули устройство цалофаном, разместили в небольшой коробке картонной и залили пеной, после засыхания аккуратно разрезили, подкорректировали место под провода. Остаток зимы без зависаний. Тоже самое можно сделать из пенопласта. :)