Re: How calls diald the pppd?

Juergen Kosel <[email protected]> Fri, 30 Aug 2002 21:34:09 +0200
Newsgroups org.kernel.vger.linux-diald
Message-ID <[email protected]>
Rod wrote:
> 
> On Thu, Aug 29, 2002 at 10:48:51PM +0200, Juergen Kosel wrote:
> 
> Hallo Juergen,
> 
> > My machine is standalone (unless conecting to ISP)
> > So the IP adresses are uniqe!
> 
> OK but in your diald.conf you have commented out the "remote" command.

This was a temporary attemp.
Now I have inserted "remote 192.168.20.1" and "local 192.168.20.100"

> Perhaps you need to look at "man diald" and the references to "dynamic",
> "remote", and "local".  "remote" and "local" should be unique and NOT
> the address of your machine.  Also if you look at the info on the use of
> "dynamic" it says that you must specify both a "local" and "remote"
> address.

I specified both -> it doesn't work. Then I had omitted one/both -> it
doesn't work...

> 
> >
> > And in pap secrets the remote and local adress field has an '*' as entry
> > (match any) for the choosen name.
> > So I have no idea why the ppp options ipcp-accept-local
> > ipcp-accept-remote have no effect.
> 
> I don't use ipcp-accept-local and ipcp-accept-remote so I'm not sure
> why you are using them. 

Because the pppd manual says with this option all remote/local adresses
should be accepted.

> I don't use pppd-options in my diald.conf at
> all.  I specify my pppd options in /etc/ppp/options.
> Is there a reason why you are specifying pppd-options?

I still want to use different ppp options for dialout an dialin (with
mgetty)

> What does your /etc/ppp/options file look like?

lock
crtscts
modem
defaultroute
asyncmap 0
debug
deflate 9,9
bsdcomp 9,9
show-password

> 
> Have you been able to get pppd up and running without diald?

Yes with the above options.

> 
> What I did was debug pppd first, get that working and then use the same
> connection script for diald.  I have a test-script as follows.
> 
> /usr/sbin/pppd /dev/modem 38400 modem crtscts noipdefault \
> defaultroute connect "/usr/sbin/chat -v -f /etc/ppp/chat-script"

I don't have "noipdefault" in my option. But if I understand the manual
right, this is for the local adress.
I don't recommend 38400 as serial line speed. Use 115200 instead.
Because if your modem establishes a V.34 connect with 33600 bit/second
and 42bis compression, the serial line becomes the bottleneck otherwise!
(Not to speek of a V.90 connect with 48000 bit/s)




Juergen