Operating System - HP-UX
1826440 Members
4074 Online
109692 Solutions
New Discussion

Re: How to setup a external modem to send to dial out and transfer files to ..

 
Mohan Chennasamudram
Occasional Contributor

How to setup a external modem to send to dial out and transfer files to ..

Hello,

Recently attached a US robotics external modem to the N4000 HP-UX 11.0

Looking for procedure to configure the modem and also wanted to find out how to transfer files to an external system


Thanks
Mohan CK
7 REPLIES 7
David Totsch
Valued Contributor

Re: How to setup a external modem to send to dial out and transfer files to ..


Transfer files? It depends. If you want to, you could use a SLIP or PPP connection. Or, if you are asking how to transfer files while connected from your PC, use kermit. If you want to use modem-to-modem transfer between UNIX systems there is always UUCP (Unix to Unix copy).

-dlt-
Mohan Chennasamudram
Occasional Contributor

Re: How to setup a external modem to send to dial out and transfer files to ..

David,

I need to know the basic setup for hooking up the modem and configuring it in the HP server.

We are trying to get and put some files to a bank from this server... we have been provided with the dial #, id and password of the bank server...so we need to setup this modem and dial out from our unix server to get files from the remote bank server..

Right now i hooked up the modem to the unix server( I used the serial port to be used for remote connection for HP support - temporarily)

Thats where I stand...

Thanks in adv

Mohan
Paula J Frazer-Campbell
Honored Contributor

Re: How to setup a external modem to send to dial out and transfer files to ..

Hi

Use SAM
SAM Peripheral Devices ->
SAM Terminals and Modems
Actions
Add Modem
Select the card
Select the port number
Select speed
The rest is set to what you require to do - dial out / in ETC.

HTH

Paula
If you can spell SysAdmin then you is one - anon
Ovidiu D. Raita
Valued Contributor

Re: How to setup a external modem to send to dial out and transfer files to ..

After you follow the steps outlined by Paula you can test the connection using kermit ( or su )
For Kermit:
1. # kermit
2. # kermit> set line /dev/cul0p2 <- SAM should have created a device file for you. Usaully is cul0p2. Double check it.
3. # kermit> set speed 9600
4. # kermit> at
it should answer OK.
Now you can try to dial out
5. # kermit> atdt416123123 <- this is a valid phone number. You should be able to dial out.

Now you are sure that the modem is OK.

As David said you would have to decide if you want to user kermit or uucp. Then .... get back to us.

Ovidiu

P.S. Your connection might hang. Make sure that you can connect from another terminal and kill Kermit. The escape caracters are ESC-\, and then CTRL-C but sometimes it just doesn't work.

Simple solutions to complex problems
Mohan Chennasamudram
Occasional Contributor

Re: How to setup a external modem to send to dial out and transfer files to ..

Ovidiu,

I created the device with SAM as specified,

I typed kermit and tried 'at' here is what I got

vjdee03:root>kermit
Executing /usr/share/lib/kermit/ckermit.ini for UNIX...
Good Morning!
C-Kermit 6.0.192, 6 Sep 96, for HP-UX 10.00
Copyright (C) 1985, 1996,
Trustees of Columbia University in the City of New York.
Default file-transfer mode is TEXT
Type ? or HELP for help.
[/] C-Kermit>at
?No keywords match - at
[/] C-Kermit>

Looks like I'm missing some setup, Ple let me know

Also I am suppose to Use ZMODEM to communicate with the bank, I downloaded the protocol from omen.com and compiled it, got executables rc, rx,rz,sb,sx,sz...what should I do with this..What set up I need to do to communicate with ZMODEM protocol


Thanks for your help so far too..

Mohan CK
Mohan Chennasamudram
Occasional Contributor

Re: How to setup a external modem to send to dial out and transfer files to ..

sorry.....this is the correct output

vjdee03:root>kermit
Executing /usr/share/lib/kermit/ckermit.ini for UNIX...
Good Morning!
C-Kermit 6.0.192, 6 Sep 96, for HP-UX 10.00
Copyright (C) 1985, 1996,
Trustees of Columbia University in the City of New York.
Default file-transfer mode is TEXT
Type ? or HELP for help.
[/] C-Kermit>set line /dev/cul1p1
[/] C-Kermit>set speed 9600
/dev/cul1p1, 9600 bps
[/] C-Kermit>at
?No keywords match - at
[/] C-Kermit>
Paula J Frazer-Campbell
Honored Contributor

Re: How to setup a external modem to send to dial out and transfer files to ..

Hi
Before ucing the "AT" command in kermit set the correct connection parameter dev, modem type, and speed use "sh co" to verify that it is correct, the connect "c" , once connected use "at" and the modem should respond with an "ok".

Paula
If you can spell SysAdmin then you is one - anon