How to configure dial up network in your Solaris 10
===========================================
You will get many references googling. But you may be confused. Let's
keep it simple with the help of experience. Follow the steps correctly
and you are done.
Step 1:
If you have selected non-networked during installation of Solaris 10
then you have to active network interface using the following command:
# ifconfig interfaceName plumb up ipAddress netmask subnetMask
In my PC the default network interface is rtls0. You can get using
following command
# ifconfig -a
ipAddress means ipAddress of your PC in LAN (better you collect it
from Windows). Subnet Mask is the subnet mask of your PC something
like this 255.255.0.0.
Step 2:
create a file /etc/ppp/peer/isp with following contents:
##########################################################################
sppptun
plugin pppoe.so
connect "/usr/lib/inet/pppoec interfaceName"
user
ati...@smile.com.bd # my account name at my ISP
remotename
smile.com.bd # name of the ISP; for pap-secrets
noauth # do not authenticate the ISP's identity (client)
noipdefault # assume no IP address; get it from ISP
defaultroute # install default route; ISP is Internet gateway
updetach # log errors and CONNECT string to invoker
noccp # ISP doesn't support free compression
##########################################################################
Step 3:
append to /etc/ppp/pap-sectrects and /etc/ppp/chap-sectrects
ispProvidedUserName ispName password
Be careful no space as separator is used. You must place tab to
separate them. For example,
nir...@smile.com.bd smile.com.bd abcdef
Step 4:
Create /etc/ppp/pppoe.if with content
############################################
interfaceName
############################################
As I said interfaceName in my case is rtls0.
Step 5:
create /etc/resolv.conf with content
############################################
nameserver primaryDNSServer
nameserver secondoryDNSServer
############################################
You can get them from Windows(peeping into your dialup connection
detais) or asking the ISP.
For example, mine is:
nameserver 114.31.0.66
nameserver 4.2.2.2
Step 6:
Apply following commands
# sppptun plumb pppoed interfaceName
# sppptun plumb pppoe interfaceName
# pppd call isp
You can use debug to check for errors.
# pppd debug call isp
Sources:
http://blogs.sun.com/popuri/entry/configuring_pppoe_on_bsnl_networks