AlterPath ACS Command Reference Guide
259
PCMCIA Cards Integration
Modem PC Cards
The modem device gets the
/dev/ttySn
name, where
n
is the number of embedded serial
devices plus 1. For instance, if the ACS has 32 onboard serial devices, the modem card
becomes the
/dev/ttyS33
.
VI Method
When a modem card is detected,
cardmgr
starts a script which loads mgetty for the
modem device automatically. mgetty provides the login screen to the remote user.
mgetty may also be configured to start PPP (pppd) and let PPP login the caller. The steps
to allow PPP connections are:
Step 1 - Enable login and PAP authentication in
/etc/mgetty/login.config
.
Enable the desired authentication in
/etc/mgetty/login.config
. For instance, you
may want the following authentication in
/etc/mgetty/login.config
to enable PAP
and system password database authentication:
/AutoPPP/ - a_ppp /usr/local/sbin/pppd auth -chap +pap login nobsdcomp nodeflate
Step 2 - Create a user name in
/etc/ppp/pap-secrets
.
If +pap authentication was selected, create a user name in
/etc/ppp/pap-secrets
. For instance, you may add the following line:
mary * marypasswd *
Step 3 - Create the user for login in the Radius server.
If the login option was used, create the user either locally (by running
adduser
)
or create the user in the Radius server for Radius authentication.
Step 4 - Copy the
/etc/ppp/options.ttyXX
as
/etc/ppp/options.ttyS33
(the modem
port).
Copy the
/etc/ppp/options.ttyXX
to have the device name assigned to the pcmcia
modem. For instance, if the modem is the
ttyS33
,
/etc/ppp/options.ttyXX
should be
copied as
/etc/ppp/options.ttyS33
. If you are not sure which
ttySxx
is the modem
device, do a "
ls -al /dev/modem
" with the modem inserted.
Step 5 - Uncomment local and remote IPs in
/etc/ppp/options.ttyS33
.
Uncomment the line that assigns the local and remote IPs in
/etc/ppp/options.ttyS33
(or whatever is the tty name in your system). For instance,
you may want to assign 192.168.0.1 for local ip, and 192.168.0.2 for the remote ip.
Step 6 - Save
/etc/ppp/options.ttyS33
in flash.
Содержание AlterPath ACS
Страница 16: ...xvi Table of Contents...
Страница 29: ...13 This page has been left intentionally blank...
Страница 30: ...14 Preface...
Страница 68: ...52 Device Access...
Страница 86: ...70 Authentication Step 5 Saving changes To save the configuration run the command saveconf...
Страница 96: ...80 Authentication Save the configuration to flash 2 cli config savetoflash...
Страница 114: ...98 Authentication...
Страница 204: ...188 Administration To exit the CLI mode and return to ACS s shell issue the command cli quit...
Страница 268: ...252 Power Management with AlterPath PM Integration...
Страница 304: ...288 PCMCIA Cards Integration...
Страница 338: ...322 Profile Configuration...
Страница 364: ...348 Additional Features and Applications...
Страница 376: ...360 Appendix A New User Background Information...
Страница 406: ...390 Appendix C Cabling and Hardware Information This page has been left intentionally blank...
Страница 418: ...402 List of Tables...
Страница 420: ...404 List of Figures...