Mike's PBX Cookbook

MIRAN File Transfer

There are several ways to transfer files to or from a MIRAN card:

MethodRequirementsService
1. Via PCMCIA slot (drive A:)A 64Mb PCMCIA CF memory card/adaptertick
2. Via File Transfer ProtocolLAN connection, IP address, FTP clienttick
3. Mount the CF on PC/laptop Remove onboard flash drive, USB CF readercross

If the MIRAN card is connected to a LAN (ELAN), network file transfer (FTP) is a good non-service impacting option! This method can be used to make backup copies of the keycode, music/announcement, and calendar files. A network connection also allows remote administration via a web browser, and/or TELNET. A NTVQ0120E5img.png 50 pin i/o adapter is required to connect MIRAN to a network.

To assign MIRAN an IP address: MIRAN Log On Screen

FTP Commands:

MIRAN has a limited FTP command set, the following commands are supported:

CmdDescription
cdChange MIRAN drive
lpwdPrint local directory path
lcdChange local directory
ascSet ASCII mode
binSet binary mode
CmdDescription
lsList files on MIRAN drive
getCopy file from MIRAN
putSend file to MIRAN
delDelete file on MIRAN drive
byeClose session

! (exclamation) is a local shell, prefix a command to execute it locally, eg: !ls
Use ASCII mode to transfer text files (keycode.dat), and Binary mode to transfer all other files.
Change to the MIRAN PCMCIA drive with cd /A:, or internal flash drive (default) with cd /C: - drive letter is uppercase.

The plain-text file C:KEYCODE.DAT must be present (and validate) for MIRAN to function after a reboot.
To restore the default accounts (and reset passwords), delete the file C:_USERS.DAT (mount CF if no access).

Default accounts: User: user/user0000 | Administrator: admin/admin000 | Distributor: distrib/distrib0

Example:

MIRAN does not support PWD causing some GUI programs to fail, therefore, simply use the command line.
Open a FTP session from the command line (Windows) or Terminal (Mac) with ftp <user>@<IP-address>

Windows may try to resolve <user>@<IP-address>, in which case, type ftp, and then open <IP-address>
You are then prompted (from the Miran) for a username and password.

Transfer files with put <filename> or get <filename>, being careful to set the correct mode first (eg, bin).
Close the session with close, bye, or quit.

Transferring a .wav file to the Miran:

$ ftp admin@192.168.32.32                     ⇐ open connection
Connected to 192.168.32.32.
220 VxWorks (5.4) FTP server ready
331 Password required
Password: ########                            ⇐ default: admin/admin000
230 User logged in
ftp> bin                                      ⇐ set binary mode
200 Type set to I, binary mode
ftp> put flowy.wav                            ⇐ copy file to MIRAN
local: flowy.wav remote: flowy.wav
227 Entering Passive Mode (192,168,32,32,4,26)
150 Opening BINARY mode data connection
100% |***********************************|  1557 KiB  345.83 KiB/s    00:00 ETA
226 Transfer complete
1594997 bytes sent in 00:04 (317.28 KiB/s)
ftp> bye                                      ⇐ close the session
221 Bye...see you later