this thing is NEVER a dir300b clone
so why should it work?
because it works if you upload the 300 file to the 412 using the emergency room interface
The 412 has only 1 LAN port, no WAN port, and it has a USB port since it is a 3G router.
The hardware is the same in both of them, an RT3050 SOC, 4MB flash and 32MB ram and nothing more so basically it is the same router. _________________ Kernel panic: Aiee, killing interrupt handler!
this thing is NEVER a dir300b clone
so why should it work?
because it works if you upload the 300 file to the 412 using the emergency room interface
The 412 has only 1 LAN port, no WAN port, and it has a USB port since it is a 3G router.
The hardware is the same in both of them, an RT3050 SOC, 4MB flash and 32MB ram and nothing more so basically it is the same router.
Yes, DIR-300 hw.B1 and DIR-412 hw.A1 are based on the similiar SoCs - RT3050 & RT3050F, have same FLASH, same SDRAM, so there is a good chance to run DIR-300 hw.B1 firmware on DIR-412 hw.A1. But D-Link guys have changed a firmware format a bit
So new format of firmware it is not a problem, I have reversed it, but there is another difference exists, maybe another boot loader (modified uboot) was used by D-Link?
There are a format of seama package for DIR-412 hw.A1 firmwares:
1. seama package consists of "records", each record contains meta_data and info about it's content (body)
2. typedef struct _seama_record_header_t {
uint32 signature; // = 0x17A4A35E (LE - little endian!)
uint16 reserved; // not used anywhere, just zeroes
uint16 meta_data_len; // BE - big endian!
uint32 data_len; // BE - big endian!
} seama_record_header_t;
3. if (header.data_len != 0) then there is a 16 bytes of MD5 checksum for data.
4. after header (or header + MD5) there is a metadata (just a set of attributes - string values).
5. after metadata placed really data - firmware body (LZMA-compressed vmlinuz and squashfs for rootfs).
Some recomendations for building DIR-412 hw.A1 firmware - I recommend for MD5 checksum use a data aligned at 16 byte boudary! (zero fill a tail for example).
Last edited by Leopardo on Tue Feb 15, 2011 7:21; edited 1 time in total
I suppose that DIR-412 was dead after successfull web ui flashing cause it use a modified loader.
For example, I have found that a place of squashfs in original DIR-412 firmware is located (by linux loader) by searching for string --PaCkImGs--
I will try to make a new DD-WRT (DIR-300 hw.B1) firmware with this signature to check my version.
Posted: Sun Feb 27, 2011 0:40 Post subject: the "WAN/LAN" port is switchable.
This is probably where the issue lies. Because you have the option to turn the router into Wireless Client OR use the 3G connection, the 330 firmware doesn't allow for this. The USB connection is therefore not accessible from any of the menu's (that I have been able to find) on any of the firmware that i've tried.... I'm so glad that this has the "Emergency ROM". SO the 330 firmware should be taken down, just because it's flashable doesn't mean it "works".... Just because you can put an OS on a pc doesn't mean it works,if you can't use the mouse, keyboard or network card because the drivers aren't there!...
Has anyone tried this?
Hi all, have anyone tried to flash it with K2.6 based firmware? Does anyone have prepared binary image for flashing?
I need to add usb support and rtl8188SU driver to make my rtl8188SU-usb working as client (WAN, my WISP is using WPA2-AES and 10MHz channel, and I want to run internal WLAN with 40MHz ) and build-in Ralink as (LAN/WLAN)