OpenWrt Forum Archive

Topic: About my WZR-HP-AG300H

The content of this topic has been archived on 20 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi everyone,

I bought a WZR-HP-AG300H router a week ago, and installed to it OpenWRT (trunk+svn8603),
and I would like to share some comments about it.

The very first problem I met is the installation.
The link, http://wiki.openwrt.org/toh/buffalo/wzr-hp-ag300h and
http://wiki.openwrt.org/toh/buffalo/wzr … ftp.method ,
described two methods to install OpenWRT,
i.e. through DD-WRT-Web interface or through TFTP.

However, it turns out only TFTP method can work. DD-WRT-Web interface will simply refuse to install the suggested OpenWRT image. Installing OpenWRT via TFTP is really is kind of difficult for me.  Even with the instructions, I still ran into problems (almost give up for a few times...).  So, here are we go...

First, turn off firewall. 
  Window 7 firewall is definitely blocking TFTP, and nothing
  can be uploaded if firewall is on.

Second, get the network card Interface ID by running "route print" in console. 
  The instruction in the web page is informative enough, but this
  vital step is buried deep down the lengthy instruction.  What had
  happened is I copied and execute the commands in web page
  for setting the temporary ARP route.  Wrong Interface ID, TFTP goes nowhere...

Third, after power on the router, wait 10 seconds before TFTP sending.
  Doing an important procedure like this blindfolded is very very scary. 
  I usually need to try a few times for a successful TFTP upload.

Forth, restore firewall setting, the IP setting and the temporary ARP route
  By the time I reached here at the first time, I was already exhausted and
  missed some of the restoration.  Messed up the network setting, cannot
  go to internet.

Firth, install the web user interface, LuCI.
  Nearly all routers came with user interface.  I'm almost take it for grant now.
  However, OpenWRT doesn't.  It requires me to install it afterwards via
  Telnet console.  Its very nice if you are an advanced user, but it is
  extreme frustrating for me that a web UI didn't show up.  Even worst,
  no notes and no instruction is mentioning this.  Just in case someone
  need it...  Log in telnet, and run the following to install/start LuCI.
opkg update;
opkg install luci;
/etc/init.d/uhttpd enable;
/etc/init.d/uhttpd start;

Sixth, enable the wifi radio.
  The wifi radio is disabled by default, which can be turned on via
  LuCI at this point.  (Why would I want a wireless router
  with wifi disabled? Funny... )

Seventh, the driver for USB behaves strangely.
  Nine out of ten times, the usb driver cannot be recognized at boot,
  Adding "sleep 15" to fstab doesn't work.


By the way,  can anyone please tell me when would the flash image to
WZR-HP-AG300H be back? 

Gary

First of all, the Backend Install worked perfectly for me, however, the buildserver is currently down for the ar47xx trunk which is a bummer. Please Jow and the other guys, bring it back up, I need ot desperatelly.

Now to the more interesting stuff. In order to mak it most easy, you can simply line up the software you would like to install in the terminal. This saves a lot of time, if you have mor then just luci.
for example: opkg install luci luci-proto-3g whatnot
Another example, how to handle this nice and smooth is by simply copy pasting

opkg update
opkg install comgt kmod-usb2  uhttpd kmod-usb-ohci kmod-usb-uhci kmod-usb-serial kmod-usb-serial-option kmod-usb-serial-wwan kmod-usb-serial-option usb-modeswitch usb-modeswitch-data sdparm chat ppp kmod-usb-acm mc luci luci-proto-3g multiwan udev
/etc/init.d/uhttpd enable
/etc/init.d/uhttpd start
cd /usr/lib/crda/
rm regulatory.bin
wget http://datatomb.de/mirror/stuff/regulatory.bin
reboot

Since I have done the install via the backend, I cannot tell anything about 1 - 4 But I can definitelly tell you something about 5

Within the Info doc for the WZR-HP-AG300H it tells you step by step, what to do. And therefore it told (in "Basic configuration" you about luci and provided a link to it.
Okay, it might be hard to find, but it is there!

Now to why no Radio:
I don't know, if you know, but openwrt was not primerily build for routers, but for embedded mashines. Therefore, for most of the trunked mashines/routers, which actually is some sort of beta,  everything is set to the basic factory defaults,  like no radio, no backend (because sometimes its not required, or wanted), no schnick schnak. This even icludes USB drivers.

Within releases, a basic installation of all router related issues, like luci and usb funcionality is however present. but who realy needs it. And currently there is no rc for the ag300h anyway

I could have told you to rtfm, but I choose a more polite approach, hope it helps anyway.

(Last edited by kevke on 25 Apr 2012, 07:29)

kevke wrote:

First of all, the Backend Install worked perfectly for me, however, the buildserver is currently down for the ar47xx trunk which is a bummer. Please Jow and the other guys, bring it back up, I need ot desperatelly.

Now to the more interesting stuff. In order to mak it most easy, you can simply line up the software you would like to install in the terminal. This saves a lot of time, if you have mor then just luci.
for example: opkg install luci luci-proto-3g whatnot
Another example, how to handle this nice and smooth is by simply copy pasting

opkg update
opkg install comgt kmod-usb2  uhttpd kmod-usb-ohci kmod-usb-uhci kmod-usb-serial kmod-usb-serial-option kmod-usb-serial-wwan kmod-usb-serial-option usb-modeswitch usb-modeswitch-data sdparm chat ppp kmod-usb-acm mc luci luci-proto-3g multiwan udev
/etc/init.d/uhttpd enable
/etc/init.d/uhttpd start
cd /usr/lib/crda/
rm regulatory.bin
wget http://datatomb.de/mirror/stuff/regulatory.bin
reboot

Since I have done the install via the backend, I cannot tell anything about 1 - 4 But I can definitelly tell you something about 5

Within the Info doc for the WZR-HP-AG300H it tells you step by step, what to do. And therefore it told (in "Basic configuration" you about luci and provided a link to it.
Okay, it might be hard to find, but it is there!

Now to why no Radio:
I don't know, if you know, but openwrt was not primerily build for routers, but for embedded mashines. Therefore, for most of the trunked mashines/routers, which actually is some sort of beta,  everything is set to the basic factory defaults,  like no radio, no backend (because sometimes its not required, or wanted), no schnick schnak. This even icludes USB drivers.

Within releases, a basic installation of all router related issues, like luci and usb funcionality is however present. but who realy needs it. And currently there is no rc for the ag300h anyway

I could have told you to rtfm, but I choose a more polite approach, hope it helps anyway.

why did you replace the original regulatory.bin with another one? what does it mean?

kevke wrote:

...
I could have told you to rtfm, but I choose a more polite approach, hope it helps anyway.

Opps... If I said something offensive previously, I apologize. 

The message I posted previously is not intended for complaining.  Instead,
I'm just trying to highlight the possible confusion that an ordinary user
(like I am) might run into.

By the way, I really think OpenWRT is a great solution that worth promoting,
so that more people can be liberated from the evil hardware vendors.

kevke wrote:

..., you can simply line up the software you would like to install in the terminal. ...

I realized that shortly after the first OpenWRT installation, and the installation
afterwards was done very efficiently.
I have vftpd installed for bringing files back and fore my home and my office.
I have samba installed for file sharing within my home.
I am using uhttpd to host some useful files, e.g. proxy auto-config script.
I have Dynamic DNS installed so that I can access my computer everywhere.
... ...
Tasks that previously need an always-running PC, all goes to the tiny little router
now. (... ya ya, just the basic stuff, I know...)

why did you replace the original regulatory.bin with another one? what does it mean?

The basic regulatory.bin represents the regulations for wireless Lans in America. The other one gives one more flexibility, but chek with your local regulations, jut to be sure.

ma_hty wrote:

However, it turns out only TFTP method can work. DD-WRT-Web interface will simply refuse to install the suggested OpenWRT image. Installing OpenWRT via TFTP is really is kind of difficult for me.  Even with the instructions, I still ran into problems (almost give up for a few times...).  So, here are we go...

It worked on the first time for me. You must install the most recent dd-wrt version for that router.

The discussion might have continued from here.