Solved

Solaris x86 PPP setup

Posted on 1997-03-25
2
445 Views
Last Modified: 2013-12-16
Can anyone email me a simple, easy to follow, list of instructions on setting up PPP dial in for Solaris 2.5.1 for  the x86?
0
Comment
Question by:mccarter
  • 2
2 Comments
 
LVL 2

Accepted Solution

by:
pxh earned 150 total points
ID: 1811963
I assume x86 Solaris PP is equal to Sparc Solaris PPP, at least I didn't find any hint in the man pages for differences. So here are the steps:

First you have to allow logins via the modem. That is tricky but there is a nice paper by Celeste Stokely, how to do it (even Sun recommands it). You can find it here:

http://www.stokely.com/unix.serial.port.resources/tutorials.html

There are also PPP hints!

After you are through you should verify that you can dial and log in via the modem.

Next you have to install (pkgadd) the PPP Support: SUNWapppr, SUNWapppu and SUNWpppk.

You know have to configure an account for the PPP dial in. Everything is like a normal user except that you need to
specify "/usr/sbin/aspppls" as the default shell. The account name will be refered to as <ppp_AC> below.

Next define an IP number and Internet address for the dial in client, whereever necessary (/etc/hosts file, NIS hosts map
and DNS). I will refer to this as <ppp_IP> below.

Now configure /etc/asppp.cf accordingly. E.g.:

ifconfig ipdptp0 plumb <x86_IP> <ppp_IP> netmask 255.255.255.0 mtu 1500 up

defaults
      ipcp_async_map 0
      inactivity_timeout 300            # Approx. 5 min
      debug_level 1
#

path
      interface ipdptp0
      peer_system_name <ppp_AC>

#end of /etc/asppp.cf

<x86_IP> is the IP number of your x86 system running Solaris 2.5.1. and the PPP service.

Next create a file /etc/gateways and enter the line "norip ipdptp0" to it.

Now you are ready to start the PPP daemon: enter "/etc/init.d/asppp start" then check the file /etc/asppp.log where success or error messages are collected.

You may have to do one more thing: issue the command
"/usr/sbin/arp -s <ppp_IP> <x86_ETHERNET#> pub" to make your PPP client public.

I hope I didn't skip anything, so let me know about your progress.

Peter (pxh@mpe-garching.mpg.de)

0
 
LVL 2

Expert Comment

by:pxh
ID: 1811964
By the way, nobody can email you anything without knowing your address ;-) And anyhow answers should be made available to others by exchanging them via this pages.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question