Wive: a Free/OpenSource Firmware for rtl8186 Based Devices

If you've read my previous post about D-Link DWL-G700AP you should know about the problems. I finally bricked it by installing a wrong firmware. After searching for a flash/jtag solution I found the rtl8186 project which develops the Wive Firmware. A Free/OpenSource Firmware for rtl8186 based devices including DWL-G700AP. Unfortunately there's not enough documentation available, so I had to read the forum. After reading some posts and checking the device, I found out that it was not really bricked since the bootloader was still working (no jtag was needed) and it was possible to upload the firmware using the LAN interface. Here's how it's done:

Warning!

Uploading this firmware will cancel the warranty!

  1. turn off the device (disconnect the power)
  2. hold the reset button
  3. turn on the device while you're holding the reset button
  4. release the reset button after 3 seconds

The device is booted with 192.168.1.6 ip address assigned to it's LAN interface. Now we can upload the firmware (there are 2 revisions available, A and B, you can find out the hardware revision by looking at the bottom of the device):

# ifconfig eth0 192.168.1.1
# tftp 192.168.1.6
tftp> binary
tftp> put wive_rev_b.bin

Wait 1 minute…

you can access the device using ssh (yeah, it has ssh server now):

# ifconfig eth0 192.168.0.1
# ssh root@192.168.0.50

password is: rtl8186

You have full control now. Wive has many features and you can even use the device as a router (which is not possible with the original firmware)

I'll write about configuring and managing in the next post.

Discussion

Aidin QaribnavazAidin Qaribnavaz, 2009/04/03 09:00

Wow! Those Free Software developers always surprising me by creating such wonderful softwares!

joschijoschi, 2009/04/12 11:51

when do you look forward to write about configuring? =)

Siavash SafiSiavash Safi, 2009/04/13 15:18

I'm busy but I'll write the next post soon.

joschijoschi, 2009/04/15 19:20

okay.

vladimirvladimir, 2009/05/22 22:31

Thank's

if you can wrote can forward port to local mashine eg. Emule etc.

impaireimpaire, 2009/12/19 19:07

For information, one you are there, you can also just tftp a adequate D-Link firmware. I recovered my G700AP using your procedures:

$ cd DW* $ ls DWLG700AP_FW231b02.bin $ tftp 192.168.1.6 tftp> binary tftp> put DWLG700AP_FW231b02.bin tftp> quit

The DWL-G700AP is a Wireless Access Point. The setup wizard will guide you to configure… Firmware Version v2.31 Mon, 18 Aug 2008… Wireless… Send Good Packets 187… Recv Good Packets 1017

erwinerwin, 2010/05/18 10:19

Hi to all, today I successfully flash the firmware of G700ap access point to wive-ng firmware, before I already done it but with no success for bridge or client mode.. after failing to flash in aprouter firmware and c3 firmware, I flashed it back again to wive-ng 3.17, I remember that Ive download a latest version of wive-ng version 3.18 firmware last 2 weeks ago, I immediately flash my radio to 3.18 and configure using the menu command at shell prompt.. guest what??? I connected it to my neighbors AP using this router with a simple configuration and using the “wl scangraph” I see that I was connected, and after that I change my wired lan card to dhcp, successful the IP of the AP that ive connected became my gateway and dns server… email me at erwin_husana@yahoo.com if you wanna know how I do it.. gud luck for other brickers out there.. LOL

EoinEoin, 2010/11/13 07:26

Fab!

life saver

ClareClare, 2010/12/05 12:43

Will follow the instructions. I hope it works for me.

Clare

marcomarco, 2010/12/11 20:31

hmm io think i upgraded it via the webinterface.. now the status and power led keeps light on .. can i recover it?

RonanRonan, 2011/04/09 23:23

hi, i put this firmware into a RealSat rtl8186 based, and now i cant get web access into the admins of this reouter, hows de defalt ip of this gateway using the wive????????Bold Text

Enter your comment
If you can't read the letters on the image, download this .wav file to get them read to you.