Help with dial-up to multiple ppp servers

Hello all,

I am trying to establish two ppp connections using chap authentication over dial-up. I am using the generic connect scripts and can connect to the first server but when I try to connect the second while the first one is connected there is a chat timeout that occurs.

Any assistance would be greatly appreciated.

Thank you.

Do you have any PPP client logs...? Which stage it times out ? LCP or IPCP ?

Connection 0
Script /etc/ppp/scripts/ppp-on-dialer1 finished (pid 4364), status = 0x0
Serial connection established.
using channel 16768
Using interface ppp0
Connect: ppp0 <--> /dev/ttyRP00
rcvd [LCP ConfReq id=0x1 <asyncmap 0x20a0000> <magic 0xb707457d> <pcomp> <accomp>]
Warning - secret file /etc/ppp/pap-secrets has world and/or group access
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xf9d0f122> <pcomp> <accomp>]
sent [LCP ConfAck id=0x1 <asyncmap 0x20a0000> <magic 0xb707457d> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xf9d0f122> <pcomp> <accomp>]
sent [LCP EchoReq id=0x0 magic=0xf9d0f122]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 192.168.0.2>]
rcvd [IPCP ConfReq id=0x1 <addr 0.0.0.0> <compress VJ 0f 01>]
sent [IPCP ConfNak id=0x1 <addr 192.168.0.1>]
rcvd [LCP EchoRep id=0x0 magic=0xb707457d]
rcvd [CCP ConfReq id=0x1]
sent [CCP ConfAck id=0x1]
rcvd [CCP ConfRej id=0x1 <deflate 15>]
sent [CCP ConfReq id=0x2 <deflate(old#) 15> <bsd v1 15>]
rcvd [IPCP ConfAck id=0x1 <compress VJ 0f 01> <addr 192.168.0.2>]
rcvd [IPCP ConfReq id=0x2 <addr 192.168.0.1> <compress VJ 0f 01>]
sent [IPCP ConfAck id=0x2 <addr 192.168.0.1> <compress VJ 0f 01>]
not replacing existing default route via 172.16.5.254
Cannot determine ethernet address for proxy ARP
local  IP address 192.168.0.2
remote IP address 192.168.0.1
Script /etc/ppp/ip-up started (pid 4631)
Script /etc/ppp/ip-up finished (pid 4631), status = 0x0
rcvd [CCP ConfRej id=0x2 <deflate(old#) 15>]
sent [CCP ConfReq id=0x3 <bsd v1 15>]
rcvd [CCP ConfRej id=0x3 <bsd v1 15>]
sent [CCP ConfReq id=0x4]
rcvd [CCP ConfAck id=0x4]
Terminating connection due to lack of activity.
Connect time 1.0 minutes.
Sent 11 bytes, received 19 bytes.
Script /etc/ppp/ip-down started (pid 5350)
sent [LCP TermReq id=0x2 "Link inactive"]
Script /etc/ppp/ip-down finished (pid 5350), status = 0x0
rcvd [LCP TermAck id=0x2]
Connection terminated.

Connection 1 - Chat Timeout error

Script /etc/ppp/scripts/ppp-on-dialer1-1 finished (pid 4369), status = 0x0
Serial connection established.
using channel 16769
Using interface ppp0
Connect: ppp0 <--> /dev/ttyRP01
Warning - secret file /etc/ppp/pap-secrets has world and/or group access
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x46a3da18> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x46a3da18> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x46a3da18> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x46a3da18> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x46a3da18> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x46a3da18> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x46a3da18> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x46a3da18> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x46a3da18> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x46a3da18> <pcomp> <accomp>]
LCP: timeout sending Config-Requests
Connection terminated.
Modem hangup

I see your connection-1 also using ppp0. If you say that Connection-0 is active, ppp0 should have been assigned already to Connection-0.

Are you able to connect to connection-1 standalone without connection-0 ?

yes - connection 1 connects, hang-up, then connection 2 connects.

I am trying to figure out why a ppp1 interface isn't being created when the second connection is initiated.

If Connection-0 hangs up by the time Connection-1 is initiated, then using ppp0 is ok...you may probably need to recheck the dial-up configs(number)

somewhat defeats the original question posted; multiple concurrent connections is needed e.g. parallel connections. They are remote devices

---------- Post updated at 10:04 AM ---------- Previous update was at 03:14 AM ----------

Ok by using unit [n] in the pppd options the interfaces are incremented e.g. ppp0 (connection1) and ppp1 (connection2) but connection 2 chat times out.

---------- Post updated at 12:05 PM ---------- Previous update was at 10:04 AM ----------

figured it out thanks.