From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rod Subject: Re: How calls diald the pppd? Date: Fri, 30 Aug 2002 13:24:11 -0400 Sender: linux-diald-owner@vger.kernel.org Message-ID: <20020830172410.GA1338@pike.home> References: <3D6E4E50.EF8B32F9@ba228.pppool.de> <20020829180501.GA1368@pike.home> <3D6E88B3.3878ACD9@ba228.pppool.de> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <3D6E88B3.3878ACD9@ba228.pppool.de> List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-diald@vger.kernel.org On Thu, Aug 29, 2002 at 10:48:51PM +0200, Juergen Kosel wrote: > Rod wrote: > > > > > mode ppp > > > pppd-options usepeerdns name juergen.kosel noipdefault ipcp-accept-local ipcp-accept-remote > > > path-pppd /usr/sbin/pppd > > > device /dev/ttyS0 > > > connect /etc/ppp/dial-freenet > > > #connect /usr/local/lib/diald/connect > > > speed 115200 > > > modem > > > lock > > > crtscts > > > local 192.168.2.1 > > > #remote 62.104.216.42 > > > > Pick a local and remote address that are unique and not the address of > > any machines in your network. As an example if the diald server in my > > network has an IP address of 192.168.2.1 my diald.conf has the following > > > > local 192.168.2.2 > > remote 192.168.2.3 > 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. 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. > > 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. 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? What does your /etc/ppp/options file look like? Have you been able to get pppd up and running without diald? 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" Once I was able to get pppd working manually, it was a simple matter to get diald to launch it. Hope that is helpful. Cheers, Rod > And I allready tried 0.0.0.0:0.0.0.0 in the ppp options. > > > 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