# command file (script) for logging into via.net # # initialize modem # output at\13 output at\13 output atz\13 input 10 OK\n # # set modem to indicate DCD # output at&c1\13 input 10 OK\n # # send phone number # output atdt969-1387\13 # # wait till it's safe to send because some modem's hang up # if you transmit during the connection phase # wait 30 dcd # # wait for the username prompt # input 30 login: output \13 # # and the password # input 30 ssword: output \13 # # we are now logged in # # (no start commands are necessary; vianet will # go into slip or ppp automatically