All of lore.kernel.org
 help / color / mirror / Atom feed
From: Juergen Kosel <juergen@ba228.pppool.de>
To: linux-diald@vger.kernel.org
Subject: Re: How calls diald the pppd?
Date: Fri, 30 Aug 2002 21:34:09 +0200	[thread overview]
Message-ID: <3D6FC8B1.1C893FF6@ba228.pppool.de> (raw)
In-Reply-To: 20020830172410.GA1338@pike.home

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

  reply	other threads:[~2002-08-30 19:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-29 16:39 How calls diald the pppd? Juergen Kosel
2002-08-29 18:05 ` Rod
2002-08-29 20:48   ` Juergen Kosel
2002-08-30 17:24     ` Rod
2002-08-30 19:34       ` Juergen Kosel [this message]
2002-08-31 14:46         ` Rod
2002-09-15 16:54         ` Juergen Kosel
2002-09-16 21:07           ` Rod

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3D6FC8B1.1C893FF6@ba228.pppool.de \
    --to=juergen@ba228.pppool.de \
    --cc=Juergen.Kosel@gmx.de \
    --cc=linux-diald@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.