Often times we buy new routers and shy away from reading the manuals. Even when read for the first, the manuals get lost and when the reset button is accidentally pushed, the search for the router default settings (login & password) becomes very difficult. I thought it will be helpful to write down some of these information here. There are lots of routers on the market but I am only listing the ones I have personally worked with. I’ll be adding to the list as more router settings are discovered.
First and foremost, it has to be stated that I am not the author of the original article on this topic. The original article can be found here.
Now, why repeat the same thing here?
Well, on June 10th, 2009, I wrote a reply on this post while in search of a solution for exactly the same purpose as RickNY (The original Author). Back then, I was able to setup my OpenVPN with the help found on various forums. For some reason, I had to change my configurations… which required a different setup. Stupid enough, I made no backup or maybe I did but couldn’t find one, when I needed exactly the same configuration again.
Knowing fully well that I was part of such a discussion before somewhere, I had to google for sometime before I was able to find the the above address again. This time I knew I had to write a backup on my blog.
If you’re seeing this for the first time, just go ahead and try it. I hope it solves your problem. If you’ve seen this somewhere before, please forgive me for the repetition 😉
Enough of the explanation…!
Why two instances of OpenVPN?
First of all, I have a full-time and part-time Job as a system engineer. In both of my offices, I always have to go through proxies to browse the internet.
Secondly, I have a small private business that requires my attention as well. To achieve this goals, I need to be able to channel my private activities securely through the proxies no matter the protocol been used.
The best solution would be to run double instances of OpenVPN on my private office gateway.
1.) A compatible router running DD-WRT v24-sp2 (I have WRT54GL v1.1)
I use an official Notebook which I often take home when dealing with official projects. The problem is I only have one Network Adaptor or LAN device on this machine. As a result, the network configurations in both locations becomes very tricky. As a network engineer, I know there are other possibilities of solving this problem but I just thought this little batch program might help someone else.
Just copy and past the content between “Start” and “End” on a file using notpad or other editing tools. Save and name the file what you want, run and follow the instructions. Enjoy and share! 😉
Echo ————————— Switch IP Address ——————————————————–
Echo (c) 2010 omotech computer services
Echo This Program was written on March 24, 2010 by Stanley O. Omoregie.
Echo It allow the easy switch of IP Address settings between two networks.
Echo The program is copyrighted and can only be used and distributed as it is,
Echo without removing this copyright information.
echo Choose between A und B:
echo [A] Set Static IP Address (Office)
echo [B] Set DHCP (Home)
echo Choose between A und B:
echo [A] Set Static IP Address (Office)
echo [B] Set DHCP (Home)
SET /P C=
for %%? in (A) do if /I “%C%”==”%%?” goto A
for %%? in (B) do if /I “%C%”==”%%?” goto B
echo Please enter IP Adresse for choice [A]:
set /P IP_Addr=
echo Default Gateway:
set /P D_Gate=
echo Subnet Mask:
set /P Sub_Mask=
echo Setting static IP Address&
netsh interface ip set address “LAN” static %IP_Addr% %Sub_Mask% %D_Gate% 1
ECHO Here is the setting information for %computername%:
netsh int ip show config
ECHO DHCP is resetting the IP Address and Subnet Mask.
netsh int ip set address name = “LAN” source = dhcp
ECHO Here is the setting information for %computername%:
netsh int ip show config
:::::::::::::::::::::::::::::::::: End ::::::::::::::::::::::::::::::::::::::::
I made an EXE file from the batch program. You can download this to get both files.
This tutorials shows how the router Linksys WRT54G Version 1.1 (serial number starts with reflashing CL7B) with DD-WRT. Through this process, the capabilities of the router to be expanded. Flashing takes place in two stages: the first section needs to be flashed with the mini version of DD-WRT. The second section is then flashed with the standard version of DD-WRT. Warning: By flashing one can possibly lose warranty claims. Everything at your own risk. Details:
The Network cable to port 1 (1) The WRT54GLv1.1 is connected to the power supply, which in turn depends on the socket.
A blue network cable is connected to Port 1. (2) Ports 2, 3, or 4 may be used as well. However, port 1 has been chosen for this example and worked successfully. The other ports remain free. Better safe than sorry. The flash process should not be disturbed.
The network cable (3) is connected to the central unit. The computer is currently not connected to the internet, but only to the WRT54GLv1.1
DD-WRT Download-Section(4) Now, connect to the internet with a second computer and click on the link: DD-WRT Download-Section. (5) Note that there are several versions of DD-WRT. (6) The current version is 23 SP1. Click on the version dd-wrt.v23 SP1.
DD-WRT version 23 SP1(7) This takes you to where other categories of version SP1 is been offered. (8) This is a micro-version. This is for example made for the lousy WRT54G version 5. The WRT54G version 5 has only 2 MB flash memory. In the previous versions, there were more memory. (9) Fortunately, WRT54GLv1.1 has 4 MB flash memory. For this reason, we can choose for the router modell the mini-version. (10) The standard version is suitable for professional use. (11) There is also a version forVoIP. It would be very interesting to know whether this version adds significant value to the standard version, if you want to use Internet telephony. (12) And then there’s a version withOpenVPN.
DD-WRT version 23 SP1 (mini) (13): We have to decide in this case for the mini version. (14) A dialog box opens to download the mini-version of DD-WRT version 23 SP1. (15) It doesn’t matter whether you “choose Open with CompressedFolder” or “on floppy / hard disk space”. (16) Click OK.
Files are downloaded (17) For a brief moment will later be shown that all files have been downloaded
dd-wrt.v23_sp1_mini.zip extract (18) on your own computer is now the packed file “dd-wrt.v23_sp1_mini.zip.” By clicking the right mouse button on the file. (19) Select 7-Zip. (20) Select »Extract here«
dd-wrt.v23_mini_generic.bin(21): Take a look at the extracted files. There are several router models for special specifications of the mini-version. If you want to flash a different router than the model discussed here, then you should better look on the Internet for other instructions. In the present case (WRT54GLv1.1), will be flashed with dd “-wrt.v23_mini_generic.bin”.
eset the router by pressing with a pen (22) the reset button for 30 Seconds.
Type the password »admin« (23) and start the internet browser. (24) In the address bar you type the IP address of the router. This is 192.168.1.1. (25) Now you will be prompted to enter username and password. (26) The field with the username can be left empty. (27) The Password is »admin«. (28) Click OK.
WRT54GLv1.1(29) Administration: You’ll be taken to WRT54GLv1.1 administration portal. You can see the standard software from Linksys / Cisco.
Click on Firmware Upgrade. One can see that the firmware version is 4.30.7. This is wiil soon be replaced with DD-WRT. (30) Click on the “Administration” tab. (31) Click on Firmware Upgrade.
dd-wrt.v23_mini_generic.bin Select (32) Click “Browse …”. (33) The window “file upload” window opens. (34) One would like the mini version of DD-WRT Version 23 SP1 upload. (35) In this case you need to choose the generic version.
Upgrade to Internet Explorer
(36) This field is now the path to the generic version, with the WRT54GLv1.1 will be flashed immediately. (37) Nearly one would now clicked upgrade. But wait! Stop! Still do not click! You have read on the Internet the information that one better to flash using the Internet Explorer and Firefox. Firefox is even, is not optimal. Better to use the Internet Explorer. Therefore leads to the steps (23 to 36) again again. This time not with Firefox, but with the Internet Explorer. Then you click the Internet Explorer upgrade.
Username is now “root” (39) After you have just clicked on CONTINUE, (40) opens the dialog box where you should enter user name and password to access the IP address 192.168.1.1 can. (41) This is an indication that this is the WRT54GL. (42) The user name must be entered now root “. This is different than before in (26) than in the original Linksys firmware was installed. At the time, specify a user name does not need now is required. (43) The password is still “admin”. (44) Click OK.
DD-WRT v23 SP1 mini (45) in the browser now indicates that DD-WRT v23 SP1 is final (16/05/2006) installed mini. So currently only the mini version is installed. In a further step is flashed on the standard version. Why so complicated? Why first install the mini version first and then the standard version? The reason is that the original Linksys firmware, a firmware upgrade is limited to a maximum of 3 MB. The mini version has less than three megabytes. The standard version has more than three megabytes. If you have installed the mini version, then there is no longer the limit to three megabytes. Then there is only the limit of available flash memory. In this case, the WRT54GLv1.1 is this flash memory (as said) 4 MB. The flash memory is sufficiently large for the standard version.
dd-wrt.v23_sp1_standard.zip (46) Man goes again – as in step (4) – in the DD-WRT downloads section. (47) One recalls that it had decided to step (13) for the mini version. What was the justification for this again? Oh right, the mini version has less than 3 MB. That is why you chose them. (48) Now you may opt for the standard version.
DD-WRT Version 23 SP1 Standard
(48) Once you have decided on the standard version,
(49) A dialog box opens, where you will be asked if you want the standard version of DD-WRT Version 23 SP1 download. (50) Click OK.
dd-wrt.v23_generic.bin (51) It takes a look at the files that you have just downloaded. In the present case, later the generic version is uploaded. It notes that in the file name is no reference to the fact that it is actually not the version 23, but about the Version 23 SP1. This is a bit misleading, but it is in “dd-wrt.v23_generic.bin” despite the inaccurate labeling of Version 23 SP1. (52) On the screenshot indicates that the packet size is approximately 3.41 MB. So the standard version has more than three megabytes. It can be installed immediately, because the router is already the mini version of DD-WRT. The standard version can not be installed when the router is on the original Linksys firmware.
Click “firmware upgrade” – on “Administration”
(53) In Internet Explorer you are in the address bar the IP address of the router 192.168.1.1. (54) “Administration” – click “firmware upgrade”. (55) “Browse …” button.
Press the reset button
(56) Now you do for safety – just as in step (22) – a reset. 30 seconds with a ballpoint pen to press the reset button.
(55) They had only just clicked on “Browse …”. (57) A dialog box for selecting the uploaded file is opened. (58) You want the standard version of DD-WRT Version 23 SP1 upload. (59) For the WRT54GLv1.1 is the file “dd-wrt.v23_generic.bin” the correct version.
Upgrading to dd-wrt.v23_generic.bin
(60) The path to the file “dd-wrt.v23_generic.bin” now specified in this field. (61) It is the warning message notes. A firmware update can take several minutes. Earlier, the fix lasted about 1 minute. Let’s see how long it will take now. (62) Click upgrade.
Progress bar moves
(63) It now takes about 1 minute, in which the progress bar moves back and forth.
Upgrade was successful
(64) The upgrade was successful. The message “upgrade successful. Unit is rebooting now. Please wait a moment …. “You have to wait many seconds now.
Standard version is installed
(65) It is now in the browser. There is “std by the abbreviation” indicates that now the default version installed. Earlier, at (45) was the mini version of the words “mini” was displayed.
Summary: Flashing the WRT54GLv1.1 in two steps: First, flash the mini version. Then flash with the standard version. Flashing should be done with the Internet Explorer.
Why searching for solutions to other problems, I just came across this and wanted to put it here for other people visiting.
The are some situations when connecting through DSL, Router etc. and some web sites can’t just be loaded. You can try the following below.
Start> Run> and enter ping -f -l 1492 www.omotech.com (or any other web address instead of www.omotech.com).
You’ll see responses like “Packet needs to be fragmented but DF set”. Gradually reduce the number little by little (let’s say by 10), until the server responds with connection time (in my case 1472).
Start> Run> Regedit>HKEY_LOCAL_MACHINE>system> CurrentControlSet> Services>Tcpip> Parameters>Interfaces: you’ll find many folders with all kinds of numbers and letters. Search in these folders for the one that has your IP numbers.
Create in this folder a new key (Right Click> New> DWORD (32-bit) Value) with the name “MTU”.
Assign a new value to the Key. (Double click MTU)> enter the value you just emitted from the ping responses above (e.g 1472).
With a bit of luck, you should be able to get those web sites loaded
-f : Clears the routing table of all entries that are not host routes (routes with a netmask of 255.255.255.255), the loopback network route (routes with a destination of 127.0.0.0 and a netmask of 255.0.0.0), or a multicast route (routes with a destination of 126.96.36.199 and a netmask of 240.0.0.0). If this is used in conjunction with one of the commands (such as add, change, or delete), the table is cleared prior to running the command.
-p : When used with the add command, the specified route is added to the registry and is used to initialize the IP routing table whenever the TCP/IP protocol is started. By default, added routes are not preserved when the TCP/IP protocol is started. When used with the print command, the list of persistent routes is displayed. This parameter is ignored for all other commands. Persistent routes are stored in the registry location
Computer time synchronisation is highly important in modern computer networks, precision and time synchronization is critical in many applications, particularly time sensitive transactions. Just imagine buying an airline seat only to be told at the airport that the ticket was sold twice because it was purchased afterwards on a computer that had a slower clock!
Modern computers do have internal clocks called Real Time Clock chips (RTC) that provide time and date information. These chips are battery backed so that even during power outages, they can maintain time but personal computers are not designed to be perfect clocks. Their design has been optimized for mass production and low-cost rather than maintaining accurate time.
For many applications, this is can be quite adequate, although, quite often machines need time to be synchronised with other PC’s on a network and when computers are out of sync with each other problems can arise such as sharing network files, failed transactions or in some environments even fraud!
Microsoft Windows 2003 has a time synchronisation utility built into the operating system called Windows Time (w32time.exe) which can be configured to operate as a network time server. It can be configured to both synchronise a network using the internal clock or an external time source.
Note: Microsoft strongly recommends that you configure a time server with a hardware source rather than from the internet where there is no authentication.
To configure Windows Time service to use the internal hardware clock, first check that w32time is located in the system services list in the registry, to check:
Click Start, Run then type regedit then click ok.
Locate and then click the following registry entry:
In the right pane, right-click AnnounceFlags and click Modify. The ‘AnnounceFlags’ registry entry indicates whether the server is a trusted time reference, 5 indicates a trusted source so in the Edit DWORD Value box, under Value Data, type 5, then click OK.
Network Time Protocol (NTP) is an Internet protocol used for the transfer of accurate time, providing time information along so that a precise time can be obtained
To enable the Network Time Protocol; NTPserver, locate and click:
In the right pane, right-click NtpServer, then Modify, in the Edit DWORD Value under Value Data type In the right pane, right-click NtpServer, then Modify, in the Edit DWORD Value under Value Data type the Domain Name System (DNS), each DNS must be unique and you must append 0x1 to the end of each DNS name otherwise changes will not take effect.
In the right pane, right-click MaxPosPhaseCorrection, then Modify, in the Edit DWORD Value box, under Base, click Decimal, under Value Data, type a time in seconds such as 3600 (an hour) then click OK.