Differences

This shows you the differences between two versions of the page.

toh:d-link:dir-320_revb1 [2012/11/28 23:42]
grumbler_eburg
toh:d-link:dir-320_revb1 [2014/03/19 00:45] (current)
danitool
Line 1: Line 1:
-====== D-Link DIR-320 H/W Ver.: B1 == D-Link DIR-320NRU ======+====== D-Link DIR-320 H/W Ver.: B1 ====== 
====== Supported Versions ====== ====== Supported Versions ======
^ Version/Model ^ S/N ^ OpenWrt Version Supported ^ Model Specific Notes ^ ^ Version/Model ^ S/N ^ OpenWrt Version Supported ^ Model Specific Notes ^
-| B1 | - | - | - |+| B1/B2 | - | > r38040 | all B* revisions supported |
====== Hardware Highlights ====== ====== Hardware Highlights ======
Line 18: Line 19:
==== OEM easy installation ==== ==== OEM easy installation ====
-Is not possible now.+  - Get the firmware from [[https://code.google.com/p/openwrt-on-dir-320-b1/|here]] (patched for 4g, mpcs, oscam support) 
 +  - Plug off power cable 
 +  - Press and hold "reset" button 
 +  - Plug on power cable, wait for 15 seconds 
 +  - Setup your network manually: IP 192.168.0.2 MASK 255.255.255.0 
 +  - Enter web interface 192.168.0.1 
 +  - Chose your .bin file and submit reflashing 
 +  - Setup your network to get options by DHCP 
 +  - Wait until power led will light 
 + 
 +=== Windows script using failsafe UI & curl=== 
 +|<code>@echo off 
 +set firmware=fw.bin 
 +set router=192.168.0.1 
 +echo =========================================================================== 
 +echo This batch file will upload %firmware% in the current directory to 
 +echo %router% during the router's bootup. 
 +echo. 
 +echo * Set your ethernet card's settings to: 
 +echo      IP:      192.168.0.10 
 +echo      Mask:    255.255.255.0 
 +echo      Gateway: 192.168.0.1. 
 +echo * Unplug the router's power cable. 
 +echo. 
 +echo Press Ctrl+C to abort or any other key to continue... 
 +pause > nul 
 +echo. 
 +echo * Press & hold reset button. 
 +echo * Re-plug the router's power cable. 
 +echo * Wait 10-15 seconds, then release reset button. 
 +echo. 
 +echo =============================================================================== 
 +echo Waiting for the router... Press Ctrl+C to abort. 
 +echo. 
 + 
 +:ping 
 +ping -n 1 -w 50 %router% | find "TTL=" 
 +if errorlevel 1 goto ping 
 + 
 +echo curl -v -0 --retry 100 --form firmware=@%firmware% -o %temp%\curl_out.tmp --progress-bar http://%router% 
 +curl -v -0 --retry 100 --form firmware=@%firmware% -o %temp%\curl_out.tmp --progress-bar http://%router% 
 +if errorlevel 1 goto ping 
 +echo. 
 +echo =============================================================================== 
 +echo * WAIT for about 2 minutes while the firmware is being flashed. 
 +echo * The default router address will be at 192.168.1.1. 
 +echo. 
 +pause 
 +exit /b</code>|
==== OEM installation using the TFTP method ==== ==== OEM installation using the TFTP method ====
Line 35: Line 84:
| TFTP Server Required IP Address | 192.168.0.2 | | TFTP Server Required IP Address | 192.168.0.2 |
-==== Upgrading OpenWrt ==== +
-| FIXME with [[meta:template_device]] |+
===== Bootlogs ===== ===== Bootlogs =====
Line 330: Line 378:
==== OpenWrt bootlog ==== ==== OpenWrt bootlog ====
-| FIXME with [[meta:template_device]] | +<HTML> 
 +<p style="padding: 10px;border:1px solid grey;height:600px;font:10px/14px Georgia, Garamond, Serif;overflow:Auto;background-color:#FFFFFF"> 
 +<code> 
 +[   0.000000] Linux version 3.7.3 (vbox@vbox-VirtualBox) (gcc version 4.6.4 20121210 (prerelease) (Linaro GCC 4.6-2012.12) ) #22 Thu Jan 31 08:57:31 MSK 2013 
 +[   0.000000] prom: fw_arg0=00000001, fw_arg1=81f4efb0, fw_arg2=01f4f3b0, fw_arg3=00000000 
 +[    0.000000] env=  (null) is not in RAM, skipping 
 +[    0.000000] env=  (null) is not in RAM, skipping 
 +[    0.000000] bootconsole [early0] enabled 
 +[    0.000000] CPU revision is: 0001964c (MIPS 24KEc) 
 +[    0.000000] Ralink RT5350 id:1 rev:3 running at 360.00 MHz 
 +[    0.000000] Determined physical RAM map: 
 +[    0.000000]  memory: 02000000 @ 00000000 (usable) 
 +[    0.000000] Initrd not found or empty - disabling initrd 
 +[    0.000000] Zone ranges: 
 +[    0.000000]  Normal  [mem 0x00000000-0x01ffffff] 
 +[    0.000000] Movable zone start for each node 
 +[    0.000000] Early memory node ranges 
 +[    0.000000]  node  0: [mem 0x00000000-0x01ffffff] 
 +[    0.000000] On node 0 totalpages: 8192 
 +[    0.000000] free_area_init_node: node 0, pgdat 802b0530, node_mem_map 81000000 
 +[    0.000000]  Normal zone: 64 pages used for memmap 
 +[    0.000000]  Normal zone: 0 pages reserved 
 +[    0.000000]  Normal zone: 8128 pages, LIFO batch:0 
 +[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. 
 +[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes 
 +[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 
 +[    0.000000] pcpu-alloc: [0] 0  
 +[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128 
 +[    0.000000] Kernel command line:  board=DIR-320-B1 console=ttyS1,57600 mtdparts=spi0.0:192k(u-boot)ro,64k(u-boot-env)ro,64k(factory)ro,1024k(kernel),6848k(rootfs),7872k@0x50000(firmware) rootfstype=squashfs,jffs2 
 +[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes) 
 +[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) 
 +[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) 
 +[    0.000000] __ex_table already sorted, skipping sort 
 +[    0.000000] Writing ErrCtl register=00000006 
 +[    0.000000] Readback ErrCtl register=00000006 
 +[    0.000000] Memory: 29308k/32768k available (2225k kernel code, 3460k reserved, 529k data, 188k init, 0k highmem) 
 +[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 
 +[    0.000000] NR_IRQS:48 
 +[    0.000000] console [ttyS1] enabled, bootconsole disabled 
 +[    0.010000] Calibrating delay loop... 239.61 BogoMIPS (lpj=1198080) 
 +[    0.080000] pid_max: default: 32768 minimum: 301 
 +[    0.080000] Mount-cache hash table entries: 512 
 +[    0.090000] NET: Registered protocol family 16 
 +[    0.100000] MIPS: machine is D-Link DIR-320 B1 
 +[    0.130000] bio: create slab <bio-0> at 0 
 +[    0.140000] Switching to clocksource MIPS 
 +[    0.150000] NET: Registered protocol family 2 
 +[    0.160000] TCP established hash table entries: 1024 (order: 1, 8192 bytes) 
 +[    0.180000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) 
 +[    0.190000] TCP: Hash tables configured (established 1024 bind 1024) 
 +[    0.200000] TCP: reno registered 
 +[    0.210000] UDP hash table entries: 256 (order: 0, 4096 bytes) 
 +[    0.220000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) 
 +[    0.230000] NET: Registered protocol family 1 
 +[    0.280000] squashfs: version 4.0 (2009/01/31) Phillip Lougher 
 +[    0.290000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. 
 +[    0.320000] msgmni has been set to 57 
 +[    0.330000] io scheduler noop registered 
 +[    0.330000] io scheduler deadline registered (default) 
 +[    0.720000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled 
 +[    0.740000] serial8250: ttyS0 at MMIO 0x10000500 (irq = 13) is a 16550A 
 +[    0.750000] serial8250: ttyS1 at MMIO 0x10000c00 (irq = 20) is a 16550A 
 +[    0.770000] ramips-spi ramips-spi.0: master is unqueued, this is deprecated 
 +[    0.790000] m25p80 spi0.0: s25fl064k (8192 Kbytes) 
 +[    0.800000] 6 cmdlinepart partitions found on MTD device spi0.0 
 +[    0.810000] Creating 6 MTD partitions on "spi0.0": 
 +[    0.820000] 0x000000000000-0x000000030000 : "u-boot" 
 +[    0.830000] 0x000000030000-0x000000040000 : "u-boot-env" 
 +[    0.850000] 0x000000040000-0x000000050000 : "factory" 
 +[    0.860000] 0x000000050000-0x000000150000 : "kernel" 
 +[    0.880000] 0x000000150000-0x000000800000 : "rootfs" 
 +[    0.890000] mtd: partition "rootfs" set to be root filesystem 
 +[    0.900000] mtd: partition "rootfs_data" created automatically, ofs=720000, len=E0000  
 +[    0.920000] 0x000000720000-0x000000800000 : "rootfs_data" 
 +[    0.930000] 0x000000050000-0x000000800000 : "firmware" 
 +[    0.960000] IPv4 over IPv4 tunneling driver 
 +[    0.970000] gre: GRE over IPv4 demultiplexor driver 
 +[    0.980000] TCP: cubic registered 
 +[    0.980000] NET: Registered protocol family 17 
 +[    0.990000] 8021q: 802.1Q VLAN Support v1.8 
 +[    1.020000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4. 
 +[    1.040000] Freeing unused kernel memory: 188k freed 
 +[    8.350000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0 
 +[    8.580000] Button Hotplug driver version 0.4.1 
 +[    9.440000] Registered led device: d-link:green:status 
 +[    9.450000] Registered led device: d-link:green:usb 
 +[    9.450000] Registered led device: d-link:green:wps 
 +[  13.110000] jffs2: notice: (1402) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 17 of xref (0 dead, 2 orphan) found. 
 +[  14.640000] nls_base: exports duplicate symbol load_nls (owned by kernel) 
 +[  15.030000] SCSI subsystem initialized 
 +[  15.680000] usbcore: registered new interface driver usbfs 
 +[  15.690000] usbcore: registered new interface driver hub 
 +[  15.710000] usbcore: registered new device driver usb 
 +[  16.980000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver 
 +[  18.000000] ehci-platform ehci-platform: Generic Platform EHCI Controller 
 +[  18.010000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1 
 +[  18.060000] ehci-platform ehci-platform: irq 26, io mem 0x101c0000 
 +[  18.090000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00 
 +[  18.100000] hub 1-0:1.0: USB hub found 
 +[  18.110000] hub 1-0:1.0: 1 port detected 
 +[  18.240000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver 
 +[  18.260000] ohci-platform ohci-platform: Generic Platform OHCI Controller 
 +[  18.270000] ohci-platform ohci-platform: new USB bus registered, assigned bus number 2 
 +[  18.290000] ohci-platform ohci-platform: irq 26, io mem 0x101c1000 
 +[  18.360000] hub 2-0:1.0: USB hub found 
 +[  18.370000] hub 2-0:1.0: 1 port detected 
 +[  18.400000] dwc_otg: version 2.72a 24-JUN-2008 
 +[  18.510000] usb 1-1: new high-speed USB device number 2 using ehci-platform 
 +[  18.530000] Initializing USB Mass Storage driver... 
 +[  18.540000] usbcore: registered new interface driver usb-storage 
 +[  18.560000] USB Mass Storage support registered. 
 +[  18.680000] hub 1-1:1.0: USB hub found 
 +[  18.690000] hub 1-1:1.0: 4 ports detected 
 +[  18.980000] usb 1-1.1: new high-speed USB device number 3 using ehci-platform 
 +[  19.100000] scsi0 : usb-storage 1-1.1:1.0 
 +[  19.190000] usb 1-1.2: new high-speed USB device number 4 using ehci-platform 
 +[  19.310000] scsi1 : usb-storage 1-1.2:1.0 
 +[  20.110000] scsi 0:0:0:0: Direct-Access    USB Mass  Storage Device      PQ: 0 ANSI: 0 CCS 
 +[  20.130000] sd 0:0:0:0: [sda] Attached SCSI removable disk 
 +[  20.320000] scsi 1:0:0:0: Direct-Access    WDC WD80 0BB-00HEA0      3G13 PQ: 0 ANSI: 2 CCS 
 +[  20.340000] sd 1:0:0:0: [sdb] 156301488 512-byte logical blocks: (80.0 GB/74.5 GiB) 
 +[  20.360000] sd 1:0:0:0: [sdb] Write Protect is off 
 +[  20.370000] sd 1:0:0:0: [sdb] Mode Sense: 00 38 00 00 
 +[  20.370000] sd 1:0:0:0: [sdb] Asking for cache data failed 
 +[  20.380000] sd 1:0:0:0: [sdb] Assuming drive cache: write through 
 +[  20.400000] sd 1:0:0:0: [sdb] Asking for cache data failed 
 +[  20.410000] sd 1:0:0:0: [sdb] Assuming drive cache: write through 
 +[  20.440000]  sdb: sdb1 
 +[  20.450000] sd 1:0:0:0: [sdb] Asking for cache data failed 
 +[  20.460000] sd 1:0:0:0: [sdb] Assuming drive cache: write through 
 +[  20.480000] sd 1:0:0:0: [sdb] Attached SCSI disk 
 +[  41.640000] EXT4-fs (sdb1): warning: mounting unchecked fs, running e2fsck is recommended 
 +[  41.660000] EXT4-fs (sdb1): mounted filesystem without journal. Opts: (null) 
 +[  43.820000] Compat-drivers backport release: compat-drivers-2012-12-04 
 +[  43.830000] Backport based on wireless-testing.git master-2012-12-06 
 +[  43.850000] compat.git: wireless-testing.git 
 +[  43.950000] cfg80211: Calling CRDA to update world regulatory domain 
 +[  43.960000] cfg80211: World regulatory domain updated: 
 +[  43.970000] cfg80211:  (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) 
 +[  43.990000] cfg80211:  (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) 
 +[  44.000000] cfg80211:  (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) 
 +[  44.020000] cfg80211:  (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) 
 +[  44.030000] cfg80211:  (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) 
 +[  44.050000] cfg80211:  (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) 
 +[  44.300000] NET: Registered protocol family 10 
 +[  44.600000] nls_base: exports duplicate symbol load_nls (owned by kernel) 
 +[  45.160000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' 
 +[  45.160000] Registered led device: rt2800pci-phy0::radio 
 +[  45.160000] Registered led device: rt2800pci-phy0::assoc 
 +[  45.160000] Registered led device: rt2800pci-phy0::quality 
 +[  45.220000] NET: Registered protocol family 8 
 +[  45.220000] NET: Registered protocol family 20 
 +[  45.590000] NTFS driver 2.1.30 [Flags: R/O MODULE]. 
 +[  45.830000] Initializing XFRM netlink socket 
 +[  45.890000] NET: Registered protocol family 15 
 +[  45.980000] PPP generic driver version 2.4.2 
 +[  46.070000] tun: Universal TUN/TAP device driver, 1.6 
 +[  46.080000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com> 
 +[  46.130000] tunnel4: exports duplicate symbol xfrm4_tunnel_deregister (owned by kernel) 
 +[  46.210000] PPP MPPE Compression module registered 
 +[  46.810000] l2tp_core: L2TP core driver, V2.0 
 +[  46.870000] l2tp_netlink: L2TP netlink interface 
 +[  46.910000] sit: IPv6 over IPv4 tunneling driver 
 +[  47.000000] gre: exports duplicate symbol gre_add_protocol (owned by kernel) 
 +[  47.050000] ip_gre: GRE over IPv4 tunneling driver 
 +[  47.110000] ip6_gre: GRE over IPv6 tunneling driver 
 +[  47.250000] ip_tables: (C) 2000-2006 Netfilter Core Team 
 +[  47.680000] NET: Registered protocol family 24 
 +[  47.850000] nf_conntrack version 0.5.0 (460 buckets, 1840 max) 
 +[  48.160000] l2tp_ppp: PPPoL2TP kernel driver, V2.0 
 +[  48.200000] PPTP driver version 0.8.5 
 +[  48.890000] xt_time: kernel timezone is -0000 
 +[  49.360000] ip6_tables: (C) 2000-2006 Netfilter Core Team 
 +[  49.830000] siit: module license 'unspecified' taints kernel. 
 +[  49.850000] Disabling lock debugging due to kernel taint 
 +[  50.060000] usbcore: registered new interface driver cdc_acm 
 +[  50.070000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters 
 +[  50.180000] usbcore: registered new interface driver usblp 
 +[  50.240000] usbcore: registered new interface driver usbserial 
 +[  50.250000] usbcore: registered new interface driver usbserial_generic 
 +[  50.260000] usbserial: USB Serial support registered for generic 
 +[  50.420000] usbcore: registered new interface driver asix 
 +[  50.470000] usbcore: registered new interface driver cdc_ether 
 +[  50.530000] usbcore: registered new interface driver dm9601 
 +[  50.580000] usbcore: registered new interface driver kaweth 
 +[  50.640000] usbcore: registered new interface driver MOSCHIP usb-ethernet driver 
 +[  50.690000] pegasus: v0.6.14 (2006/09/27), Pegasus/Pegasus II USB Ethernet driver 
 +[  50.710000] usbcore: registered new interface driver pegasus 
 +[  50.840000] usbcore: registered new interface driver rndis_host 
 +[  50.890000] usbcore: registered new interface driver ipheth 
 +[  50.940000] usbcore: registered new interface driver sierra_net 
 +[  50.990000] usbcore: registered new interface driver ark3116 
 +[  51.010000] usbserial: USB Serial support registered for ark3116 
 +[  51.060000] usbcore: registered new interface driver belkin_sa 
 +[  51.070000] usbserial: USB Serial support registered for Belkin / Peracom / GoHubs USB Serial Adapter 
 +[  51.130000] usbcore: registered new interface driver ch341 
 +[  51.140000] usbserial: USB Serial support registered for ch341-uart 
 +[  51.190000] usbcore: registered new interface driver cp210x 
 +[  51.210000] usbserial: USB Serial support registered for cp210x 
 +[  51.260000] usbcore: registered new interface driver cypress_m8 
 +[  51.270000] usbserial: USB Serial support registered for DeLorme Earthmate USB 
 +[  51.280000] usbserial: USB Serial support registered for HID->COM RS232 Adapter 
 +[  51.300000] usbserial: USB Serial support registered for Nokia CA-42 V2 Adapter 
 +[  51.370000] usbcore: registered new interface driver ftdi_sio 
 +[  51.380000] usbserial: USB Serial support registered for FTDI USB Serial Device 
 +[  51.450000] usbcore: registered new interface driver ipw 
 +[  51.460000] usbserial: USB Serial support registered for IPWireless converter 
 +[  51.520000] keyspan: Unknown symbol ezusb_fx1_ihex_firmware_download (err 0) 
 +[  51.570000] usbcore: registered new interface driver mct_u232 
 +[  51.580000] usbserial: USB Serial support registered for MCT U232 
 +[  51.640000] usbcore: registered new interface driver mos7720 
 +[  51.650000] usbserial: USB Serial support registered for Moschip 2 port adapter 
 +[  51.700000] usbcore: registered new interface driver moto_modem 
 +[  51.720000] usbserial: USB Serial support registered for moto-modem 
 +[  51.780000] usbcore: registered new interface driver option 
 +[  51.800000] usbserial: USB Serial support registered for GSM modem (1-port) 
 +[  51.860000] usbcore: registered new interface driver oti6858 
 +[  51.870000] usbserial: USB Serial support registered for oti6858 
 +[  51.920000] usbcore: registered new interface driver pl2303 
 +[  51.940000] usbserial: USB Serial support registered for pl2303 
 +[  51.990000] usbcore: registered new interface driver qcserial 
 +[  52.000000] usbserial: USB Serial support registered for Qualcomm USB modem 
 +[  52.060000] usbcore: registered new interface driver sierra 
 +[  52.070000] usbserial: USB Serial support registered for Sierra USB modem 
 +[  52.130000] usbcore: registered new interface driver ti_usb_3410_5052 
 +[  52.140000] usbserial: USB Serial support registered for TI USB 3410 1 port adapter 
 +[  52.160000] usbserial: USB Serial support registered for TI USB 5052 2 port adapter 
 +[  52.210000] usbcore: registered new interface driver visor 
 +[  52.220000] usbserial: USB Serial support registered for Handspring Visor / Palm OS 
 +[  52.240000] usbserial: USB Serial support registered for Sony Clie 5.0 
 +[  52.250000] usbserial: USB Serial support registered for Sony Clie 3.5 
 +[  52.600000] u32 classifier 
 +[  52.600000]    Performance counters on 
 +[  52.610000]    input device check on 
 +[  52.620000]    Actions configured 
 +[  52.700000] Mirror/redirect action on 
 +</code> 
 +</p> 
 +</HTML>
===== Basic configuration ===== ===== Basic configuration =====
-> [[doc:howto:basic.config|Basic configuration]] After flashing, proceed with this.\\ -> [[doc:howto:basic.config|Basic configuration]] After flashing, proceed with this.\\
Line 529: Line 814:
---- ----
  * [[toh:d-link|D-Link]] [[toh:categorymodel|CategoryModel]] [[toh:categorynicfe4x1|100MB Network with 4x1 ports]]   * [[toh:d-link|D-Link]] [[toh:categorymodel|CategoryModel]] [[toh:categorynicfe4x1|100MB Network with 4x1 ports]]
 +
 +===== Tags =====
 +----
 +{{tag>ramips rt5350 usb 32ram FastEthernet usb2.0 wlan mips32 mips }}

Back to top

toh/d-link/dir-320_revb1.1354142564.txt.bz2 · Last modified: 2012/11/28 23:42 by grumbler_eburg