Comments inline. Extraneous material removed.
-Gyepi
On Thu, Jun 17, 1999 at 08:39:56AM +1000, Simon McLeod wrote:
> Hi all,
>
> I am having a problem connecting to my isp using diald. It connects fine, but
>only stays connected for a couple of seconds, before terminating the link and
>redialling. I can connect fine if i run my ppp-on script by itself, but when it's
>run by diald, it doesn't work. I have attached below the syslog dump of what happens
>when diald connects, along with my diald.conf, and ppp-on files.
>
> Any help would be great. Thanks
>
>
>
> The syslog dump
>
> Jun 17 08:20:40 bluetongue pppd[1937]: Connect: ppp0 <--> /dev/ttyS1
> Jun 17 08:20:43 bluetongue pppd[1937]: LCP terminated by peer
The ISP's machine is disconnecting because it does not like some
configuration option that your PPP is requesting. If my suggestions
don't work, enable ppp kdebug and you'll see what's causing it.
>
> My diald.conf file
>
> two-way
This is not the problem, but it is not necessary unless you are
expecting incoming ppp calls also
> pppd-options debug
try kdebug too if you need more info
>
> my ppp-on script
> #!/bin/sh
> LOCAL_IP=0.0.0.0 # Local IP address if known. Dynamic = 0.0.0.0
> REMOTE_IP=0.0.0.0 # Remote IP address if desired. Normally 0.0.0.0
> NETMASK=255.255.255.0 # The proper netmask if needed
Remove these three entries. They are not needed for dynamic IPs and
could confuse ppp. If, for example, ppp followed these rules, it would
ask the peer to agree to a pair of invalid addresses.
HTH
-Gyepi
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]