Page 1 of 2 12 LastLast
Results 1 to 15 of 17

Thread: DynDNS: No-IP service

  1. #1

    Question DynDNS: No-IP service

    This allows you to update your IP using the No-IP service.

    Well, this was actually very, very simple to compile. I only changed one thing: multiple instances are assumed by default. The way it handles them causes it to constantly think it's running, so to speak... I've uploaded the source anyway so as not to breach the GPL.

    http://nochances.net/files/wl-500g/noip2.c

    The object itself (just place it in, say, /opt/sbin) is available here:
    http://nochances.net/files/wl-500g/noip2

    Works for me! Add the line "noip2" to post-boot and enjoy.
    But first, you have to configure it. Run "noip2 -C" from the prompt and answer the questions. Be sure to save flash after you've finished ("flashfs save" and "flashfs commit"... yadda yadda, you should know that).

    It would be nice if somebody could turn this into an ipkg release. My knowledge and time are too limited to do so.

    I have done nothing here, just so you know, except cross-compile the source available at http://www.no-ip.com. I've already stated my only real change.

    Even better, maybe it and its configuration for it can be improvised and implemented into the firmware and web interface, but if it's made into an ipkg package, Webtools (if it's still going) would be more likely.

    I'm such a newbie I'm not even sure if this has bearing, but it was compiled with the tools required starting in 1.9.2.7-4.
    Last edited by tomilius; 25-05-2005 at 07:49. Reason: To say what it is

  2. #2
    Join Date
    May 2005
    Location
    Braga, Portugal
    Posts
    19
    those url's aren't available... can you fix it, tomilius?
    thkz!

  3. #3
    Quote Originally Posted by SocoNaTromba
    those url's aren't available... can you fix it, tomilius?
    thkz!
    check the attachment.
    Attached Files Attached Files

  4. #4
    Join Date
    May 2005
    Location
    Braga, Portugal
    Posts
    19
    thankz, xection!

  5. #5
    Join Date
    Feb 2005
    Location
    Cologne, Germany
    Posts
    24

    Cool

    Yes, to integrate it to web interface would be great, who would like to do this, anyone?
    Last edited by cunami; 08-11-2005 at 09:35.

  6. #6
    Hi,

    Please, somebody tell me how can I put it to the post-boot.
    (I have a WL-500g Deluxe with firmware 1.9.2.7-7e)

    The no-ip program is in the /usr/local/no-ip directory and it's config file is in /usr/local/etc/no-ip2.conf.

    I have been created the /usr/local/sbin directory and put a file there called post-boot and made it executable.

    The post-boot file contains:
    /usr/local/no-ip/noip2

    and I tried this before:
    #!/bin/sh
    /usr/local/no-ip/noip2

    and with simply #sh in the first line.

    But no-ip don't running when I restarting the router.
    When I type post-boot it begins to run.

    What can I do to make it automatically starts when the router is booting?

  7. #7
    has "post-boot" file execute rights? so change to +X and test again...

  8. #8
    The post-boot file is executable.

    Now it contains only:
    /usr/local/no-ip/noip2

    If I launch it, the no-ip is starting to run.

    If I modify the post-boot to:
    #!/bin/sh
    /usr/local/no-ip/noip2

    Then it says:
    -sh ./post-boot: not found

    What would be the problem?

    I would be happy if someone could write me a step by step tutorial to let me understand what I have to do.

  9. #9
    Quote Originally Posted by VaZso
    The post-boot file is executable.

    Now it contains only:
    /usr/local/no-ip/noip2

    If I launch it, the no-ip is starting to run.

    If I modify the post-boot to:
    #!/bin/sh
    /usr/local/no-ip/noip2

    Then it says:
    -sh ./post-boot: not found

    What would be the problem?
    It looks as if /bin/sh is not executable. As far as I can tell, and as strange as it sounds, it's the only explanation. Could you try
    Code:
    /bin/sh
    ls -l /bin/sh
    ls -lL /bin/sh
    mount
    and post the results ?
    SurJector

  10. #10
    It says:
    : not found /bin/sh
    : No such file or directory
    : No such file or directory
    /dev/root on / type squashfs (ro)
    none on /dev type devfs (rw)
    proc on /proc type proc (rw)
    ramfs on /tmp type ramfs (rw)
    usbfs on /proc/bus/usb type usbfs (rw)

    If I write to the consol: ls -l /bin/sh
    it says: lrwxrwxrwx 1 vazso root 7 Jun 11 19:23 /bin/sh --> busybox

    For ls -lL /bin /sh
    it says: -rwxr-xr-x 1 vazso root 888560 Jun 11 19:22 /bin/sh

  11. #11
    Still very strange. It might be a library problem...

    Try once again
    Code:
    cat /proc/self/maps
    (at least to understand what shell you use when logging if it is not /bin/sh, then it must be something).
    SurJector

  12. #12
    When I type sh in the consol I must type exit twice to get the telnet window close. So, it seems to be there...

    For cat /proc/self/maps

    The response is:
    Code:
    00400000-004cc000 r-xp 00000000 1f:02 1204       /bin/busybox
    10000000-10004000 rw-p 000cc000 1f:02 1204       /bin/busybox
    10004000-10010000 rwxp 00000000 00:00 0
    2aaa8000-2aaa9000 rw-p 00000000 00:00 0
    2aac0000-2aac7000 r-xp 00000000 1f:02 548075     /lib/ld-uClibc.so.0
    2ab06000-2ab07000 rw-p 00006000 1f:02 548075     /lib/ld-uClibc.so.0
    2ab07000-2ab1b000 r-xp 00000000 1f:02 548061     /lib/libm.so.0
    2ab1b000-2ab5a000 ---p 00014000 00:00 0
    2ab5a000-2ab5b000 rw-p 00013000 1f:02 548061     /lib/libm.so.0
    2ab5b000-2ab5f000 r-xp 00000000 1f:02 548081     /lib/libcrypt.so.0
    2ab5f000-2ab9e000 ---p 00004000 00:00 0
    2ab9e000-2ab9f000 rw-p 00003000 1f:02 548081     /lib/libcrypt.so.0
    2ab9f000-2abb0000 rw-p 00000000 00:00 0
    2abb0000-2ac1f000 r-xp 00000000 1f:02 548047     /lib/libc.so.0
    2ac1f000-2ac5e000 ---p 0006f000 00:00 0
    2ac5e000-2ac61000 rw-p 0006e000 1f:02 548047     /lib/libc.so.0
    2ac61000-2ac64000 rw-p 00000000 00:00 0
    7fff5000-7fff8000 rwxp ffffe000 00:00 0

  13. #13
    I've created an other thread four days ago in the WL-500g Q&A part of the forum here: http://wl500g.info/showthread.php?t=5667
    (before you wrote) because I thought there are more people reading there (nobody wrote to this no-ip forum for days).

    so

    there is a script called wshaper in /sbin

    It's begins with #!/bin/sh and is works even if I copy it to another directory.

    But I don't know why doesn't other script work. (For example, post-boot or myshaper script.)

  14. #14
    Now it works for me.

    The problem was that I created the file using win.
    After opened it with vi, I saw "^M"s in the end of every row...

    Sorry about this and thank you very much to tryed to help me.

  15. #15
    Quote Originally Posted by VaZso
    Now it works for me.

    The problem was that I created the file using win.
    Hehe ! Windows manage to cripple even Linux ! Good to see it works now.
    SurJector

Page 1 of 2 12 LastLast

Similar Threads

  1. Dyndns íà DIR-320
    By Alexparty in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 176
    Last Post: 12-10-2011, 12:24
  2. Replies: 13
    Last Post: 04-09-2007, 17:56
  3. How to run pppoe and dyndns
    By hugo in forum WL-HDD Q&A
    Replies: 4
    Last Post: 05-01-2007, 22:04
  4. Access web service from outside world?
    By denny in forum WL-500g Custom Development
    Replies: 5
    Last Post: 12-07-2004, 23:04

Tags for this Thread

Posting Permissions

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