![]() ![]() ![]() |
|
You can never have enough Volvos!
matt1553: I've got a script that'll tell your modem to renew it's public IP adress every 15 minutes. But in order for it to work, you'll need a router that supports telnet access, has a linux operating system that recognises these commands, and that supports shell scripts.I think your assumption will run afoul in two areas:
while true
do
/sbin/dhcpc-release
sleep 1
/sbin/dhcpc-renew
sleep 900
done
Telnet into your modem, then paste the script i've given you into the telnet window, press enter, and then close the telnet window.
After reading all this, I am intrigued as to why you would possibly want to cycle your IP address all the time...? care to shed some light on this? =o)
After reading all this, I am intrigued as to why you would possibly want to cycle your IP address all the time...? care to shed some light on this? =o)
Built-in commands:
-------------------
. : bg break builtin cd chdir continue eval exec exit export
false fc fg hash help jobs kill local pwd read readonly return
set setvar shift times trap true type ulimit umask unset wait
Currently defined functions (busybox):
[, ash, busybox, cat, chgrp, chmod, chown, cp, date, dd, df, echo,
false, free, grep, hostname, id, ifconfig, init, insmod, kill,
ln, login, ls, lsmod, mkdir, modprobe, mount, mv, passwd, ping,
ps, pwd, reboot, rm, rmmod, route, sh, sleep, sync, tar, test,
tftp, touch, true, tty, umount, wget, whoami, yes
|
![]() ![]() ![]() |