With the help of a few kind suggestions from some of you out there, and
a lot of time spent looking through the Answerbook I have managed to
successfully connect to my ISP using PPP on my Sun SS20 (Solaris 2.5).
For the benefit of those still struggling to do this I will attempt to
summarize the steps that I took.
Basically, there a whole bunch of files that need to be set up. These
One by one I will list the changes I made to each of these files. I
don't promise that this will work for anyone else, but it should at
least provide a place to start. I'm also sure that my solution is not
unique. The pages in the Answerbook under TCP/IP and PPP are invaluable
and explain what all these files and options mean.
Note that my ISP provides dynamic address allocation upon connection.
1. File: /etc/hosts
Added two lines: one for my machine and one for the ISP:
oar.net is my machine. isp.net is a name for the ISP. The address for
oar.net is made up (its irrelevent because of the dynamic allocation).
The address for isp.net must be the correct Internet address for your
2. File: /etc/uucp/Systems
Added one line:
isp.net Any;0 ACU 38400 5551212 ogin:--ogin: oar%PPP ord:\s XXX
This says that the connection is via modem (ACU) at up to 38400 baud
(this rate must be selected from a list of supported speeds). The phone
number and login sequence for the ISP follow. See the Answerbook for
3. File: /etc/uucp/Dialers
This file probably doesn't need to be changed much. I used the entry
for "hayes" that was already there. You can add your modem specs if
4. File: /etc/uucp/Devices
Added one line:
ACU cua/a - Any hayes
This links the hayes modem to the "a" serial port which must, of course,
be configured separately as a modem port using admintool.
5. File: asppp.cf
Added the following lines:
ifconfig ipdptp2 plumb oar.net isp.net up
Note: debug_level 8 is very useful for checking how things are working.
A log file is written in /var/adm/log/asppp.log.
6. File: resolv.conf
Added 2 lines:
7. File: /etc/nsswitch.conf
Changed one line:
hosts: files dns
When you reboot your machine the modem should dial out automatically and
the asppp service should start. I use the commands "asppp start" and
"asppp stop" while logged in as root to start and stop asppp services
Try "ps -e |grep asppp" to see if asppp is running. If not, then try
"asppp start." Then try "ping isn.net 100." You should get a message
"isn.net is alive" if all is well.
That's about it folks!