OpenWrt Forum Archive

Topic: Asus WL500gP flashing in linux

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

I have been trying to flash WL500g Premium in Ubuntu 7.04 with the openwrt-brcm-2.4-squashfs.trx firmware downloaded here from here http://downloads.openwrt.org/whiterussi … st/default.

I am doing everything accordingly to instruction:
1. unplug the power
2. press the reset and plug the power
3. hold reset for a while
4. the power led start flashing which means device in flashing mode.

Router is just taken out of the box, all settings are default, but at this point i can't ping 192.168.1.1. Or it is totally impossible due to flashing mode?

Then i use atftp as follows:

connect 192.168.1.1
mode octet
trace
timeout 1
openwrt-brcm-2.4-squashfs.trx

And get timeout error. Looks like atftp (as well as aftp) can not see the device.

Then i booted to windows, switched router to flashing mode and then used ASUS firmware recovery tool. Voila! Everithing worked.

Again i booted linux and tried to reflash with atftp - no success.

Thus, the question what is the problem in linux?

Thanks in advance.

P.S. I found a problem, while flashing you should connect asus via wan port, not via lan1.

(Last edited by geragray on 30 Jul 2007, 07:24)

In Linux you get a default IP depending on your ethernet driver. This usually puts you in a different subnet than the router is in and thus you are unable to reach the router because your NIC can't navigate to the router.

To remedy this just enter:

ifconfig eth0 192.168.1.100

The discussion might have continued from here.