<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<STYLE type="text/css"><!--
BODY {
margin: 5px 5px 5px 5px;
background-color: #FFFFFF;
}
/*----------Text Styles----------*/
HR { color: #000000}
BODY, TABLE /* Normal text */
{
font-size: 9pt;
font-family: 'Courier New';
font-style: normal;
font-weight: normal;
color: #000000;
text-decoration: none;
}
SPAN.RVTS1 /* Heading */
{
font-size: 10pt;
font-family: 'Arial';
font-weight: bold;
color: #0000FF;
}
SPAN.RVTS2 /* Subheading */
{
font-size: 10pt;
font-family: 'Arial';
font-weight: bold;
color: #000080;
}
SPAN.RVTS3 /* Keywords */
{
font-size: 10pt;
font-family: 'Arial';
font-style: italic;
color: #800000;
}
A.RVTS4, SPAN.RVTS4 /* Jump 1 */
{
font-size: 10pt;
font-family: 'Arial';
color: #008000;
text-decoration: underline;
}
A.RVTS5, SPAN.RVTS5 /* Jump 2 */
{
font-size: 10pt;
font-family: 'Arial';
color: #008000;
text-decoration: underline;
}
SPAN.RVTS6
{
font-weight: bold;
color: #800000;
}
/*----------Para Styles----------*/
P,UL,OL /* Paragraph Style */
{
text-align: left;
text-indent: 0px;
padding: 0px 0px 0px 0px;
margin: 0px 0px 0px 0px;
}
.RVPS1 /* Centered */
{
text-align: center;
white-space: normal;
}
--></STYLE>
</HEAD>
<BODY>
<P>Hello unix9,</P>
<P><BR></P>
<P>Wednesday, November 3, 2004, 10:57:59 PM, you wrote:</P>
<P><BR></P>
<P><SPAN class=RVTS6>u> Приветствую! Использую связку из mgetty, pppd 2.4.2 и radius,</SPAN></P>
<P><SPAN class=RVTS6>u> дистрибутив compact 2.3. В чем конкретно проблема?</SPAN></P>
<P><BR></P>
<P>При попытке присоединиться пишет в лог:</P>
<P>pam_tcb[16265]: login: Authentication failed for UNKNOWN USER from LOGIN(uid=0)</P>
<P><BR></P>
<P>Радиус вроде работает:</P>
<P>#radtest test ********* localhost 0 *******</P>
<P><BR></P>
<P>Sending request to server localhost, port 1812.</P>
<P>radrecv: Packet from host 127.0.0.1 code=2, id=157, length=44</P>
<P> Service-Type = Framed-User</P>
<P> Framed-Protocol = PPP</P>
<P> Idle-Timeout = 900</P>
<P> Session-Timeout = 2405</P>
<P><BR></P>
<P> </P>
<P>Конфигурация следующая:</P>
<P>/etc/mgetty+sendfax/login.config</P>
<P>/AutoPPP/ - a_ppp /usr/sbin/pppd auth radius +pap debug</P>
<P><BR></P>
<P>/etc/ppp/options</P>
<P>192.168.0.20:192.168.0.22</P>
<P>modem</P>
<P>crtscts</P>
<P>proxyarp</P>
<P>lock</P>
<P>ms-dns 192.168.0.20</P>
<P>plugin /usr/lib/pppd/2.4.2/radius.so</P>
<P>plugin /usr/lib/pppd/2.4.2/radattr.so</P>
<P>radius-config-file /etc/radiusclient/radiusclient.conf</P>
<P><BR></P>
<P>/etc/inittab</P>
<P>T1:2345:respawn:/sbin/mgetty -s 57600 -D -x0 ttyM0</P>
<P><BR></P>
<P>-- </P>
<P>Best regards,</P>
<P> Sergey mailto:gray_post@mail.ru</P>
<P><BR></P>
</BODY></HTML>