Pages

Wednesday, September 11, 2013

Netgear DGN 2200v3 Tweaks

Listing down some of the tweaks for Netgear DGN2200v3 Router. 







  • Telnet Backdoor ( Telnet Enable) - http://192.168.0.1/setup.cgi?todo=debug - This will enable telnet port on the router and you can use a standard telnet client or putty  to login to the router. Username and Password will be "admin" and the respective password. Note: Replace 192.168.0.1 with IP address of your router in case if you have changed it already.
  • To enable blinking WLAN LED upon data flow
    • Enable Telnet backdoor
    • login to the router using a telnet client 
    • Execute below commands
      • mount -o remount,rw /
      • cd /usr/etc
      • echo "/etc/rc.custom &" >> rcS
      • echo "#!/bin/sh " >> rc.custom
      • echo "#Customer Startup Script" >> rc.custom
      • echo "sleep 60" >> rc.custom
      • echo "/bin/wl ledbh 3 7" >> rc.custom
      • chmod 755 rc.custom
      • Reboot the router 
  • To enable blinking Internet LED upon data flow
    • Enable Telnet backdoor
    • login to the router using a telnet client 
    • Execute below commands
      • mount -o remount,rw /
      • cd /usr/etc/ppp
      • echo "/sbin/echo 0301 > /proc/led" >> ip-up
      • echo "/sbin/echo 0300 > /proc/led" >> ip-down
      • Reboot the router
  • Configuring Transmission Torrent Client
    • You should be running amod2200 ROM which has Transmission Torrent Client built in
      • For Transmission Torrent Client to work an external storage device is needed ( USB Thumb drive or Hard Disk should be connected to the USB port of the router
      • First drive will be detected as "U" drive within the router
      • Create a directory structure as below under the root folder. Below commands assume the USB device is detected as "U" drive on a windows machine
      • mkdir "U:\transmission"
      • mkdir "U:\torrent"
      • mkdir "U:\torrent\downloads"
      • mkdir "U:\torrent\start"
      • mkdir "U:\torrent\temp"

      •  Alternatively creating the same directory structure from within the router ( Assuming the USB device is detected as "U" drive )


      • mkdir /mnt/shares/U/torrents/
      • mkdir /mnt/shares/U/transmission
      • mkdir /mnt/shares/U/downloads
      • mkdir /mnt/shares/U/start
      • mkdir /mnt/shares/U/temp
      • start and stop torrent client one's. This step will create a standard settings.json file under "transmission" directory
        • Execute below client to start and stop the client from within the router
        • cd /etc/amod/init.d
        • ./torrent start
        • ./torrent stop
      • Edit the "transmission/settings.json" file and below lines using your favourite editor ( Firmware has nano editor build in which is as easy as a notepad to use )
      • watch-dir-enabled": true"
      • start-added-torrents": true,
      • "trash-original-torrent-files": true,
      • "incomplete-dir-enabled": true,
      • "download-dir": "/mnt/shares/U/torrents/downloads",
      • "incomplete-dir": "/mnt/shares/U/torrents/temp",
      • "watch-dir": "/mnt/shares/U/torrents/start",
      • Configuration is complete. Login into the Web Interface and enable Transmission Torrent Client under "Services --> Amod " page.
      • For adding any new torrent just  upload / copy .torrent file to "torrents/start" folder. Transmission will automatically pick it up and once download is completed will move the completed download to "torrents/downloads". "/torrents/temp" folder will be used to hold files during download process.
Watch out this space for more such tweaks and custom scripts. Please share your comments here.

No comments:

Post a Comment