If your contract is finished, you can often request the code for free directly from your original service provider (e.g., Orange, EE).
Newer firmware updates occasionally patch standard calculation algorithms. If a free calculator fails, your router likely features updated security that requires a premium database lookup. To help you get started on freeing your device, tell me:
X