I would like to access RISC6000 server from my house. The server is located in the office. What are the criterias need to be setup in both machine (PC and Server)
1. configure the rs6k to receive dialup connection (modem, phone lines, etc.)
2. if your office network is online or have access to Internet - configure your rs6k for access just by telnet (if you have have firewall, specify server_name or IP address to allow such access).
a, fill in the port number
b, set "Enable LOGIN" to enable
c, select the baud rate required
d, set the flow control to rts (RTS/CTS)
e, leave all other options at their default values
Test the modem and the port by dialing in from a Windows95 machine using hyperterminal and logging into the RS6000 as root. If you are able to dialin and log on to the system then the tty port and modem are okay.
3, Create a PPP user called "ppp" and set the password :-
mkuser ppp
passwd ppp
pwdadm -f NOCHECK ppp
4, Setting up PPP
smit ppp
select "Link Control Configuration"
select "Add a Link Configuration"
enter the following details :-
a, PPP subsystem name [ppp]
b, max server connections [1]
c, max client connections [0]
d, max demand connections [0]
e, max ip interfaces [1]
f, max async hdlc attachments [1]
leave all other options at their default values
smit ppp
select "PPP IP Interfaces"
select "Add a Server Interface"
enter the following details :-
a, Local IP address [10.0.0.1]
b, Starting Remote IP address [10.0.0.2]
c, Number of addresses [1]
d, Netmask [255.255.255.0]
5, Start PPP using :-
startsrc -s pppcontrold
Check that the ppp control daemon is running using:-
lssrc -s pppcontrold
Check that the pp# network interfaces have been created using :-
a, fill in the port number
b, select the baud rate required
c, set the flow control to rts (RTS/CTS)
d, leave all other options at their default values
3, Test the connection to the modem
You need to have cu installed on the machine, check this using :-
lslpp -L bos.net.uucp
If not installed, then install using smit install_latest
Edit the /etc/uucp/Devices file and append the following line :-
Direct tty## - baud_rate direct
Where tty## is the tty created in step 1, and baud_rate is baud rate number set for that tty.
cu -ml /tty##
"CONNECTED" should be displayed. Enter 'at'. The modem should respond with "OK". You can enter a few at command to check the modem. Exit cu by entering a tilde (~) followed by a period (.)
4, Setting up PPP
smit ppp
select "Link Control Configuration"
select "Add a Link Configuration"
enter the following details :-
a, PPP subsystem name [ppp]
b, max server connections [0]
c, max client connections [1]
d, max demand connections [0]
e, max ip interfaces [1]
f, max async hdlc attachments [1]
leave all other options at their default values
5, Setting up PAP Authentication
smit ppp
select "PAP Authentication"
select "Add a User"
enter the following details :-
User name [rs6000.freeserve.co.uk]
Remote host name [*]
Password [mypassword]
6, Start PPP using :-
startsrc -s pppcontrold
Check that the ppp control daemon is running using:-
lssrc -s pppcontrold
Check that the pp# network interfaces have been created using :-
netstat -in
7, Setting up a debug file.
In /etc/syslog.conf add the line :-
*.debug /tmp/ppp
Create the file /tmp/ppp using :-
touch /tmp/ppp
chmod +w /tmp/ppp
Start debug using :-
refresh -s syslogd
pppcontrold can be set to provide more detailed output :-
pppattchd is started to establish a PPP link. It calls the pppdial program which uses the "chat script" to do the actual dial out. The dial out command to use should resemble :-
You can log in to the system as if it was directly attached with any vt100 emulator and dial up program.... and just setting up a modem on the rs6000.
You can also set up PPP so you can do transfers and stuff from your pc....I guess it depends if you want to work as a dumb terminal via modem...or as if you are
actually networked in............
The PPP above is great...but you can do a plain old crummy modem setup and
have your pc just dial...the rs6000 and all is well as well.. see below for
Hayes Modem setup.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.