follow me

TP-Link TL-MR10UをOpenWRT化する

TP-Link TL-MR10UをOpenWRT化します。
おそらく現時点では戻せないと思われるので、後悔しない方以外は諦めてください。(tftpでの復旧が可能か不明です。)

ちなみに純正ファームではこんな感じのインタフェースになっています。
中国語しかありません。(英語すら選べないようです。)


OpenWRTのイメージは、本家のtrunkから取得することになります。
http://wiki.openwrt.org/toh/tp-link/tl-mr10u
まだまだ安定版は先と思われるので、自分でビルドするつもりで居た方が良さそうです。(バイナリもダウンロードは可能です)

ダウンロードできるopenwrt-ar71xx-generic-tl-mr10u-v1-squashfs-factory.binは、WebインタフェースからOpenWRT化可能なイメージになります。
tftp用は用意されていないので、まだ仕様が明らかになっていないと思われます。

では、OpenWRT化の手順ですが、管理画面のメニューから系统工具、软件升级と選択する。
リンク先は、http://192.168.1.1/userRpm/SoftwareUpgradeRpm.htm となっている筈です。


あとは入手しておいたファームウェアのイメージを選択し、升级を押すだけです。
再起動後は、OpenWRTが起動する訳ですが、有線Ethernetがlanとして割り当てられDHCPサーバが稼動しています。
無線インタフェースは無効化されている為、有線で接続する必要があります。

BuffaloなどOpenWRT化と異なり、このイメージにはWeb管理画面は導入されていない為、telnetで入るしか操作する方法はありません。
設定ファイルを直接いじるしか設定を変える方法が無いので、OpenWRTのマニュアルを事前に用意しておくと便利でしょう。

ちなみにFlashの空き容量は期待しない方が吉。
メモリも小さいので幻滅しない様、小型のOpenWRT機が入手できるぐらいの気持ちに留めた方が精神的ダメージは少ないです。

せっかくなので起動時のログを貼り付けて起きます。
root@OpenWrt:/# dmesg
[    0.000000] Linux version 3.10.15 (fnord@tschunk) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2013.05 r38461) ) #1 Sun Oct 20 06:45:25 UTC 2013
[    0.000000] MyLoader: sysp=fa89c804, boardp=69cd3b24, parts=31a09c82
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR9330 rev 1
[    0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
[    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 80322b60, node_mem_map 81000000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache 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=TL-MR10U console=ttyATH0,115200 rootfstype=squashfs,jffs2 noinitrd
[    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] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 28716k/32768k available (2312k kernel code, 4052k reserved, 604k data, 216k init, 0k highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.080000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[    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 TP-LINK TL-MR10U
[    0.350000] bio: create slab  at 0
[    0.360000] Switching to clocksource MIPS
[    0.360000] NET: Registered protocol family 2
[    0.370000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.370000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.370000] TCP: Hash tables configured (established 512 bind 512)
[    0.380000] TCP: reno registered
[    0.380000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.390000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.400000] NET: Registered protocol family 1
[    0.400000] PCI: CLS 0 bytes, default 32
[    0.420000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.420000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.430000] msgmni has been set to 56
[    0.440000] io scheduler noop registered
[    0.440000] io scheduler deadline registered (default)
[    0.440000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.460000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11) is a AR933X UART
[    0.460000] console [ttyATH0] enabled, bootconsole disabled
[    0.480000] ath79-spi ath79-spi: master is unqueued, this is deprecated
[    0.480000] m25p80 spi0.0: found s25sl032p, expected m25p80
[    0.490000] m25p80 spi0.0: s25sl032p (4096 Kbytes)
[    0.490000] 5 tp-link partitions found on MTD device spi0.0
[    0.500000] Creating 5 MTD partitions on "spi0.0":
[    0.500000] 0x000000000000-0x000000020000 : "u-boot"
[    0.510000] 0x000000020000-0x000000123508 : "kernel"
[    0.510000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.530000] 0x000000123508-0x0000003f0000 : "rootfs"
[    0.530000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.550000] mtd: partition "rootfs" set to be root filesystem
[    0.550000] 1 squashfs-split partitions found on MTD device rootfs
[    0.560000] 0x0000002e0000-0x0000003f0000 : "rootfs_data"
[    0.560000] 0x0000003f0000-0x000000400000 : "art"
[    0.570000] 0x000000020000-0x0000003f0000 : "firmware"
[    0.590000] libphy: ag71xx_mdio: probed
[    0.590000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[    1.150000] ag71xx ag71xx.0 eth0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
[    1.160000] TCP: cubic registered
[    1.160000] NET: Registered protocol family 17
[    1.160000] Bridge firewalling registered
[    1.170000] 8021q: 802.1Q VLAN Support v1.8
[    1.180000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    1.190000] Freeing unused kernel memory: 216K (8033a000 - 80370000)
[    4.030000] usbcore: registered new interface driver usbfs
[    4.030000] usbcore: registered new interface driver hub
[    4.040000] usbcore: registered new device driver usb
[    4.050000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.060000] ehci-platform: EHCI generic platform driver
[    4.060000] ehci-platform ehci-platform: EHCI Host Controller
[    4.070000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[    4.070000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[    4.100000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[    4.100000] hub 1-0:1.0: USB hub found
[    4.100000] hub 1-0:1.0: 1 port detected
[    4.110000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    7.730000] jffs2: notice: (325) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 13 of xref (0 dead, 2 orphan) found.
[    8.850000] NET: Registered protocol family 10
[    8.870000] nf_conntrack version 0.5.0 (452 buckets, 1808 max)
[    8.880000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    8.910000] Loading modules backported from Linux version master-2013-06-27-0-gdcfa6d5
[    8.920000] Backport generated by backports.git backports-20130617-4-ge3220f5
[    8.930000] ip_tables: (C) 2000-2006 Netfilter Core Team
[    8.980000] xt_time: kernel timezone is -0000
[    9.010000] cfg80211: Calling CRDA to update world regulatory domain
[    9.010000] cfg80211: World regulatory domain updated:
[    9.020000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    9.020000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    9.030000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    9.040000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    9.050000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    9.050000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    9.140000] PPP generic driver version 2.4.2
[    9.140000] NET: Registered protocol family 24
[    9.220000] ath: EEPROM regdomain: 0x0
[    9.220000] ath: EEPROM indicates default country code should be used
[    9.220000] ath: doing EEPROM country->regdmn map search
[    9.220000] ath: country maps to regdmn code: 0x3a
[    9.220000] ath: Country alpha2 being used: US
[    9.220000] ath: Regpair used: 0x3a
[    9.220000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[    9.240000] cfg80211: Calling CRDA for country: US
[    9.240000] cfg80211: Regulatory domain changed to country: US
[    9.250000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    9.260000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[    9.270000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[    9.270000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    9.280000] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    9.290000] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    9.300000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[    9.310000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
[   14.510000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   14.510000] device eth0 entered promiscuous mode
[   14.520000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   19.730000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   19.750000] device wlan0 entered promiscuous mode
[   19.760000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   19.780000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   19.790000] br-lan: port 2(wlan0) entered forwarding state
[   19.800000] br-lan: port 2(wlan0) entered forwarding state
[   19.810000] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   21.800000] br-lan: port 2(wlan0) entered forwarding state
TP-Link TL-MR10UをOpenWRT化する | 0 件のコメント | アカウント登録
サイト管理者はコメントに関する責任を負いません。