1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Openwrt and a windows Machine.....help!

Discussion in 'General Discussion' started by misterbeaner, Oct 3, 2005.

  1. misterbeaner

    misterbeaner Network Guru Member

    Ok I screwed up and loaded openwrt on my WRT54G 2.0 Lilnksys.
    I use windows and did not realize openwrt was a command line
    and not a gui. I need detailed info on how to load another firmware
    onto my router. help please!
  2. jeb4e

    jeb4e Network Guru Member

    Why do you want to remove OpenWRT? Best firmware for the WRTs! :)

    I assume you can access the router via telnet or ssh.

    What you need to do is to log on to the router and run the following commands (if you haven't already done so):
    nvram set boot_wait=on
    nvram commit

    Now, when you reboot the router it will have a tftp server running on IP-address for 2-3 seconds. If you plug your PC directly into the switch ports of the WRT, Windows will not discover that the NIC has link and enable the network before the WRT carries on with the boot sequence. So you will have to put up another hub or switch between your PC and the WRT.

    Download the firmware of your choice - unpack it to a folder if it is zipped.

    Give your PC a static IP address of

    Open a command prompt in the folder the new firmware is located.

    At least windows xp has a tftp client, so enter the command:

    tftp -i PUT firmware-filename.bin (yes, replace the name and: Do not hit enter yet!)

    Turn the WRT on with the power button on the back and within 1 second hit enter on your keyboard.

    The flashing process begins. If the TFTP command on your PC seems to hang for a long time, you probably missed the tftp server. Try again.

    To check the boot_wait you can leave a ping going on the PC while powering on the WRT:

    ping -t

    It should give you 2-4 replies before disappering If is the IP of your WRT it will come back later in the boot process.

    As an alternative to the TFTP process above, you might try original Linksys firmware. I have not tried this, but I think the installer it comes with has a built-in tftp client, so you can try the following:

    1. Download Linksys latest firmware
    2. Follow my description on the hub or switch between PC and WRT and IP address of your PC.
    3. Start the Linksys firmware installer
    4. Enter in the Linksys firmware installer, leave password field empty.
    5. Turn the WRT on with the power button, and quickly click Next in the Linksys firmware installer GUI.
    6. Hope for the best.

    I hope this information will help you, but I think it's a pity you abandon OpenWRT.

  3. misterbeaner

    misterbeaner Network Guru Member

    Thanks jeb4e
    I'll try that later when I get home.
    I guess I could try openwrt for a while but I'm not that comfertable
    without using a gui interface. can I set up openwrt and configure it
    from a windows machine? I got the idea its mostly for those that run linux
    instead of windows.
  4. jeb4e

    jeb4e Network Guru Member

    Use what your'e most confortable with. The best software is always the one you know.

    If you go for HyperWRT or DD-WRT (Both with GUIs) you can log on to the router with telnet or ssh and see how it's configured. They all use nvram to hold the configuration and share a lot of settings with OpenWRT. If you examine the output from "nvram show" you'll see most of the settings. The GUI part basically sets these values.

    You sure can set it up from a windows machine, all you need is a telnet or ssh client. And all the different firmware distributions seems to orign from some version of the Linksys firmware, which is Linux based.

    Happy exploring.
  5. __nbd

    __nbd Network Guru Member

  6. jeb4e

    jeb4e Network Guru Member


    Sorry for not knowing. I had a peek at some of the pages - really promising!

    I'll test it soon, but my OpenWRT box has been so stable lately - I'll ignore it for some days to see if it gets p*ssed at me just to get some attention.


Share This Page