Page 1 of 2

Can we retrieve the OPS files on analog modem remotely

Posted: 17 Sep 2008 04:47
by azhar
Hello,

I would like to know whether we can retrieve OPS files from 4400s/OXEs using analog modem remote connection. Normally I have to be onsite and ftp to get the files. But lately, someone told me that we can retrieve the OPS files using the analog modem connection.

I have tried FileZilla to see if there is field where you can enter a phone number instead of a host IP address, but nothing to do.

Does anyone know how to do this and if yes, how?

many thanks. :)

Re: Can we retrieve the OPS files on analog modem remotely

Posted: 17 Sep 2008 05:27
by krzysioD
this is VERY basic training.
Not on oxe, but on using terminals and modems.

Hint: modem file transfer protocol, for example Kermit.

commands are wermit (for 4400) and gkermit (for OXE).

your terminal software shoud support kermit file transfer.

Huh, i think that i'm too old and i do remeber the BBS era and modems with 1200 bps.

Re: Can we retrieve the OPS files on analog modem remotely

Posted: 22 Sep 2008 12:04
by crashdump
There are several easy ways of doing this, if you are on a OXE system try the following:

(1)xa000001> swinst
Password:
1 Easy menu
2 Expert menu
Q Exit

Your choice [1..2, Q] ? 2

From the next menu select option 5

5:OPS configuration

From the next menu select option 1

1:Backup OPS files on cpu disk

Confirm the backup of OPS files (y/n, default y): y

Once backup is completed, quit back out to the command prompt and then continue as follows:

(1)xa000001> cd /usr4/BACKUP/OPS
(1)xa000001> ll
total 112
-rw-rw-r-- 1 root other 13862 May 7 14:27 **********.hw
-rw-r--r-- 1 root other 558 May 7 14:27 **********.sw4760
-rw-rw-r-- 1 root other 10595 May 7 14:27 **********.swk
-rw-r--r-- 1 root other 46768 May 7 14:27 **********.zip
-rw-rw-r-- 1 root other 13862 May 7 14:27 hardware.mao
-rw-rw-r-- 1 root other 12002 May 7 14:27 hardware.old
-rw-rw-r-- 1 root other 80 May 7 14:27 ops.lis
(1)xa000001> gkermit -s *.*

The files will now be transferred into the relevant directory of your terminal emulation tool. When finished, don't forget to end the Kermit process; if this is not done it can lockout the remote access connection.

Re: Can we retrieve the OPS files on analog modem remotely

Posted: 23 Sep 2008 00:54
by azhar
Thank you Crashdump!

Just one point I need to clear out. When you say terminal emulation tool, can it be the VT100 on Hyperterminal? Do I choose 'Transfer -> Receive file' then from there select 'Kermit' as the 'Receiving protocol'?

When you type gkermit -s *.*, does then send those files automatically? what would happen if I do not prepare the reception of files as in above (Transfer -> Receive); would it still receive the files?

Many thanks again.

cheers!

Az

Re: Can we retrieve the OPS files on analog modem remotely

Posted: 23 Sep 2008 10:34
by torrentula
When you say terminal emulation tool, can it be the VT100 on Hyperterminal?
Yes
Do I choose 'Transfer -> Receive file' then from there select 'Kermit' as the 'Receiving protocol'?
Yes
When you type gkermit -s *.*, does then send those files automatically?
The *.* specifies all the files in the directory you are in /usr4/BACKUP/OPS. Once you start the receive on your terminal, you will receive all those files.
what would happen if I do not prepare the reception of files as in above (Transfer -> Receive); would it still receive the files?
No, you have to start the receive.

Re: Can we retrieve the OPS files on analog modem remotely

Posted: 24 Sep 2008 02:27
by azhar
All very clear. Thank you T!

Az

Re: Can we retrieve the OPS files on analog modem remotely

Posted: 24 Sep 2008 03:57
by azhar
Hi all,

Just to round up this topic a bit, I would like to ask whether the reverse is possible; I mean, can we send OPS files to the OXE/4400 using the analog modem. This would save a lot of travel/time and reduce our carbon footprint; a bit for the environment!;retrieve the OPS files, get Alcatel to modify them and then send them back, all at the lab in the office! :D

So, as with retrieve, can we send OPS files using the 'Send file' option on the terminal emulation tool. Because from what I understood from about, to receive file, you have to activate the 'receive file' option on your terminal emulation; how does the 4400/OXE know it will be receiving files?

thank you.

Az

Re: Can we retrieve the OPS files on analog modem remotely

Posted: 24 Sep 2008 06:19
by Gedeon
Type man gkermit in google :

http://pwet.fr/man/linux/commandes/gkermit (2nd response)

G.

Re: Can we retrieve the OPS files on analog modem remotely

Posted: 25 Sep 2008 09:33
by knightr1der
azhar - i know you are more clever than this!

gkermit -s (this will send from oxe to you)
gkermit -r (this will put oxe in to recieve mode waiting for you to send file)

Re: Can we retrieve the OPS files on analog modem remotely

Posted: 22 Jan 2009 12:10
by Gedeon
Just check that the name of the files are in the good format (swk and not SWK, or mao and not MAO).

wermit (4400) and gkermit (OXE) can be used for transfer file trough modem connexion, like OPS, patch, binaries files (man gkermit to put the transfer in binary mode), or traces...
I recommanded to compress the fils before transfer with gzip -9 on OXE or zip on PC.
Binary mode is mandatory in this case.

G.