找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 22589|回复: 48

[coyote] [分享]在Coyote中加入动态域名支持详细方法.

[复制链接]
发表于 2004-4-24 01:04:08 | 显示全部楼层
此文收集自软件路由器论坛(http://rsus.jahee.com/bb/) ,并有moran321收集整理.如需转摘请注明出自软件路由器论坛.

在论坛中看到还有很多网友仍然无法使用EZ-IPUPDATE更新3322.org提供的动态域名功能,特收集整理此文.

文中提到的方法也可以同样适合其它同类型的软件路由.如IPCOP/SW等.

1.首先从http://www.rictec.com.br/claudio/coyote/下载ez-ipupdate.tgz并拷到你的路由软盘上.
2.用这张软盘启动路由器.
3.路由启动后可以在路由上操作或通过SSH远程登陆软件进行以下设置.
在命令行下输入"cd etc"目的为进入etc目录.编辑ez-ipupdate.conf文件输入"edit ez-ipupdate.conf" 或者直接在root目录下输入"edit /etc/ez-ipupdate.conf"(注某些软件路由没有edit命令请使用vi命令来编辑)
4.找到"# this file is actually executable!"在下面加入"server=members.3322.org:80
     request=/dyndns/update
     retrys=999999
     resolv-period=300
     period=300 "
即成这样的形式:
server=members.3322.org:80
request=/dyndns/update
service-type=dyndns
#service-type=dyndns-static
user=你在3322.org注册的名字:密码
host=你注册的域名youname.3322.org
interface=ppp0
max-interval=86400
retrys=999999
resolv-period=300
period=300

5.修改"cache-file=/etc/ez-ipupdate.cache"在前面加入#号.即"#cache-file=/etc/ez-ipupdate.cache"
6.修改"#cache-file=/tmp/ez-ipupdate.cache"把前面的#号去掉.即"cache-file=/tmp/ez-ipupdate.cache"目的是在更新域名时产生的动态文件存放在/tmp目录下
7.在命令提示行下输入"ez-ipupdate -c /etc/ez-ipupdate.conf"回车
如果账号密码没错的话,过一会就会更新成功.查看/tmp目录下的"ez-ipupdate.cache"文件应该显示你的IP地址.命令"edit /tmp/ez-ipupdate.cache"
尝试在你的本机上ping youname(你申请的域名).3322.org这时应该有回应了.
8.重新进入menu菜单(命令行下输入munu),按W保存.

恭喜你.你成功了.

以上方法都基于Coyote.
IPCOP和SW可以通过SSH工具把ez-ipupdate.tgz上传到路由中再按以上方法操作.命令edit改为用vi.最后把ez-ipupdate加到/etc/rc.d/rc.local中即可实现开机就自动更新动态域名.(可以新建一个脚本内容为你启动ez-ipupdate的命令行。然后在rc.local里加入这个脚本就行了。)

感谢论坛中的clamp和wsgtrsys是他们的热心及无私奉献才会有此文的存在.谢谢!
routeros
回复

使用道具 举报

发表于 2004-4-24 06:54:13 | 显示全部楼层
不对呀,你说的网址进去以后全是英文的,看不懂的呀,应当在那儿下载呀
routeros
回复

使用道具 举报

发表于 2004-4-24 09:10:13 | 显示全部楼层
coyote 里成功,多?,不?smoothwall2.0 express 里怎?上? ez-ipupdate.tgz?
routeros
回复

使用道具 举报

发表于 2004-4-24 09:13:36 | 显示全部楼层
??主: cf-ide什么?候可到?LCD怎么?,什么型??多?!!!
routeros
回复

使用道具 举报

 楼主| 发表于 2004-4-24 22:31:52 | 显示全部楼层
CF卡都到啦.也已经卖完啦.其它的我也都发给各位网友了.如果要的话看你要多少了.多的话我可以帮你发.其实我给大家的价格我真的一分都没赚,有些地方的我还贴了邮资.我那么辛苦为的是什么呢.我是为大家提供个方便希望大家有机会去DIY.
带背光的HD44780 LCD记得是180吧.你可以看我过去发关于LCD的帖子在置顶中.
routeros
回复

使用道具 举报

 楼主| 发表于 2004-4-24 22:34:15 | 显示全部楼层
Dynamic DNS Update
就是了.
routeros
回复

使用道具 举报

 楼主| 发表于 2004-4-24 22:44:18 | 显示全部楼层
动态域名
routeros
回复

使用道具 举报

发表于 2004-4-24 22:49:58 | 显示全部楼层
有个好消息,ez-ipupdate也可以更新www.minidns.net的动态域名
routeros
回复

使用道具 举报

 楼主| 发表于 2004-4-25 22:38:10 | 显示全部楼层
那是否一定要 ez-ipupdate-3.0.10版.就用CL的然后修改ez-ipupdate.conf.行吗?
routeros
回复

使用道具 举报

发表于 2004-4-26 01:27:38 | 显示全部楼层
请问楼主,我用的是2.10的,怎么不行啊:我是按照官方,与你的有点不一样。

How to install:

1 - Download the ez-ipup.tgz file and copy it to your existing Coyote boot floppy.
Note: If you're using a Linux system to make these changes, you can use any text editor to make the following changes, rather than mounting the floppy in your Coyote system.
2 - Boot the machine into Coyote, login as root, and Quit from the menu [Q]
3 - Type: mount /dev/boot /mnt [Enter] Ignore the error message about Minix file systems.
4 - Type: edit /mnt/packages [Enter]
5 - If this is the first package you've added, this file will be empty. Add one line with the new package name: ez-ipup [Enter]
6 - Close the editor [Ctrl+Q] and save the file [Y]
7 - Type: umount /mnt [Enter] (Note the spelling: umount, not unmount.)
8 - Reboot your Coyote box. Do not use the menu option to write configuration changes to the floppy.

To Run:

1 - Boot the machine into Coyote, login as root, and Quit from the menu [Q]
2 - Type: edit /etc/ez-ipupdate.conf [Enter]. Read through the configuration file. It will tell you what most of the values are used for. I have the service-type set for dyndns, but most of the dynamic dns services are available.
3 - Set the values according to the service you're using. (See the ez-ipupdate site for more information.) Quit the editor and save: [Ctrl+Q] [Y]
4 - Start ez-ipupdate by typing: ez-ipupdate -c /etc/ez-ipupdate.conf [Enter]. Switch to your syslog screen (Alt-F4) and you should see an entry that ez-ipupdate started using your service type, and has successfully updated your dyndns entry. You may also see an "ez-ipupdate.cache is malformed" error. That's because nothing is in there the first time. You shouldn't see that error again.
5 - If everything seems to be working, you'll want to run this in daemon mode, which will watch your IP address, and update the dns entries at your dynamic dns services when it changes. Just uncomment the daemon line in the /etc/ez-ipupdate.conf file. You will probably also want to add a line in your /etc/rc.d/rc.local script to start ez-ipupdate automatically when you boot Coyote. Just add the line that you typed to start ez-ipupdate in step 4.
6 - Write your configuration changes to the Coyote boot disk.
routeros
回复

使用道具 举报

发表于 2004-4-26 06:40:40 | 显示全部楼层
不知是不是可以用1。1版的,必须要用2。10版 的吗?还是可以用别的版本的?
routeros
回复

使用道具 举报

发表于 2004-4-26 18:55:22 | 显示全部楼层
QUOTE
那是否一定要 ez-ipupdate-3.0.10版.就用CL的然后修改ez-ipupdate.conf.行吗?
还不是很清楚,没有时间去试。不过我大概看了一下minidns放出的ez的源代码,应该是修改了justlinux那部分的代码,估计修改conf就可以的了。
有一点要注意的是,minidns暂时不支持自动更新mx记录,所以不用急着去用minidns的服务。

或者我尝试给出修改方法,找个热心的人帮我试吧,呵呵~~~:wink:
routeros
回复

使用道具 举报

发表于 2004-4-26 19:50:11 | 显示全部楼层
修改以下几项应该就可以使ez更新minidns.net里的域名

server=www.minidns.net:80
request=/areg.php
service-type=justlinux
user=你在www.minidns.net注册的名字:密码
host=你注册的域名

有兴趣的可以试试 :!:  :idea:
routeros
回复

使用道具 举报

发表于 2004-4-27 03:01:52 | 显示全部楼层
怎么没有人帮我看一下,上面我说的问题啊?
routeros
回复

使用道具 举报

 楼主| 发表于 2004-4-27 10:55:25 | 显示全部楼层
QUOTE
怎么没有人帮我看一下,上面我说的问题啊?

不需要挂载软盘或硬盘的.只要修改ez-ipupdate.conf文件就行的.
routeros
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|小黑屋|软路由 ( 渝ICP备15001194号-1|渝公网安备 50011602500124号 )

GMT+8, 2024-5-9 11:34 , Processed in 0.148871 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表