Results 1 to 2 of 2

Thread: Need a help with "cron+telnet" script for WL700GE

  1. #1

    Need a help with "cron+telnet" script for WL700GE

    Hello everyone,

    I have a task but since I'm very stupid in linux programming, could you help me, please?

    So, I have ADSL connection. My WL-700GE is connected directly to ADSL-modem as a simple router.

    The ADSL-provider is not good, that's why I have frequent (1-2 times a day disconnections and my DLINK modem can't reconnect automatically), so I have to connect to it via telnet(or WEB-interface) and reboot it manually.

    I have an idea - to use WL-700 cron to create a task which can ping google.com and IF no response from the site then run a script on WL-700ge which connects to ADSL-modem (via telnet) and reboots it.

    wl700ge has been already installed alternative firmware(i'm not sure which of them)

    Is it possible task for *nix placed in WL-700ge?

    If so, could you give please write such scripts for me?
    I see that there is three tasks:
    1) install cron task
    2) grep ping result
    3) run a "ADSL-modem reboot" script.

    I will be very appreciated to be given any links/docs/advices etc.

    With regards,
    Ilya.

  2. #2
    Join Date
    Dec 2008
    Location
    Netherlands
    Posts
    74
    I have no idea how you would tell the D-Link to reboot.
    How about this approach: why does your modem not restore the connection automatically? Are you sure you've configured it correctly for your provider?

Similar Threads

  1. Update NoIp, DynDNS, dyn.ee, ipactive via script
    By rj.2001 in forum WL-500g/WL-500gx Tutorials
    Replies: 9
    Last Post: 04-01-2011, 15:48
  2. OpenDNS script
    By kauczu in forum WL-500gP Q&A
    Replies: 1
    Last Post: 30-09-2008, 17:29
  3. How do I create a post-boot script?
    By ChessMaster in forum WL-500g Q&A
    Replies: 0
    Last Post: 06-09-2008, 06:57
  4. BusyBox cgi Script Fehlerbehandlung
    By WLAN-Fan in forum German Discussion - Deutsch (DE)
    Replies: 0
    Last Post: 03-06-2008, 16:11
  5. Call script from post-boot and not returing?
    By scriptman in forum WL-500gP Q&A
    Replies: 2
    Last Post: 04-12-2006, 03:56

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •