This exciting example of modern networking begins with no modem. Follow steps (1) through (4) of the above procedure in "How do I set up an outgoing ppp connection?". Continue here with (5) below.
The big picture is that I intend to add a modem that is configured
as incoming/outgoing (this is the key to success!). I'll test
the modem outward using cu on the Uw7/OSR6 computer to my ISP and inward
allowing Uw7/OSR6 to answer a call from Hyperterminal on NT4 SP5.
I'll then make an incoming PPP bundle so that I can dial in from
NT4 and login as my unix username, mschalit.
After (1) - (4) above:
5) This button takes you into the Serial Configuration Manager.
Port Type = COM1 Modem
Configure Port = Incoming & Outgoing
Speed = 115200
Then ok to exit. Then ok to exit again. Then Host --> Exit.
Back in the Network Configuration Manager, Go ahead and exit
it also,
6) Testing the Modem: Working at a terminal prompt.
* Set the correct UID:GID on the serial port to uucp:uucp
if it's not correct:
chown uucp:uucp /dev/term/00m
* Directly connect to the modem with cu:
cu -l /dev/term/00m
You should enter the connection screen and see a message.
You may see an AT. Type AT and press Enter, and you will
see an OK or 0. If you don't, type ATE1 and Enter, and
then AT again. That E1 turns on echo, which you need to see
the data, but you don't need for PPP, that's why it's off.
You can also type ATZ and Enter to reset the modem, then AT.
Don't worry about about the state you leave it in.
* Test that link to see if you get a dial tone:
ATDT
You will hear it after typing that. Hit ~. to
disconnect and reconnect with cu -l /dev/term/00m
* Test the link outbound... Dial the ISP, login, etc.
ATDT 2xxyy92
After you login, disconnect with ~.
* Test the link incoming... I got on my NT4 box and
ran Hyperterminal and dialed my Uw7/OSR6 modem. It
answered and I hit enter to get a Login prompt.
I logged in as myself and was able to ls -l and
cal and banner hello a bunch of times. Good.
* Test the link outbound again.
* Test the link inbound again.
All those tests show me that the modem is stable and will
answer calls and make calls repeatedly. Good news.
7) Now with a working modem, restart the Scoadmin Network
Configuration Manager again to build the PPP link. Choose
View --> WAN and then select Software --> Configure PPP...
Then choose View --> Bundles screen. Then Wizard --> Add.
Then Incoming, Start.
8) In the Incoming : Remote Access Window...
Remote access bundle: sysop
Authentication methods...
Enable Chap = No
Enable Pap = No
Enable login = Yes
Enable Caller ID = No
Then Next...
9) In the Incoming : Login screen.......
Username: rasop
Password: entered something here
Next
10) In the Incoming : IP Network Protocol window.....
I left it on local and left my local address in there...
Local address assigned by: Local
Local IP Address/hostname: 10.1.1.1
Remote address assigned by: Local
Remote IP address/hostname: 10.1.1.103
Use as default route: No
Local host acts as gateway: Yes
Act as proxy for arp: Yes
Then next......
11) In the Incoming : Advertise DNS
Advertise DNS servers: Yes
Primary server address: 10.1.1.1 (because I have one)
Secondary:
The next....
12) In the Incoming : Link Devices window.........
Flow Control: Hardware
Multilink max links: 1
Selected devices: COM1 Add >>
Then finish, then exit, then exit.
Now we are ready to dial in from another computer. I have set up
my NT4 box with a PPP link to Uw7/OSR6 I told NT to bring up a
terminal window during the modem negotiation so that I can
type in my login:pass. That's on the Script tab in the Edit
Modem Properties. I told it not to do software compression and
not to do VJ header compression due to the modem compression
and the rfc1323 being enabled.
When I dial, a little window pops up with three fields:
username
password
domain
Check Box for save password
It doesn't matter what I enter there, because I will end up logging
in with the terminal window. I entered something and it dialed out and
popped up the terminal window. I logged in as rasop and gave it
the password, and it worked.
<mschalit@pacbell.net>
gerberb@zenez.com |