From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rod Subject: Re: How calls diald the pppd? Date: Sat, 31 Aug 2002 10:46:22 -0400 Sender: linux-diald-owner@vger.kernel.org Message-ID: <20020831144622.GA1438@pike.home> References: <3D6E4E50.EF8B32F9@ba228.pppool.de> <20020829180501.GA1368@pike.home> <3D6E88B3.3878ACD9@ba228.pppool.de> <20020830172410.GA1338@pike.home> <3D6FC8B1.1C893FF6@ba228.pppool.de> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <3D6FC8B1.1C893FF6@ba228.pppool.de> List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-diald@vger.kernel.org On Fri, Aug 30, 2002 at 09:34:09PM +0200, Juergen Kosel wrote: > 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 does the script for starting pppd running look like? > > > > > 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 > - > To unsubscribe from this list: send the line "unsubscribe linux-diald" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html