Hacks and Tweaks


November 29, 2009

How To Repair a Broken TCP/IP Connection

More articles by »
Written by: arunenigma

Get back onto the Internet fast if you have TCP/IP woes. TCP/IP problems can be exceedingly difficult to troubleshoot, and at times your TCP/IP connection appears to break for no apparent reason. Everything looks like it should be working, but you’re not able to connect using the protocols.

If you have a broken connection, try the following:

Try automated repair
Right-click the broken connection in the Network Connections folder and choose Repair.

Run the Network Setup Wizard

It walks you step by step through TCP/IP and network configuration and will correct any errors you might have introduced inadvertently.

Reset your router

If you have a home network, the problem might lie with the router or in the connection between the router and your broadband provider. Follow the directions for resetting the router.

Reset your cable modem or DSL modem

If you have a broadband connection, the problem might lie in the assignment of your IP address by your ISP. Power off your cable modem or DSL modem, unplug its Ethernet cable, and leave it powered off for five minutes. Then restart it. This is also a good time to reset your router. You can also try releasing and renewing after you’ve turned the connection back on.

Reset TCP/IP to its original configuration

If all else fails, you can try to reset your TCP/IP stack to the same state that it was in when XP was first installed on the computer. Use the NetShell utility.

Issue this command: netsh int ip reset [log_file_name], where log_file_name is the name of a file where the actions taken by NetShell will be recorded.

Get a new Ethernet cable
Your old cable might be nicked, the connector might be loose, or mice might have nibbled on it.

About the Author

Computer Science Graduate Student @ Case Western Reserve University, Cleveland, USA



Python Factory Design Patterns using Switch Case

I googled for Factory Method Design Pattern in Python but couldn’t find a good resource. So, I  am sharing an example program to demonstrate this design pattern in Python which I frequently use. The factory method pattern is...
by arunenigma


Conway’s Game of Life Implemetation in Python with cool patterns

he Game of Life (or simply Life) is not a game in the conventional sense. There are no players, and no winning or losing. Once the “pieces” are placed in the starting position, the rules determine everything that ha...
by arunenigma


Python AVL Tree Implementation with ASCII visualization

n computer science, an AVL tree is a self-balancing binary search tree. It was the first such data structure to be invented. In an AVL tree, the heights of the two child subtrees of any node differ by at most one; if at any tim...
by arunenigma



Binary Search Tree in Python with ASCII art visualization

Binary search tree implementation in Python with: in, post and pre-order traversals. Also includes methods for insertion, deletion and search of nodes. Deletion is fairly complex and is made possible by keeping track of parents...
by arunenigma


Python, Memoization, Dynamic Programming, Fibonacci Series and some Fun!

ython can implement the recursive formulation directly, caching return values. Memoization is a method where if a call is made more than once with the same arguments, and the result is returned directly from the cache. For exam...
by arunenigma



Be the first to comment!

You must be logged in to post a comment.