D-Link DIR-412 rev A1

From TechInfoDepot
Jump to navigationJump to search
multiple revisions of this device, use caution
bgn (N150)
Mobile Broadband Wireless Router
D-Link DIR-412 rev A1 01.jpg
Support
Wikipedia
InfoDepot Wiki
WikiDevi.wi-cat.ru
3rd Party Firmware
dd-wrt
OpenWrt
Incompatible
Tomato any flavor
Incompatible
Gargoyle
Status Unknown
Platform
BrandModelRev
D-Link DIR-412 A1
FCC ID
Type
wireless router
CPU1
Ralink RT3050
CPU1 Type
MIPS 24KEc
CPU1 Speed
320 MHz 16-bit
Flash1 Chip
Macronix MX29LV320DBTI
Flash1 Size
4 MiB4,194,304 B <br />32,768 Kib <br />4,096 KiB <br />32 Mib <br />0.00391 GiB <br /> (Parallel)
RAM1 Size
32 MiB33,554,432 B <br />262,144 Kib <br />32,768 KiB <br />256 Mib <br />0.0313 GiB <br />
RAM1 Chip
Winbond W9825G6EH-75
ETH chip1
Ralink RT3050
Ethernet Port Count
1-100MbE-LAN
Wired Standard
IEEE 802.3i/3u

802dot11 OUI: F0:7D:68 (3 E, 5 W)
Ethernet OUI: F0:7D:68 (3 E, 5 W)

Expansion IF types
USB 2.0
USB ports
1
USB Hub Compatible
Untested
Power
5 VDC, 2.5 A
Connector type
barrel
Flags:
3G capable
Other

Default IP address: 192.168.0.1
the IP 192.168.0.1 is used by 799 additional devices
of which 224 are D-Link devices
Default login user: admin
Default login password: blank
admin:blank credentials used by 367 additional devices
of which 193 are D-Link devices

Manuf/OEM/ODM
Alpha Networks WRG-N28
3rd Party Firmware Support
DD-WRT • (List)
Retail
FCC approval date 12 November 2009
Country of manuf China
Radio 1
Chip1
Ralink RT3050
Wireless interface OUI
F0:7D:68
Antenna Connector Type
U.FL
MIMO status
1x1:1
Wireless Standard
IEEE 802.11b/g/n
802.11n
up to 150 Mbps
802.11g
up to 54 Mbps
802.11b
up to 11 Mbps
WiFi Operating Frequency
2.4~2.483 GHz
 CPU1 brandRadio1 chip1 brandRadio1 chip2 brand
D-Link DIR-412 rev A1RalinkRalink
D-Link DIR-412 rev B1RalinkRalink

For a list of all currently documented Ralink chipsets with specifications, see Ralink.

For a list of all currently documented D-Link device with specifications, see D-Link.

150 Mbps - 1SS 2.4GHz 802.11n (40MHz chan.) = N150 class

Overview

OEM Alpha Networks WRG-N28 (8WRGN28..1A1G)

DD-WRT does not have USB support for this model due to the 4MB Flash size. [1]

Links of Interest

Flashing

Flashing dd-wrt

Supported by dd-wrt as of = v.24 SP2 DIR300 Rev B1 - build 12729 - 2009/08/24 dd-wrt

By kings

  1. remove power from the DIR-412, then find something to poke the reset hole.
  2. keep pressing the reset inside that hole and give power to the router, keep pressing until the power light turn yellow and start flashing.
  3. connect a lan cable between your pc and router, you need to manually set your pc to 192.168.0.2
  4. access 192.168.0.1, and you will see an "emergency firmware flashing" page
  5. select the dlink-dir300-factory-webflash.bin and click something like "upgrade"
  6. wait till it finish and you will be able to access the new dd-wrt at 192.168.1.1, also remember to change your pc to 192.168.1.x

but I cannot get the "WAN" port to work as WAN right now, it sort of stuck to lan... WAN interface never get an ip address. I did not try any USB HSPA modem though.

by kojirole

DIR-412 can use D-Link DIR-300(B1)/DIR-600(B1&B2) firmware using Emergency firmware flashing

when using ddwrt,cant use dir-412 as repeater,it will show 2 ssid but you cant repeat anything

enjoy!

JTAG-Serial Info

Serial

Serial Pinouts

Yellow - TX Black - GRN Red - RX

From left ro right:

1. TX Yellow

2. GND

3. VCC (3.3v)

4. RX (Square soldering pad) Red

Speed 57600

This page also applies to the DLink DIR-300 Rev.B

Boot Log • >>
U-Boot 1.1.3 (Oct 27 2009 - 12:11:06) - SVN revision : 216
Model: WRGN28 sdk3300
Board: Ralink APSoC DRAM:  32 MB
config usb..
============================================
Ralink UBoot Version: 3.3 Alpha
--------------------------------------------
ASIC 3052_MP2 (Port5<->GigaSW)
DRAM component: 256 Mbits SDR
DRAM bus: 16 bit
Total memory: 32 MBytes
Flash component: NOR Flash
Date:Oct 27 2009  Time:12:11:06
============================================
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:128, ways:4, linesz:32 ,total:16384
## Powering down port 0 ~ 4.
Please choose the operation:
1: Load system code to SDRAM via TFTP.
2: Load system code then write to Flash via TFTP.
3: Boot system code via Flash (default).
4: Entr boot command line interface.
9: Load Boot Loader code then write to Flash via TFTP.
0

3: System Boot system code via Flash.
## Booting image at bf050000 ...
We have SEAMA, Image Size = 3534880
Verifying Checksum ...
Uncompressing SEAMA linux.lzma ... OK
## Transferring control to Linux (at address bf05000c) ...
## Giving linux memsize in MB, 32

Starting kernel ...

Linux version 2.6.21 (tomcat@enzo) (gcc version 4.1.2) #1 Fri Apr 13 14:25:26 CST 2012
The CPU feqenuce set to 320 MHz
CPU revision is: 0001964c
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
Built 1 zonelists.  Total pages: 8128
Kernel command line: console=ttyS1,57600n8 root=/dev/mtdblock1 noinitrd
Primary instruction cache 32kB, physically tagged, 4-way, linesize 32 bytes.
Primary data cache 16kB, 4-way, linesize 32 bytes.
Synthesized TLB refill handler (20 instructions).
Synthesized TLB load handler fastpath (32 instructions).
Synthesized TLB store handler fastpath (32 instructions).
Synthesized TLB modify handler fastpath (31 instructions).
Cache parity protection disabled
arch_init_irq: cause = 80800008, status = 1100ff00
PID hash table entries: 128 (order: 7, 512 bytes)
mips_time_init: calculating r4koff ... 0x00138800 (1280000)
CPU frequency 320.00 MHz
Using 160.000 MHz high precision timer.
Console: colour dummy device 80x25
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 28848k/32768k available (2650k kernel code, 3920k reserved, 669k data, 116k init, 0k highmem)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Time: MIPS clocksource has been installed.
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
squashfs: version 3.2-r2 (2007/01/15) Phillip Lougher
squashfs: LZMA suppport for slax.org by jro
io scheduler noop registered
io scheduler deadline registered (default)
FLASH_API: MAN_ID=C2 DEV_ID=22A8 SIZE=4MB
rt3052 access driver initialization.
Ralink gpio driver initialized
HDLC line discipline: version $Revision: 1.1.1.1 $, maxframe=4096
N_HDLC line discipline registered.
Serial: 8250/16550 driver $Revision: 1.3 $ 2 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0xb0000500 (irq = 37) is a 1
6550A
serial8250: ttyS1 at I/O 0xb0000c00 (irq = 12) is a 16550A
ra2880_read_mac: 00:00:00:00:00:00
ra2880_read_mac: 00:00:00:00:00:00
Ralink APSoC Ethernet Driver Initilization. v1.60  256 rx/tx descriptors allocated, mtu = 1600!
NAPI enable, weight = 0, Tx Ring = 256, Rx Ring = 256
ra2880_read_mac: 00:00:00:00:00:00
ra2880_read_mac: 00:00:00:00:00:00
PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
elbox physmap platform flash device: 00400000 at bfc00000
elbox-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
elbox-flash.0: the flash image has SEAMA header
elbox-flash.0: squashfs filesystem found at offset 1507390
Creating 8 MTD partitions on "elbox-flash.0":
0x0017005e-0x003af05e : "rootfs"
0x00050000-0x003f0000 : "upgrade"
0x00040000-0x00050000 : "devconf"
0x00030000-0x00040000 : "devdata"
0x003f0000-0x00400000 : "langpack"
0x00000000-0x00400000 : "flash"
0x00000000-0x00030000 : "u-boot"
0x00030000-0x00038000 : "boot env"
usbcore: registered new interface driver cdc_acm
drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core
drivers/usb/serial/usb-serial.c: USB Serial support registered for GSM modem (1-port)
usbcore: registered new interface driver option
drivers/usb/serial/option.c: USB Driver for GSM modems: v0.7.1
dwc_otg: config..done
dwc_otg: version 2.72a 24-JUN-2008
DWC_otg: Core Release: 2.66a
DWC_otg: Periodic Transfer Interrupt Enhancement - disabled
DWC_otg: Multiprocessor Interrupt Enhancement - disabled
DWC_otg: Using DMA mode
DWC_otg: Device using Buffer DMA mode
dwc_otg lm0: DWC OTG Controller
dwc_otg lm0: new USB bus registered, assigned bus number 1
dwc_otg lm0: irq 18, io mem 0x00000000
DWC_otg: Init: Port Power? op_state=1
DWC_otg: Init: Power Port (0)
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
u32 classifier
ip_conntrack version 2.4 (256 buckets, 2048 max) - 240 bytes per conntrack
ip_conntrack_pptp version 3.1 loaded
ip_nat_pptp version 3.0 loaded
ip_tables: (C) 2000-2006 Netfilter Core Team, Type=Linux
ipt_time loading
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 116k freed

init started: BusyBox v1.11.1 (2011-05-04 16:18:46 CST)

starting pid 432, tty '': '/etc/init.d/rcS'
Algorithmics/MIPS FPU Emulator v1.5
[/etc/init.d/S10init.sh]
[/etc/init.d/S15udevd.sh]
[/etc/init.d/S19devfs.sh]
[/etc/init.d/S19init.sh]
[/etc/init.d/S20init.sh]
DEVCONF: no config data available (ret=-1) !
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!     Uable to read device config.     !!
!! Setting is reset to factory default. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
DEFNODE[/etc/defnodes/S10device.xml]
DEFNODE[/etc/defnodes/S10phyinf.php]
DEFNODE[/etc/defnodes/S11devdata.xml]
DEFNODE[/etc/defnodes/S12flashspeed.php]
DEFNODE[/etc/defnodes/S20device.xml]
DEFNODE[/etc/defnodes/S21authentication.php]
DEFNODE[/etc/defnodes/S22timezone.php]
[/etc/scripts/setdate.sh] 01/01/2000 ...
Sat Jan  1 08:00:08 CST 2000
DEFNODE[/etc/defnodes/S30device.php]
DEFNODE[/etc/defnodes/S30device.xml]
DEFNODE[/etc/defnodes/S31diagnostic.xml]
DEFNODE[/etc/defnodes/S31locale.php]
DEFNODE[/etc/defnodes/S32layout.php]
DEFNODE[/etc/defnodes/S33wifi.php]
DEFNODE[/etc/defnodes/S40device.xml]
DEFNODE[/etc/defnodes/S90upnpigd.php]
DEFNODE[/etc/defnodes/S90upnpwfa.php]
SERVD: start service [LOGD]
[/etc/init.d/S20interfaces.sh]
SERVD: event [WANPORT.LINKDOWN] not found!
[/etc/init.d/S23udevd.sh]
[/etc/init.d/rcS] done!
[/etc/init0.d/S20phyinf.sh]: start ...
SERVD: start service [PHYINF.ETH-1]
SERVD: start service [PHYINF.ETH-2]
SERVD: start service [PHYINF.ETH-3]
[/etc/init0.d/S21layout.sh]: start ...
[/etc/init0.d/S21wlan.sh]: start ...
ra2880_read_mac: f0:7d:68:4a:23:a1
setlinktype: invalid type (-1) !
SERVD: start service [LAYOUT]
[/etc/init0.d/S40event.sh]: start ...
LAYOUT: Start Normal router layout ...
SERVD: event [SEALPAC.LOAD]
[/etc/init0.d/S40gpioevent.sh]: start ...
SEAMA: '/dev/mtdblock/5' is not a seama file !
interface ra0 does not exist!
SERVD: start service [WIFI.WLAN-1]
[/etc/init0.d/S40ttyevent.sh]: start ...
SERVD: start service [WIFI]
[/etc/init0.d/S41inf.sh]: start ...
rmmod: rt2860v2_ap: No such file or directory
rt2860v2_ap: module license 'unspecified' taints kernel.
2860 version : 1.9.0.0 (Apr 13 2012)


=== pAd = c0438000, size = 413288 ===

<-- RTMPAllocAdapterBlock, Status=0
RX DESC a1a96000  size = 2048
<-- RTMPAllocTxRxRingMemory, Status=0
1. Phy Mode = 9
2. Phy Mode = 9
3. Phy Mode = 9
MCS Set = ff 00 00 00 01
Main bssid = f0:7d:68:4a:23:a0
<==== RTMPInitialize, Status=0
0x1300 = 00064380
SERVD: event [WLAN-1.UP]
device ra0 entered promiscuous mode
br0: port 1(ra0) entering learning state
br0: topology change detected, propagating
br0: port 1(ra0) entering forwarding state
br0: port 1(ra0) multicast bandwidth 900kbps
[/etc/init0.d/S41isplst.sh]: start ...
[/etc/init0.d/S42pthrough.sh]: start ...
[/etc/init0.d/S49ledcrtl.sh]: start ...
SERVD: stop service [MULTICAST]
SERVD: service [MULTICAST] is already stopped.
SERVD: start service [MULTICAST]
SERVD: start service [BRIDGE]
Configuration file: /var/servd/hostapd-ra0.conf
BRIDGE: The device is not in the bridge mode.
SERVD: start service [LAN]
Using interface ra0 with hwaddr f0:7d:68:4a:23:a0 and ssid 'dlink'
hostapd_setup_interface: return 0
[/etc/init0.d/S49simchk.sh]: start ...
[/etc/init0.d/S65ddnsd.sh]: start ...
[/etc/init0.d/S80telnetd.sh]: start ...
SERVD: start service [WAN]
SERVD: start service [DEVICE.PASSTHROUGH]
SERVD: start service [LED.CRTL]
[/etc/init0.d/rcS] done!

Please press Enter to activate this console. SERVD: start service [IPTABLES]
insmod: /lib/modules/2.6.21: No such file or directory
insmod: ip_stun_func.ko: module not found
REDSonic turbo net initialized
Network interface reset count v1.0
SERVD: start service [IPTABLES]
SERVD: service [IPTABLES] is already started.
SERVD: start service [SIM.CHK]
[/etc/events/sim_chk.sh] ...
SERVD: start service [INET.LAN-1]
SERVD: event [LAN-1.UP]
SERVD: start service [IPTMACCTRL]
SERVD: start service [IPTURLCTRL]
SERVD: start service [IPTPORTT]
SERVD: stop service [IPT.LAN-1]
SERVD: service [IPT.LAN-1] is already stopped.
SERVD: start service [IPT.LAN-1]
SERVD: start service [IPTABLES]
SERVD: service [IPTABLES] is already started.
SERVD: start service [INET.WAN-1]
SERVD: start service [INET.WAN-2]
ifsetup: (WAN-2) not active.
SERVD: service [INET.WAN-2] return error 8.
SERVD: start service [INET.WAN-3]
ifsetup: (WAN-3) no phyinf.
SERVD: service [INET.WAN-3] return error 9.
SERVD: start service [IPTMASQ]
SERVD: start service [IPTVSVR]
SERVD: start service [IPTPFWD]
SERVD: start service [IPTPORTT]
SERVD: service [IPTPORTT] is already started.
SERVD: start service [IPTDMZ]
IPTDMZ: cnt= 1
SERVD: start service [IPT.WAN-1]
SERVD: start service [IPT.WAN-2]
SERVD: start service [IPT.WAN-3]
SERVD: start service [CHKCONN.WAN-1]
SERVD: stop service [INET.WAN-3]
SERVD: service [INET.WAN-3] is already stopped.
SERVD: stop service [INFSVCS.LAN-1]
SERVD: service [INFSVCS.LAN-1] is already stopped.
SERVD: start service [INFSVCS.LAN-1]
SERVD: event [INFSVCS.LAN-1.UP]
SERVD: start service [ENLAN]
SERVD: event [STATUS.READY]
SERVD: start service [HTTP.LAN-1]
SERVD: start service [UPNP.LAN-1]
SERVD: event [UPNP.ALIVE.LAN-1]
SERVD: start service [DHCPS4.LAN-1]
SERVD: start service [DNS4.LAN-1]
SERVD: stop service [ROUTE.STATIC]
SERVD: service [ROUTE.STATIC] is already stopped.
SERVD: start service [ROUTE.STATIC]
SERVD: stop service [MULTICAST]
SERVD: start service [MULTICAST]
SERVD: stop service [IPTDEFCHAIN]
SERVD: service [IPTDEFCHAIN] is already stopped.
SERVD: start service [IPTDEFCHAIN]
SERVD: stop service [LLD2]
SERVD: service [LLD2] is already stopped.
SERVD: start service [LLD2]
SERVD: stop service [HTTP]
SERVD: service [HTTP] is already stopped.
SERVD: start service [HTTP]
SERVD: event [HTTP.UP] not found!
SERVD: stop service [DNS]
SERVD: service [DNS] is already stopped.
SERVD: start service [DNS]
killall: dnsmasq: no process killed
Sat Jan  1 00:00:41 2000
=>start gethostbyname:www.dlink.com
Sat Jan  1 00:00:41 2000
=>failed end gethostbyname:www.dlink.com
Sat Jan  1 00:00:41 2000
=>start gethostbyname:www.dlink.com.tw
Sat Jan  1 00:00:41 2000
=>failed end gethostbyname:www.dlink.com.tw
Sat Jan  1 00:00:41 2000
=>start gethostbyname:www.dlink.eu
Sat Jan  1 00:00:41 2000
=>failed end gethostbyname:www.dlink.eu
SERVD: event [WAN-3.PPP.DIALUP] not found!



starting pid 2026, tty '': '-/bin/sh'

BusyBox v1.11.1 (2011-05-04 16:18:46 CST) built-in shell (msh)
Enter 'help' for a list of built-in commands.

help

Built-in commands:
-------------------
. : break cd continue eval exec exit export help login newgrp
read readonly set shift times trap umask wait


Pictures

Retail Images
User Images