Operating System - HP-UX
1837233 Members
2047 Online
110115 Solutions
New Discussion

Re: PPP Connection problem

 
Chandrika
Occasional Contributor

PPP Connection problem

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

Re: PPP Connection problem

hi,
For ppp connection , you have to login to another server and start pppd on the other
server also through command line or by login script. Then only both the servers can negotiate and establish the ppp connection.

regards,
U.SivaKumar.
Innovations are made when conventions are broken
U.SivaKumar_2
Honored Contributor

Re: PPP Connection problem

hi,
found this :

Using PPP across a null modem (direct serial) connection.
First of all, choose one of the machines as a 'server', setting up a getty on the serial port so you can test that you do have connectivity to access the serial port on the 'client'.

Once you have this functioning, you can remove the getty UNLESS you want to make sure that the connection is validated using user name/password pairs as for a dial up connection. As you have 'physical control' of both machines, I will presume that you do NOT want to do this.

Now, on the server, remove the getty and make sure that you have the serial ports on both machines configured correctly .

All you need to do now is to start pppd on both systems. So, on both machines execute the command:
example:
-------------------------------------------------------------------------
pppd -detach crtscts lock : /dev/ttyS3 38400 &


--------------------------------------------------------------------------------
This will bring up the link - but as yet you have no routing specified. You can test the link by pinging to and fro to each machine. If this works, bring down the link by killing one of the pppd processes.
The routing you need will of course depend on exactly what you are trying to do. Generally, one of the machines will be connected to an Ethernet (and beyond) and so the routing required is exactly the same as for a PPP server and client.
So on the Ethernet equipped machine, the pppd command would be
-------------------------------------------------------------------------------
pppd -detach crtscts lock proxyarp : /dev/ttyS3 38400 &
--------------------------------------------------------------------------------
and on the other machine
--------------------------------------------------------------------------------
pppd -detach crtscts lock defaultroute : /dev/ttyS3 38400 &
--------------------------------------------------------------------------------

The command syntax may be slightly different for HP-UX pppd . so refer man pages of pppd.
Get back with results.

regards,
U.SivaKumar



































Innovations are made when conventions are broken
Chandrika
Occasional Contributor

Re: PPP Connection problem

Hi sivakumar,

That is also not working i am not getting what may be the problem. since i am using direct connection so i gave minor number as 0x000000 and while starting pppd i gave ignore-cd since it doesnt have CD. now if start pppd and do a telnet in the logfile it keeps on sending configure request packet and then after TO- event occurs it goes down and it says "syn dial failed".
i doubt its not getting connection itself because in the remote machines logfile i wont get anything.

Please can anybody just try this setup and tell me the actual configuration to be done.
Its quiet urgent.

Regards,
chandrika


KNOCK THE 'T' OF THE 'CAN'T'
Chandrika
Occasional Contributor

Re: PPP Connection problem

Hi all,

Great news!!! its working fine. Just i added 'up' option while starting pppd and now it works fine. I start pppd with 'up' and 'passive' option so that only after i get some packet i will send packets, then on the other m/c i started pppd in auto mode and after that i did a telnet. It works great!! thanks for u'r suggestions.

Regards,
Chandrika
KNOCK THE 'T' OF THE 'CAN'T'