1 |
On Fri, Dec 02, 2005 at 05:07:22PM -0800, Ryan Tandy wrote: |
2 |
> >I have a Linksys WRT54GS router running openWRT firmware that gets its |
3 |
> >IP via DHCP from my ISP. That's all working fine. I also have an account |
4 |
> >with dyndns.org that is supposed to get updated when my IP changes. This |
5 |
> >is where I've screwed something up because it's wasn't. I think I have |
6 |
> >it configured properly now, but won't know until my IP changes again. |
7 |
> |
8 |
> In the configuration on the dyndns website, enter an IP for your entry |
9 |
> that you know is wrong. Wait the interval you configured and see if it |
10 |
> updates to the correct one. Also, there should be an option somewhere |
11 |
> to force your dyndns client to update immediately, but I'd recommend |
12 |
> waiting the interval just to make sure that works too. Maybe turn it |
13 |
> down to 5 minutes or something to reduce the wait. ;) |
14 |
|
15 |
I've done this, and also had to change the IP in /tmp/ez-ipup, which |
16 |
holds the routers config for the last time IP was changed. After doing |
17 |
these changes, |
18 |
|
19 |
ipdown wan |
20 |
ipup wan |
21 |
|
22 |
recognized that the IP was different, and updated appropriately. Right |
23 |
now I have the following command being run hourly from crontab |
24 |
|
25 |
/usr/sbin/ez-ipupdate -c /etc/ez-ipupdate.conf & |
26 |
|
27 |
and that doesn't work if wan hasn't been taken down and back up again, |
28 |
because the ez-ipdupdate script just compares the values in /tmp/ez-ipup |
29 |
file with dyndns, and doesn't account for the actual value shown with |
30 |
ifconfig vlan1. |
31 |
|
32 |
But what doesn't happen, and I think _should_, probably via udhcpc, is |
33 |
that if my satellite modem goes down or changes IP, the router should |
34 |
recognize this fact and automagically reconfigure wan via ipdown and |
35 |
ipup. |
36 |
|
37 |
I'm really confused here. |
38 |
|
39 |
Thanks, |
40 |
John |