OpenWrt Forum Archive

Topic: Kamikaze 7.09 on Asus WL-700ge

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

It doesn't work!

I flash my router as ussual:
1.Unplug the cable
2.Plug the cable pushing the ezbutton
3.upload fw, and wait sometime... 40 sec...
4.Unplug the cable
5.Plug it again and my ready button start flashing again!!! More!!! And the ping request have TTL=100 - as when i push the ezbutton at start!

May be i do wrong something?

It sounds like the image you are flashing is:

1) The wrong image
2) Too big for the wl-700ge 2MB flash

Can anyone confirm flashing the wl-700ge with 7.09 firmware? Have you tried 7.07 release from here http://wl700g.homelinux.net/drupal/

Splendid could be right that the standard image is too big. The WL-700g Encore has only 2MB flash.

So, the best is you build your own image using the build-system. Run menuconfig and select Target System (Broadcom BCM947xx/953xx [2.4]) and Target Profile (WL-700gE). Target Profile builds a image with a special set of packages optimized for the WL-700g Encore.

splendid wrote:

It sounds like the image you are flashing is:

1) The wrong image
2) Too big for the wl-700ge 2MB flash

Can anyone confirm flashing the wl-700ge with 7.09 firmware? Have you tried 7.07 release from here http://wl700g.homelinux.net/drupal/

1. I used the http://downloads.openwrt.org/kamikaze/7 … uashfs.trx fw... i think that it couldn't be wrong!
2. Size is  1 839 104 B and it's less then 2 MB

The last fw i used was Build_7717 fw! Nice fw, but i have several problems: http://forum.openwrt.org/viewtopic.php?id=12774
The main is:

splendid wrote:

i installed all packages i need, then i power off it for night... when i power on it on morning my router only boot from flash!!! i cant boot from my hdd sad all night long i reboot and everything was ok!

and now, after i installed the 7.09 i have the brick!

and now, after i installed the 7.09 i have the brick!

Do you have a brick? as in dead router and can not use the previous sw ?

If you think you have a brick, use a network analyzer (if that is not to technical) and check for traffic from your box after power on.
Network Analyzer: http://www.wireshark.org/ or tcpdump or ...

(Last edited by oxo on 3 Oct 2007, 18:33)

oxo wrote:

If you think you have a brick, use a network analyzer (if that is not to technical) and check for traffic from your box after power on.
Network Analyzer: http://www.wireshark.org/ or tcpdump or ...

ok! i'll try it!

Im also very interested in this owning a WL-700gE myself.
I have also (as stated on http://wl700g.homelinux.net/drupal/) testet the 7.07 image. It rebooted fine but i wasnt able to ping or telnet to the device. Then i compiled the 7.09 rls, with the proper menuconfig settings (2.4/wl700ge) but that would not even reboot.

suspam wrote:

and now, after i installed the 7.09 i have the brick!

Just flash with an older working image then youre back up and running :-)

the 7.09 fw!
i uploaded 3593 blocks via TFTP, but after i reboot the router - i've got the flashing "ready"! about minnute later it's stop flashing!
While flashing i can upload anything via TFTP, but no other network or other activity!

ok! there is way for back to old fw after 7.07 - it's easy to flash 7.07 fw!

but! i've got a new question! where is  the RESET button on wl 700 ge! smile i know about black button next to cable. But when i push it, my router just reboot and start boot normaly, sending "Press reset now, to enter Failsafe! "

after flashing with 7.07 fw i got the broadcast UDP message on 4919 port: Press reset now, to enter Failsafe!
I tried to push any buttons on my router, but can't enter the Failsafe mode!

so, after i reflash wl700 with Build_7717 from http://wl700g.homelinux.net/drupal/ i have no network activity!
i reflash it ones again, after 30 seconds i've got the broadcast message from router, wait more 20 seconds and reboot it.

NO  NETWORK ACTIVITY!!! I COULD LOGIN MY ROUTER ONLY WHEN I BACK TO 7.06 fw!!!
but, after i login, a can't do anything because of "bus error" sad

Try a reset; press & hold the (black) reset button untill the ready led starts to blink.

Alright, my ASUS WL-700g Encore just arrieved.

The first step is to enable telnet on the original ASUS firmware:

Configure NFS file access on the router by accessing http://192.168.1.1/file_access.asp
cd ~; mkdir wl-700ge
sudo mount 192.168.1.1:/shares/MYVOLUME1 wl-700ge/ nfs rw
sudo chmod 0777 wl-700ge/web/Layout/showMessage.cgi
edit wl-700ge/web/Layout/showMessage.cgi and after the line "mv $tempfile1 $file" add a new line:
/apps/bin/utelnetd -d
Opening http://192.168.1.1:8081/Layout/showMessage.cgi in your browser starts the telnet daemon.
now telnet 192.168.1.1

Next step is to exame the original firmware a bit to be able to create a backup of it...

(Last edited by forum2006 on 4 Oct 2007, 13:52)

forum2006 wrote:

Alright, my ASUS WL-700g Encore just arrieved.

The first step is to enable telnet on the original ASUS firmware:

Configure NFS file access on the router by accessing http://192.168.1.1/file_access.asp
cd ~; mkdir wl-700ge
sudo mount 192.168.1.1:/shares/MYVOLUME1 wl-700ge/ nfs rw
sudo chmod 0777 wl-700ge/web/Layout/showMessage.cgi
edit wl-700ge/web/Layout/showMessage.cgi and after the line "mv $tempfile1 $file" add a new line:
/apps/bin/utelnetd -d
Opening http://192.168.1.1:8081/Layout/showMessage.cgi in your browser starts the telnet daemon.
now telnet 192.168.1.1

Next step is to exame the original firmware a bit to be able to create a backup of it...

Sounds promising :-) Looking forward to the next steps...

Hmm, I decided not to play with backup and restore. I simply created my own very stripped down image with the ImageBuilder to fit into the 2MB flash. After flashing this image I loaded e2fsprogs, libuuid and fdisk in the ramdisk (no space left on the device) and repartioned and reformatted the internal IDE HDD. Then I replaced /sbin/init script to extend /jffs on a 512MB partition on the HDD.

Create a image with a real minimal set of packages to fit into the 2MB flash:

make clean image PACKAGES="base-files busybox dropbear kmod-diag kmod-fs-ext3 kmod-ide-aec62xx kmod-ide-core kmod-switch libgcc uclibc -kmod-ppp -kmod-pppoe -ppp -ppp-mod-pppoe -nvram -dnsmasq -iptables -kmod-ipt-nathelper -mtd -e2fsprogs -fdisk"
Building images for Broadcom BCM947xx/953xx [2.4] - Generic, Broadcom WiFi (default)
Packages: base-files-brcm-2.4 bridge busybox dropbear kernel kmod-diag kmod-fs-ext3 kmod-ide-aec62xx kmod-ide-core kmod-switch libgcc uclibc

  make[2] package_index 
  make[2] package_install 
  make[2] package_postinst 
  make[2] build_image

-rw-r--r-- 1 ubuntu ubuntu 1380352 2007-10-06 10:38 bin/openwrt-brcm-2.4-squashfs.trx

/sbin/init (see also: http://forum.openwrt.org/viewtopic.php?id=11495 - 1. Boot from USB-Stick)

#!/bin/sh

boot_dev="/dev/ide/host0/bus0/target0/lun0/part1"

for module in ide-core aec62xx ide-detect ide-disk jbd ext3; do {
        insmod $module
}; done
        
sleep 5s
mount -o rw "$boot_dev" /mnt
        
[ -x /mnt/sbin/init ] && {
        . /bin/firstboot
        pivot /mnt /mnt
}
exec /bin/busybox init

Now I can install the rest of the packages the normal way on the HDD smile

fdisk -l /dev/ide/host0/bus0/target0/lun0/disc

Disk /dev/ide/host0/bus0/target0/lun0/disc: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

                                Device Boot      Start         End      Blocks   Id  System
/dev/ide/host0/bus0/target0/lun0/part1               1          63      506016   83  Linux
/dev/ide/host0/bus0/target0/lun0/part2              64       30339   243191970   83  Linux
/dev/ide/host0/bus0/target0/lun0/part3           30340       30401      498015   82  Linux swap / Solaris

mount

rootfs on / type rootfs (rw)
/dev/root on /mnt/rom type squashfs (ro)
none on /dev type devfs (rw)
none on /proc type proc (rw)
none on /tmp type tmpfs (rw,nosuid,nodev)
none on /dev/pts type devpts (rw)
/dev/mtdblock/4 on /jffs type jffs2 (rw)
mini_fo:/jffs on /mnt type mini_fo (rw)
/dev/ide/host0/bus0/target0/lun0/part1 on / type ext3 (rw)

df -h

Filesystem                Size      Used Available Use% Mounted on
/dev/ide/host0/bus0/target0/lun0/part1
                        768.0k    768.0k         0 100% /mnt/rom
none                     30.7M     24.0k     30.7M   0% /tmp
/dev/mtdblock/4         448.0k    324.0k    124.0k  72% /jffs
mini_fo:/jffs           768.0k    768.0k         0 100% /mnt
/dev/ide/host0/bus0/target0/lun0/part1
                        486.3M     16.8M    444.7M   4% /

ipkg list_installed

base-files-brcm-2.4 - 10-9111 - 
bridge - 1.0.6-1 - 
busybox - 1.7.2-2 - 
dnsmasq - 2.39-1 - 
dropbear - 0.50-2 - 
iptables - 1.3.7-1 - 
iptables-mod-conntrack - 1.3.7-1 - 
iptables-mod-filter - 1.3.7-1 - 
iptables-mod-imq - 1.3.7-1 - 
iptables-mod-ipopt - 1.3.7-1 - 
kernel - 2.4.34-brcm-1 - 
kmod-brcm-wl - 2.4.34+4.80.53.0-1 - 
kmod-diag - 2+2.4.34-brcm-1 - 
kmod-fs-ext3 - 2.4.34-brcm-1 - 
kmod-ide-aec62xx - 2.4.34-brcm-1 - 
kmod-ide-core - 2.4.34-brcm-1 - 
kmod-ipt-conntrack - 2.4.34-brcm-1 - 
kmod-ipt-filter - 2.4.34-brcm-1 - 
kmod-ipt-imq - 2.4.34-brcm-1 - 
kmod-ipt-ipopt - 2.4.34-brcm-1 - 
kmod-loop - 2.4.34-brcm-1 - 
kmod-sched - 2.4.34-brcm-1 - 
kmod-scsi-core - 2.4.34-brcm-1 - 
kmod-switch - 2.4.34-brcm-1 - 
kmod-usb-core - 2.4.34-brcm-1 - 
kmod-usb-storage - 2.4.34-brcm-1 - 
kmod-usb-uhci-iv - 2.4.34-brcm-1 - 
kmod-usb2 - 2.4.34-brcm-1 - 
kmod-wlcompat - 2.4.34+brcm-6 - 
libgcc - 3.4.6-10 - 
libncurses - 5.6-1 - 
libopenssl - 0.9.8e-1 - 
libpcre - 7.2-2 - 
libpthread - 0.9.28-10 - 
libsqlite3 - 3.4.2-1 - 
libusb - 0.1.12-1 - 
libxml2 - 2.6.20-1 - 
lighttpd - 1.4.18-2 - 
lighttpd-mod-accesslog - 1.4.18-2 - 
losetup - 2.12r-2 - 
mtd - 5 - 
nano - 2.0.6-1 - 
nas - 4.80.53.0-1 - 
ntpclient - 2003_194-4 - 
nvram - 1 - 
pciutils - 2.2.1-1 - 
qos-scripts - 1.2.1-1 - 
swap-utils - 2.12r-2 - 
tc - 2.6.20-070313-1 - 
uclibc - 0.9.28-10 - 
usbutils - 0.72-1 - 
vsftpd - 2.0.5-2 - 
wget - 1.10.2-2 - 
wireless-tools - 29-1 - 
wlc - 4.80.53.0-1 - 
zlib - 1.2.3-4 - 
Done.

free

              total         used         free       shared      buffers
  Mem:        62928        21956        40972            0         4876
 Swap:       498004            0       498004
Total:       560932        21956       538976

cat /proc/meminfo

        total:    used:    free:  shared: buffers:  cached:
Mem:  64438272 22495232 41943040        0  4993024  9211904
Swap: 509956096        0 509956096
MemTotal:        62928 kB
MemFree:         40960 kB
MemShared:           0 kB
Buffers:          4876 kB
Cached:           8996 kB
SwapCached:          0 kB
Active:           9872 kB
Inactive:         4024 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:        62928 kB
LowFree:         40960 kB
SwapTotal:      498004 kB
SwapFree:       498004 kB

Btw. this is a image with 7.09 built with backported Busybox 1.7.2 from trunk and swap enabled smile

(Last edited by forum2006 on 6 Oct 2007, 10:20)

Ok. Now that I've backported Busybox 1.7.2, fstab and swap support (fstab and swap configurable via UCI) from trunk. I'll soon provide a ready to use image and package repository based on 7.09 with my backports.

(Last edited by forum2006 on 6 Oct 2007, 11:50)

Really good news! Thanks for your work - looking forward to try the image. Let me know if you need me to host the file(s) for you?

the image file is not there any more, Can you put it up??

clausbruun wrote:
krackerz wrote:

the image file is not there any more, Can you put it up??

Try here: http://wl700g.homelinux.net/drupal/?q=node/145

This is not the same, for this one,  when you try to rm /sbin/init, the box freeze.

The discussion might have continued from here.