home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / isdnpm29.zip / ppp.fnc < prev    next >
Text File  |  1998-01-11  |  1KB  |  30 lines

  1. /****************************************************************************/
  2. /* Do not change this file                                                  */
  3. /****************************************************************************/
  4. call RxFuncAdd 'SysSleep','RexxUtil','SysSleep'
  5.  
  6. ARG Channel LocalIp HostIp Netmask DefaultIp nameserver1 namserver2 .
  7.  
  8. say 'Line        ' Channel
  9. say 'LocalIp     ' LocalIp
  10. say 'HostIp      ' HostIp
  11. say 'Netmask     ' Netmask
  12. say 'DefaultIp   ' HostIp
  13. say 'NameServer1 ' nameserver1
  14. say 'NameServer2 ' nameserver2
  15.  
  16. /*                                                                          */
  17. /* you can modify the 'RESOLV' files to your needs with the 'nameserver1'   */
  18. /* and 'nameserver2' values                                                 */
  19. /*
  20.  
  21. /*                    */
  22. /* chane if necessary */
  23. /*                    */
  24.  
  25. 'route -f'
  26. 'ifconfig sl0 ' LocalIp HostIp 'netmask' Netmask
  27. 'route add net default' HostIp 1
  28.  
  29. exit 0
  30.