Technical Discussion
  >> DSL Hardware Discussion


Register (or login) on our website and you will not see this ad.


These posts have been archived and can no longer be replied to or modified.
Pages in this thread: 1 | 2 | 3 | (show all)   Print Thread
Standard User rhenn
(learned) Thu 25-Jan-07 13:38:04
Print Post

How do I TELNET or SSH into my Belkin G+ MIMO ???


[link to this post]
 
I've read a lot about getting at the advanced config settings through TELNET or SSH, but I can't seem to get a connection into my Belkin wireless modem/router (F5D9630-4)

I've tried both Windows Telnet, PuTTY Telnet and PuTTY SSH.

I've tried disabling the firewall on my PC and enabling remote management on the modem.

Have also used NMap which showed SSH on an open port 22. SO I guess that's what I want to target, but I can't seem to get in!



Standard User amci
(committed) Thu 25-Jan-07 22:03:54
Print Post

Re: How do I TELNET or SSH into my Belkin G+ MIMO ???


[re: rhenn] [link to this post]
 
A friend of mine has one of these, and he tells me he was able to access the CLI using AxeSSH (Shareware - download here > http://www.labf.com/download/axessh.html ), but PuTTY SSH doesn't seem to work for some reason.

Once you connect, the login credentials should be "admin" for LoginName, followed by the password you've (presumably) already set using the router's web interface.

-----
Entanet via UKFSN.
Standard User rhenn
(learned) Fri 26-Jan-07 08:08:17
Print Post

Re: How do I TELNET or SSH into my Belkin G+ MIMO


[re: amci] [link to this post]
 
thanks - now working


Register (or login) on our website and you will not see this ad.

Standard User rhenn
(learned) Fri 26-Jan-07 21:28:58
Print Post

Re: How do I TELNET or SSH into my Belkin G+ MIMO


[re: rhenn] [link to this post]
 
err.... I'm in on SSH but can't figure out how to list the hidden web page file. Any suggestions?

In fact, what is a good resource to learn about this stuff? Otherwise I'm trying each command with a ? to see what it says... laborious!

Richard

Edited by rhenn (Fri 26-Jan-07 21:29:29)

Standard User amci
(committed) Sat 27-Jan-07 01:05:49
Print Post

Re: How do I TELNET or SSH into my Belkin G+ MIMO


[re: rhenn] [link to this post]
 
Can you post the list of commands you get if you just type a "?" after logging in?

Let's see how close that is to the list on my 7633, so we can look for similarities.

And it might help to know what chipset this router's using, so does the 1st line in the SSH window (just before the Login: prompt) say something like "BCM96348 ADSL Router" by any chance?

Alan

-----
Entanet via UKFSN.
Standard User rhenn
(learned) Sat 27-Jan-07 22:56:57
Print Post

Re: How do I TELNET or SSH into my Belkin G+ MIMO


[re: amci] [link to this post]
 
Using AxeSSH - doesn't show the chipset on log in

The commands are below with my comments after the command.

Sometimes I've mnged to get something meaningful by putting "--help" after the command

?
help
logout
reboot
adsl - adsl settings ... includes snr
atm
brctl - bridges and port forwarding
cat - according to help "Concatenates FILE(s) and prints them to stdout".. where is stdout?
ledctrl - change led light status, perhaps i can turn off the annoying blinking wireless one?

df - accorrding to help "Print the filesystem space used and space available. ":

Filesystem 1k-blocks Used Available Use% Mounted on
/dev/mtdblock0 1984 1984 0 100% /
tmpfs 192 112 80 58% /var

dumpcfg - lists all the variables
echo
ifconfig - lists packets and error data
kill
arp - IP and MAC Addresses
defaultgateway
dhcpserver
dns
lan
passwd
ppp
remoteaccess
restoredefault
route
save
swversion
wan
ping
ps
pwd
siproxd
sntp
sysinfo - Gives line up data
tftp
wlctl

Standard User amci
(committed) Sun 28-Jan-07 13:17:45
Print Post

Re: How do I TELNET or SSH into my Belkin G+ MIMO


[re: rhenn] [link to this post]
 
OK, that list looks identical to the one from my 7633, so here's a couple of pointers to help get you started...

1) The USR 9106 router has a very similar set of commands in the CLI (well over 90% seems identical) - and USR do at least publish a manual for it, so I used that as my initial source of info on options for the 7633. It does at least list what each command does, the syntax, and what the parameters are.

HTML version here > http://72.14.209.104/search?q=cache:c_6QVyeqHxQJ:www.usr.co.nz/links/usr9106-reference.doc&hl=en&gl=uk&ct=clnk&cd=1&lr=lang_en

Original Word Doc version here > http://www.usr.co.nz/links/usr9106-reference.doc

2) "stdout" is just the standard output device, which will always be the screen when connecetd by telnet/SSH, so all responses to commands you type will appear in the axeSSH window... if axeSSH has an option to increase the "screen buffer lines" or some such, you may want to increase that to make sure any long responses don't vanish from the buffer before you can copy them - mine is set to 1000 lines to be safe.

3) I've found that the value you should use for the "ADSL configure --snr value" command should be the percentage of your default margin as set by BT - so if your default is 6 for example, and you want to force it up to about 9, use ADSL CONFIGURE --SNR 150 (9 being 150% of 6), or to force it down to about 4.8, use ADSL CONFIGURE --SNR 80 (4.8 being 80% of 6). Be aware though that snr varies continuously though, so the percentage applied will be of the actual snr at that millisecond, which is why I say you can set it to "about" 4.8 for example.

4) To find out the filenames stored on your router, use the "echo" command like this...
"echo *" will list all the files and other directories in the root folder of your router.
e.g. I get this result [ bin dev etc lib linuxrc mnt proc sbin usr var webs ]

A little experimentation shows that "linuxrc" is the only file in that list, the rest are (sub)directories, and (sub)directory contents can also be listed using "echo"...
e.g. "echo webs/*" will show all of the filenames in the webs subdirectory, which is where the web interface pages and support files are stored.

A little simplistic copy, paste and reformat/textreplace of the results can then give a usable webpage list like this... you could try any of these pages on your router, I suspect your pagelist will be very similar, if not identical.

http://192.168.2.1/adslcfg.html
http://192.168.2.1/adslcfgadv.html
http://192.168.2.1/adslcfgc.html
http://192.168.2.1/adslcfgtone.html
http://192.168.2.1/arpadd.html
http://192.168.2.1/arpremove.html
http://192.168.2.1/autoscan.html
http://192.168.2.1/autoscancancel.html
http://192.168.2.1/autoscanerr.html
http://192.168.2.1/backupsettings.html
http://192.168.2.1/bar.gif
http://192.168.2.1/bar_cap.gif
http://192.168.2.1/bar_floor.gif
http://192.168.2.1/bar_slope.gif
http://192.168.2.1/belkincolors.css
http://192.168.2.1/belkinlogo.html
http://192.168.2.1/belkinmain.html
http://192.168.2.1/belkinmenu.html
http://192.168.2.1/berrun.html
http://192.168.2.1/berstart.html
http://192.168.2.1/berstop.html
http://192.168.2.1/blu_bar.gif
http://192.168.2.1/colors.css
http://192.168.2.1/ddnsadd.html
http://192.168.2.1/defaultsettings.html
http://192.168.2.1/dhcpinfo.html
http://192.168.2.1/diag.html
http://192.168.2.1/diagbr.html
http://192.168.2.1/diaglan.html
http://192.168.2.1/diagmer.html
http://192.168.2.1/diagpppoa.html
http://192.168.2.1/diagpppoe.html
http://192.168.2.1/dnscfg.html
http://192.168.2.1/enblbridge.html
http://192.168.2.1/enblservice.html
http://192.168.2.1/firewall.html
http://192.168.2.1/footer.html
http://192.168.2.1/head_logo.gif
http://192.168.2.1/help.html
http://192.168.2.1/hlpadslsync.html
http://192.168.2.1/hlpatmetoe.html
http://192.168.2.1/hlpatmseg.html
http://192.168.2.1/hlpethconn.html
http://192.168.2.1/hlppngdns.html
http://192.168.2.1/hlppnggw.html
http://192.168.2.1/hlppppoasess.html
http://192.168.2.1/hlppppoeauth.html
http://192.168.2.1/hlppppoeconn.html
http://192.168.2.1/hlppppoeip.html
http://192.168.2.1/hlptstdns.html
http://192.168.2.1/hlpusbconn.html
http://192.168.2.1/hlpwlconn.html
http://192.168.2.1/index.html
http://192.168.2.1/info.html
http://192.168.2.1/info_origin.html
http://192.168.2.1/infonew.html
http://192.168.2.1/internetwan.html
http://192.168.2.1/ipoacfg.html
http://192.168.2.1/lancfg.html
http://192.168.2.1/lancfg2.html
http://192.168.2.1/lancfgbr.html
http://192.168.2.1/lansetup.html
http://192.168.2.1/logconfig.html
http://192.168.2.1/logintro.html
http://192.168.2.1/logo.html
http://192.168.2.1/logo_corp.gif
http://192.168.2.1/logobkg.gif
http://192.168.2.1/logoc.gif
http://192.168.2.1/logomenu.gif
http://192.168.2.1/logout.html
http://192.168.2.1/main.html
http://192.168.2.1/main_router.css
http://192.168.2.1/mainlogin.html
http://192.168.2.1/md5.js
http://192.168.2.1/menu.html
http://192.168.2.1/menuBcm.js
http://192.168.2.1/menuTitle.js
http://192.168.2.1/menuTree.js
http://192.168.2.1/natcfg.html
http://192.168.2.1/natcfg2.html
http://192.168.2.1/next_page.html
http://192.168.2.1/ntwkprtcl.html
http://192.168.2.1/ntwksum.html
http://192.168.2.1/ntwksum2.html
http://192.168.2.1/password.html
http://192.168.2.1/password_original.html
http://192.168.2.1/pppautherr.html
http://192.168.2.1/pppauthinfo.html
http://192.168.2.1/pppoe.html
http://192.168.2.1/processlogin.html
http://192.168.2.1/pvccfg.html
http://192.168.2.1/pvccfgerr.html
http://192.168.2.1/pvcindex.html
http://192.168.2.1/qoscls.html
http://192.168.2.1/quicksetuperr.html
http://192.168.2.1/rebootinfo.html
http://192.168.2.1/resetrouter.html
http://192.168.2.1/restoreinfo.html
http://192.168.2.1/routeadd.html
http://192.168.2.1/routeremove.html
http://192.168.2.1/rtdefaultcfg.html
http://192.168.2.1/rtdefaultcfgerr.html
http://192.168.2.1/scacccntr.html
http://192.168.2.1/scdmz.html
http://192.168.2.1/scinflt.html
http://192.168.2.1/scintro.html
http://192.168.2.1/scipfltlogin.html
http://192.168.2.1/scmacflt.html
http://192.168.2.1/scmacfltlogin.html
http://192.168.2.1/scmacpolicy.html
http://192.168.2.1/scoutflt.html
http://192.168.2.1/scprttrg.html
http://192.168.2.1/scsecloglogin.html
http://192.168.2.1/scvrtsrv.html
http://192.168.2.1/scvsvrlogin.html
http://192.168.2.1/scwanpinglogin.html
http://192.168.2.1/shim.gif
http://192.168.2.1/siproxdcfg.html
http://192.168.2.1/snmpconfig.html
http://192.168.2.1/sntpcfg.html
http://192.168.2.1/sntpcfgold.html
http://192.168.2.1/statsadsl.html
http://192.168.2.1/statsadslerr.html
http://192.168.2.1/statsadslreset.html
http://192.168.2.1/statsatm.html
http://192.168.2.1/statsatmerr.html
http://192.168.2.1/statsatmreset.html
http://192.168.2.1/statsifc.html
http://192.168.2.1/statsifcreset.html
http://192.168.2.1/statswanreset.html
http://192.168.2.1/stylemain.css
http://192.168.2.1/sysetnat.html
http://192.168.2.1/sysetupnp.html
http://192.168.2.1/sysnat.html
http://192.168.2.1/syssetting.html
http://192.168.2.1/Timelogout.html
http://192.168.2.1/title.gif
http://192.168.2.1/todadd.html
http://192.168.2.1/todaddL02.html
http://192.168.2.1/updaterebootinfo.html
http://192.168.2.1/updatesettings.html
http://192.168.2.1/upload.html
http://192.168.2.1/uploadbootinfo.html
http://192.168.2.1/uploadinfo.html
http://192.168.2.1/util.js
http://192.168.2.1/utilities.html
http://192.168.2.1/vpivci.html
http://192.168.2.1/vpivcierr.html
http://192.168.2.1/wanadderr.html
http://192.168.2.1/wancfg.html
http://192.168.2.1/wanconnection.html
http://192.168.2.1/wanlogin.html
http://192.168.2.1/wlbridge.html
http://192.168.2.1/wlcfg.html
http://192.168.2.1/wlcfg128wepkey.html
http://192.168.2.1/wlcfg64wepkey.html
http://192.168.2.1/wlcfgadv.html
http://192.168.2.1/wlcfgadv_wifi.html
http://192.168.2.1/wlcfgbelkin.html
http://192.168.2.1/wlcfgkey.html
http://192.168.2.1/wlcfgkey_1025.html
http://192.168.2.1/wlcfgkey_passphrase.html
http://192.168.2.1/wlcfgkeybelkin.html
http://192.168.2.1/wlmacflt.html
http://192.168.2.1/wlsecurity.html
http://192.168.2.1/wlsecurity_belkin.html
http://192.168.2.1/wlsecurity_open.html
http://192.168.2.1/wlsecurity_psk.html
http://192.168.2.1/wlsecurity_wpa.html
http://192.168.2.1/wlsetup.html

Finally, you can view the contents of any files in the router by using "cat <dir/filename>", so using any of the dir/file results from the echo command above, you could view file contents using "cat webs/wlsetup.html" for example. Remember that you're actually using a linux variant here, so all device, directory and filenames for example are Case sEnSitive, so be sure to type them carefully to match what is shown in the echo results ... for example, all of the filenames listed above are all lower case, except for one -- webs/Timelogout.html -- which you can only reference with an uppercase T ... go figure.

Anyhoo - I guess this might be enough to get you going for now - so go ahead and try.

Alan

-----
Entanet via UKFSN.
Standard User rhenn
(learned) Sun 28-Jan-07 20:55:02
Print Post

Re: How do I TELNET or SSH into my Belkin G+ MIMO


[re: amci] [link to this post]
 
Thanks - what a brilliant introduction !!!

I've found that "cat /proc/cpuinfo" gives....

system type : 96348GW-10
processor : 0
cpu model : BCM6348 V0.7

Is this the same as the 7633?
Standard User amci
(committed) Sun 28-Jan-07 22:44:44
Print Post

Re: How do I TELNET or SSH into my Belkin G+ MIMO


[re: rhenn] [link to this post]
 
It is indeed - so our routers share the same chipset, and probably similar firmware, with the main differences being mine is just a G+ wireless, whereas yours has the MIMO extensions.

That means that searching for anything related to Belkin F5D7633 commands, tips or tricks should give results which will probably work on your router too.

Having said that, I find that I get excellent results from this chipset/router on my line with very little tweaking needed, apart from usually increasing my SNR a little above the default 6, just so that I can keep the error counts down. I generally find that once I've done that, and allowed the resultant resync to happen, this beastie just hangs onto the signal come hell or high water - I think the longest it's gone so far with out a single line drop was just over 50 days, and even then it wasn't actually a line resync - just a ppp session drop from my ISP - can't expect much better than that I reckon

Anyway - hope you enjoy exploring the capabilities of your router if you choose to do so - and just in case you're feeling particularly inquisitive, you might find that the undocumented "sh" command is available to you as well -- I tried this on my 7633 and it drops me down to what seems to be a "standard" busybox linux # prompt which then opens up more linux commands to play with -- I only tested this by checking if the "ls" command worked (it did) and then I just returned to the belkin shell by just typing "exit" at the # prompt.

I'm sure I could have explored some more, but I haven't done so yet, so good luck if you choose to delve around in there more than I have

Alan

-----
Entanet via UKFSN.
Standard User rhenn
(learned) Mon 29-Jan-07 09:16:35
Print Post

Re: How do I TELNET or SSH into my Belkin G+ MIMO


[re: amci] [link to this post]
 
Cheers Alan.

It more inquisitiveness than wanting to change the settings.

By the way, how do you know how long the line-up duration is? It's not on my standard Belkin web page, I guess it's one of the stats commands?

By the way as a 7633 owner you can use the dmt tool ... http://www.worldlingo.com/S1790.5/translation?wl_srclang=de&wl_trglang=en&wl_url=http://dmt.mhilfe.de/

Richard

Edited by rhenn (Mon 29-Jan-07 09:27:40)

Pages in this thread: 1 | 2 | 3 | (show all)   Print Thread

Jump to