*Use caution when exploring the router CLI - you
do so at your own risk.*
The BT Voyager
2100/2110/2091 all use the same/similar firmware and you
can explore the contents of the CLI using the telnet command.
To open Telnet from the Start Menu > Run and type in "telnet".
This will open a new window type: open 192.168.1.1
Enter your login name (usually admin) and the password.
Voyager 2100 CLI
Main menu gives the following options
Main Menu
1. ADSL Link State
2. LAN
3. WAN
4. DNS Server
5. Route Setup
6. NAT
7. Firewall
8. Quality Of Service
9. Management
10. Passwords
11. Reset to Default
12. Save and Reboot
13. Exit
->
From here we can get some information that may not available from
the web interface.

For example 1. ADSL Link State gives us a bit more
information about our connection than the web interface such as the
estimated Maximum speed of our line and a few other error reporting
details
-> 1
adsl: ADSL driver and PHY status
Status: Showtime Channel: FAST, Upstream rate = 832 Kbps, Downstream
rate = 812
8 Kbps
Link Power State: L0
Mode: G.DMT
Channel: Fast
Trellis: ON
Line Status: No Defect
Training Status: Showtime
Down Up
SNR (dB): 12.8 10.0
Attn(dB): 7.0 7.0
Pwr(dBm): 17.8 11.9
Max(Kbps): 10080 1084
Rate (Kbps): 8128 832
G.dmt framing
K: 255(0) 27
R: 0 0
Firmware CLI
The Voyager CLI firmware is remarkably similar to the USRobotic
9105 and many of the same commands are available.
You can see which commands are available by using the "help" command
-> help
?
help
logout
reboot
adsl
atm
brctl
cat
df
echo
ifconfig
kill
arp
defaultgateway
dhcpserver
dns
lan
passwd
ppp
remoteaccess
localaccess
restoredefault
route
save
swversion
wan
ping
ps
pwd
sysinfo
wlctl
To find sub commands use "<dir> --help" eg
-> adsl --help
Usage: adsl start [--up] [--mod <a|d|l|t|2|p|e|m>] [--lpair <(i)nner|(o)uter>]
[--trellis <on|off>] [--snr <snrQ4>] [--bitswap <on|off>]
[--sra <on|off>]
adsl stop
adsl connection [--up] [--down] [--loopback] [--reverb]
[--medley] [--noretrain] [--L3] [--diagmode]
[--tones <xmtStart xmtNum xmtMap rcvStart rcvNum rcvMap>]
adsl configure [--mod <a|d|l|t|2|p|e|m>] [--lpair <(i)nner|(o)uter>]
[--trellis <on|off>] [--snr <snrQ4>] [--bitswap <on|off>]
[--sra <on|
off>]
adsl bert [--start <#seconds>] [--stop] [--show]
adsl info [--state] [--show] [--stats] [--SNR] [--QLN] [--Hlog]
[--linedi ag] [--reset]
adsl adslstatus
adsl --version
adsl --help
So from this we could say get info about the connection
-> adsl info --show
-> adsl info --SNR
Gives us information about the Tone number (BIN) and the SNR value
(more
info).
More info can about the firmware commands can be obtained from the
USR 9105 CLI manual which can be downloaded from the USR
website.
BusyBox Shell commands
Using the command "sh" you can enter the linux BusyBox
Shell to get further options
-> sh
BusyBox v0.60.4 (2006.03.27-01:43+0000)
Built-in shell (msh)
Enter 'help' for a list of built-in commands.
By using the echo command we can see which directories are available
# echo *
bin dev etc lib linuxrc mnt proc sbin usr var webs
Contents of directories can also be viewed in a similar way
# echo proc/*
proc/1 proc/13 proc/2 proc/207 proc/215 proc/216 proc/222 proc/223
proc/227 proc
/3 proc/310 proc/315 proc/32285 proc/32375 proc/4 proc/48 proc/5
proc/6 proc/694
9 proc/7 proc/74 proc/8243 proc/8254 proc/8255 proc/bus proc/cmdline
proc/cpuinf
o proc/devices proc/dma proc/driver proc/execdomains proc/filesystems
proc/fs pr
oc/interrupts proc/iomem proc/ioports proc/irq proc/kcore proc/kmsg
proc/ksyms p
roc/loadavg proc/locks proc/meminfo proc/misc proc/modules proc/mounts
proc/mtd
proc/net proc/partitions proc/pptp proc/self proc/slabinfo proc/stat
proc/swaps
proc/sys proc/sysvipc proc/tty proc/uptime proc/var proc/version
By combining the cat and proc command we can get certain info from
the router.
# cat /proc/cpuinfo
system type : RTA770W
processor : 0
cpu model : BCM6345 V0.0
BogoMIPS : 92.97
wait instruction : no
microsecond timers : yes
tlb_entries : 32
extra interrupt vector : no
hardware watchpoint : no
VCED exceptions : not available
VCEI exceptions : not available
To return to the main menu type
#exit
|