Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SB5101E firmware questions
#11
Thank You very Much...
Knowledge=Power
Reply
#12
Hi guys, could anyone tell me what dir in telnet the following commands are supposed to be executed under on a 5101 running hax diag?


COMMAND: ifShow
inetShow
udpShow
hostShow
arpShow

I ask because I have tried them under numerous dirs and all i get is "no such command"

Is there info anywhere that specifies what dir each command is meant to be executed under?
Reply
#13
/ command
Knowledge=Power
Reply
#14
Sorry ABMJR, I must be missing something, did you mean change to command dir? Thats the default dir, if I execute any of the above under that all I get is :


Active Command Table: CM DOCSIS Commands (CM)

CM

CM> ifShow

Error - Unknown command: 'ifShow'

CM> inetShow

Error - Unknown command: 'inetShow'

CM> udpShow

Error - Unknown command: 'udpShow'

CM> arpShow

Error - Unknown command: 'arpShow'

CM> hostShow

Error - Unknown command: 'hostShow'

CM>

If I am missing something, I really apologize for my ignorance. I want to test further and this is holding me back. Thanks for your time.

Reply
#15
your missing using the help and dir commands,his list is from a 5100 so you'll need to do same on a 5101
not near a modem but i do have a copy of all the strings from haxor and 5100mod and they are in the 5100mod string dump but not haxor? so go figure

Code:
Shell

help Print this list
dbgHelp Print debugger help info
nfsHelp Print nfs help info
netHelp Print network help info
spyHelp Print task histogrammer help info
timexHelp Print execution timer help info
h [n] Print (or set) shell history
i [task] Summary of tasks' TCBs
ti task Complete info on TCB for task
sp adr,args... Spawn a task, pri=100, opt=0, stk=20000
taskSpawn name,pri,opt,stk,adr,args... Spawn a task
td task Delete a task
ts task Suspend a task
tr task Resume a task
d [adr[,nunits[,width]]] Display memory
m adr[,width] Modify memory
mRegs [reg[,task]] Modify a task's registers interactively
pc [task] Return task's program counter
version Print VxWorks version info, and boot line

Type <CR> to continue, Q<CR> to stop:
iam "user"[,"passwd"] Set user name and passwd
whoami Print user name
devs List devices
cd "path" Set current working path
pwd Print working path
ls ["path"[,long]] List contents of directory
ll ["path"] List contents of directory - long format
rename "old","new" Change name of file
copy ["in"][,"out"] Copy in file to out file (0 = std in/out)
ld [syms[,noAbort][,"name"]] Load stdin, or file, into memory
(syms = add symbols to table:
-1 = none, 0 = globals, 1 = all)
lkup ["substr"] List symbols in system symbol table
lkAddr address List symbol table entries near address
checkStack [task] List task stack sizes and usage
printErrno value Print the name of a status value
period secs,adr,args... Spawn task to call function periodically
repeat n,adr,args... Spawn task to call function n times (0=forever)
diskFormat "device" Format disk
diskInit "device" Initialize file system on disk

Type <CR> to continue, Q<CR> to stop:
squeeze "device" Squeeze free space on RT-11 device

NOTE: Arguments specifying 'task' can be either task ID or name.


! ? REM cd dir
find_command help history instances ls
man pwd sleep system_time usage
----
arpShow hostShow icmpShow ifShow inetShow
ipShow logout mbufShow memShow ping
read_memory reset routeShow run_app shell
stackShow taskDelete taskInfo taskPrioritySet taskResume
taskShow taskSuspend taskTrace tcpShow udpShow
version write_memory zone
----
[HeapManager] [cm_hal] [docsis_ctl] [enet_hal] [event_log] [flash]
[forwarder] [ip_hal] [msgLog] [non-vol] [pingHelper] [snmp] [snoop] [usb_hal]
[vendor]

CM/HeapManager>

! ? REM cd dir
find_command help history instances ls
man pwd sleep system_time usage
----
bcheck bcheck_crash bcheck_enable last_error maxAlloc
memShow stats walk walk_alloc
----


CM/CmHal>

! ? REM cd dir
find_command help history instances ls
man pwd sleep system_time usage
----
bcmalloc_show bist_test cache_test change counters
cpe_add cpe_del cpe_max cpe_print ds_state
hal_show ldaix_read lock_ds log packets_queued
qosParms read_mbr read_posted scan_ds scan_stop
sdram_test set_mode show show_halif test_bcmalloc
transmit us_burst us_cw_transmit us_debug us_sweep
us_transmit write_mbr write_posted


CM/DocsisCtl>

! ? REM cd dir
find_command help history instances ls
man pwd sleep system_time usage
----
ClearCmCert binarySfid bpiShow clear_image comp_mac_to_phy
comp_phy_to_mac copy_image dload dsdiag dsx_show
goto_ds igmpShow ip_initialize ip_show log_messages
modem_caps rate_shaping_enable rng_rsp scan_stop
showFlows state stop_download ucdShow ucddiag
up_dis us_phy_oh_show usdiag
----

CM/EnetHal>

! ? REM cd dir
find_command help history instances ls
man pwd sleep system_time usage
----
autoneg force_link full_duplex hal_show read_mii
show speed transmit write_mii

CM/Event Log>

! ? REM cd dir
find_command help history instances ls
man pwd sleep system_time usage
----
control flush log_event read show
stress syslog
----

CM/Flash>

! ? REM cd dir
find_command help history instances ls
man pwd sleep system_time usage
----
autoTest close configRegion deinit erase
init open read readDirect regionInfo
show write writeArray
----

CM/Forwarder>

! ? REM cd dir
find_command help history instances ls
man pwd sleep system_time usage
----
halif_show log_packets lt_add lt_clear lt_delete
lt_max_entries lt_show
----

CM/IpHal>

! ? REM cd dir
find_command help history instances ls
man pwd sleep system_time usage
----
bootloader clientif_debug dhcpc_debug dhcpc_show dload
hal_show ipconfig lease_show show test
----

CM/MsgLog>

! ? REM cd dir
find_command help history instances ls
man pwd sleep system_time usage
----
fields severities show_settings
----
[remoteAccess]

CM/NonVol>

! ? REM cd dir
find_command help history instances ls
man pwd sleep system_time usage
----
clear_device defaults del_extra_data flush read
show stats tftp_read write
----
[Motorola] [bpi] [cmapp] [docsis] [ds-cal] [event_log] [halif] [msg-log]
[propane] [snmp] [us-cal]


CM/NonVol/CM Motorola NonVol>

! ? REM cd dir
find_command help history instances ls
man pwd sleep system_time usage
----
clear_device cli_enable cm_amp cm_hwrev cm_tuner
defaults del_extra_data dhcp_enable {flush} html_ro_enable
read rg_enable show stats tftp_read
write
----

CM/NonVol/CM BPI NonVol>

! ? REM cd dir
find_command help history instances ls
man pwd sleep system_time usage
----
change_key clear_device code_access cvc_access defaults
del_extra_data {flush} key_location print read
show stats tftp_read write

CM/NonVol/CmApp>

! ? REM cd dir
find_command help history instances ls
man pwd sleep system_time usage
----
auto_console clear_device console_stop_prompt defaults
del_extra_data driver_init_prompt {flush} read
show stats tftp_read write
----

CM/NonVol/CM DOCSIS NonVol>

! ? REM cd dir
find_command help history instances ls
man pwd sleep system_time usage
----
bpi_version clear_device concat_thresh defaults del_extra_data
dhcp_settings doc10_mcastpromisc ds_frequency enable
fake_reg {flush} ip_stack_number max_concat queues
rate_shaping_time read show startup_context
startup_dsfreq startup_uschan stats tftp_read tftp_timeout
timer_disable ugs_depth us_channel us_power write
----

COMMAND: enable

USAGE: enable canned|scan|bpi|concat|rate|frag|phs|igmp|docsis11 |dhcp|tod|tftp|rng|advphy|bpi23|20hack|opt_init_rn g|force_cfgfile|AckCel true|false

DESCRIPTION:
Enables or disables the specified feature. Most of these only take effect
the next time the CM 'resets the MAC' and registers with the CMTS. The
feature parameter is one of the following:

scan -- Scan single DsChan only
bpi -- Baseline Privacy
concat -- Concatenation
frag -- Fragmentation
phs -- Payload Header Suppression
igmp -- IGMP Multicast
rate -- Rate Shaping
docsig -- Turns optimized initial ranging (bisection) on or off.
force_cfgfile -- Force a specified config file if using DHCP.
AckCel -- Enables or disables Broadcom's Patent Pending AckCel
Technology for the DOCSIS upsteam.

EXAMPLES:
enable docsis11 true -- Enables DOCSIS 1.1 features.
enable rng 0 -- Disables one-line RNG-RSP messages.

CM/NonVol/Ds Cal NonVol>

! ? REM cd dir
find_command help history instances ls
man pwd sleep system_time usage
----
clear_device clear_tables coef defaults del_extra_data
{flush} frequency ldaix_time master num_coef
num_freq num_ldaix offset read show
stats tftp_read tuner_step write
----

CM/NonVol/DOCSIS EventLog NonVol>

! ? REM cd dir
find_command help history instances ls
man pwd sleep system_time usage
----
clear_device clear_event defaults del_extra_data event
{flush} read show stats tftp_read
write
----

CM/NonVol/HalIf NonVol>

! ? REM cd dir
find_command help history instances ls
man pwd sleep system_time usage
----
DS_AGI DS_AGT STABW1 STABW2 STAGI
STAGT STATHR STPGA1 annex_a annex_b
bcmalloc bcmalloc_numSizes board_rev
bt_master_enable clear_device cm_1024qam cm_20_clipping
cm_45 cm_45i cm_aboard_v2 cm_aboard_v3 cm_amp
cm_annex cm_cboard cm_clc cm_ds_ref_freq cm_iboard_v1a
cm_iboard_v1b cm_phy_ref_freq cm_sboard cm_tuner cm_us_ref_freq
cm_us_sample_freq defaults del_extra_data eth_autoneg
eth_duplex_full eth_reject_cam eth_speed {flush}
hpna_message_level interfaces local_bt_mac_address
mac_address read remote_bt_mac_address shack_tries
show spreader_scale stats tftp_read usb_device_id
usb_mac_address usb_vendor_id wdog_enable wdog_timeout write
zone
----

CM/NonVol/Message Log NonVol>

! ? REM cd dir
find_command help history instances ls
man pwd sleep system_time usage
----
clear_device defaults del_extra_data dhcp_settings fields
{flush} http_admin http_enable http_user ip_stack_number
password read severities show stats
telnet_enable telnet_ipstacks tftp_read user_name write
----

CM/NonVol/CM Propane NonVol>

! ? REM cd dir
find_command help history instances ls
man pwd sleep system_time usage
----
clear_device defaults del_extra_data enable_propane {flush}
read show stats tftp_read timer
write
----

CM/NonVol/SNMP NonVol>

! ? REM cd dir
find_command help history instances ls
man pwd sleep system_time usage
----
allow_config clear_device defaults del_extra_data
diag_disable_post_reg dload_tries docsDevSerialNumber
docsDevSwAdminStatus docsDevSwCurrentVers
docsDevSwFilename docsDevSwOperStatus docsDevSwServer
{flush} hide_ipstack_ifentries ip_def_ignore llc_unm_ignore
max_dload_tries read show single_ip_filt stats
sysContact sysDescr sysLocation sysName sysORDescr
sysORID sysObjectId sysServices tftp_read vendor_name
write
----

CM/NonVol/Us Cal NonVol>

! ? REM cd dir
find_command help history instances ls
man pwd sleep system_time usage
----
board_rev clear_device clear_table cm_amp config
control def_table defaults del_extra_data {flush}
offset print read show stats
tftp_read write
----

CM/Ping>

! ? REM cd dir
find_command help history instances ls
man pwd sleep system_time usage
----
all_sizes end_size hs_nowait hs_wait ip_address
ip_stack ip_sweep number_of_pings ping
restore_defaults show_settings start_size stats
step_amount stop time_between_pings verbosity
verify_enable wait_enable wait_time
----

CM/SNMP>

! ? REM cd dir
find_command help history instances ls
man pwd sleep system_time usage
----
debug delete deregister direct_set filters
get install_group log_events log_filt log_nm
log_req n2m notify_setup set severities
show test trap view_v1v2 write_access
----

CM/Snoop>

! ? REM cd dir
find_command help history instances ls
man pwd sleep system_time usage
----
debug enable priority show
----

CM/UsbHal>

! ? REM cd dir
find_command help history instances ls
man pwd sleep system_time usage
----
hal_show show
----

CM/vendor>

! ? REM cd dir
find_command help history instances ls
man pwd sleep system_time usage
----
vendor_test_command
----
__________________________________________________________________________________
******new discord chat linkĀ https://discord.gg/5BQQbsb*******
Reply
#16
Hey drewmerc, thanks for the response, also congrats on becoming mod on sbh.

I am aware of the dir and help commands. Executing "help" under the different dirs will list what commands are available under said dir, the command followed by "help" will further explain or even give an example of said command. But I have been unable to see a dir on the 5101 that lists any of the above commands and others. I am aware that not all commands are listed as some are secret and whatnot. But I cannot figure out why I can't execute the commands I listed in my initial post, I must be missing a dir!!

Thank you for the full list drew, thats awesome. Cheers.
Reply
#17
TELNET is disabled after registration
Knowledge=Power
Reply
#18
not on the node I am on ABMJR. Telnet connection stays connected in even after modem registers and goes operational.
Reply
#19
interesting they don't seem to be there when looking at the extracted strings (left is haxor, right is mod)
someday i'll get round to finishing my mindless research

[Image: JZ5w8.png]
__________________________________________________________________________________
******new discord chat linkĀ https://discord.gg/5BQQbsb*******
Reply
#20
I don't understand this at all. If I do a "find_command" for a command I know exists and is in a dir it finds it and shows its path
i.e. CM> find_command igmpShow

this returns

/docsis_ctl/igmpShow

but if I search for any of the others like udpShow, inetShow, arpShow I get


CM> find_command udpShow

udpShow not found

CM> find_command ipShow

ipShow not found

CM> find_command icmpShow

icmpShow not found


Am I doing something wrong?

Just saw your response drewmerc, that is so weird. Is there anything I can do to enable these commands in Haxo 1.1 rev39-DIAG? Or am I SOL.

Those are not the only commands that are missing btw, there are more.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)