Windows Unable to Discover Modem, and cant revert to Original Firmware

Page 2 of 3 FirstFirst 123 LastLast

  1. Posts : 1,992
    10 Pro x64
       #11

    http://wiki.openwrt.org/doc/howto/generic.failsafe On some routers (e.g. TP-LINK models), OpenWrt will start to blink a LED (e.g. the "SYS" LED) on the front of the router when it is in its early boot cycle. The blink rate is about twice a second. Looking for a blink pattern is much more convenient to use instead of having to use a packet sniffer.

    Power on the router
    As soon as this blink pattern is seen, press the hardware button the front of the router
    The SYS LED will change to faster blink pattern, indicating the router is now in failsafe mode

    should be your wifi one i'd imagine.
      My Computer


  2. Posts : 60
    Windows 7 ultimate x64
    Thread Starter
       #12

    rvcjew said:
    http://wiki.openwrt.org/doc/howto/generic.failsafe On some routers (e.g. TP-LINK models), OpenWrt will start to blink a LED (e.g. the "SYS" LED) on the front of the router when it is in its early boot cycle. The blink rate is about twice a second. Looking for a blink pattern is much more convenient to use instead of having to use a packet sniffer.

    Power on the router
    As soon as this blink pattern is seen, press the hardware button the front of the router
    The SYS LED will change to faster blink pattern, indicating the router is now in failsafe mode

    should be your wifi one i'd imagine.
    Thanks again. I got the fast blinking going. But am getting stuck at telnet. I typed open 192.168.1.1 and it says "telnet could not open connection to the host on port 23 connect failed"
      My Computer


  3. Posts : 1,992
    10 Pro x64
       #13

    Your using the wan port for router to pc right and pc is set as static 1.2 ending ip?
      My Computer


  4. Posts : 60
    Windows 7 ultimate x64
    Thread Starter
       #14

    rvcjew said:
    Your using the wan port for router to pc right and pc is set as static 1.2 ending ip?
    Oh I didnt realize I was supposed to connect to WAN port. I was connected from PC Lan port to Router LAN port. The IP in IPV4 is 192.168.1.2 and the next field is 255.255.255.0. Let me give it a try by switching to WAN port.
      My Computer


  5. Posts : 60
    Windows 7 ultimate x64
    Thread Starter
       #15

    rvcjew said:
    Your using the wan port for router to pc right and pc is set as static 1.2 ending ip?
    Ok it worked with the WAN to PC connection. I had to switch off the WIFI too for it to work.
    You just saved me a router. I appreciate your help.

    I'm kind of stuck at configuring the connection though. For some reason, the internet is not working. I changed the WAN connection type to PPPEO (which is the right one for me), entered user name and password. Cloned my macaddress (since my router mac is not registered with my ISP. Am i missing anything else?
    Last edited by four321zero; 26 Sep 2014 at 08:29. Reason: problem resolved
      My Computer


  6. Posts : 60
    Windows 7 ultimate x64
    Thread Starter
       #16

    Bad news. I restarted the Router, and its back to square one.
      My Computer


  7. Posts : 1,992
    10 Pro x64
       #17

    four321zero said:
    Bad news. I restarted the Router, and its back to square one.
    I would at this point try the reverting to stock option then go from there as I believe you need to erase some nand flash everytime you update or install wrt after flashing it or else it gets bricked. It was like that for my old router (wrn3500L) you might want to explain what you have tried in detail over on their forums. https://forum.openwrt.org/
      My Computer


  8. Posts : 60
    Windows 7 ultimate x64
    Thread Starter
       #18

    rvcjew said:
    four321zero said:
    Bad news. I restarted the Router, and its back to square one.
    I would at this point try the reverting to stock option then go from there as I believe you need to erase some nand flash everytime you update or install wrt after flashing it or else it gets bricked. It was like that for my old router (wrn3500L) you might want to explain what you have tried in detail over on their forums. https://forum.openwrt.org/
    Ok thanks. Can you help me with 1 more thing? When I connect via telnet in failsafe mode, I want to use the wget command for the firmware bin file on a ftp site. The problem is i don't know much about ftp, so when I create my ftp on windows 7 IIS manager, although Ive enabled "Anonymous" authentication, and Read permission for All Users, I am unable to connect to the site. I get an incorrect password error, even when I have not entered any password during set up. I read, it is not supposed to ask for a password, and directly take you to the file directory, upon entering the ftp url.

    I also have tried it through filezilla, same results.
    Alternately, I have my own website, which I can access via ftp, but I need to enter a password. Any idea how I can upload a downloadble and not a password protected bin file there?
      My Computer


  9. Posts : 1,992
    10 Pro x64
       #19

    I don't know that I would have used fillzilla.
      My Computer


  10. Posts : 60
    Windows 7 ultimate x64
    Thread Starter
       #20

    rvcjew said:
    I don't know that I would have used fillzilla.
    Ok I thank you for the assist. Slartybart too. I've repeated the same steps as 2 days ago and got the router working. This time I'm not rebooting it till I find a permanent solution. Am still on the openwrt firmware but at least its working.

    For anybody else with a bricked router on openwrt, I'll sum up what worked for me:

    Change ip settings in LAN properties (not sure if its a required step, but won't take much time): go to IPV4 settings, select "use the following ip address", enter 192.168.1.9 , subnet mask: clicking in that field should automatically generate 255.255.255.0 . Leave the rest unchanged.

    Boot router in failsafe:
    To do this, connect your PC to the WAN port of your router with an ethernet cable. Keep the "wifi" switch on your router off. Then plug in your router power cable. At boot, the one LED comes on first, and after a few seconds the 2nd LED does a slow blink. As soon as you see that happen, press the "Reset" button on your router. This will cause the LEDs to remain in fast blink. This indicates you have entered failsafe mode.
    **Different routers enter failsafe in different ways. Mine is TL-WR841N v8. Google failsafe mode for your router. In some routers, you need to connect your PC to the LAN port or LAN 1 port instead of WAN port. Also you might have a different button instead of RESET.

    Once in failsafe mode
    Click on Start in windows, run the command prompt "cmd" or run "telnet". For the CMD window type telnet 192.168.1.1
    For the telnet window type open 192.168.1.1

    After this, regardless of whether you opened cmd or telnet, rest of the steps remain the same.

    -Define a password by typing passwd hit Enter
    - type your password hit enter
    - retype password hit enter.
    These 3 steps did not work for me. But in case you are able to work with it, great.

    Next step Kill the Openwrt firmware by typing mtd -r erase rootfs_data
    At this point your router will reboot and after a while if you are connected to the WAN port in step 1, you would unfortunately lose connection. Anyway, don't let that bother you. Go back to your LAN properties and select "Automatically assign Ip" option in your ipv4 settings. Replug your ethernet cable to your LAN port. Put in your internet cable into the LAN port. Type 192.168.1.1 in your browser, the user name (root) and password fields should autopopulate so just hit Log in. And then follow your regular ISP settings to set up your internet connection.
    The issue I still face is if I restore a backup file or reboot my router, it gets bricked again. So i'm going to keep it powered on forever lol.

    Also what works instead of the command mtd -r erase rootfs_data you can alternately enter firstboot and you are likely to see a message on the lines of "root erased"or something. Then type reboot -f and hit Enter. Rest remains the same.


    METHOD 2: Involves using FTP (I couldn't get it to work for me, but its worked for others)

    1. Go to control panel, click on programs, programs and features and on the left panel click on 'Turn windows features on or off'
    2. Enable the following the press OK:
    - Internet information services
    - Click on the + next to Internet information services and ensure FTP Server is ticked, and also the folders within FTP Server
    - Near the bottom of the list enable 'Telnet Client'
    Press OK and these will install.
    3. Download the firmware file you want to switch to, lets say in this case lets call the file "841nv8.bin"
    4. Create a folder anywhere on your PC and call it something like 'sysupgrade', and put the file you downloaded above into it.
    5. Set your computer with static address 192.168.1.9 and subnet mask 255.255.255.0
    6. Go back into control panel, go to system and security, administrative tools, and double click on 'Internet Information Services (IIS) Manager'
    7. On the left you should see your PC name, expand that and right click on 'sites' and 'add ftp site'.
    Enter any name you like and for the physical path select the folder you created earlier with the sysupgrade file inside.
    Click next and set the IP Address to 192.168.1.9
    Press 'Allow SSL' and leave everything else the same and click next
    Under Authentication select Anonymous, and Authorization to All Users with Read Permissions. Click finish
    8. To test this connection, open a web browser and enter
    ftp://192.168.1.9
    You should see the file
    9. Disable windows firewall (important step. your router may not find the sysupgrade file with firewall enabled).
    Unplug the router power cable. Boot in Failsafe mode (refer to the description above in the First method)


    To get this file to the router you need to telnet to the router:
    Open command prompt and enter: telnet 192.168.1.1
    then you enter
    cd /tmp
    To get the file into this directory enter:
    wget http://192.168.1.9/wr841nv8.bin
    then, we’re ready to upgrade
    #go to /tmp directory
    cd /tmp
    #check firmware file integrity
    md5sum openwrt-ar71xx-tl-wr1043nd-v1-squashfs-sysupgrade.bin
    #use sysupgrade to flash sysupgrade image. it's one line
    sysupgrade -n wr841nv8.bin
    Wait a few minutes. If successful, the router will reboot with the desired firmware.

    If it doesn’t reboot, wait a few more minutes and repower the router, it should then allow access.
      My Computer


 
Page 2 of 3 FirstFirst 123 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 17:35.
Find Us