Hi SUNAdms,
Thanks to the following :
Rachel Polanskis
Richard Skelton
Scott F. Woods
Roger Fujii
Mark Sherman
ORIGINAL QUESTION :
++++++++++++++++++++
System = SunOS SPARC20
Node = kartik-nyc
Release = 5.6
Machine = sun4m
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 1
1. How to connect into Internet through external modem ?
2. What kind of External modem will Sparc20 supports (with transfer
rate) ?
3. Who are all providing Internet service (ISP) for SunSparc20
Unix systems ?
4. Is there any free dial-up software available for Sun systems ?
************************************************************************
|IF ANY FURTHER QUESTIONS AND DISCUSSION, PLEASE FEEL FREE TO EMAIL TO |
| SUN_ULTRA@HOTMAIL.COM |
| I WILL HAPPY TO PROVIDE AS MUCH INFORMATION AS YOU WANT |
************************************************************************
+++++++++
SUMMARY :
+++++++++
1. How to connect into Internet through external modem ?
========================================================
Please refer
http://www.stokely.com/unix.serial.port.resources/ppp.slip.html
for more details.
Here is how I configured (I chosed port "a" for Bidirectional)
o Connect your 56K modem with *Straight cable* to your system.
o Login as "root"
o Change the following EEPROM parameters by # eeprom [var=value]
eeprom ttya-ignore-cd=true
ttya-rts-dtr-off=true
ttya-mode=38400,8,n,1,-
o Configure ttymon :
# sacadm -a -p zsmon -t ttymon -c /usr/lib/saf/ttymon -v `ttyadm -V`
(If already exist, skip this step)
o Remove the existing Port monitor :
# pmadm -r -p zsmon -s ttya
o Make the following entry in /etc/ttydefs (I tried upto 38400 baud
rate):
contty6H:38400 -parity opost onlcr:38400 sane -parity crtscts
hupcl::contty6H
o FTP the add_modem script from
ftp://ftp.stokely.com/pub/add_modem.sh or
it is hear , and change the TTYSPEED to 38400 :
!/bin/sh
# add_modem shell script. Must be run as root from bourne shell
# Change these parameters as needed for your particular needs.
#
# PARAMETER MEANING
# --------- -------
# PORT Port you want to set up. "a" or "b"
# TTYSPEED Speed setting, from /etc/ttydefs
# LOGINMSG The login message which will be displayed.
# -p zsmon PMTAG, name of this port monitor
# -s ttya SVCTAG, modem is on ttya. you may want ttyb
# -d /dev/term/$PORT Actual port device.
# -l contty5H Ttylabel, defined in /etc/ttydefs file.
(speed
# setting. contty5H=19200 baud)
# -b Flag for bidirectional port use
# -S n Turn software carrier off (modem supplies
# hardware carrier detect signal)
# "dial in/out on serial port" This is a comment you'll see on pmadm -l
########################################################################
LOGINMSG="Always be nice to your sysadm. You may now login. "
# set PORT = either a or b
PORT="a"
#----------------------------------------
# choose your speed setting. See /etc/ttydefs for more, or build your
# own from the examples in the rest of this article.
# contty5H = 19200bps, 7 bits even parity, as supplied by Sun
# conttyH = 9600bps, 7 bits even parity, as supplied by Sun
TTYSPEED="contty5H"
#----------------------------------------
# change ownership of outgoing side of port to user uucp, group tty.
# change ownership of incoming side of port to user root, group tty.
chown uucp /dev/cua/$PORT; chgrp tty /dev/cua/$PORT
chown root /dev/term/$PORT; chgrp tty /dev/term/$PORT
#----------------------------------------
# Remove any existing port monitor on this port.
# You can ignore any error messages from this next command.
# If you see the message "Invalid request, ttya does not exist under
zsmon",
# You may be trying to remove a port monitor which does not exist.
/usr/sbin/pmadm -r -p zsmon -s tty$PORT
#----------------------------------------
# Create the new port monitor
/usr/sbin/pmadm -a -p zsmon -s tty$PORT -i root \
-v `/usr/sbin/ttyadm -V` -fu -m "`/usr/sbin/ttyadm \
-p "$LOGINMSG" -d /dev/term/$PORT -s /usr/bin/login -l $TTYSPEED -b \
-S n -m ldterm,ttcompat`" -y "dial in/out on serial port"
############ end of add_modem script#################################
o Make the above script executable and execute
# chmod 744 add_modem
# ./add_modem
o Make the following entry in /etc/remote :
cuaa:dv=/dev/cua/a:br#38400:at=hayes:
o execute the following "tip" command to make sure that your system is
communicating with modem
# tip cuaa
connected /* "connected" message says that
you're connected into port a */
ATE1V1 /* type ATE1v1 and enter */
OK /* If it says, OK then you modem
is communicating with System */
/* Otherwise check the above procedure to make sure
that
your modem is communicating with Systems */
~. /* type ~. to EXIT from tip */
++++++++++++++++++++++++++++++++++++++++++++++
CONFIGURING DYNAMIC Point2Point Protocol (PPP)
++++++++++++++++++++++++++++++++++++++++++++++
o CHECK the following packages comes with Solaris2.X
# pkginfo | egrep 'ppp|bnur'
system SUNWapppr PPP/IP Asynchronous PPP daemon configuration
files
system SUNWapppu PPP/IP Asynchronous PPP daemon and PPP login
service
system SUNWbnur Networking UUCP Utilities, (Root)
system SUNWpppk PPP/IP and IPdialup Device Drivers
o GET the following information from your ISP (Internet Service
Provider)
----> Host name of the machine where you're getting connected
----> Domainname of ISP
----> DNS entries of their service and nameserver IP address
----> Local Telephone number to dial
----> Ask them to create login for you and get PASSWORD
o ADD the following entries in /etc/asppp.cf
ifconfig ipdptp0 plumb localhost {IP_ADDRESS_OF_ISP_M/C} up
path
interface ipdptp0
inactivity_timeout 0
default_route
peer_system_name domainname.com # Change dominname of your
ISP
debug_level 1
negotiate_address on
lcp_mru 1500
o ADD or CREATE the following entries in /etc/resolv.conf
domain domainname.com # Fill the domainname and name server
entries
nameserver X.X.X.X # received from your ISP
nameserver X.X.X.X
o ADD the following entries in /etc/uucp/Systems
{domainname.com} Any ACU 38400 {PHONE_NO} "" P_ZERO "" \r\r
ogin:--ogin: {login_name} sswor
d: {password}\n\c
# name enclosed with { } are to be changed asper the details
received from ISP
# remove the {}
# Make sure that the domainname mentioned here must be same
as
# mentioned in /etc/asppp.cf peer_system_name value
# Just for identification only.
o CREATE the following entries in /etc/uucp/Dialers
hayes =,-, "" \dA\pTE1V1X1Q0S2=255S12=255\r\c OK\r \EATDT\T\r\c
CONNECT STTY=crtscts,cs8
,-parenb
o START the PPP daemon :
# /etc/init.d/asppp start
o reboot your systems to take the new configured values
# reboot -- -r
o Login again as root and PING to ISP
# ping domainname.com /* You can see the modem automatically
starts
dialing and gets connected into your ISP
*/
o Yes !!! Now your systems is connected into Internet
o You can monitor PPP errors in /etc/log/asppp.log
2. What kind of External modem will Sparc20 supports (with transfer
rate) ?
===========================================================================
Any HAYES compatible modem (I'm using V.90/56K)
3. Who are all providing Internet service (ISP) for SunSparc20 Unix
systems ?
=============================================================================
Better to ask your Local Internet Service Provider who are able to give
all
details required to configure your system as mentioned above.
4. Is there any free dial-up software available for Sun systems ?
=================================================================
NO NEED to dial each time, you just open any browser and type the URL
and it
automatically connects into Internet, Since you have configured all
information
necessary to dial in uucp configuration files.
************************************************************************
|IF ANY FURTHER QUESTIONS AND DISCUSSION, PLEASE FEEL FREE TO EMAIL TO |
| SUN_ULTRA@HOTMAIL.COM |
| I WILL HAPPY TO PROVIDE AS MUCH INFORMATION AS YOU WANT |
************************************************************************
Here is, some of the website suggested by the above SUN-Managers:
http://photon.nepean.uws.edu.au/ppp/
http://www.netcomuk.co.uk/~kempston/solaris/index.html
http://www.stokely.com/unix.serial.port.resources/index.html
http://www.pads.uwaterloo.ca/~mjfrazer/solaris-ppp.html
Regards,
Kartik
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:15 CDT