Forgot to set a gateway

12 posts / 0 new
Last post
TheProphet
TheProphet's picture
Forgot to set a gateway

Here is my issue

I have a wgr614v8 and I flashed it withthe newest .chk

 Ihave adsl router that uses the default Ip  so I changed it to 10.0.0.1 however just as I selected the apply button I noticed I had not set a gateway.

I tried the reset to factory on booting the router and Itset my default gateway to 169.254.149.242and it pingsand responds to this Ip but I am unable to login to it

I have tried tftp -i 169.149.242 put code.bin with the latest bi file renammed to code.bin

I have also tried using draytek's firmware  upgrade utility and it closes instantly with both a chk and a bin file

 the chechmark is staying on abmer and the 4  is green where I am plugged in there is no wifi light on

any help is great

TheProphet
TheProphet's picture
*edit

*edit

the 169.254 gatway is an auto applied gateway set by xp

I guess I bricked it again

Only knwn solutions I have found

A: pin short

B: make a jtag adapter

Bad economy limited work and a child means I cannot afford to buy anything so any alternatives via linux or windows to force a connection before I risk hardware damage are welcome

retro98
retro98's picture
TheProphet said:

TheProphet said:
Here is my issue
I have a wgr614v8 and I flashed it withthe newest .chk
Ihave adsl router that uses the default Ip so I changed it to 10.0.0.1 however just as I selected the apply button I noticed I had not set a gateway.
I tried the reset to factory on booting the router and Itset my default gateway to 169.254.149.242and it pingsand responds to this Ip but I am unable to login to it
I have tried tftp -i 169.149.242 put code.bin with the latest bi file renammed to code.bin
I have also tried using draytek's firmware upgrade utility and it closes instantly with both a chk and a bin file
the chechmark is staying on abmer and the 4 is green where I am plugged in there is no wifi light on
any help is great

The 169.254.x.x address means you didn't get an IP address. Namely DHCP did not respond. I can't tell from your description what device did not get the address (router? which one? pc?).

The wgr614v8 router default address after hard reset is 192.168.1.1. For a PC that you plan to use to troubleshoot a wgr614v8, you should use a wired ethernet cable to the router, and manually set its (the PC) address to something like 192.168.1.2, mask 255.255.255.0. Then at the pc, run "ping 192.168.1.1" to see if the router responds.

I can't tell what your real issue is from your description, or what device you're referring to. You have at least two routers and a PC in the mix. They can and will interfere with each other, if they're connected to each other, and not properly configured.

TheProphet
TheProphet's picture
I installed the newest

I installed the newest firmware from the dd-wrt downloads section and manually changed the ip to 10.0.0.1 and left the default gateway as 0.0.0.0 and I cannot access the router

should I apply it as a static ip with netsh commands?

retro98
retro98's picture
TheProphet said:

TheProphet said:
I installed the newest firmware from the dd-wrt downloads section and manually changed the ip to 10.0.0.1 and left the default gateway as 0.0.0.0 and I cannot access the router
should I apply it as a static ip with netsh commands?

What are you refering to? You changed the IP of what? Exactly what dd-wrt download (there are many different ones) did you install? Cannot access the router in your case means what specifically? I (nor anyone else) can't help without accurate specifics.

Did you hard reset the wgr614v8, then cable to PC, then set PC with static IP 192.168.1.2, then attempt "ping 192.168.1.1" at the PC? If there's no response to ping test, then try continuous ping-ings (ping -t 192.168.1.1), power cycle the router, and check for any ping response during router powerup. The results of this exercise determines what needs to be done next.

On XP, control panel, network connections, local area connections, properties, Internet Protocol (TCP/IP), set specifically IP address 192.168.1.2 mask 255.255.255.0. No gateway needs to be set. There's no need to use netsh on XP.

TheProphet
TheProphet's picture
If I power on the router

If I power on the router while holding the factory default button the amber test light comes on once I release the factory default button the power light flashes 1 time and the amber check mark remains solid.
I plug my pc cable into Port 4 (i have tried all 4) it shows green on the 4 and flashes as if there is information being transferred.
I set my ip to 192.168.1.1
and subnet to 255.255.255.0

I set cmd to do the following
ping 192.168.1.1 -t -w 2
once I power cycle the router (I have to power cycle while holding the factory switch otherwise all lights stay lit) the following happens

router boots with power light green and test light amber with the 4 still green

after several moments the test light beguines to flash a few times and turns solid once more followed by the power light flashing 1 time.

the only activity following this in the 4 blinking

the inng results all timed out after booting with the exception of it saying destination host unreachable while power cycling.

retro98
retro98's picture
TheProphet said: I set my ip

TheProphet said: I set my ip to 192.168.1.1
and subnet to 255.255.255.0 

That's not a good address to assign to your PC. You have to use an address at the PC that doesn't conflict with the router's IP address.

Also, exactly what firmware file did you install on the router prior to failure? 

Thus far, the pattern of lights seem to suggest that the router operating system may be damaged, but the initial bootloader is still functional (because the port lights show correct status). If you can get a ping response from the router in any way, a tftp recovery is possible. Otherwise, the next step would be to get access to the router's serial console.

TheProphet
TheProphet's picture
im sorry, it was a typo i

im sorry, it was a typo i assigned 192.168.1.2

the file I used was this
http://www.myopenrouter.com/download/10954/DD-WRT-for-WGR614L-v24-11793_...

It worked and I had access to it but I changed the default ip 10.0.0.1 and saved it, I had to unplug it to move it and never set a default gateway in the dd-wrt setup

retro98
retro98's picture
TheProphet said:

TheProphet said:
im sorry, it was a typo i assigned 192.168.1.2
the file I used was this
http://www.myopenrouter.com/download/10954/DD-WRT-for-WGR614L-v24-11793_NEWD_...
It worked and I had access to it but I changed the default ip 10.0.0.1 and saved it, I had to unplug it to move it and never set a default gateway in the dd-wrt setup

Well, the not so good news is this (old) version of dd-wrt you installed is known to brick certain Wgr614L-s after a factory or hard reset. You better have a look at http://www.myopenrouter.com/forum/thread/10807/Factory-Reset-breaks-moun...

Versions after build 12222 fix this problem.

Assuming this is indeed the problem, I think you'll need to gain access to the router's serial console to be able to fix it. The boot loader probably thinks the firmware is good, so it may not enter failsafe recovery mode with tftp on its own. Serial console access may be necessary to override.

TheProphet
TheProphet's picture
can I use a usb adapter like

can I use a usb adapter like this to archive this

http://www.techpowerup.com/reviews/Logisys/Panel/images/usbadpater.jpg

I also have a 4 pin camera cord that has ground d+ d- and +5

I'm brainstorming

retro98
retro98's picture
This appears to be the lowest

This appears to be the lowest cost method (2 transistor circuit) to make a serial console connection between the PC and the wgr.

http://www.sparkfun.com/commerce/product_info.php?products_id=133
SparkFun Electronics - RS232 Shifter Board Kit

http://www.sparkfun.com/datasheets/Prototyping/RS232-Shifter-v2.pdf
RS232-Shifter-v2.pdf (application/pdf Object)

However, I don't know if this design will work with 3.3v necessary with the wgr614.

TheProphet
TheProphet's picture
I have a camera usb cord that

I have a camera usb cord that operates at 3.3v I connected it and It says unknown usb device.

Where can I get the drivers I need to make it work or Do I need to do this with a unix or Linux based os?

or do I have to have a bub