OpenWrt Forum Archive

Topic: I cannot load openwrt firmware to ASUS 500gp V2 anymore

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

Hello

I maybe doing something silly. For the past one week I am trying to upload the Kamikaze build to my ASUS software. When I do the tftp I get the file transferred message correctly. But I cannot ping or telnet to the box on 192.168.1.1. I have done this many times before but now (after few months gap) I am just not able to do it. I even downloaded latest .trx file from openwrt and still samething. I will greatly appreciate any clues. I have three ASUS routers and it s same w/ all.

Thanks a lot in advance!!!

Yaadgiri

You have to wait some time after the "file transferred message". Up to 5 minutes, perhaps more. Just wait 10 mins to play safe;)

Hi,
Did you send your file as binary or as ASCII ?
Which ftp client did you use ?

which openwrt build is it?  2.4 or 2.6...

I used 2.6 then 2.4 version. Used tftp on windows, ubuntu and restoration tool from ASUS. Yes I waited even couple of hours before rebooting. Right now, tried 7.06 version also. I am out of my wits on why it is not getting uploaded. Only change is that I am doing it from India now and there is a gap of about a month since I did it successfully when I was in USA. So I may be doing some silly mistake.
Pinging 192.168.1.1 with 32 bytes of data:

Destination host unreachable.
Destination host unreachable.

Ping statistics for 192.168.1.1:
    Packets: Sent = 2, Received = 0, Lost = 2 (100% loss),
Control-C

yaadgiri wrote:

So I may be doing some silly mistake.

I think you did a mistake !
I've an Asus WL500gp (v1), no problem to upload openwrt (2.4 or 2.6 version) firmware.
Can you try to upload the openwrt firmware located here :
http://downloads.openwrt.org/kamikaze/7 … uashfs.trx
(via the asus restoration tool or tftp) ?
Thanks.

I found Kamikaze 7.0.9 (and possibly earlier) won't boot on a WL-500gPv2. I had the same issue, I reckon I tried every released version of Kamikaze and White Russian. Nothing worked. I finally managed to get hold of a USB serial adapter, and connected the console - I found the router was flashing just fine (only takes less than a minute after the tftp completes) but was simply hanging at boot.

As per the wiki, you need to apply various patches to get it to boot, and more if you want USB to work. (Aside: my great thanks go to MilesBintz for writing up the instructions in the wiki, and sbrown for creating the patches!)

I successfully built a 2.6 image from a recent SVN checkout, r12863,(some modules/packages failed to build, e.g. rt2x00, and couldn't be deselected in 'make menuconfig', so I had to manually fiddle with the .config). I've uploaded my image and packages here:

openwrt-brcm47xx-squashfs.trx
packages.tar

NOTE: this image was built per the wiki, but does not have the USB patches applied. And as you hopefully are aware, there is (and probably will never be due to closed nature of the Broadcom wifi?) no wireless support for the v2.

The box seems stable thus far - I ran openvpn --test-crypto in a loop for a few hours "burnin", and it has been up as my home gateway for almost a week without incident.

BTW FrekoDing: the v1 and v2 devices are quite different, they really should have different model names.

(Last edited by af3556 on 9 Oct 2008, 23:14)

The Linux 2.6 kernel has a few issues on this box, but the 2.4 kernel boots and has wireless support.  USB like most things requires that you install extra packages.  Here is a boot image using linux-2.4 (compiled from Kamikaze trunk r12857) that I have tested successfully on both the WL-500gPv2 and the WL-520GU:

http://mightyohm.com/blog/wp-content/up … shfstrx.gz

Here are the packages I am using, these may or may not include what you want:

http://mightyohm.com/blog/wp-content/up … pseltar.gz

Excuse the filenames, Wordpress mangled the extensions.  The first file should be ...squashfs.trx.gz and the second ...mipsel.tar.gz.

(Last edited by mightyohm on 9 Oct 2008, 18:27)

I tried to upload the file from FrekoDing today using ASUS restoration tool but still same issue.. I can try others also tonight. First off, when I power up the modem in restore mode, I have to give static IP (192.168.1.100) to my laptop otherwise the modem does not assing an IP to the laptop in DHCP. I have used the static IP before successfully to upload the .trx file. I think static IP may not be an issue. I will go through other valuable suggestions from this posting and see if I can get it to work tonight.

mightyohm wrote:

The Linux 2.6 kernel has a few issues on this box, but the 2.4 kernel boots and has wireless support.  USB like most things requires that you install extra packages.  Here is a boot image using linux-2.4 (compiled from Kamikaze trunk r12857) that I have tested successfully on both the WL-500gPv2 and the WL-520GU:

http://mightyohm.com/blog/wp-content/up … shfstrx.gz

Here are the packages I am using, these may or may not include what you want:

http://mightyohm.com/blog/wp-content/up … pseltar.gz

Excuse the filenames, Wordpress mangled the extensions.  The first file should be ...squashfs.trx.gz and the second ...mipsel.tar.gz.

I there!

I followed this manual everything works except the wireless module :S I tried install the B43 package but after that the router doesn't starts.

Mightyohm, I tested your build and it works perfectly. 
Can you include the wpa-supplicant package in your list of packages? I need it to login in eduroam network... Please smile

I don't know if the 2.6 kernel will ever run properly  in the WL-500GPV2. I can't change the code because I don't know how but I can test any changes that you made in the code, so, if you need some one to test it, you can count on me.

Well, in the meantime, I learned something and now I have it up and running (Kernel 2.4) with everything I wanted... I have to say, OpenWRT rules so so much...
thanks

Thanks a lot to all. I got it to work with mightohm's build. I see that there is a delay before the power light glows. Looks like a boot wait. I still can't get mine to work http://www.box.net/shared/odyeqmx7bs I have
deselected the wifi option yet it does not seem to boot..can someone please share a config file?

(Last edited by yaadgiri on 13 Oct 2008, 12:36)

microcris wrote:
mightyohm wrote:

The Linux 2.6 kernel has a few issues on this box, but the 2.4 kernel boots and has wireless support.  USB like most things requires that you install extra packages.  Here is a boot image using linux-2.4 (compiled from Kamikaze trunk r12857) that I have tested successfully on both the WL-500gPv2 and the WL-520GU:

http://mightyohm.com/blog/wp-content/up … shfstrx.gz

Here are the packages I am using, these may or may not include what you want:

http://mightyohm.com/blog/wp-content/up … pseltar.gz

Excuse the filenames, Wordpress mangled the extensions.  The first file should be ...squashfs.trx.gz and the second ...mipsel.tar.gz.

I there!

I followed this manual everything works except the wireless module :S I tried install the B43 package but after that the router doesn't starts.

Mightyohm, I tested your build and it works perfectly. 
Can you include the wpa-supplicant package in your list of packages? I need it to login in eduroam network... Please smile
I can't change the code because I don't know how but I can test any changes that you made in the code, so, if you need some one to test it, you can count on me.

mightyohm - I can deploy your code successfully but I cannot build it. I selected "No WIFI" but it still did  not help. I see a posting about manually changing two files. Will you please post your suggestions. My brain is in a freeze right now so I do not rule out some basic step that I may be missing.

The discussion might have continued from here.