Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
djnes said:This is about as vague as it gets, but I'm going with Ice Czar thinking you want a .bat file.
Just open notepad, type in the DOS commands you want to run, and save it as a .bat. Then store it on your desktop if you want.
On a somewhat related note, why do you need to run a release/renew everytime you boot? Sounds like you're either not understanding something about a network, our you're having some network problem.
If it's a broadband connection, you should have a router on it....and this problem would be solved.who said:thanks for the help. also i have to run this every once in a while cause i have a crappy modem and this is all i can do to get on net
djnes said:None of the modems assign an IP address to the PC, that's the job of a DHCP server, either in the router or on the broadband network.
If the modem isn't "talking" to the ISP's network, then a release / renew isn't going to solve that problem anyway, so it would be a side issue of this thread.
If release / renew does fix the problem, a router would solve this.
I was under the impression the router holds the IP from the ISP, so if the modem loses connection, when it's restored, the router will go out and get the new address. Modems typically have nothing to do with the IP addressing in general. Since the router will obtain the new WAN IP, he won't have to release / renew on his own computer because his internal LAN NAT'd address will remain the same.PaHick said:Just having a router will not change anything. Modem-->Router-->PC....modem loses IP, router still uses IP, and if modem picks up new IP, router has wrong IP until restarted/renewed. Correct?
djnes said:I was under the impression the router holds the IP from the ISP, so if the modem loses connection, when it's restored, the router will go out and get the new address. Modems typically have nothing to do with the IP addressing in general. Since the router will obtain the new WAN IP, he won't have to release / renew on his own computer because his internal LAN NAT'd address will remain the same.
That's what I meant about the router solving the problem. As long as his connection to the touer from his PC is fine, he won't have to change anything on his own PC.
jpmkm said:An ISP doesn't just send an IP address to a cable modem. The cable modem is little more than a bridge. The client(whether it is a PC or a router) sends a dhcp discover out over the wire. Any dhcp servers seeing the discover will send a dhcp offer to the client. The client chooses an offer(should only get one if everything is configured properly) and sends a dhcp request. The respective server then sends an acknowledgement, and all is good. All the cable modem is doing during all this is bridging an ethernet network and a docsis network. So the client does indeed "seek" an IP address from the ISP.
And if the connection to the cable network is being dropped at random, a cable tech should investigate to see what is happening, because obviously it shouldn't be happening. Might be a signal strength/quality issue. Though if it is at random it might be a bit difficult to track down.
jpmkm said:The router is not a bridge; it is a router(of sorts). Bridges convert from one network type to another; there is no routing involved. A router can connect one network type to another, but it's main purpose is to route. Granted, the main purpose of most home routers is to provide NAT, but there's still an amount of routing going on. Cable modems do indeed have MAC addresses. So do routers. That's how the router is able to get the IP address. The router itself is what requests the IP address from the ISP, and it is what gets the IP address. You obviously don't need a router to get an IP address, but you need a client in there somewhere to get an IP address. If you just hook up a cable modem to the line, you aren't going to have an IP address(it might have something internal to the cable network, but nothing that would be accessible to the outside world).
So, in other words: the cable modem is the bridge. The router is the router.