Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Transplantation of ez-ipupdate

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

1. Download ez-ipupdate-3.0.10.tgz Source Package

tar xvf ez-ipupdate-3.0.10.tgz

2. modify the code

vi conf_file.c

Add #include

vi ez-ipupdate.c

Find "no update needed at this time"

Comment out those lines.

else

{

fprintf(stderr, "no update needed at this time\n");

}

3. Enter directory compilation

[root@tooth local ez-ipupdate-3.0.10]./ configure

[root@tooth local ez-ipupdate-3.0.10] vi Makefile

CC=mipsel-linux-gcc

CPP = mipsel-linux-gcc -E

save and exit

[root@tooth local ez-ipupdate-3.0.10]make

4. Migrate and configure information

Migrate ez-ipupdate and qdns.conf to the development board

[root@tooth local]# vi qdns.conf

service-type=qdns

user= account and password registered on the website

host= free domain name requested

interface=eth0 bound portal

max-interval=2073600

cache-file=/tmp/ez-ipupdate.cache

5. start-up procedure

[root@tooth local]./ ez-ipupdate -c ./ qdns.conf

You can also use shell to execute the following command

ez-ipupdate -h Domain Name-i Portal-S Service Type-u User Name: Password

Just don't make mistakes.

6. test

[root@tooth local]#ping domain name requested

PING tooth.3322.org (192.168.1.10) 56(84) bytes of data.

64 bytes from 192.168.1.10: icmp_seq=0 ttl=0 time=0.070 ms

64 bytes from 192.168.1.10: icmp_seq=1 ttl=0 time=0.037 ms

64 bytes from 192.168.1.10: icmp_seq=2 ttl=0 time=0.036 ms

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report