You have to setup at least three configuration files in the /etc/ppp
directory. They are options, options.ttySX and pap-secrets. The
pap-secrets file will be the basis for authentication. 

I believe the options.ttyS0 file should only contain the IP of the
server and the IP it will give the dialer. They are seperated by a colon
in a line. 

This is my mgetty login.config file. The "ktune" option is for
forwarding. You can already remove the "auth" line in your
/etc/ppp/options file because this is already invoked in mgetty. 

/AutoPPP/ -     a_ppp   /usr/sbin/pppd auth -chap +pap debug ktune

This is my pap-secrets file:

#client         server          secret          IP Address
mikel           mystique        ""              192.168.0.31

You can use the /etc/passwd file for authentication by indicating a user
name from /etc/passwd and "" under secret. Or simply choose any name
under client and supply a password under secret. Be sure the pap-secrets
file is not world readable if you do this. 

I'm using Red Hat 8.0, ppp, mgetty and a Dlink Webcruiser to dialin.


On Tue, 2003-06-24 at 07:24, Ina Patricia Lopez wrote:
> i have setup dialin to my redhat server but dialup users are not
> authenticated. any username/password is accepted.
> i set options.ttyS0 with "auth" but i cant connect. it say something
> wrong with auth.
> 
> un 23 17:29:20 mail pppd[31094]: The remote system is required to
> authenticate itself
> Jun 23 17:29:20 mail pppd[31094]: but I couldn't find any suitable
> secret (password) for it to use to do so.
> Jun 23 17:29:22 mail mgetty[31098]: TIOCMBIS failed: Input/output error
> Jun 23 17:29:22 mail mgetty[31098]: cannot turn off soft carrier:
> Input/output error
> Jun 23 17:29:22 mail mgetty[31098]: tcgetattr failed: Input/output
> error
> Jun 23 17:29:22 mail mgetty[31098]: cannot get TIO: Input/output error
> Jun 23 17:30:27 mail mgetty[31098]: data dev=ttyS0, pid=31098,
> caller='none', conn='38400', name='', cmd='/usr/sbin/pppd'
> 
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
> --
> Philippine Linux Users' Group (PLUG) Mailing List
> [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
> Official Website: http://plug.linux.org.ph
> Searchable Archives: http://marc.free.net.ph
> .
> To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
> .
> Are you a Linux newbie? To join the newbie list, go to
> http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie


--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to