Hi list,
My router D-link GLB 502T runs on BusyBox v0.61.pre (2006.06.30-13:40+0000).
I wanted to know is there any way by which i could disconnect &
connect the router from internet via telnet, as this would enable me
to use a script & automate the task of downloading
Reason
my ISP requires me to disconnect & then reconnect so that i can
download among FREE time in which my downloads are not charged. I
tried rebooting the router but it is not realible as sometimes the
ADSL or LAN light does not come up when i start the reboot router, so
i thought if there is any way by which i could just end connection
without restarting the router.
output of ifconfig
----------------------------------------------------------------------------------------
# ifconfig
br0 Link encap:Ethernet HWaddr 00:17:7C:04:55:A6
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 ASYMMTU:1500
RX packets:3472 errors:0 dropped:0 overruns:0 frame:0
TX packets:2939 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:667880 (652.2 kb) TX bytes:1646841 (1.5 Mb)
br1 Link encap:Ethernet HWaddr 00:00:00:00:00:00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 ASYMMTU:1500
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
eth0 Link encap:Ethernet HWaddr 00:17:7C:04:55:A6
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 ASYMMTU:1500
RX packets:3482 errors:0 dropped:0 overruns:0 frame:0
TX packets:2919 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:668686 (653.0 kb) TX bytes:1644947 (1.5 Mb)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1 ASYMMTU:0
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
nas0 Link encap:Ethernet HWaddr 00:17:7C:04:7C:B6
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 ASYMMTU:1500
RX packets:3026 errors:0 dropped:0 overruns:0 frame:0
TX packets:2672 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:1619634 (1.5 Mb) TX bytes:453679 (443.0 kb)
ppp0 Link encap:Point-Point Protocol
inet addr:59.95.165.216 P-t-P:59.95.160.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
ASYMMTU:1500
RX packets:2958 errors:0 dropped:0 overruns:0 frame:0
TX packets:2605 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:1593113 (1.5 Mb) TX bytes:367596 (358.9 kb)
usb0 Link encap:Ethernet HWaddr 00:E0:A6:66:41:EC
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 ASYMMTU:1500
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
#
---------------------------------------------------------------------------
--
Regards,
Gaurish Sharma
This email is licensed under http://creativecommons.org/licenses/by-nc/3.0/
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox