/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! */
I'll make these changes, but from talking to the client it does not sound
like the modem is even attempting to dial, leading me to believe RH doesn't
know it needs to bring up the link.
I'm avoiding use of DIALD unless I'm forced to use it to make this system
work. I'm trying to keep everything as simple as possible so we don't have
to worry about new releases that are not compatible with one another.
----- Original Message -----
From: "Charles Shoemaker" <[EMAIL PROTECTED]>
To: "John Schmerold" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, December 22, 1999 8:46 AM
Subject: Re: [Masq] PPPd / Masq / Demand dialing not working
> /* HINT: Search archives @ http://www.indyramp.com/masq/ before posting!
*/
>
>
> I assume your /etc/ppp/pap-secrets (and chap-secrets, if
> necessary) have a line formatted like
>
> [EMAIL PROTECTED] * password *
>
> since the "[EMAIL PROTECTED]" is what you give in the
> "name" parameter, I assume that's your login name.
>
> I'm not in favor of setting your modem to factory defaults on every
> dial attempt. I'd rather see some initialization like AT&D2&C1 ( to
> set how it responds to DTR and its behavior for carrier detection).
>
> You have verbose reporting turned on in your chat script. What do
> you see in the /var/log/messages? Have you tried diald? That has
> been working well for me, through many different RH releases.
>
>
> From: "John Schmerold" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Date sent: Wed, 22 Dec 1999 06:04:53 -0600
> Subject: [Masq] PPPd / Masq / Demand dialing not working
>
> > /* HINT: Search archives @ http://www.indyramp.com/masq/ before posting!
*/
> >
> >
> > I've been strugling for weeks to get a clients RH 6.1 box to function as
a
> > router to the Internet. Eventually, RH will connect to Internet, but it
> > requires 5 to 10 minutes of hitting refresh page to get it to come up at
the
> > client's desk. What am I doing wrong??
> >
> > We are using following files:
> > File options
> > lock
> > crtscts
> > defaultroute
> > noauth
> > noipdefault
> > modem
> > /dev/modem
> > 115200
> > idle 300
> > demand
> > debug
> > ipcp-accept-local
> > ipcp-accept-remote
> > persist
> > holdoff 120
> > asyncmap 0
> > name "[EMAIL PROTECTED]"
> > mtu 1500
> > -----------------------------------------
> > Relevant portion of rc.local
> > /etc/ppp/pppmspg
> >
> > /sbin/depmod -a
> > /sbin/ipchains -M -S 7200 10 160
> > /sbin/ipchains -P forward DENY
> > /sbin/ipchains -A forward -i eth0 -j MASQ
> > /sbin/ipchains -A forward -j MASQ -s 192.168.45.0/24
> >
> > echo 1 > /proc/sys/net/ipv4/ip_forward
> > for masqmod in /lib/modules/`uname -r`/ipv4/ip_masq_*;
> > do /sbin/modprobe $masqmod
> > done
> > echo 1 > /proc/sys/net/ipv4/ip_dynaddr
> > -------------------------------------------
> > file pppmspg
> > #!/bin/bash
> > # kills other PPP processes
> > killall -INT pppd 2>/dev/null
> >
> > # removes any PPP related lock
> > rm -f /var/lock/LCK* /var/run/PPP*.pid
> >
> > # this is our actual dialer for Mindspring
> > /usr/sbin/pppd connect "/usr/sbin/chat -v -f /etc/ppp/pppscript" &
> > ---------------------------------------------
> > file pppscript
> > TIMEOUT 60
> > ABORT ERROR
> > ABORT BUSY
> > ABORT "NO CARRIER"
> > ABORT "NO DIALTONE"
> > '' "AT&F\\N3W2"
> > OK ATDT6369252075
> > TIMEOUT 75
> > CONNECT
> > ----------------------------------------------
> >
> > _______________________________________________
> > Masq maillist - [EMAIL PROTECTED]
> > Admin requests can be handled at http://www.indyramp.com/masq-list/ --
THIS INCLUDES UNSUBSCRIBING!
> > or email to [EMAIL PROTECTED]
> >
> > PLEASE read the HOWTO and search the archives before posting.
> > You can start your search at http://www.indyramp.com/masq/
> > Please keep general linux/unix/pc/internet questions off the list.
>
> _______________________________________________
> Masq maillist - [EMAIL PROTECTED]
> Admin requests can be handled at http://www.indyramp.com/masq-list/ --
THIS INCLUDES UNSUBSCRIBING!
> or email to [EMAIL PROTECTED]
>
> PLEASE read the HOWTO and search the archives before posting.
> You can start your search at http://www.indyramp.com/masq/
> Please keep general linux/unix/pc/internet questions off the list.
_______________________________________________
Masq maillist - [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ -- THIS INCLUDES
UNSUBSCRIBING!
or email to [EMAIL PROTECTED]
PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.