Operating System - Linux
1831097 Members
2561 Online
110019 Solutions
New Discussion

Re: PPP Connection problem

 
Chandrika
Occasional Contributor

PPP Connection problem

 
KNOCK THE 'T' OF THE 'CAN'T'
3 REPLIES 3
U.SivaKumar_2
Honored Contributor

Re: PPP Connection problem

hi ,
try setting serial speed on both servers as
9600 bps. start ppp now.
Did you set hardware flow control on both the
serial ports ?.
As a last resort , try changing the null modem
cable also.

regards,
U.SivaKumar.
Innovations are made when conventions are broken
Chandrika
Occasional Contributor

Re: PPP Connection problem

Hi,
Thanks for the early reply. I tried all those things but i am getting the same log as HANGUP and after this DOWN event happens. But one thing which is not coming is "Carrier Detect is down". Directly after sending the request it says HANGUP.
One basic doubt i have is if the host tries to establish a connection then there should be some daemon waiting on the peer for Connection. By using modem the connection is done through modem and login is done so that login script is executed. But in null modem cable connection who is going to do the initial connection part? do i need to run anything on client? Let me tell u the whole setup what we have done.

On server(HPUX),

First i created devices using,
mknod /dev/ttyd10 c 1 0x000012 # dial-out
Earlier i tried by giving minor number as
0x000000 since its a direct connection then also i was getting same problem so i tried using dial-out.

/etc/ppp/Autostart,
pppd 10.20.31.12:10.20.31.13 auto debug 11

/etc/ppp/Systems,
10.20.31.13 Any;60 ttyd10 9600 0

/etc/ppp/Devices,
Direct ttyd10 9600

On client(HPUX),

mknod /dev/ttyd10 c 1 0x000011 # dial-in
added user account in /etc/passwd file.

/etc/ppp/Login,

PATH=/usr/bin:/usr/etc:/usr/ucb:/usr/bsd:/etc:/bin:/usr/sbin
# default config file location for BSD-like UNIXen (SunOS, etc.)
PPPHOME=/etc/ppp
export PATH PPPHOME

mesg n
stty -tostop
exec pppd `hostname`:10.20.31.12 idle 150

I am not adding anything in /etc/ppp/Dialers on server because i am using name same as that in /dev in Systems file.

Now if i start Autostart and then do a ping it gives dial failed. Is there any other special configuration for Null modem cable setup? Please can anyone suggest me regarding this.

Regards,
Chandrika
KNOCK THE 'T' OF THE 'CAN'T'
U.SivaKumar_2
Honored Contributor

Re: PPP Connection problem

hi ,
i have answered you in HP-UX networking forum.

regards,
U.SivaKumar
Innovations are made when conventions are broken