Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Remote Connectivity

Status
Not open for further replies.

rajeshbahl

IS-IT--Management
Jan 6, 2002
116
IN
We are facing one problem of connectivity.

Our main server (Openserver 5.0.5) is at our local office where different users are working on their terminals. The application software has been upgraded and some PCs have been added to the network. This is working fine.

For the same application to work from second office (which is in another city)we have placed the windows 98 PC there.
The application requires IP connection to be made to the server for proper functioning.
Can we get the IP connectivity from this remote windows PC over Dial-Up Connection (We are able to get the terminal connection from this PC by dialing into Unix server through hyperterminal, but this does not serve any purpose as the application can not work) ?


Can any body provide help on solving this problem ?


Thanks In Advance
Rajesh K. Bahl
 
Sounds like you need to run PPP. See the TCP/IP manual for more details. Generally you'll need a modem in/on your SCO server for every concurrent PPP connection.

If more than a few then you might want to use a terminal/access server (Cisco has one) as the PPP server. That said, if you need more than a few concurrent connections from the remote office then you should probably link the two offices so that the network is shared.

 
Hi wonboondoo

These are notes I made to set up PPP on SCO - its different for 5.06. They are for guidance only lines marked (eg) need your input!

NOTE that the numbers entered will probably be different for you - modem IP addreses etc.

PPP Setup – SCO UNIX 5.04 and 5.05

1. Configure modem

First mkdev serial and change the port speed to 38400 type o Answer on for tty1A or tty2A. Other higher speeds don’t seem to work.

Scoadmin/networks/modem manager


Modem/add/manual configuration
Vendor Multitech (eg)
Multitech multimodem. (eg)

2. Add modem to network

Scoadmin/networks/Network Configuration manager/Hardware/Add new WAN connection

SW SCO TCPIP PPP driver
Select network protocol TCP/IP/add

PPP Connections Dynamic Outgoing
Dynamic Incoming
Dedicated
Manual Outgoing
Select Dynamic Incoming

PPP login name ppp (eg)
Local host name ppp-hostname (eg)
Host ip address 193.168.0.80 (eg)
Destination name blank
Destination ip address 193.168.0.81 (eg)
Netmask blank

The next section may be skipped because of a sco bug. If this happens then add ppp user manually by:
cd /opt/K/SCO/tcp/2.1.1.Eb/usr/lib/tcprt
./addpppuser ppp (eg)

Do you want to add user id for ppp account y/n y
ID Number 1999 (eg)
Enter password password (eg)
Configure new links y/n n
Kernel relinks – reboot

Basically after the reboot it was no longer possible to add endpoints using scoadmin/networks/ppp manager message was
Unable to get the list of address pools …

****
vi /etc/ppphosts to check the last line reads:

*ppp local=ppp-hostname remote=193.168.0.81 flow=rtscts


3. Winnt setup(for Windows NT4)

Control panel/ras to add entry. Its necessary to use a script called scoppp.scp which is in C:/winnt/system32/ras


SCRIPT to use on the PC (RASDIAL)
============================================================

; For sco ppp
proc main
integer nTries=3
string szLogin="ogin:"
integer nLoginTimeout=10
string szPW="assword:"
integer nPWTimeout=3
delay 1

; transmit "^M"
while 0<nTries do
waitfor szLogin then DoLogin
until nLoginTimeout

TryAgain:

transmit &quot;^M&quot;
nTries=nTries-1
endwhile

goto Forgetit

DoLogin:
transmit $USERID, raw
transmit &quot;^M&quot;

; wait for password prompt

waitfor szPW until nPWTimeout
if FALSE == $SUCCESS then
goto TryAgain

endif

; send password
transmit $PASSWORD, raw
transmit &quot;^M&quot;
goto Done

Forgetit:
set screen keyboard on
halt

Done:
endproc

===========================================================

Check that the /etc/hosts contains the host ppp-hostname:

193.168.0.80 ppp-hostname (eg)

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top