Help with dial-up to multiple ppp servers


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Help with dial-up to multiple ppp servers
# 1  
Old 09-17-2010
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.
# 2  
Old 09-17-2010
Do you have any PPP client logs...? Which stage it times out ? LCP or IPCP ?
# 3  
Old 09-17-2010
Code:
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


Last edited by Scott; 09-17-2010 at 01:20 PM.. Reason: Please use code tags
# 4  
Old 09-17-2010
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 ?
# 5  
Old 09-17-2010
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.
# 6  
Old 09-17-2010
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)
# 7  
Old 09-17-2010
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

How to apply the update statement in multiple servers on multiple dbs at a time .?

Hi , Can any please help the below requirement on all multiple servers and multiple dbs. update configuration set value='yes' ;1) the above statement apply on 31 Databases at a time on different Ip address eg : 10.104.1.12 (unix ip address ) the above ip box contains 4 db's eg : db... (2 Replies)
Discussion started by: venkat918
2 Replies

2. UNIX for Beginners Questions & Answers

ssh multiple servers

Hi folks. I'm pretty new to unix, while I'm learning a lot I'm finding bash scripting quite confusing. Im sure it's not really, my head just hasn't clicked with it. Anyway, I need a script to loop the ip addresses stored in a file and run a "pgrep <process>" and return the pid or some... (2 Replies)
Discussion started by: MuntyScrunt
2 Replies

3. UNIX for Dummies Questions & Answers

How can we connect multiple servers at a time?

help me (0 Replies)
Discussion started by: sonu pandey
0 Replies

4. UNIX for Dummies Questions & Answers

Not able to dial specific number using ppp

Hi all, I'm working on ppp establishment. When I tried calling a number using ppp, I could establish a PPP connection successfully. But, when I tried calling another ISP number, it is asking for authentication details whereas that is not the case with the other number. It throws an error saying... (0 Replies)
Discussion started by: sai2krishna
0 Replies

5. Shell Programming and Scripting

user id creation of multiple servers

Need help in creating a user with passord in mulptiple solaris servers using a script.. (0 Replies)
Discussion started by: ningy
0 Replies

6. UNIX for Advanced & Expert Users

Help Me - How to grep in multiple servers

Hi All, I need help , Regarding the keyword search in multiple servers at a time . we are desiging a search website . we have a multiple servers and each of the server have 3 instances having Unix compressed files.Our requirement was we need to search the particular key word for eg. we need to... (7 Replies)
Discussion started by: prasad00124
7 Replies

7. Shell Programming and Scripting

rsh to change multiple ip in multiple servers?

good day. i jsut wanted to know what is the best script or the best way changing a lot of Ip's in all servers. Do you have any idea? im using awk to change IP,what if, you have lots of servers. You need to change it one by one? It will take time to change it manually. (2 Replies)
Discussion started by: kenshinhimura
2 Replies

8. SCO

Dial-Out & Dial-In Connections in OpenServer 5.0.6.

Friends, I am facing a problem in connecting two SCO Openserver 5.0.6 servers through Dial-Up connectivity as is done in the case of two Windows PCs. Please help me out with the following problems: (a) How to configure the modem? (b) How to setup a Dial-In connection? (c) How to... (1 Reply)
Discussion started by: thecobolguy
1 Replies

9. Shell Programming and Scripting

ftp to multiple servers

Hi folks. I am writing a ksh ftp script. The problem is, I need to transfer the files to several different servers. Is there a way to close a connection and move on to the next in one script or do I need to write a separate script for each one? Thanks, kristy (2 Replies)
Discussion started by: kristy
2 Replies
Login or Register to Ask a Question