The null modem configuration is used to connect two hosts together directly. There are no modems required. See Appendix B, Modem and Null Modem Cables for a description of the null modem cables that can be used for this configuration.

In this example, the server has two asynchronous null modem connections to the clients lab0251-ppp and lab0252-ppp. The modem keyword in the link.conf file is always set to none, and a dummy telephone number is assigned to the server.
There is a limitation in this revision of the product that means that you must always specify a telephone number to initiate an asynchronous connection, even if it is never actually used.
PPP Configuration File (ppp.conf) for lab0251-ppp:
ifconfig ipdptp0 plumb
ifconfig ipdptp0 lab0251-ppp server netmask 255.255.255.0 down
dialup_path
ip_interface ipdptp0
remote_host server
inactivity_timeout 120
|
Link Configuration File (link.conf) for lab0251-ppp:
dialup_device pppdev0
unix_device ttya
line_speed 38400
modem none
call_setup dial
remote_host server
phone 1001
chat_script server.script
|
CHAT script (server.script) used by lab0251-ppp to call server:
# Set the line regarding the remote site configuration # Due to UUCP limitations some systems only accept cs7 # # setline cs7 parodd send RETURN expect "ogin:" 10 onerror send BREAK repeat 3 send "lab0251" expect "word: " 40 # # Set the ppp password of the remote host here # send "lab0251-pass" |
PPP Configuration File (ppp.conf) for lab0252-ppp:
ifconfig ipdptp0 plumb
ifconfig ipdptp0 lab0252-ppp server netmask 255.255.255.0 down
dialup_path
ip_interface ipdptp0
remote_host server
inactivity_timeout 120
|
Link Configuration File (link.conf) for lab0252-ppp:
dialup_device pppdev0
unix_device ttya
line_speed 38400
modem none
call_setup dial
remote_host server
phone 1001
chat_script server.script
|
CHAT script (server.script) used by lab0252-ppp to call server:
# Set the line regarding the remote site configuration # Due to UUCP limitations some systems only accept cs7 # # setline cs7 parodd send RETURN expect "ogin:" 10 onerror send BREAK repeat 3 send "lab0252" expect "word: " 40 # # Set the ppp password of the remote host here # send "lab0252-pass" |
PPP Configuration File (ppp.conf) for server:
ifconfig ipdptp0 plumb
ifconfig ipdptp0 server lab0251-ppp netmask 255.255.255.0 down
ifconfig ipdptp1 plumb
ifconfig ipdptp1 server lab0252-ppp netmask 255.255.255.0 down
dialup_path
ip_interface ipdptp0
expect_login_id lab0251
inactivity_timeout 0
dialup_path
ip_interface ipdptp1
expect_login_id lab0252
inactivity_timeout 0
|
Link Configuration File (link.conf) for server:
dialup_device pppdev
unix_device tty0
line_speed 38400
modem none
call_setup answer
dialup_device pppdev1
unix_device tty1
line_speed 38400
modem none
call_setup answer
|