Page 81 / 83 Scroll up to view Page 76 - 80
79
4.2.23 [rom]
ROM file information and firmware upgrade function.
------------------------------------------------------------------------------------------------
usr/config$ rom
ROM files updating commands
Usage:
rom [-print][-app][-boot][-dsptest][-dspcore][-dspapp][-greet][-askpin]
-s TFTP/FTP server ip -f filename
rom -print
-print
show versions of rom files. (optional)
-app
update main application code(optional)
-boot
update main boot code(optional)
-boot2m
update 2M code(optional)
-dsptest
update DSP testing code(optional)
-dspcore
update DSP kernel code(optional)
-dspapp
update DSP application code(optional)
-greeting
update greeting voice file(optional)
-askpin
update ask pin code voice file(optional)
-s
IP address of TFTP/FTP server (mandatory)
-f
file name(mandatory)
-method
download via TFTP/FTP (TFTP: mode=0, FTP: mode=1)
-ftp
specify username and password for FTP
-server
specify EMS Server IP address
-id
specify EMS Server ID
-pwd
specify EMS Server password
-emstime
specify EMS cycle time
Note:
This command can run select one option in 'app', 'boot',
, 'dsptest', 'dspcore', and 'dspapp'.
Example:
rom -method 1
rom -ftp vwusr vwusr
rom -app -s 192.168.4.101 -f app.bin
usr/config$
Page 82 / 83
80
Parameter Usages:
-print
show versions of all rom files
-app, boot, boot2m, dsptest, dspcore, dspapp, greeting, askpin
to update
main Application program code, Boot
code, DSP testing code, DSP kernel
code,
DSP application code,
greeting file, askpin file.
Note: To set mac address please key in command setmac:(when key in
MAC address ,press enter each time after key in two characters)
Please get the MAC address from the bottom of your FXO VOIP units.
-------------------------------------------------------------------------------------------------
usr/config$ setmac
- enter mac address (xxxxxxxxxxxx):
0001a8002baa
- the mac address is 00 01 a8 00 2b aa
- if mac address is correct,please press 'y' to
setup configuration,else press 'n' to continue
y
-------------------------------------------------------------------------------------------------
-greeting
The greeting file can be updated by users. The attributes of sound
file should complied to:
μ
-law, 8000 Hz , 8 bit, Mono, 7 kb/s
-askpin
update ASKPIN sound file. This is the greeting sound that when
asking for pincode.
-s
to specify TFTP server’s IP address when upgrading ROM files.
-f
to specify the target file name, which will replace the old one.
-method
to decide using TFTP or FTP as file transfer server. “0” stands for
TFTP, while “1” stands for FTP.
-ftp
if users choose FTP in above item, it is necessary to specify
pre-defined username and password when upgrading files.
4.2.24 [passwd]
For security concern, users have to input the password before entering
configuration mode.
Page 83 / 83
81
-------------------------------------------------------------------------------------------------
usr/config$ passwd
Password setting information and configuration
Usage:
passwd -set Loginname Password
passwd -clean
Note:
1. Loginname can be only 'root' or 'administrator'
2. passwd -clean will clear all passwd stored in flash,
please use it with care.
Example:
passwd -set root Your_Passwd_Setting
usr/config$
Parameter Usages:
-set
(
passwd –set “login name” “password”
)
Note
: “login name” can be “
root
” or “
administrator
” only. “root” and
“administrator” have the same authorization, except some commands that
can be executed by “root” only – “
passwd –clean
”,
rom –boot
”, ”
rom –bot2m
” and “
flash –clean
”.

Rate

3.5 / 5 based on 2 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top