OpenWrt Forum Archive

Topic: WZR-HP-G300NH Support

The content of this topic has been archived between 6 Feb 2018 and 3 May 2018. Unfortunately there are posts – most likely complete pages – missing.

jul wrote:

It require a serial console (i think we need a serial cable, that true?, i not have this one and dont know how to do with this? If it must be un-boxed my wifi, it no longer to warranty sad )

I use mtd with dd-wrt (shh) to flash, but unseccessfully. Another way??
I will try to flash with your comments, thanks

Jul, I'm sorry for the confusion. The wiki page was referred solely to show the story behind the procedure.

The method I have described uses "NO SERIAL CONSOLE", but use "dd-wrt's command line utility ubootenv" instead.

I use mtd with dd-wrt (shh) to flash, but unseccessfully. Another way??

Good. So, you already have access to the dd-wrt ssh console.

1. Execute the following commands in the dd-wrt ssh console.

  dd-wrt# ubootenv set accept_open_rt_fmt 1
  dd-wrt# ubootenv set tftp_wait 10

2. To confirm your changes, do

  dd-wrt# ubootenv

3. Execute the regular buffalo tftp flash procedure.

aerodyne wrote:

The method I have described uses "NO SERIAL CONSOLE", but use "dd-wrt's command line utility ubootenv" instead.

1. Execute the following commands in the dd-wrt ssh console.

  dd-wrt# ubootenv set accept_open_rt_fmt 1
  dd-wrt# ubootenv set tftp_wait 10

2. To confirm your changes, do

  dd-wrt# ubootenv

3. Execute the regular buffalo tftp flash procedure.

I will try asap, thanks for supports
keep in touch big_smile

Updated: which version of OpenWrt i should try to flash? Please send me a link (WZR-HP-G300NH for japan market, code A1 A2 in back)

(Last edited by jul on 24 Aug 2011, 06:28)

jul wrote:

Updated: which version of OpenWrt i should try to flash? Please send me a link (WZR-HP-G300NH for japan market, code A1 A2 in back)

Why don't you start with the latest trunk, wzr-hp-g300nh, tftp:

http://downloads.openwrt.org/snapshots/ … s-tftp.bin

If this doesn't work, you can still follow bcmalloy's.

Compiled New (r28078) trunk  and did some basic testing on my WZR-HP-G300NH with A2 A0 on the back works great, Tested on my WZR-HP-G300NH with A2 A0 on the back other models may not work
It has web interface, qos, upnp, ntfs, ext4  hdd usb 2.0 support  and Dynamic dns

to install all you do is tftp the jffs2 firmware then use firmware upgrade in the openwrt web interface to install the latest squashfs firmware.
or just install the squashfs firmware though web interface if you are already running Openwrt

Both files and instructions are here
http://www.mediafire.com/file/ujg544c38 … r28078.rar

ALL credit goes to the hard working Openwrt team

(Last edited by bcmalloy on 6 Sep 2011, 07:58)

N00b here - so if I'm breaking rules sorry... Cannot set max power above 21 dBm even though shows 27


root@OpenWrt:~# iw list
Wiphy phy0
        Band 1:
                Capabilities: 0x104e
                        HT20/HT40
                        SM Power Save disabled
                        RX HT40 SGI
                        No RX STBC
                        Max AMSDU length: 3839 bytes
                        DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 8 usec (0x06)
                HT TX/RX MCS rate indexes supported: 0-15
                Frequencies:
                        * 2412 MHz [1] (27.0 dBm)
                        * 2417 MHz [2] (27.0 dBm)
                        * 2422 MHz [3] (27.0 dBm)
                        * 2427 MHz [4] (27.0 dBm)
                        * 2432 MHz [5] (27.0 dBm)
                        * 2437 MHz [6] (27.0 dBm)
                        * 2442 MHz [7] (27.0 dBm)
                        * 2447 MHz [8] (27.0 dBm)
                        * 2452 MHz [9] (27.0 dBm)
                        * 2457 MHz [10] (27.0 dBm)
                        * 2462 MHz [11] (27.0 dBm)
                        * 2467 MHz [12] (disabled)
                        * 2472 MHz [13] (disabled)
                        * 2484 MHz [14] (disabled)
                Bitrates (non-HT):
                        * 1.0 Mbps
                        * 2.0 Mbps (short preamble supported)
                        * 5.5 Mbps (short preamble supported)
                        * 11.0 Mbps (short preamble supported)
                        * 6.0 Mbps
                        * 9.0 Mbps
                        * 12.0 Mbps
                        * 18.0 Mbps
                        * 24.0 Mbps
                        * 36.0 Mbps
                        * 48.0 Mbps
                        * 54.0 Mbps
        max # scan SSIDs: 4
        max scan IEs length: 2257 bytes
        Coverage class: 0 (up to 0m)
        Available Antennas: TX 0 RX 0
        Supported interface modes:
                 * IBSS
                 * managed
                 * AP
                 * AP/VLAN
                 * WDS
                 * monitor
                 * mesh point
                 * P2P-client
                 * P2P-GO
        Supported commands:
                 * new_interface
                 * set_interface
                 * new_key
                 * new_beacon
                 * new_station
                 * new_mpath
                 * set_mesh_params
                 * set_bss
                 * authenticate
                 * associate
                 * deauthenticate
                 * disassociate
                 * join_ibss
                 * join_mesh
                 * remain_on_channel
                 * set_tx_bitrate_mask
                 * action
                 * frame_wait_cancel
                 * set_wiphy_netns
                 * set_channel
                 * set_wds_peer
                 * connect
                 * disconnect
        Supported TX frame types:
                 * IBSS: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
                 * managed: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
                 * AP: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
                 * AP/VLAN: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
                 * mesh point: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
                 * P2P-client: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
                 * P2P-GO: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
        Supported RX frame types:
                 * IBSS: 0x00d0
                 * managed: 0x0040 0x00d0
                 * AP: 0x0000 0x0020 0x0040 0x00a0 0x00b0 0x00c0 0x00d0
                 * AP/VLAN: 0x0000 0x0020 0x0040 0x00a0 0x00b0 0x00c0 0x00d0
                 * mesh point: 0x00b0 0x00c0 0x00d0
                 * P2P-client: 0x0040 0x00d0
                 * P2P-GO: 0x0000 0x0020 0x0040 0x00a0 0x00b0 0x00c0 0x00d0


root@OpenWrt:~# cat /etc/config/wireless

config 'wifi-device' 'radio0'
        option 'type' 'mac80211'
        option 'macaddr' '00:24:a5:d8:5a:37'
        list 'ht_capab' 'SHORT-GI-40'
        list 'ht_capab' 'DSSS_CCK-40'
        option 'channel' '9'
        option 'txpower' '27'
        option 'country' 'US'
        option 'disabled' '0'
        option 'hwmode' '11g'

config 'wifi-iface'
        option 'device' 'radio0'
        option 'network' 'lan'
        option 'mode' 'ap'
        option 'ssid' 'stayOut'
        option 'encryption' 'psk2'
        option 'key' 'xxx'


root@OpenWrt:~# iwconfig wlan0
wlan0     IEEE 802.11bgn  Mode:Master  Frequency:2.452 GHz  Tx-Power=21 dBm
          RTS thr:off   Fragment thr:off
          Power Management:on



root@OpenWrt:~# iwlist txpower
lo        no transmit-power information.

eth0      no transmit-power information.

eth1      no transmit-power information.

eth0.1    no transmit-power information.

ifb0      no transmit-power information.

ifb1      no transmit-power information.

br-lan    no transmit-power information.

wlan0     unknown transmit-power information.

          Current Tx-Power=21 dBm       (125 mW)

mon.wlan0  unknown transmit-power information.

          Current Tx-Power=21 dBm       (125 mW)

what firmware you using ? Above 20 is illegal in my country anyway....

(Last edited by bcmalloy on 25 Aug 2011, 04:45)

Compiled New (r28089) trunk  and did some basic testing on my WZR-HP-G300NH with A2 A0 on the back works great, Tested on my WZR-HP-G300NH with A2 A0 on the back other models may not work

It has web interface, qos, upnp, ntfs, ext4  hdd usb 2.0 support  and Dynamic dns

to install all you do is tftp the jffs2 firmware then use firmware upgrade in the openwrt web interface to install the latest squashfs firmware.
or just install the squashfs firmware though web interface if you are already running Openwrt

Both files and instructions are here
http://www.mediafire.com/?2lq2n2d73dy2hez


ALL credit goes to the hard working Openwrt team

(Last edited by bcmalloy on 6 Sep 2011, 07:57)

Hi everyone.

I recently updated my router to RC5. Everything worked fine so I wanted to set up USB slot, which after some struggling, I successfully did. Even NTFS writing and automount is working great! There's only one thing that, at the end, almost made me to break everything.

When I tried to copy file (500MB) over ethernet from NAS to USB on router, I got max 1.7MB/s!!! SCP got 1.2MB/s, SMB and FTP got 1.5-1.7MB/s. I tried at least 4 different flash drives (computer speed was 20MB/s on average). And network (WIFI!) transfer from NAS to my computer was ~5MB/s. Copying file from NAS to router /tmp/ gets around 3.5MB/s..

where's the catch then? i expected at least 10MB/s to be honest. Is the hardware that doesnt allow faster speed no matter USB slot is standard 2.0?

Thank you.

bcmalloy wrote:

Compiled New (r28089) trunk  and did some basic testing on my WZR-HP-G300NH with A2 A0 on the back works great, verified working with  B0 B0 models

It has web interface, qos, upnp, ntfs, ext4  hdd usb 2.0 support  and Dynamic dns

to install all you do is tftp the jffs2 firmware then use firmware upgrade in the openwrt web interface to install the latest squashfs firmware.
or just install the squashfs firmware though web interface if you are already running Openwrt

Both files and instructions are here
http://www.mediafire.com/?2lq2n2d73dy2hez


ALL credit goes to the hard working Openwrt team

Thanks, there must've been a lot of changes between RC5 and 28089, because wireless is a lot faster along with everything else.

jnadke wrote:
bcmalloy wrote:

Compiled New (r28089) trunk  and did some basic testing on my WZR-HP-G300NH with A2 A0 on the back works great, verified working with  B0 B0 models

It has web interface, qos, upnp, ntfs, ext4  hdd usb 2.0 support  and Dynamic dns

to install all you do is tftp the jffs2 firmware then use firmware upgrade in the openwrt web interface to install the latest squashfs firmware.
or just install the squashfs firmware though web interface if you are already running Openwrt

Both files and instructions are here
http://www.mediafire.com/?2lq2n2d73dy2hez


ALL credit goes to the hard working Openwrt team

Thanks, there must've been a lot of changes between RC5 and 28089, because wireless is a lot faster along with everything else.

Hey Guys,

has this release also all needed modules for 3g/UMTS in ? I dont have any other internet so I have to know or I have o take my router tomorrow.

Thanks

Compiled New (r28129) trunk  After a day of testing I advise you stick with r28089

(Last edited by bcmalloy on 31 Aug 2011, 09:48)

Speedy1205 wrote:
jnadke wrote:
bcmalloy wrote:

Compiled New (r28089) trunk  and did some basic testing on my WZR-HP-G300NH with A2 A0 on the back works great, verified working with  B0 B0 models

It has web interface, qos, upnp, ntfs, ext4  hdd usb 2.0 support  and Dynamic dns

to install all you do is tftp the jffs2 firmware then use firmware upgrade in the openwrt web interface to install the latest squashfs firmware.
or just install the squashfs firmware though web interface if you are already running Openwrt

Both files and instructions are here
http://www.mediafire.com/?2lq2n2d73dy2hez


ALL credit goes to the hard working Openwrt team

Thanks, there must've been a lot of changes between RC5 and 28089, because wireless is a lot faster along with everything else.

Hey Guys,

has this release also all needed modules for 3g/UMTS in ? I dont have any other internet so I have to know or I have o take my router tomorrow.

Thanks

here's one cooked up that should work with 3g dongle
r28129 with uhci 3G dongle support
Tftp this file to your router. http://www.mediafire.com/?ttimkdq6gsdzsc0

Please report back if it works, this is a handy function for the usb port I cannot test.

If that does not work try this one r28129 with OHCI 3G dongle support
Tftp this file to your router http://www.mediafire.com/?tx9gzas1pfrhh50

(Last edited by bcmalloy on 31 Aug 2011, 09:46)

Can someone confirm the slow usb transfer speeds I've posted above for this router please? Or could at least someone try to mount a stick and copy something on it over network?

Thank you.

Compiled New (r28139) trunk  and did some basic testing on my WZR-HP-G300NH with A2 A0 on the back works great,
Tested on my WZR-HP-G300NH with A2 A0 on the back other models may not work
It has web interface, qos, upnp, ntfs, ext4  hdd usb 2.0 support, Dynamic dns and UMTS/3G support

to install all you do is tftp the jffs2 firmware then use firmware upgrade in the openwrt web interface to install the latest squashfs firmware.
or just install the squashfs firmware though web interface if you are already running Openwrt

Both files and instructions are here
http://www.mediafire.com/?eh8j1ovg38eix65


ALL credit goes to the hard working Openwrt team

(Last edited by bcmalloy on 6 Sep 2011, 07:57)

lordgreg wrote:

Can someone confirm the slow usb transfer speeds I've posted above for this router please? Or could at least someone try to mount a stick and copy something on it over network?

Thank you.

I tried using usb storage on some stock firmware a while back and came to conclusion it was a waste of time due to the crap speed, your better off using the usb port for a 3g modem or some other device....

(Last edited by bcmalloy on 2 Sep 2011, 05:37)

Compiled New (r28151) trunk  and did some basic testing on my WZR-HP-G300NH with A2 A0 on the back works great, Tested on my WZR-HP-G300NH with A2 A0 on the back other models may not work

It has web interface, qos, upnp, ntfs, ext4  hdd usb 2.0 support, Dynamic dns and UMTS/3G support

to install all you do is tftp the jffs2 firmware then use firmware upgrade in the openwrt web interface to install the latest squashfs firmware.
or just install the squashfs firmware though web interface if you are already running Openwrt

Both files and instructions are here
http://www.mediafire.com/?q6uxodbdr6xu2s3


ALL credit goes to the hard working Openwrt team

(Last edited by bcmalloy on 6 Sep 2011, 07:57)

@jcmalloy, thanks for all the effort, have installed 28139 and it is lots better than any previous release on WL stabiltu, although speed not great. Have now had Asterisk running stable for 1 week, using nprobe to do NetFlow exports to NMS.

the big hole in this setup is the Asterisk Management GUI, which is not yet available as a package for Asterisk 1.8.8.4-1. from what I can figure out it is available but somebody must just compile it.

Considering you have the development environment setup and working smoothly, any chance on taking the Asterisk GUI on as a project? I am happy to act as beta tester and provide feedback.Maybe have a look on the Asterisk threads for some discussions with Zandbelt, the maintainer.

I am in the same situation as Jil and this indeed seems like a great way forward.

But where is 'bootenv' in dd-wrt ssh console ?  Does this exist as command line tool?

Thanks,   Johan

1. Execute the following commands in the dd-wrt ssh console.

  dd-wrt# ubootenv set accept_open_rt_fmt 1
  dd-wrt# ubootenv set tftp_wait 10

2. To confirm your changes, do

  dd-wrt# ubootenv

3. Execute the regular buffalo tftp flash procedure.

do these new trunk builds still have the tx and rx dma errors?

Running 2 units with r28139 config for G only, heavy consistent traffic from some Axis WL IP cams. Have not noticed any errors for about 4 days. Stable and consistent 9 to 12 Mbps throughput.

Hope this helps

hmm looks like i may give it a try tomorrow then and see how things are running with these new builds. i thank you bcmalloy for your outstanding work on providing these updated builds for this router, you have saved a lot of people a lot of hassle with building the firmware manually.

(Last edited by slybunda on 5 Sep 2011, 23:00)

bcmalloy, is it possible for you to supply a squashfs-tftp build so we only need to do a single flash over to the router?

slybunda wrote:

bcmalloy, is it possible for you to supply a squashfs-tftp build so we only need to do a single flash over to the router?

Until recently the squashfs tftp builds were not working when flashed straight to the router for some unknown reason.
I usually just do a upgrade not a tftp flash as It's a pain in the ass so I stick to the proven method so new users don't get a nasty surprise.....

lucky for you I just tried backfire out but as usual it failed with a solid red light so I've now tested my latest trunk build with tftp and this one works, so here it is.....

Tested on my WZR-HP-G300NH with A2 A0 on the back other models may not work
Openwrt build r28169 UTMS/3g upnp web ddns qos upnp - tftp works I like this build and will probably stick with it for a while.

tftp to router with this file
http://www.mediafire.com/?2fc0psb0mj6rj5b

Or upgrade in Openwrt with this file - after further testing I highly recommend you TFtp this file as opposed to an upgrade and load your backup settings instead, After tftping as opposed to an upgrade my router is running noticeably faster than just the upgrade with the same settings, probably clears out some crap. no idea why to be honest but it's clearly better and those using wireless in my household have commented that it's noticeably snappier since the tftp, using exactly the same settings backup file

http://www.mediafire.com/?zxk74pp32xbn8uu

To setup your router go to the web interface at
http://192.168.1.1

ammaree thanks for the report these settings will be used in all builds from now on
as I think a 3g dongle is probably making the best use of the usb port and I function I want to have.  I have no use for Asterisk GUI, look up the wiki for compiling openwrt it's easy and all free I use  Vmware player to run a virtual machine in win7 running ubuntu so I don't even have to leave windows.

All credit goes to the hard working openwrt team

(Last edited by bcmalloy on 6 Sep 2011, 10:21)

@bcmalloy

Thanks for this build..I revert my g300nh b0b0 from gargoyle to your build,but i cant get my ddns to work and my max txpower was 17 dbm and i cant make it to max power..I try also p2pblock but i can download torret files..but the rest it is stable

hmm seems B0 B0 is slightly different to my A2 A0 I have my wireless set to 20dbm no problem.. Gargoyle does not even run on my model

make sure you set your region for usa to get max tx power options, none of the torrent apps work out of the box  in the limited testing I tried and are not included in this build.....

Please remember I just compile and test on my WZR-HP-G300NH A2 A0 router, this is compiled specifically because no official openwrt or gargoyle firmware works on this router yet.

(Last edited by bcmalloy on 6 Sep 2011, 07:56)

Sorry, posts 226 to 225 are missing from our archive.