SmartBro Motorola Canopy TELNET Command

The entries marked "From Unix" will be descibed in the unix manual pages. The links go to google searches that will describe the command in the unix enviroment. Canopy uses a subset of the unix options.

addwebfile filename -- Add a custom web file
This take filename and copies it to the flash memory. Transfer a file to the canopy unit 1st and then use this to overwrite the factory defaults. clearwebfile will undo this. To override the image at the top of each web page, upload a new canopy.jpg image and use 'addwebfile canopy.jpg' to replace the existing one. You can only add a file once and you must remove all web pages if you need to update an existing file you've transferred. See lsweb to see what files have been uploaded.

antennagain filename -- Set Antenna Gain parameter for the radio
This will set antenna gain for some radios with external antennas.

arp [-a | -d host | -s host either_addr [temp] | arp -f filename] -- Display, set, and delete arp table entries. From Unix
'arp -a' will give a list of all the known ip address and their arp addresses.
'arp -d ip_address' will delete an arp entry for a specifc ip address.
'arp -s ip_address ether_addr' doesn't seem to work but I've had it work before.
'arp -f filename' This should read filename and set an arp address for several ip addresses.

bcb -- bcb -- Print BridgeCb
This info is on the web page bridgecbstat.html

bertoff -- Turn on/off BERT test, berton/bertoff
You must telnet in again to run bertoff.

berton -- Turn on/off BERT test, berton/bertoff
Runs some test. You must telnet in again to run bertoff to turn it

bitset address mask -- set mask bit(s) at address, (32bits)

bitclr address mask -- clear mask bits at address
This clears all the bits that are ones in the mask in the 32 bit region at address.

bootinfo -- Display boot image info
It shows the boot header info.

btbl -- bcb -- Print BridgeCb
Same info is on web page. this shows the bridging table mac address.

burnfile -- Burn flash from file
This updates the system software. 'Burnfile boot.bin'to use file boot.bin (but boot.bin is the default). Newer versions require SMboot.bin for a SM or APboot.bin for an AP. It will also install the bootloader block.bin. On P9 hardware the FPGA code is included in *boot.bin.

calpower [new_value] -- Calibrate the power Level of the radio

calslicer [new_value] -- Calibrate the slicing value of the radio

calrssi [new_value] -- Calibrate the RSSI of the radio
This is normally about 700 to 800. A value of 300 will allow marginal radios to sync more often but they are unreliable. This apparently adjusts the internal values so that the threashhold where association will work is about 700.

callock -- Lock in the current calibration settings
cat -- Concatenate and display. From Unix
This shows a file.

cd -- Change working directory. From Unix
clearsyslog -- Clear the system event log:
clearwebfile -- Clear all custom web files
clraltboot -- Clear Alt image
clrbtbl -- bcb -- Print BridgeCb
Same info is on web page.

clrrmtsyslog -- Clear remote device system log
clrscr -- Clear the screen, using TERM value
cmp -- Perform a byte-by-byte comparison of two files. From Unix
cp -- Copy files. From Unix
date -- Display or set the date. From Unix
defaulttxpower -- Display or set the default power.
du -- Display disk blocks usage. From Unix
echo -- Echo arguments to the standard output. From Unix
feccb -- bcb -- Print BridgeCb
Same info is on web page.

fpga_conf -- Update FPGA program
getid -- Get user id and group id
getpri -- Get task priority
g -- GPS Status
head -- Display the first few lines of the specified files. From Unix
help -- Display reference manual pages
httpstat -- Engineering Debug stats for the http daemon
idlecnt -- Returns the tick count since last Idle Task switch
ifconfig -- Configure network interface parameters. From Unix
ip -- Modify/display IP address
jbi -- Update FPGA program -- Dangerous
kfactor -- Set the K-factor for the radio
kill -- Terminate a task. From Unix
lbt -- Serial Port LoopBack Test
LinkQual -- LinkQual: performs link quality test
'L 2 99' from the AP will run a 99 second test to SU 002.

ls -- List the contents of a directory. From Unix
This is like a DIR command in dos. 'ls -l' will show detail of the file

lsweb -- List Flash Web files
This shows the files that override the default web files.

mac -- Modify/display MAC address
This may set the mac address but doesn't seem to work. It could be useful if there are mac conflicts on the net.

mkdir -- Make a directory. From Unix
mkfs -- Construct a file system. From Unix
I suspect not useful.

mount -- Mount pHILE+ file systems. From Unix
I suspect not useful.

mv -- Move or rename files. From Unix
Like the DOS "rename" command. 'mv x y' renames x to y.

netgateway -- Modify/display Default Network Gateway IP Address
This sets the default router.

netmask -- Modify/display Network Subnet Mask
netmask [-[1|2] 255.255.0.0] will set the netmask for one of the two interfaces.

netstat -- Show network status. From Unix
netstat -r will show the routeing table
netstat -i shows per interface stats
netstat -a shows listening sockets and active connections
netstat -s shows full stats

nfsmount -- Mount NFS file systems. Unixlike
I can't get this to work.

pcmkfs -- Construct an MS_DOS file system. Unixlike
Not useful

pcmount -- Mount MS-DOS file systems. Unixlike
Not useful

peekblock -- Read multiple long words from memory
This is a hex dump program. It only shows 128 bytes at a time.

peek -- Read long word from memory. From Basic
ping -- Send ICMP ECHO_REQUEST packets to network hosts. From Unix
poke -- Write long word to memory. From Basic. Dangerous if you update flash
popd -- Pop the directory stack. From Unix
pushd -- Push current directory onto the directory stack. From Unix
pwd -- Display the pathname of the current working directory. From Unix
pwv -- Display the current working volume
reset -- Reset the unit
Simply resets the unit.

resume -- Resume a task
rfcb -- bcb -- Print BridgeCb
Same info is on web page.

rfofft -- Set the timeout for the RFOff command
rfoff -- Turn off the RF and reset the FPGA
rfsync -- Force syncronization
rmdir -- Remove (unlink) directories. From Unix
rm -- Remove (unlink) files. From Unix
route -- Manipulate IP routing table. From Unix
route -a shows the route table.

rtmclr -- Clear RealTime Trace and Stats
rtm -- Display RealTime Stats
This shows all the tasks and their stack sizes.

rtmoff -- RealTime Monitor OFF
rtmon -- RealTime Monitor ON
rtmt -- Display RealTime Trace
sesstatus -- Display the current session status
setclock -- Set the system date and time
setenv -- Set environment variables. From Unix
This only seems to allow existing variables to be set. This is useful if your telneting out to another server and want to set the termcap entry.

setfreq -- Set Scan Frequencys
This can take a list. Better done from the web page.

setid -- Set user id and group id
Not useful here.

setpri -- Set task priority
sleep -- Suspend execution for a specified interval. From Unix
'sleep 10' causes the shell to return in 10 seconds. Not useful.

startmontask -- Startmontask [1..20]: starts buffer monitor broadcast
stopmontask -- Stopmontask - stops buffer monitor broadcast
suspend -- Suspend a task
sync -- Force changed blocks to disk. From Unix
syslog -- Display system event log: syslog
syslog filename will copy the syslog to a file.

tail -- Display the last part of a file. From Unix
'tail -5 x' shows the last 5 lines of file x.

touch -- Update the modification time of a file. From Unix
umount -- Umount file systems. From Unix
not useful.

update -- Enable/Disable automatic SM code updating
Unknown and maybe dangerous.

version -- Display the software version string
Shows software version and FPGA version.

The commands were found by running "help command" on each of the commands and then tring many of them.

Many commands are only found in some versions. The following table shows command compatibility

Command2.0.03.1.54.1.47.3.68.1.4
addwebfilenYYYY
antennagainnnnYn
arpYYYYY
bcbYYYYY
bertoffYYYYY
bertonYYYYY
bitclrnnnY
bitsetnnnY
bootinfoYYYYY
btblYYYYY
burnfileYYYYn
burnflashnnnnY
callocknYnnn
calpowernnYYY
calrssinYYYY
calslicernnYYY
captnnnYY
captmasknnnYY
catYYYYn
cdYYYYn
clearsyslogYYYYY
clearwebfilenYYYY
clraltbootYYYnn
clrbtblYYYYY
clrrmtsyslogYYYYY
clrscrYYYYn
cmpYYYnn
cpYYYYn
dateYYYYn
defaulttxpowernnnYY
detdccalnnnnY
detfreqcalnnnnY
devcalnnnYY
dfscalnnnYY
dfsthresholdnnnYn
dhcplognnYYY
dis900freqflgnnnnY
duYYYnn
echoYYYYn
en900freqflgnnnnY
engresetnnYYY
exitnnnYY
feccbYYYY
fpgainfonnYYY
fpgalognnnY
fpgatracennnY
fpgaversionnnnnY
fpga_confYYYYY
ftpnnnYY
gYYYY
get900freqflgnnnn
gethexnnnYY
getidYYYnn
getpriYYYnn
headYYYYn
helpYYYYY
httpstatnYYYn
icmpstatnnnnY
idlecntnYYYY
ifconfigYYYnn
ipYYYYY
ipconfignnnnY
ipstatnnnnY
jbiYYYYY
jbiflashnnnnY
jpnodishnnYY
jponedishnnYY
jptwodishnnYY
kfactornYYYY
killYYYnn
lbtYYYY
LinkQualYYYYY
lsYYYYY
lswebnYYYY
macYYYYY
maxtxpowernnnnY
memdumpnnnn
memstatnnnn
miipeeknnnn
miipokennnn
minmaxtxpowernnnnY
minswnnnnY
mintxpowernnnnY
mkdirYYYYn
mkfsYYYnn
mountYYYnn
mvYYYYn
netgatewayYYYYY
netmaskYYYYY
netstatYYYYn
nfsmountYYYnn
nomtxpowernnnYY
oopsnnYY
passwordnnnnY
pcmkfsYYYnn
pcmountYYYnn
peekYYYY
peekblockYYYY
pingYYYYY
pldversionnnnnY
plehnnnYn
pokeYYYY
popdYYYYn
proxynnnn
pshnnnnY
pushdYYYYn
pwdYYYYn
pwvYYYYn
resetYYYYY
resetdefaultnnnYY
resumeYYYnn
rfcbYYYYY
rfoffYYYYY
rfofftnYYYY
rfsyncYYYYY
rmYYYYY
rmdirYYYYn
routeYYYYY
rtmYYYY
rtmclrYYYY
rtmoffYYYY
rtmonYYYY
rtmtYYYY
rxpowernnnnY
rxpowerfreqcalnnnnY
rxpowerlevelnnnnY
rxtempcalnnnnY
serialnnnn
sesstatusYYYYY
setclockYYYYY
setenvYYYYn
setfreqYYYYY
sethexnnnYY
setidYYYnn
setisilicnnnn
setpriYYYnn
settestfreqnnnnY
settestmodnnnnY
settestpwrnnnnY
settestxmitnnnnY
silentcarriernnnnY
sleepYYYY
slopennnYY
snoozennnn
softversionnnnnY
startmontasknYYYY
stopmontasknYYYY
suspendYYYnn
syncYYYnn
syslogYYYYY
tailYYYYn
tcxonnnnY
telnetnnnYY
tempcalnnnnY
tfsoffnnnnY
tfsonnnnnY
touchYYYnn
tstnnnY
txcalinfonnnYY
txmodoffsetnnnYY
txpowercalnnnYY
udpnnnnY
umountYYYnn
updatenYYYY
updateoffnnYYY
useraddnnnnY
userdelnnnnY
usersnnnnY
vcerrnnnY
verYYYYY
versionYYYYY
zaphdwcfgnnYY

Originally from Tims also found at pinoyden

0 comments:

Post a Comment