[Question]Hardware Details about Bufflo WHR-G300N?

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Ralink SoC based Hardware
Author Message
DD-WRT Novice

Joined: 21 Oct 2009
Posts: 1

PostPosted: Thu Oct 22, 2009 14:28    Post subject: [Question]Hardware Details about Bufflo WHR-G300N? Reply with quote

I am wondering some hardware detail of WHR-G300N:
1) which endian it is in ?
using uname -a, I found that the arch is mips. But when I copy a mipsel(little endian) compiled program to /tmp and run it. It can properly run. I noticed that the Development of the wiki page says that:
The mips-uclibc 3.4.6 toolchain is used for building the kernel and the 4.1.0 mipsel-uclibc toolchain is used for building the user-mode packages.

Can anybody give some explains?
2) Which linux shall I use or download ?
I am going to compile the code to add some program into ddwrt(since I only have 4 MB).
I saw that BS fix a bug of WHR-G300N modifing dir
in Change Set 10092, but
there are dirs like
including code about rt3052f.
Which directory shall I use?

Actually, the only thing I want to do is to move a login program into the route to let it connect to my schools network.
Other people in my school did it using jffs. I am afraid I cannot use it using std version. So I tend to configure it myself.
Now I have a worked but ugly solution: edit the commands that do the following thing when the route boot up :
1) copy the program file from a computer accessible without login to the school network to /tmp
2) run it.
This can be done using nvram.

Do any one have better ideas?

Thanks a lot!

Joined: 10 May 2008
Posts: 1372
Location: Pacific North West, USA

PostPosted: Sat Oct 24, 2009 6:54    Post subject: Reply with quote
The WHR-G300N uses the RaLink chipset.

It is not Atheros and its not Broadcom.

Because it's RaLink, there's no jtag recovery available right now.
That might change, but currently JTag only works on Atheros/Broadcom.

be careful what you load, if you brick it, its toast.

It does have built in TFTP recovery mode, so it might be salvageable.

No idea how to build the linux sources myself.

Evil or Very Mad Soylent Green Is People ! Evil or Very Mad
Twisted Evil =-=-=-=-=-=-=-=-=-=-= Twisted Evil
2x Asus RT-N16 - Asuswrt-Merlin
2x Buffalo WZR-HP-G300NH V1 - OpenWRT Barrier Breaker 40360
TP-Link WR1043ND V1.8 - Gargoyle 1.6.0
Engenius ESR900 - Stock Firmware 1.2.2
Belkin F7D3302 - Kong K-2.6 22200
Linksys E3000 - Fractal - 23040 K-2.6 Mega
Linksys WRT310N V1 - Brainslayer/Kong - 23720 K-2.4 VPN
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Ralink SoC based Hardware All times are GMT


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum