I do indeed have
other ideas Not least because I have never been in favour of giving up at the first hurdle.
Lets approach the problem from a slightly different angle, if
delia is willing ?
Firstly, lets define what we
do know.
- The router is running some form of Linux
- The router can report stats in the GUI, proving some method of communication with the driver is possible
- Apparent use of a session cookie precludes easy gathering of the stats from the GUI
- None of the more common commands for obtaining stats via telnet are apparent
1. Can easily be determined by typing
uname -a at the telnet command line.
Another useful command would be
cat /proc/cpuinfo which should reveal details of the chipset in the
D-Link DSL-3680. It is highly likely that the chipset is in use in other routers and this may well give a
clue to the method of communication
D-Link are using.
Lastly, another useful command to issue would be
echo "$PATH" This should return the locations of all the binary commands in the router, in other words, where the Linux system 'looks' to find a command typed into it.
E.G.
# echo "$PATH"
/bin:/sbin:/usr/bin
#
From this we can see that my router first looks in '/bin', then in '/sbin' and finally in '/usr/bin' before returning a 'command not found' message. Performing
ls upon each of these locations gives the following
# ls /bin
zebra swapdev printserver ln ebtables cat
wpsd startbsp pppc klog dns busybox
wlancmd sntp ping kill dms brctl
web smbpasswd ntfs-3g iwpriv dhcps atserver
usbserver smbd nmbd iwconfig dhcpc atmcmd
usbmount sleep netstat iptables ddnsc atcmd
upnp siproxd mount ipp date at
upg sh mldproxy ipcheck cwmp ash
umount scanner mknod ip cp adslcmd
tr111 rm mkdir igmpproxy console acl
tr064 ripd mii_mgr hw_nat cms ac
telnetd reg mic ethcmd cli
tc radvdump ls equipcmd chown
switch ps log echo chmod
# ls /sbin
vconfig rmmod poweroff init halt
route reboot insmod ifconfig arp
# ls /usr/bin
wget top test mcast ftpput [[
traceroute tftp telnet killall ftpget [
#
This then is a complete set of the commands that can be typed into a telnet session on this particular router. A similar procedure followed on
delia's router may or may not reveal something conclusive.
It is
most unfortunate that TT have not made the firmware available for download