OpenWrt Forum Archive

Topic: WZR-HP-G301NH Bricked?

The content of this topic has been archived between 14 Apr 2018 and 20 Apr 2018. Unfortunately there are posts – most likely complete pages – missing.

Voila!  I must have been doing something wrong before.  I could get it to take the DD-WRT bin from tftp, but not the OpenWRT.  I got it to load with your custom firmware -- having the USB drivers already installed is handy.  smile

Thanks a ton for everyone's assistance!

The people who have developed, thanks very much.
I try the image.

failed install Luci because not found luci in http://downloads.openwrt.org/snapshots/ … /packages/ .What happened with packages??? lost luci, kmod-fs-ext3,..
I installed kmod-usb-storage, block-mount, ntfs-3g
And I mounted usb, I got problem

root@OpenWrt:/# mkdir -p /mnt/usb-ntfs.
root@OpenWrt:/# ntfs-3g /dev/sda1 /mnt/usb-ntfs -o rw,sync
ntfs-3g-mount: failed to access mountpoint /mnt/usb-ntfs: No such file or directory

(Last edited by sogoku_vn on 15 Apr 2011, 17:10)

There are new builds today and luci and kamod-fs packages seem to be threre... I'll give them a try later today...

Hi, I am considering installing openwrt on my WZR-HP-G301NH. I currently have dd-wrt but the wireless connection is variable on N because of the madwifi atheros drivers. Is the wireless stable on openwrt? How about the connection speeds on N? Do the instructions for WZR-HP-G300NH to install work on the WZR-HP-G301NH?

Thanks

(Last edited by mabawsa on 30 Apr 2011, 01:53)

First off: this kind of crap is absolutely infuriating. F#@%ing manufacturers make changes in their hardware that totally bork what worked, without providing any clue in their promotional material. God it pisses me off. I bought this WZR-HP-G300NH explicitly because it was listed as supported by OpenWRT and because it had hardware specs I want. Does it work? Noooo... because apparently it's actually a 301 rather than a 300, even tho' everything that indicates the model SAYS it's a 300, both on the packaging and in the stock firmware itself. BUT:

rtl_chip_type_select:RTL8366RB

Surprise surprise... roll

/rant

Anyway...

Just wanted to say thanks for all the hard work, and cast my vote for PLEASE solving this issue. Not all of us have the luxury of being able to just keep buying/exchanging routers until we find one that works...

TWilliam wrote:

Just wanted to say thanks for all the hard work, and cast my vote for PLEASE solving this issue. Not all of us have the luxury of being able to just keep buying/exchanging routers until we find one that works...

"Solving the issue"?  Did the 301 firmware not work for you?

I grabbed the nightly 301 build from about a month ago and it Just Worked.  What are you seeing?

Falyaza could you provide a link to either the build that worked for you, or (assuming it still contains whatever fixes that have been applied) to the current nightly please? I thought that's what I was getting from here --> http://downloads.openwrt.org/snapshots/trunk/ar71xx/ but maybe I was wrong?

I've tried both the jffs2 and squashfs versions of both the 300 and 301 builds in that directory (dated two days ago). With the 300 builds I get no access of any kind to the router. With the 301s I'm able to connect via telnet, but not via the web interface and there's no internet access. If I check dmesg I find the same message about not being able to find eth1 that you've posted elsewhere in this thread.

If there's a different file than any of those that I should be using, I'll give it a try and report back. Thanks!

TWilliam wrote:

Falyaza could you provide a link to either the build that worked for you, or (assuming it still contains whatever fixes that have been applied) to the current nightly please? I thought that's what I was getting from here --> http://downloads.openwrt.org/snapshots/trunk/ar71xx/ but maybe I was wrong?

I used the 301 image, but will get the actual build date when I get home.  In my paranoia, I kept everything that worked on my laptop including the tree it was built from in case I needed to bissect what broke.  In any case, the 300 image will not work with this router and only the 301 shows signs of life.

TWilliam wrote:

I've tried both the jffs2 and squashfs versions of both the 300 and 301 builds in that directory (dated two days ago). With the 300 builds I get no access of any kind to the router. With the 301s I'm able to connect via telnet, but not via the web interface and there's no internet access.

Is the WAN port plugged into your modem?  Also, by default openwrt only brings up telnet on first boot until you set a root password.  Also, the nightlies do not have luci-web installed.  You won't see a web service until you manually install it with opkg.  That said, you should be able to modify everything directly by editing files in /etc/config.  I just had to muck with /etc/config/wireless to setup WPA, but that was it.

If I check dmesg I find the same message about not being able to find eth1 that you've posted elsewhere in this thread.

If there's a different file than any of those that I should be using, I'll give it a try and report back. Thanks!

Please check that your wan is connected.  If so, can you paste the output of dmesg?

(Last edited by faiyaza on 6 May 2011, 00:13)

Well I feel like an idiot. I just re-flashed with this one again --> http://downloads.openwrt.org/snapshots/ … 2-tftp.bin and on a hunch actually went and re-set the modem and well... here I am, so obviously it DOES work. Sorry about my rant earlier; please know it wasn't directed at anyone involved with OpenWRT.

Thanks faiyaza for the info w/r to there being no web interface in the nightlies; good thing to know. I guess now the next thing to do is see if I can get luci installed.

Thanks again!

NP!  Glad it worked!

Small anecdote-  Many (many) years ago I was tech support at the state transit facility for a summer.  I was once urgently summoned to the director's office because his computer had irreparably locked up.  He was frantic and very worried he had lost all of his data.  I walked into his office, noted the dark screen on his monitor, looked down at the equally dark power strip, flipped it on, saw everything come back to life, tried (badly) to hold back my laughter, and walked out.  I got a nice thankyou email a day later.

I'll never forget his expression.  It was a please-dont-tell-anyone look.  Awesome.  :-)

lol

I'm sure we've all had those little 'face-palm' moments...

Anyway... could you by chance point me toward any info regarding building you own image? What I'm ultimately after is getting the Gargoyle UI working on this box. Really need that bandwidth quota management; it kind of amazes me that it's not a standard feature in all of these third-party firmwares. It's certainly one of the most needful, judging by how often I see requests for it. I tried the package install from Eric's sources, but I'm guessing he generally doesn't build against snapshots, so no joy there...

Thanks again!

I just followed the dev docs.  Nothing special there even on my Mac.  Here's a link, not necessarily the one I used but looks reasonably complete http://wiki.openwrt.org/doc/howto/build.

Thanks for that link faiyaza.

So I'm back at it tonite and there's still problems. I installed luci, but for some reason the uhttpd daemon won't start, either manually or via a reboot. I get the following in the console:

root@OpenWrt:~# uhttpd
Error: No sockets bound, unable to continue

I have no clue how to proceed. Any help would be much appreciated...

[EDIT: Nevermind, got it. had to actually ENABLE the server before it would start by entering '/etc/init.d/uhttpd enable' in the terminal, followed by '/etc/init.d/uhttpd start'.

Found that bit of info at the LuCI site... ]

(Last edited by TWilliam on 7 May 2011, 09:57)

I am building my own image off the trunk, and am getting this:


tftp server done
Bytes transferred = 11272192 (ac0000 hex)
## Booting image at be060000 ...
   Image Name:   MIPS OpenWrt Linux-2.6.37.6
   Created:      2011-04-16  17:25:51 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    833485 Bytes = 814 kB
   Load Address: 80060000
   Entry Point:  80060000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80060000) ...
## Giving linux memsize in bytes, 67108864


Then it goes on it's way booting.  What does the "no initrd" mean?

slthomason wrote:

Then it goes on it's way booting.  What does the "no initrd" mean?

It means that it is not using an initial RAM disk as the root filesystem.

Regards,

Brian

Does anybody know what happened to the WZR-HP-G301NH Image on the development downloads?

301 and 300 variants have been merged into a unified 300 image.

The discussion might have continued from here.