Go Back   Techwatch Support Forums: Digital & Satellite TV, FTA, Cable, Computers, Mobile Phones, Apple and General Tech Forums > Tech Forums > UK Cable > Cable Modems



Cable Modems Gotta start somewhere and here's the place to start :)

Reply
 
LinkBack Thread Tools
Old 17-03-09, 11:48 PM   #1 (permalink)
G77
Super Moderator
 
G77's Avatar
 
Join Date: May 2008
Posts: 6,080
Thanks: 695
Thanked 1,248 Times in 1,042 Posts
Default Post Telnet Commands Here

Hi Guys,

Decided to start a list of Telnet Commands to help people out with configuring there modems.

Some Firmwares, (e.g. SB5100Mod) rely on some telnet commands as it isn't all in the Web GUI.

So, I'll start the ball rolling.....

To Stop the modem scanning frequencys:

cd \cm_hal
scan_stop
cd \

To set downstream Frequency, Tuner and Annex :

cd \non
cd \hal
ds_frequency 586750000 (c+w) (pure=402750000, tw=331000000)
annex_a (c+w) (tw&pure=b)
cm_tuner 14 (for 200) (250, 2100=19) (SB5100=17)
write

To Disable BPI :

cd \non
cd \doc
enable bpi false
write

To Dis(able) force config file :

cd \non
cd \doc
enable fce_configfile false (true)
write


__________________
1M Motorised Dish, 45W-36E, DM800HD.
Quad LNB Mesh Mini Dish, 28.2E, DM500, TM500.
Samsung Galaxy S GT-I9000 XXJVU & CF-Root.
G77 is offline   Reply With Quote
The Following 6 Users Say Thank You to G77 For This Useful Post:
ant16151189 (18-02-10), bonez (18-09-09), cable man (08-04-10), chef1 (05-07-09), jimbojimjay (03-07-09), Trooperlee (30-09-09)
Old 17-03-09, 11:52 PM   #2 (permalink)
Senior Member
 
Join Date: May 2008
Posts: 587
Thanks: 28
Thanked 119 Times in 95 Posts
Default Re: Post Telnet Commands Here

Reset non-vol memory (needed if modem not playing ball):
cd non
clear_device
flush
defaults
write

Reinitialise flash driver (needed if getting flash driver errors while softjtagging):
cd flash
close
deinit
init

set tuner parameters for a250/255: (edit: oops you have this)
cd non
cd hal
cm_tuner 19
annex_a
write

set tuner parameters for a200:
cd non
cd hal
cm_tuner 14
annex_a
write
fitz is offline   Reply With Quote
The Following 2 Users Say Thank You to fitz For This Useful Post:
G77 (17-03-09), Trooperlee (24-04-10)
Old 18-03-09, 09:58 AM   #3 (permalink)
G77
Super Moderator
 
G77's Avatar
 
Join Date: May 2008
Posts: 6,080
Thanks: 695
Thanked 1,248 Times in 1,042 Posts
Default Re: Post Telnet Commands Here

To Set Telent Username and password

cd \non
cd msg
user_name Techwatch
password password
__________________
1M Motorised Dish, 45W-36E, DM800HD.
Quad LNB Mesh Mini Dish, 28.2E, DM500, TM500.
Samsung Galaxy S GT-I9000 XXJVU & CF-Root.
G77 is offline   Reply With Quote
Old 18-03-09, 10:26 AM   #4 (permalink)
Super Moderator
 
Tee_111's Avatar
 
Join Date: Dec 2006
Location: West Yorks
Posts: 2,218
Thanks: 93
Thanked 250 Times in 180 Posts
Default Re: Post Telnet Commands Here

Nice post G77..

Thread Sticked.
Tee_111 is offline   Reply With Quote
The Following User Says Thank You to Tee_111 For This Useful Post:
G77 (18-03-09)
Old 18-03-09, 12:24 PM   #5 (permalink)
Senior Member
 
blobbins's Avatar
 
Join Date: Mar 2008
Posts: 122
Thanks: 1
Thanked 13 Times in 12 Posts
Default Re: Post Telnet Commands Here

All helpful stuff - here's a link to lots more telnet commands

(as no clickable links allowed on here...change the obvious)


__www.theoryshare.com/tutorials/40-telnet-commands-reference


Last edited by Tee_111; 18-03-09 at 01:30 PM. Reason: made link un-live
blobbins is offline   Reply With Quote
Old 23-03-09, 03:09 AM   #6 (permalink)
Night owl twit twoo :P
 
toolzkit's Avatar
 
Join Date: Sep 2008
Posts: 570
Thanks: 90
Thanked 65 Times in 46 Posts
Default Re: Post Telnet Commands Here

-----------------------------------
stop scanning frequency
----------------------------------
cd /d
scan_stop
or
cd /cm
scan_stop
-----------------------------------
start scanning frequency
-----------------------------------
cd /d
goto_ds 327 (will be 327 Mhz, and if not hitch continues scanning)
---------------------
show HFC IP
---------------------
cd /d
ip_show
or:
cd /ip
lease_show
------------------------------------------------------------
Show information about registered modem
------------------------------------------------------------
cd /d
modem_caps
-----------------
clear logs
-----------------
cd /e
flush
------------------------------
disable snmp filters
------------------------------
cd /s
filters off
yes
----------------------------------
set snmp to NoAccess
----------------------------------
cd /s
view_v1v2 NoAccess
----------------------------------
show snmp information
----------------------------------
cd /s
n2m
y
-------------------------
Hide System OID
-------------------------
cd /s
delete sysDescr
write
-------------------------------
print certificate values
-------------------------------
cd /n/b
print private
print public
print root
print cm_cert
print ca_cert
------------------------------------
change certificate values
------------------------------------
cd /n/b
change_key public
change_key private
change_key root
change_key cm_cert
change_key ca_cert
write
----------------------------------------------------------
place root or ca_cert in dynamic memory
----------------------------------------------------------
cd /n/b
key_location root false
key_location ca_cert false
write
---------------------------------------
set frequency and channel
---------------------------------------
cd /n/d
ds_frecuency xxx <- your weightings in mhz
us_channel x <- your number of channel
write
-------------------------------------------------------------
change the start up downstream frequency
-------------------------------------------------------------
cd /n/d
startup_dsfreq xxxxxx
cd ..
write
---------------------------------
activating DOCSIS 1.1
---------------------------------
cd /n/d
enable docsis11 true
write
-------------------
disable bpi
-------------------
cd /n/d
enable bpi false
write
-------------------
enable bpi+
-------------------
cd /n/d
enable bpi true
bpi_version 1
write
-------------------
disable bpi+
-------------------
cd /n/d
enable bpi true
bpi_version 0
write
-------------------------
change tftp info
-------------------------
cd /n/d
enable force_cfgfile true
dhcp_settings
My IP Address: [192.168.100.1] {hit enter}
Subnet Mask: [255.255.255.0] {hit enter}
Router IP Address: [192.168.100.254] {hit enter}
Those are the only 3 that really need to be changed.
Do you want to change the other settings? [no] (hit Y}
TFTP Server IP Address: [10.10.10.254] type in the IP of your TFTP server here
Config file name: [cm.bin] {type config file}
Time Server IP Address: [10.10.10.254]
SysLog Server IP Address: [10.10.10.254]
----------------------------
change the tuner
----------------------------
cd /n/h
cm_tuner xx (xx its share)
write
---------------------------------------------
change the annex for your area
---------------------------------------------
cd /n/h
annex_ # (# = A -> EuroDOCSIS, B -> DOCSIS, C -> more)
cm_annex @ (@ = 1 -> Annex A, 0 -> Annex B, 2 - Annex C, 3 hybrid)
Write
(It is necessary to change the cm_annex if you change the annex)
---------------------------------
change Ethernet MAC
---------------------------------
cd /n/h
mac_address 2 aa:bb:cc:dd:ee:ff
write
---------------------------
change USB MAC
---------------------------
cd /n/h
usb_mac_address aa:bb:cc:dd:ee:ff
write
------------------------------
change the HFC MAC
------------------------------
cd /
write_memory 2155776876 0x11
write_memory 2155776877 0x22
write_memory 2155776878 0x33
write_memory 2155776879 0x44
write_memory 2155776880 0x55
write_memory 2155776881 0x66
cd /n
write
or
Assuming our MAC address is AA:BB:CCD:EE:FF, enter:
write_memory -s 4 0x807e8b98 0xAABBCCDD
write_memory -s 2 0x807e8b9c 0xEEFF
or
cd n/h
mac_address 1 aa:bb:cc:dd:ee:ff
cd /n
write
-----------------------------------
show the current state
-----------------------------------
cd /n/h
show
or:
cd /n/d
show
------------------------------
enable telnet access
------------------------------
cd /n/m
enable_telnet true
write
----------------------------------------------------------
change the username and pass for telnet
----------------------------------------------------------
cd /n/m
user_name <your desired username here>
password <your desired password here>
write
-----------------------------------------
diable external telnet access
-----------------------------------------
cd /n/m
telnet_ipstacks 2
write
--------------------------------
stealth snmp settings
--------------------------------
cd /n/s
max_dload_tries 0
hide_ipstack_ifentries true
docsDevSwAdminStatus 3
docsDevSwOperStatus 2
diag_disable_post_reg true
write
------------------------------------------------------
old stealth mode (release hfc ip lease)
------------------------------------------------------
cd /ip
ipconfig 1 release


Thanx Kelly12 at WM
toolzkit is offline   Reply With Quote
The Following 4 Users Say Thank You to toolzkit For This Useful Post:
cable man (08-04-10), metalpunk (31-03-09), snake_eyes (04-02-10), themong (11-02-10)
Old 12-04-09, 01:17 AM   #7 (permalink)
Night owl twit twoo :P
 
toolzkit's Avatar
 
Join Date: Sep 2008
Posts: 570
Thanks: 90
Thanked 65 Times in 46 Posts
Default Re: Post Telnet Commands Here

The telnet command to disable ToD time of day requests, courtesy of the main man himself Bad_Ad84 cheers bud.

cd /non/docsis
enable tod false
write
cd /
reset
__________________
TM6800 HD Super, 1m Gibertini, TM2600 Motor & Megasat twin LNB 0.1dB 39.0E- 45.0W
toolzkit is offline   Reply With Quote
The Following 3 Users Say Thank You to toolzkit For This Useful Post:
fitz (12-04-09), G77 (12-04-09), snake_eyes (04-02-10)
Old 13-04-09, 04:28 PM   #8 (permalink)
Night owl twit twoo :P
 
toolzkit's Avatar
 
Join Date: Sep 2008
Posts: 570
Thanks: 90
Thanked 65 Times in 46 Posts
Default Re: Post Telnet Commands Here

If your having problems connecting try changing your BPI+ settings example below.

cd /n/d
enable bpi true
bpi_version 0
write

after a new modem & pc nic mac you should be online.
(modem & pc nic banning still in effect)
use cmreg-ntlhm120-rts22.cm to force to 20mbit as other configs have been modified
__________________
TM6800 HD Super, 1m Gibertini, TM2600 Motor & Megasat twin LNB 0.1dB 39.0E- 45.0W

Last edited by toolzkit; 13-04-09 at 04:30 PM.
toolzkit is offline   Reply With Quote
The Following User Says Thank You to toolzkit For This Useful Post:
G77 (13-04-09)
Old 15-04-09, 04:14 PM   #9 (permalink)
Senior Member
 
Join Date: May 2008
Posts: 587
Thanks: 28
Thanked 119 Times in 95 Posts
Default Re: Post Telnet Commands Here

Banish cvc errors:

cd n/d
enable bpi23 false
write
fitz is offline   Reply With Quote
The Following 2 Users Say Thank You to fitz For This Useful Post:
G77 (16-04-09), toolzkit (15-04-09)
Old 16-04-09, 01:57 PM   #10 (permalink)
666
SEARCH FFS
 
666's Avatar
 
Join Date: May 2008
Posts: 1,327
Thanks: 165
Thanked 241 Times in 192 Posts
Default Re: Post Telnet Commands Here

heres a nice 1 for you lads...thank Sgt. Bilko

How to Disable Bpi on SB5100i using SB51000MOD Firmware
1)Check Telnet is enabled in modem. Open browser and enter 192.168.100.1:666 to access modem’s config pages. Click on Administration tab then Telnet and if it says Disabled then click on Change to enable it. Take note of Telnet login and password names underneath. They should both be on the default settings of SB5100MOD (capital letters) unless they have been changed, but we will assume for the purpose of this tut that they are at default values. Go to the Tools tab and press Restart button. Close browser.
2)Wait till modem restarts and then click on Start button, on your desktop, click on Run… then where it says Open type in telnet and click OK. A small black window will open up and say something like Microsoft Telnet>_
3)Type in o 192.168.100.1 (1st o there is a letter o not a zero J) and press Enter. Should now show SB5100MoD by ToM at top of window. Press Enter key to bring up Login request. Press Caps Lock on your keyboard to save time in next step. Enter SB5100MOD for the login info and press Enter then for the Password type in exactly the same thing. Note that it does not display what you type in for the password so try not to make any mistakes or it is back to the start of the telnet session. Press Caps Lock again to disable.
4)If successful it will say Welcome to the Broadcom CLI etc., etc.. Now type in cd /n/d (note space after cd) and you should get CM/NonVol/CM DOCSIS NonVol> then type in enable bpi false and this should now show Disabling BPI. Now type in write and it will tell you something about changes taking effect next time modem connects blah, blah! It should also show two lines of something about settings written successfully to the device. All good so far.
5)Finally, close telnet window and re-open browser and enter 192.168.100.1:666 to enter modem’s config pages, then Tools then click on Restart to reboot modem with newly acquired settings.
__________________
All information is for educational purposes only, hacking is illegal
666 is offline   Reply With Quote
The Following User Says Thank You to 666 For This Useful Post:
toolzkit (16-04-09)
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
XP Run Commands Annabell PC Software 5 31-07-11 01:09 PM


All times are GMT +1. The time now is 08:39 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.