From: Vasiliy Fedorov <linux@liktv.ru> To: community@altlinux.ru Subject: Re: [Comm] Не работает совсем PPTPD+freeradius Date: Wed, 22 Jun 2005 12:09:18 +0500 Message-ID: <200506221209.18590.linux@liktv.ru> (raw) In-Reply-To: <856010859.20050621153106@lugaport.net> В сообщении от 21 Июнь 2005 17:31 Dank Bagryantsev написал(a): > У Вас в /etc/radiusclient/radiusclient.conf > authserver и acctserver правильны? В radiusclient.conf прописано authserver 127.0.0.1:1812 # RADIUS server to use for accouting requests. All that I # said for authserver applies, too. # acctserver 127.0.0.1:1813 В /etc/raddb/clients.conf: client 127.0.0.1 { secret = secret # shortname = localhost # nastype = other # localhost isn't usually a NAS... } > У Вас же и pptpd и freeradius на одном и том же сервере запущены? > В /etc/raddb/radiusd.conf все правильно? Да, именно так. > Судя по > VF> Jun 20 17:52:58 linuxsrv pppd[11447]: sent [LCP TermReq id=0x2 > "Authentication failed"] я бы искал проблему в связке RADIUS-клиент + > RADIUS-сервер + хранилище паролей. Проблема в связке RADIUS-клиент + RADIUS-сервер, сам RADIUS-сервер нормально работает. > Можно протестировать запросы/ответы RADIUS-сервера linux-утилиткой, > идущей в поставке. > Можно вынести порт RADIUS-сервера наружу и тестировать его с помощью > запросов от каких-нибудь win-утилиток, типа: Это всё работает. Я настроил сейчас NAS (PPTP и PPPoE) на другой машине, т.е. разнес RADIUS-сервер и NAS - всё работает. Вот еще что интересно: я пытаюсь тестировать RADIUS сервер утилитой radlogin. Запускаю её на той же машине что и радиус-сервер: [root@linuxsrv home]# radlogin ($Id: radlogin.c,v 1.1 2002/01/22 16:03:04 dfs Exp $) ----------------------------------------------------- Linux 2.4.26-std-up-alt6 (linuxsrv.liknet) (port 6) ----------------------------------------------------- login: vasa Password: RADIUS: /dev/pts/6 - что означает этот ответ? Если с другой машины тестить, то всё нормально: [root@test root]# radlogin ($Id: radlogin.c,v 1.1 2002/01/22 16:03:04 dfs Exp $) ----------------------------------------------------- Linux 2.4.26-std-up-alt6 (test) (port 2) ----------------------------------------------------- login: vasa Password: RADIUS: Authentication OK This is the dummy login.radius script. If you want that this script does something useful you'll have to replace it. The following RADIUS environment variables are set: RADIUS_FRAMED_IP_ADDRESS=255.255.255.254 RADIUS_FRAMED_IP_NETMASK=255.255.255.0 RADIUS_FRAMED_MTU=1490 RADIUS_FRAMED_PROTOCOL=PPP RADIUS_USER_NAME=vasa Bye, bye. Вобщем где-то что-то (у кого-то) криво... -- С уажением, Василий Федоров.
prev parent reply other threads:[~2005-06-22 7:09 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-06-20 13:07 Vasiliy Fedorov 2005-06-20 13:16 ` Alexander Kuprin 2005-06-21 8:03 ` Re[2]: " Dank Bagryantsev 2005-06-21 9:02 ` Vasiliy Fedorov 2005-06-21 12:31 ` Re[2]: " Dank Bagryantsev 2005-06-22 7:09 ` Vasiliy Fedorov [this message]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=200506221209.18590.linux@liktv.ru \ --to=linux@liktv.ru \ --cc=community@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git