$ grep sppp /etc/name_to_major
sppp 265
sppptun 266
/etc/ppp/peers# cp myisp.tmpl mts
root@SS:/etc/ppp/peers# sppptun plumb pppoed rge0
rge0:pppoed
root@SS:/etc/ppp/peers# sppptun plumb pppoe rge0
rge0:pppoe
vi /etc/ppp/pppoe.if
rge0
/etc/init.d/pppd start
root@SS:/etc/ppp/peers# sppptun query
rge0:pppoed
rge0:pppoe
root@SS:/etc/ppp/peers# /usr/lib/inet/pppoec -i rge0
0:30:88:1f:65:96 Uniq:00000001 Name:"MTS-BR4" Svc:""
pppd debug updetach call mts
$ cat /etc/ppp/peers/mts
#ident "%Z%%M% %I% %E% SMI"
#
# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License"). You may not use this file except in compliance
# with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or
http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
# This is an example configuration for dialing into a typical ISP from a
# single node. To use this example, uncomment the last line of the
# pap-secrets file and rename the template files:
#
# mv /etc/ppp/options.tmpl /etc/ppp/options
# mv /etc/ppp/options.ttya.tmpl /etc/ppp/options.ttya
# mv /etc/ppp/myisp-chat.tmpl /etc/ppp/myisp-chat
# mv /etc/ppp/peers/myisp.tmpl /etc/ppp/peers/myisp
#
# and invoke with:
#
# pppd ttya call myisp
#
# Options in this file, /etc/ppp/options, /etc/ppp//options.<tty>,
# /etc/ppp/pap-secrets, and /etc/ppp/chap-secrets are all considered
# privileged. Those from ~/.ppprc and the command line are privileged
# if the invoker is root, and unprivileged otherwise.
#
sppptun
plugin pppoe.so
connect "/usr/lib/inet/pppoec rge0"
user "yyyy" # my account name at my ISP
password "xxxxxx"
#persist # if the connection dies, bring it back up
noauth # Do not make the other side authenticate itself
noipdefault # Let them give you what IP they want to give you
noccp # No compression
#novj # No compression
#noaccomp # No compression
#nopcomp # No compression
defaultroute # add an appropriate default route
#remotename myisp # name of the ISP; for pap-secrets
$ cat /etc/ppp/chap-secrets
yyyy * xxxx