[ale] newbie: modem configuration

smn smnoldelinux at mediaone.net
Wed Dec 29 21:38:57 EST 1999


Nick Robinson wrote:
> 
> At 06:28 PM 12/29/1999 -0500, you wrote:
> 
> > Hmm... perhaps the text "ogin:" doesn't appear when dialing in??
>         It doesn't appear except as last line below:
> >> Dec 29 12:14:07 nicknackr chat[729]:ATDT4450159^M
> >> Dec 29 12:14:07 nicknackr chat[729]:CONNECT
> >> Dec 29 12:14:07 nicknackr chat[729]:-got it
> >> Dec 29 12:14:07 nicknackr chat[729]:send (^M)
> >> Dec 29 12:14:07 nicknackr chat[729]:expect (ogin:)
> 
> >Perhaps pppd is timing out too soon.
>         How do I fix that?  That's the TIMEOUT parameter?  Increase it from 5?
> 
> > Can you establish a ppp connection using minicom?
>         As a matter of fact, yes, since sending my last email to you and the list,
> I have connected twice using minicom.  But of course, it prompts you for
> login and for password.
>         Then it told me I was establishing a PPP session, then it showed my ip
> address, then it showed MTU 1534.
>         For the life of me I don't know how to use minicom.  I went to Netscape,
> but it still didn't work (being able access web pages).
>         So, basically, I can't dial in using pppd, but I can using minicom, which,
> at this point, is worthless to me.
> 
>         Am I having fun yet?
>         Thanks for the help everyone.  I'm farther along, but the prize is still
> on the other side of the fence.
> 
> Nick R.
> 
> --
> To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.
Are you by chance using RedHat?  If so, which version?  I set up a PPP
connect using linuxconf.  I would suggest a timeout around 30 seconds. 
Additionally, specify an MTU=476 (a bit faster over the phones). 
Another place to look is in /etc/sysconfig/network.
NETWORKING=yes
FORWARD_IPV4="yes"
HOSTNAME="domain.com"
GATEWAY="xx.yy.zz.aa" <-- gateway IP
GATEWAYDEV="ppp0"     <-- gateway device

"chat[xxx]: send (blahblah)"
I have a /etc/sysconfig/network-scripts/ifcfg-ppp0:
DEVICE="ppp0"
ONBOOT="no"
USERCTL="yes"	<-- lets other users enable interface
PEERDNS="yes"
MODEMPORT="/dev/modem"  <-- ttyS[0123]
LINESPEED="115200"
PERSIST="yes"		<-- redial
DEFABORT="yes"
DEBUG="yes"
INITSTRING="ATZ"	<-- set to liking
DEFROUTE="yes"
HARDFLOWCTL="yes"
ESCAPECHARS="no"
PPPOPTIONS=""
PAPNAME="{loginname}"	<-- looks in /etc/ppp/pap-secrets
REMIP=""
NETMASK=""
IPADDR=""
MRU=""
MTU="476"	<-- faster than 1500
DISCONNECTTIMEOUT=""
RETRYTIMEOUT="10"
BOOTPROTO="none"

So what's next?
- Scott

-- 
Never do windows again with
         __
        / /    __  _  _  _  _ __  __
       / /__  / / / \// //_// \ \/ /
      /____/ /_/ /_/\/ /___/  /_/\_\.

No streaking, haze, or glaze.
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.






More information about the Ale mailing list