Quantcast
Channel: Haxorware Forums - All Forums
Viewing all articles
Browse latest Browse all 3646

[Tutorial] BitWare CLI Reference

$
0
0

CPE Limit

Set MAX CPE Limit (takes effect immediately):
Code:
echo 5 > /nvram/maxcpe

Unset MAX CPE Limit:
Code:
rm /nvram/maxcpe

SNMP Server

Disable SNMP
Code:
touch /nvram/disable_snmp

Enable SNMP
Code:
rm /nvram/disable_snmp

Network Access

Force network access
Code:
echo registered > /proc/net/dbrctl/mode

Factory Mode

Enable factory mode
Code:
nvm nvm setbyte 7 1

Disable factory mode
Code:
nvm nvm setbyte 7 0

Branding

Change brand
Code:
nvm nvm setbyte 0x3C 1

Brand list
Code:
   CUSTOMER_RESERVED,      // 0
   CUSTOMER_DEFAULT,       // 1
   CUSTOMER_COMCAST,       // 2
   CUSTOMER_TIMEWARNER,    // 3
   CUSTOMER_CABLEVISION,   // 4
   CUSTOMER_COX,           // 5
   CUSTOMER_VTR,           // 6
   CUSTOMER_UPC,           // 7
   CUSTOMER_VIRGIN,        // 8
   CUSTOMER_TELENET,       // 9
   CUSTOMER_JNC,           // 10
   CUSTOMER_CHARTER,       // 11
   CUSTOMER_SUDDENLINK,    // 12
   CUSTOMER_BEND,          // 13
   CUSTOMER_BUCKEYE,       // 14
   CUSTOMER_COMPORIUM,     // 15
   CUSTOMER_NEWWAVE,       // 16
   CUSTOMER_ROGERS,        // 17
   CUSTOMER_SHAW,          // 18
   CUSTOMER_WAVE,          // 19
   CUSTOMER_ZIGGO,         // 20
   CUSTOMER_OPEN_21,       // 21
   CUSTOMER_COGECO,        // 22
   CUSTOMER_LiPR,          // 23
   CUSTOMER_RETAIL,        // 24
   CUSTOMER_NETBR,         // 25
   CUSTOMER_FLOW,          // 26
   CUSTOMER_MASTER,        // 27
   CUSTOMER_CELLCOM,       // 28
   CUSTOMER_KDG,           // 29
   CUSTOMER_MEDIACOM,      // 30
   CUSTOMER_VOO,           // 31
   CUSTOMER_ONO,           // 32
   CUSTOMER_MAX            // 33


Certifications

DOCSIS Certificate locations:
Code:
CM Cert:        /nvram/1/security/cm_cert.cer
CM Private Key: /nvram/1/security/cm_key_prv.bin
MFG Cert:       /nvram/1/security/mfg_cert.cer
MFG Public Key: /nvram/1/security/mfg_key_pub.bin
Root key:       /nvram/1/security/root_pub_key.bin

MTA Certificate locations:
Code:
MTA Cert:        /nvram/2/certificates/mtacert.bin
MTA Private key: /nvram/2/certificates/mtakey.bin
MFG Cert:        /nvram/2/certificates/manuf.cer
Root Key:        /nvram/2/certificates/iptel_root.cer


Force Config

Force Config file location:
Code:
/nvram/1/config.cm

Parse running config:
Code:
docsis_config_to_text /var/tmp/running.config

Logs

View BitWare logs:
Code:
cat /var/tmp/bwlog

View Kernel logs:
Code:
dmesg

View DOCSIS logs:
Code:
cat /var/tmp/log*

View Reset logs:
Code:
cat /nvram/6/arris_reset.log

View PCD error logs:
Code:
/nvram/pcd_error_log.txt

Production Info (MAC/Serial/MFG/Filenames)

Get production info:
Code:
nvm getinfo x

Update CM MAC:
Code:
nvm proddb setcmmac 0xMACHERE

Update LAN MAC:
Code:
nvm proddb setlanmac 0xMACHERE


Update L2SW MAC:
Code:
nvm proddb setl2swmac 0xMACHERE

Update Serial number:
Code:
nvm proddb setserial SERIALHERE

Update MFG:
Code:
nvm proddb setmfg "MFG HERE"

Update Sector0 Filename:
Code:
nvm proddb setsectorname 0 FILENAME


Update Sector1 Filename
Code:
nvm proddb setsectorname 1 FILENAME

Swap image bank

  1. Enable factory mode
  2. cli->download->!swapImages
  3. Disable factory mode
  4. Reboot


Viewing all articles
Browse latest Browse all 3646

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>