Configuring Morningstar Software with SunOS to Connect to the Internet via LanDial Use the /usr/local/src/ppp/README as a supplement to these instructions. 1. Morningstar's software will not operate unless you obtain and install a "license key" from Morningstar. Type the following command: showrev Send the output, along with your Morningstar 4-digit support number, via e-mail to support@morningstar.com, or via fax to 614 459 5054. Morningstar will provide you with a key, which you place in a specified file on a single line opposite your hostname (mode 600, owner root). 2. Create a group ppp in /etc/group. Described in Sec. 4.2 of Morningstar's user guide. For example ppp:*:42: 3. run /usr/local/src/ppp/Install 4. You should have a registered Class C network number (assigned by us if you do not currently have one). Configure the IP address of this host from your Class C network number. (We will assume that this host uses the .1 address for that network.) The IP address for your host is _____________________ 5. Configuration of Files: (a) cp /etc/ppp/Dialers.ex /etc/ppp/Dialers View /etc/ppp/Dialers and determine which entry matches your modem and uncomment it. If your modem is not listed then use the entry HAYES-9600. (b) vi /etc/ttytab Modify the following lines to be ttya none unknown off remote secure ttyb none unknown off remote secure execute `kill -HUP 1` execute `chmod 666 /dev/ttya /dev/ttyb` List the processes and kill any gettys running on /etc/ttya or /etc/ttyb. tip /dev/ttya or /dev/ttyb (whichever port your modem is connected to) type AT to insure that your can communicate with the modem. it should return 'OK' then initialize the modem according to the /etc/ppp/Dialers entry (c) cp /etc/ppp/Startup.ex /etc/ppp/Startup vi /etc/ppp/Startup duplicate the lines #pppd `hostname`:42.42.42.42 auto idle 1800 # (echo -n ' LAN-DCS') >/dev/console #route add default 42.42.42.42 1 uncomment the duplicated lines and change them as follows: change 42.42.42.42 in both places to the IP address of the LanDial router at the POP in the city nearest you For ___________________, that IP address is _____________________ change the idle timeout from 180 to something more appropriate; (180 is barely long enough to bring the connection up) (d) cp /etc/ppp/Systems.ex /etc/ppp/Systems vi /etc/ppp/Systems uncomment the line #42.42.42.42 Any ACU 38400 18005551212 in: Pldcs word: \qPPPassword and change the appropriate fields as follows: 42.42.42.42 is the ip of the POP router (see above) 38400 is the highest baud rate supported by your modem DTE 18005551212 is the local POP phone number: ________________________ replace Pldcs with your login ID: ___________________ replace PPPassword with your password (e) cp /etc/ppp/Devices.ex /etc/ppp/Devices vi /etc/ppp/Devices Make an entry with the following modem-type device speed crtscts modem-type is the entry determined in /etc/ppp/Dialers device is the port you have the modem connected to (cua or cub) speed is the modem DTE speed used in /etc/ppp/Systems Sample entry: T3000 cua 38400 crtscts (f) cp /etc/ppp/Auth.ex /etc/ppp/Auth vi /etc/ppp/Auth Make an entry like the following. Make sure all other entries are commented out. LDxxxxxx mypassword Where LDxxxxxx is your account name and mypassword is your password that goes with your account name. 6. Initiating connection a. For testing purposes determine your systems's kernel by executing `arch -k` then for example execute if your system is a sun4c `modload /etc/ppp/tun-sun4c-4.1.1.o -exec /etc/ppp/tun_exec -entry _tuninit` Then load the pppframe STREAMS module, execute the following command before any pppd daemons are run: `modload /etc/ppp/pppframe-sun4-4.1.1.o -entry _pppframeinit` Now, to start up the pppd daemon: execute the command pppd this-host-ip-address:ip-address-of-router auto up Note: ip-address-of-router is the IP address used in /usr/lib/ppp/Systems; this-host-IP-address is the one you configured in Step 4, above. The modem should dial immediately. Once the connection is established you should be able to ping the ip-address-of-router then execute `route add default ip-address-of-router 1` b. Once you can successfully do the above steps, add the following to /etc/rc.local. After a reboot, the connection can now be established by sending any type of traffic over the link (mail,ping,etc). if [ -f /etc/ppp/Startup ]; then /etc/ppp/Startup fi