OpenWrt Forum Archive

Topic: The TP-Link's New WR703-MR10U

The content of this topic has been archived between 6 Feb 2018 and 5 May 2018. Unfortunately there are posts – most likely complete pages – missing.

Thanks.

otlabs wrote:

No, I do not have it. I will try to create it when I have some time (maybe on this weekend).

hi to all , i need some help, i have installed generic firmware on this router, afther that cannot connect on web interface at 192.168.1.1, i have access by telnet and ssh but not web interface, someone can help to make router wake up again?

Thanks in advanced

carlostkd wrote:

hi to all , i need some help, i have installed generic firmware on this router, afther that cannot connect on web interface at 192.168.1.1, i have access by telnet and ssh but not web interface, someone can help to make router wake up again?

Thanks in advanced

The generic firmware does not include the web interface. Did you read the instructions posted here:

http://wiki.openwrt.org/doc/howto/luci.essentials

If not, try that.

carlostkd wrote:

thanks for your help, but when i try comand opkg update return this message:

root@OpenWrt:~# opkg update
Downloading http://downloads.openwrt.org/snapshots/ … ckages.gz.
wget: bad address 'downloads.openwrt.org'
Collected errors:
* opkg_download: Failed to download http://downloads.openwrt.org/snapshots/ … ckages.gz, wget returned 1.
root@OpenWrt:~#

i have antivirus disable, any sugestion? thanks

Doesn't sound like your router has a working internet connection (or lacks DNS servers to talk to). What happens if you try to ping (from the router shell) some public address (for example 8.8.8.8)? What if you try to ping by name, like google.com?

(Last edited by mroek on 30 Oct 2013, 01:45)

root@OpenWrt:~# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
ping: sendto: Network is unreachable

root@OpenWrt:~# ping www.google.com
ping: bad address 'www.google.com'
root@OpenWrt:~#


thanks again for any help

Well, it would appear that your router has no internet connection. What kind of connection do you have to your ISP? Are you sure this is set up correctly? What is the output of ifconfig? What are the contents of /tmp/resolv.conf.auto ?

root@OpenWrt:~# ifconfig
br-lan    Link encap:Ethernet  HWaddr 0C:82:68:BA:63:B0
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::e82:68ff:feba:63b0/64 Scope:Link
          inet6 addr: fd42:1a13:f18b::1/60 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:671 errors:0 dropped:0 overruns:0 frame:0
          TX packets:187 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:83336 (81.3 KiB)  TX bytes:21978 (21.4 KiB)

eth0      Link encap:Ethernet  HWaddr 0C:82:68:BA:63:B0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:671 errors:0 dropped:0 overruns:0 frame:0
          TX packets:187 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:92730 (90.5 KiB)  TX bytes:21978 (21.4 KiB)
          Interrupt:4

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:2640 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2640 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:179520 (175.3 KiB)  TX bytes:179520 (175.3 KiB)

root@OpenWrt:~#

root@OpenWrt:~# /tmp/resolv.conf.auto
-ash: /tmp/resolv.conf.auto: Permission denied
root@OpenWrt:~#

I made a set of patches to enable TP-Link TL-MR10U in Attitude Adjustment (AA):

diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 416322d..6249bb9 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -139,6 +139,7 @@ get_status_led() {
     tl-wr941nd)
         status_led="tp-link:green:system"
         ;;
+    tl-mr10u | \
     tl-wdr4300 | \
     tl-wr703n)
         status_led="tp-link:blue:system"
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/network b/target/linux/ar71xx/base-files/etc/uci-defaults/network
index 7fa219d..370908c 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/network
@@ -153,6 +153,7 @@ cap4200ag |\
 eap7660d |\
 mr600 |\
 rb-411 |\
+tl-mr10u |\
 tl-mr11u |\
 tl-mr3020 |\
 tl-mr3040 |\
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index fe7c910..8283a4f 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -108,6 +108,9 @@ tplink_board_detect() {
     "254300"*)
         model="TP-Link TL-WR2543N/ND"
         ;;
+    "100101"*)
+        model="TP-Link TL-MR10U"
+        ;;
     "110101"*)
         model="TP-Link TL-MR11U"
         ;;
@@ -381,6 +384,9 @@ ar71xx_board_detect() {
     *"TL-WR703N v1")
         name="tl-wr703n"
         ;;
+    *"TL-MR10U")
+        name="tl-mr10u"
+        ;;
     *"TL-MR11U")
         name="tl-mr11u"
         ;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 49b1de9..486d36b 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -147,6 +147,7 @@ platform_check_image() {
         platform_check_image_openmesh "$magic_long" "$1" && return 0
         return 1
         ;;
+    tl-mr10u | \
     tl-mr11u | \
     tl-mr3020 | \
     tl-mr3040 | \
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr703n.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr703n.c
index 90342e0..6f370db 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr703n.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr703n.c
@@ -1,5 +1,5 @@
 /*
- *  TP-LINK TL-WR703N board support
+ *  TP-LINK TL-WR703N/TL-MR10U board support
  *
  *  Copyright (C) 2011 dongyuqi <729650915@qq.com>
  *  Copyright (C) 2011-2012 Gabor Juhos <juhosg@openwrt.org>
@@ -26,6 +26,8 @@
 
 #define TL_WR703N_GPIO_USB_POWER    8
 
+#define TL_WR10U_GPIO_USB_POWER        18
+
 #define TL_WR703N_KEYS_POLL_INTERVAL    20    /* msecs */
 #define TL_WR703N_KEYS_DEBOUNCE_INTERVAL    (3 * TL_WR703N_KEYS_POLL_INTERVAL)
 
@@ -57,7 +59,7 @@ static struct gpio_keys_button tl_wr703n_gpio_keys[] __initdata = {
     }
 };
 
-static void __init tl_wr703n_setup(void)
+static void __init common_setup(unsigned usb_power_gpio)
 {
     u8 *mac = (u8 *) KSEG1ADDR(0x1f01fc00);
     u8 *ee = (u8 *) KSEG1ADDR(0x1fff1000);
@@ -72,7 +74,7 @@ static void __init tl_wr703n_setup(void)
                     ARRAY_SIZE(tl_wr703n_gpio_keys),
                     tl_wr703n_gpio_keys);
 
-    gpio_request_one(TL_WR703N_GPIO_USB_POWER,
+    gpio_request_one(usb_power_gpio,
              GPIOF_OUT_INIT_HIGH | GPIOF_EXPORT_DIR_FIXED,
              "USB power");
     ath79_register_usb();
@@ -85,5 +87,18 @@ static void __init tl_wr703n_setup(void)
     ath79_register_wmac(ee, mac);
 }
 
+static void __init tl_mr10u_setup(void)
+{
+    common_setup(TL_MR10U_GPIO_USB_POWER);
+}
+
+MIPS_MACHINE(ATH79_MACH_TL_MR10U, "TL-MR10U", "TP-LINK TL-MR10U",
+         tl_mr10u_setup);
+
+static void __init tl_wr703n_setup(void)
+{
+    common_setup(TL_WR703N_GPIO_USB_POWER);
+}
+
 MIPS_MACHINE(ATH79_MACH_TL_WR703N, "TL-WR703N", "TP-LINK TL-WR703N v1",
          tl_wr703n_setup);
diff --git a/target/linux/ar71xx/generic/profiles/tp-link.mk b/target/linux/ar71xx/generic/profiles/tp-link.mk
index 07d7059..53a5fc8 100644
--- a/target/linux/ar71xx/generic/profiles/tp-link.mk
+++ b/target/linux/ar71xx/generic/profiles/tp-link.mk
@@ -5,6 +5,17 @@
 # See /LICENSE for more information.
 #
 
+define Profile/TLMR10U
+    NAME:=TP-LINK TL-MR10U
+    PACKAGES:=kmod-usb-core kmod-usb2
+endef
+
+define Profile/TLMR10U/Description
+    Package set optimized for the TP-LINK TL-MR10U.
+endef
+$(eval $(call Profile,TLMR10U))
+
+
 define Profile/TLMR11U
     NAME:=TP-LINK TL-MR11U
     PACKAGES:=kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
index 9ebe486..fe638c2 100644
--- a/target/linux/ar71xx/image/Makefile
+++ b/target/linux/ar71xx/image/Makefile
@@ -872,6 +872,7 @@ $(eval $(call SingleProfile,TPLINK,$(fs_64kraw),TLWR941NV3,tl-wr941nd-v3,TL-WR94
 $(eval $(call SingleProfile,TPLINK,$(fs_64kraw),TLWR941NV4,tl-wr941nd-v4,TL-WR741ND,ttyS0,115200,0x09410004,1,4M))
 $(eval $(call SingleProfile,TPLINK,$(fs_64kraw),TLWR1043,tl-wr1043nd-v1,TL-WR1043ND,ttyS0,115200,0x10430001,1,8M))
 
+$(eval $(call SingleProfile,TPLINK-LZMA,$(fs_64kraw),TLMR10U,tl-mr10u-v1,TL-MR10U,ttyATH0,115200,0x00100101,1,4Mlzma))
 $(eval $(call SingleProfile,TPLINK-LZMA,$(fs_64kraw),TLMR11U,tl-mr11u-v1,TL-MR11U,ttyATH0,115200,0x00110101,1,4Mlzma))
 $(eval $(call SingleProfile,TPLINK-LZMA,$(fs_64kraw),TLMR3020,tl-mr3020-v1,TL-MR3020,ttyATH0,115200,0x30200001,1,4Mlzma))
 $(eval $(call SingleProfile,TPLINK-LZMA,$(fs_64kraw),TLMR3040,tl-mr3040-v1,TL-MR3040,ttyATH0,115200,0x30400001,1,4Mlzma))
diff --git a/target/linux/ar71xx/patches-3.3/660-MIPS-add-tl-mr10u-support.patch b/target/linux/ar71xx/patches-3.3/660-MIPS-add-tl-mr10u-support.patch
new file mode 100644
index 0000000..73abc84
--- /dev/null
+++ b/target/linux/ar71xx/patches-3.3/660-MIPS-add-tl-mr10u-support.patch
@@ -0,0 +1,21 @@
+--- a/arch/mips/ath79/Kconfig
++++ b/arch/mips/ath79/Kconfig
+@@ -491,7 +491,7 @@ config ATH79_MACH_TL_WDR4300
+     select ATH79_DEV_WMAC
+ 
+ config ATH79_MACH_TL_WR703N
+-    bool "TP-LINK TL-WR703N support"
++    bool "TP-LINK TL-WR703N/TL-MR10U support"
+     select SOC_AR933X
+     select ATH79_DEV_ETH
+     select ATH79_DEV_GPIO_BUTTONS
+--- a/arch/mips/ath79/machtypes.h
++++ b/arch/mips/ath79/machtypes.h
+@@ -71,6 +71,7 @@ enum ath79_mach_type {
+     ATH79_MACH_TEW_632BRP,        /* TRENDnet TEW-632BRP */
+     ATH79_MACH_TEW_673GRU,        /* TRENDnet TEW-673GRU */
+     ATH79_MACH_TEW_712BR,        /* TRENDnet TEW-712BR */
++    ATH79_MACH_TL_MR10U,        /* TP-LINK TL-MR10U */
+     ATH79_MACH_TL_MR11U,        /* TP-LINK TL-MR11U */
+     ATH79_MACH_TL_MR3020,        /* TP-LINK TL-MR3020 */
+     ATH79_MACH_TL_MR3040,        /* TP-LINK TL-MR3040 */
diff --git a/tools/firmware-utils/src/mktplinkfw.c b/tools/firmware-utils/src/mktplinkfw.c
index 2be6335..27ed826 100644
--- a/tools/firmware-utils/src/mktplinkfw.c
+++ b/tools/firmware-utils/src/mktplinkfw.c
@@ -30,6 +30,7 @@
 #define ALIGN(x,a) ({ typeof(a) __a = (a); (((x) + __a - 1) & ~(__a - 1)); })
 
 #define HEADER_VERSION_V1    0x01000000
+#define HWID_TL_MR10U_V1    0x00101001
 #define HWID_TL_MR3020_V1    0x30200001
 #define HWID_TL_MR3220_V1    0x32200001
 #define HWID_TL_MR3420_V1    0x34200001
@@ -179,6 +180,11 @@ static struct flash_layout layouts[] = {
 
 static struct board_info boards[] = {
     {
+        .id        = "TL-MR10Uv1",
+        .hw_id        = HWID_TL_MR10U_V1,
+        .hw_rev        = 1,
+        .layout_id    = "4Mlzma",
+    }, {
         .id        = "TL-MR3020v1",
         .hw_id        = HWID_TL_MR3020_V1,
         .hw_rev        = 1,

You can get this patch set from http://pastebin.com/vEAdKW6E

I had no time to test it on my unit, so use it at your own risk.

(Last edited by otlabs on 30 Oct 2013, 15:43)

Test your luck with these Attitude Adjustment (AA) images (I just build all files, have not tested them, use at your own risk):

openwrt-ar71xx-generic-tl-mr10u-v1-squashfs-factory.bin (3.8 MB)
https://mega.co.nz/#!ZZBC3Abb!EaRhFzF18 … oXAOBwg2uk

openwrt-ar71xx-generic-tl-mr10u-v1-squashfs-sysupgrade.bin (2.4 MB)
https://mega.co.nz/#!lVRG1KBK!csODtHRU1 … Q773FrWdZU

AA (Folder Link, all images and packages)
https://mega.co.nz/#F!xcRgwLCI!cq_iNyp8dQEdtO-kTqATBg

(Last edited by otlabs on 30 Oct 2013, 15:42)

thanks in advanced, but who can i install this pacage in router?

carlostkd wrote:

thanks in advanced, but who can i install this pacage in router?

That's not a package, it's a full firmware.

No offence, but you seem to lack even a basic understanding of how all this works, so I think it would be better if you stated what you are actually trying to achieve here, and also why you decided to try OpenWrt in the first place.

Your router has only one LAN interface (I didn't realize that until you posted your ifconfig yesterday), so you need to outline how you have connected this in your network. Do you already have a router on your network?

Oh, and btw, when I asked for the *contents* of /tmp/resolv.conf.auto you obviously need to print the contents of the file (e.g. using cat), not trying to *run* the file (it isnæt an executable). However, no need to bother with this now.

hanks for all help again.

so... for first time login in this router, i have changed my ip to a static ip 192.168.1.2 afther that i see a new network wireless avaiable login in web interface ok, but all in chinese, so whit google translate help i have in web interface reflash firmware to a generic firmware, afther that cannot access web interface and change my ip to a static ip like a first time cannot solve problem because i dont see a new network again like a first time.

some help i apreciate very well

carlostkd wrote:

hanks for all help again.

so... for first time login in this router, i have changed my ip to a static ip 192.168.1.2 afther that i see a new network wireless avaiable login in web interface ok, but all in chinese, so whit google translate help i have in web interface reflash firmware to a generic firmware, afther that cannot access web interface and change my ip to a static ip like a first time cannot solve problem because i dont see a new network again like a first time.

some help i apreciate very well

You still failed to state any information about what you plan to use this device for, and also you have said nothing about how it is currently connected? Is it connected to a switch in your network, or is it connected directly to your computer?

This thread might help you:
https://forum.openwrt.org/viewtopic.php?id=36777

(Last edited by mroek on 30 Oct 2013, 11:23)

Can anyone help?
So OK, it's my first linux experience.. I've got the device, installed OpenWRT (using step by step manual), connected it to my wi-fi, and tried to install luci - and just failed.. "No space left on device" it said..
OK, Reseted to deafult (mtd -r erase rootfs_data)
reinstalled OpenWRT - tried one more time.. All the same.. Any ideas, what's the problem and how to fix it?
I didn't want much of the device - only router, runing GUI, and I wasn't so lucky to get it..
That's what I see before installing luci:

 
-----------------------------------------------------
root@OpenWrt:~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
rootfs                     832               208       624   25% /
/dev/root                2048            2048         0  100% /rom
tmpfs                      14464          52     14412    0% /tmp
/dev/mtdblock3       832             208       624   25% /overlay
overlayfs:/overlay   832             208       624   25% /
tmpfs                      512                 0       512    0% /dev

That's what happens, when i try to instal luci:

Downloading [url]http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/uhttpd_[/url]                                                                             2013-09-13-8eb20e0aad7412468975b2c9ce7e374ea3084e42_ar71xx.ipk.
Installing uhttpd-mod-ubus (2013-09-13-8eb20e0aad7412468975b2c9ce7e374ea3084e42)                                                                              to root...
Downloading [url]http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/uhttpd-[/url]                                                                             mod-ubus_2013-09-13-8eb20e0aad7412468975b2c9ce7e374ea3084e42_ar71xx.ipk.
Installing luci-mod-admin-full (svn-r9932-1) to root...
Downloading [url]http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/luci-mo[/url]                                                                             d-admin-full_svn-r9932-1_ar71xx.ipk.
Installing luci-mod-admin-core (svn-r9932-1) to root...
Downloading [url]http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/luci-mod-admin-core_svn-r9932-1_ar71xx.ipk.[/url]
Installing luci-lib-web (svn-r9932-1) to root...
Downloading [url]http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/luci-lib-web_svn-r9932-1_ar71xx.ipk.[/url]
Installing luci-lib-core (svn-r9932-1) to root...
Downloading [url]http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/luci-lib-core_svn-r9932-1_ar71xx.ipk.[/url]
Installing lua (5.1.5-1) to root...
Downloading [url]http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/lua_5.1.5-1_ar71xx.ipk.[/url]
Installing liblua (5.1.5-1) to root...
Downloading [url]http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/liblua_5.1.5-1_ar71xx.ipk.[/url]
Installing libuci-lua (2013-10-15.1-1) to root...
Downloading [url]http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/libuci-lua_2013-10-15.1-1_ar71xx.ipk.[/url]
Installing libubus-lua (2013-09-29-6ae17d0298a8f1c24f16a68c8d1884091fb5c39f) to root...
Downloading [url]http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/libubus-lua_2013-09-29-6ae17d0298a8f1c24f16a68c8d1884091fb5c39f_ar71xx.ipk.[/url]
Installing luci-lib-sys (svn-r9932-1) to root...
Downloading [url]http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/luci-lib-sys_svn-r9932-1_ar71xx.ipk.[/url]
Installing luci-lib-nixio (svn-r9932-1) to root...
Downloading [url]http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/luci-lib-nixio_svn-r9932-1_ar71xx.ipk.[/url]
Installing luci-sgi-cgi (svn-r9932-1) to root...
Downloading [url]http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/luci-sgi-cgi_svn-r9932-1_ar71xx.ipk.[/url]
Installing luci-proto-core (svn-r9932-1) to root...
Downloading [url]http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/luci-proto-core_svn-r9932-1_ar71xx.ipk.[/url]
Installing luci-i18n-english (svn-r9932-1) to root...
Downloading [url]http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/luci-i18n-english_svn-r9932-1_ar71xx.ipk.[/url]
Installing luci-lib-ipkg (svn-r9932-1) to root...
Downloading [url]http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/luci-lib-ipkg_svn-r9932-1_ar71xx.ipk.[/url]
Installing luci-theme-bootstrap (svn-r9932-1) to root...
Downloading [url]http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/luci-theme-bootstrap_svn-r9932-1_ar71xx.ipk.[/url]
Installing luci-theme-base (svn-r9932-1) to root...
Downloading [url]http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/luci-theme-base_svn-r9932-1_ar71xx.ipk.[/url]
Installing luci-app-firewall (svn-r9932-1) to root...
Downloading [url]http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/luci-app-firewall_svn-r9932-1_ar71xx.ipk.[/url]
Configuring luci-lib-sys.
Configuring liblua.
Configuring libuci-lua.
Configuring lua.
Configuring libubus-lua.
Configuring luci-lib-core.
Configuring luci-lib-nixio.
Configuring luci-sgi-cgi.
Configuring luci-lib-web.
Configuring luci-proto-core.
Configuring luci-i18n-english.
uci: I/O error
Configuring luci-mod-admin-core.
ln: /etc/rc.d/S05luci_fixtime: No space left on device
ln: /etc/rc.d/K95luci_fixtime: No space left on device
ln: /etc/rc.d/S59luci_dhcp_migrate: No space left on device
Configuring luci-theme-base.
Configuring luci-theme-bootstrap.
uci: I/O error
Configuring luci-lib-ipkg.
Configuring luci-mod-admin-full.
Configuring uhttpd.
Configuring uhttpd-mod-ubus.
Collected errors:
 * wfopen: /usr/lib/lua/luci/model/cbi/firewall/rule-details.lua: No space left on device.
 * wfopen: /usr/lib/lua/luci/model/cbi/firewall/custom.lua: No space left on device.
 * extract_archive: Cannot make dir /usr/lib/lua/luci/view/firewall/: No space left on device.
 * wfopen: /usr/lib/lua/luci/view/firewall/cbi_addforward.htm: No such file or directory.
 * wfopen: /usr/lib/lua/luci/view/firewall/cbi_addsnat.htm: No such file or directory.
 * wfopen: /usr/lib/lua/luci/view/firewall/cbi_addrule.htm: No such file or directory.
 * wfopen: /usr/lib/lua/luci/i18n/firewall.no.lmo: No space left on device.
 * wfopen: /usr/lib/lua/luci/i18n/firewall.el.lmo: No space left on device.
 * wfopen: /usr/lib/lua/luci/i18n/firewall.uk.lmo: No space left on device.
 * wfopen: /usr/lib/lua/luci/i18n/firewall.es.lmo: No space left on device.
 * wfopen: /usr/lib/lua/luci/i18n/firewall.zh-cn.lmo: No space left on device.
 * wfopen: /usr/lib/lua/luci/i18n/firewall.pl.lmo: No space left on device.
 * wfopen: /usr/lib/lua/luci/i18n/firewall.pt.lmo: No space left on device.
 * wfopen: /usr/lib/lua/luci/i18n/firewall.fr.lmo: No space left on device.
 * wfopen: /usr/lib/lua/luci/i18n/firewall.de.lmo: No space left on device.
 * wfopen: /usr/lib/lua/luci/i18n/firewall.cs.lmo: No space left on device.
 * wfopen: /usr/lib/lua/luci/i18n/firewall.ja.lmo: No space left on device.
 * wfopen: /usr/lib/lua/luci/i18n/firewall.ro.lmo: No space left on device.
 * wfopen: /usr/lib/lua/luci/i18n/firewall.hu.lmo: No space left on device.
 * wfopen: /usr/lib/lua/luci/i18n/firewall.pt-br.lmo: No space left on device.
 * wfopen: /usr/lib/lua/luci/i18n/firewall.ca.lmo: No space left on device.
 * wfopen: /usr/lib/lua/luci/i18n/firewall.it.lmo: No space left on device.
 * wfopen: /usr/lib/lua/luci/i18n/firewall.vi.lmo: No space left on device.
 * wfopen: /usr/lib/lua/luci/i18n/firewall.ru.lmo: No space left on device.
 * wfopen: /usr/lib/lua/luci/tools/firewall.lua: No space left on device.
 * wfopen: /usr/lib/lua/luci/controller/firewall.lua: No space left on device.
 * pkg_write_filelist: Failed to open //usr/lib/opkg/info/luci-app-firewall.list: No space left on device.
 * opkg_install_pkg: Failed to extract data files for luci-app-firewall. Package debris may remain!

And the result:

root@OpenWrt:~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
rootfs                     832       768        64  92% /
/dev/root                 2048      2048         0 100% /rom
tmpfs                    14464       576     13888   4% /tmp
/dev/mtdblock3             832       768        64  92% /overlay
overlayfs:/overlay         832       768        64  92% /
tmpfs                      512         0       512   0% /dev
root@OpenWrt:~#

I don't think there is enough space to install Luci on this device, at least not without creating a custom build that has had other stuff removed (just a speculation, might not be doable). The following guide seems to indicate that using extroot might be a viable option:

http://cmikavac.net/2012/06/03/tp-link- … tion-tips/

However, for a linux beginner it might not be advisable to try that.

mroek wrote:

I don't think there is enough space to install Luci on this device, at least not without creating a custom build that has had other stuff removed (just a speculation, might not be doable). The following guide seems to indicate that using extroot might be a viable option:

http://cmikavac.net/2012/06/03/tp-link- … tion-tips/

However, for a linux beginner it might not be advisable to try that.

I used the instruction from here - http://wiki.xinchejian.com/wiki/Install … ink_WR703N
The device is almost the same, it seems, most people succsessfuly installed luci to that kind of device.. Maybe something has changed? extroot won't be so good - my router should be transportable )

sargol wrote:
mroek wrote:

I don't think there is enough space to install Luci on this device, at least not without creating a custom build that has had other stuff removed (just a speculation, might not be doable). The following guide seems to indicate that using extroot might be a viable option:

http://cmikavac.net/2012/06/03/tp-link- … tion-tips/

However, for a linux beginner it might not be advisable to try that.

I used the instruction from here - http://wiki.xinchejian.com/wiki/Install … ink_WR703N
The device is almost the same, it seems, most people succsessfuly installed luci to that kind of device.. Maybe something has changed? extroot won't be so good - my router should be transportable )

That guide was written when Attitude Adjustment was the trunk (judging from the screenshot that shows the OpenWrt text banner), so it is possible that the new trunk (Barrier Breaker) eats more space, thus leaving too little to install Luci. Or possibly that Luci itself has grown since then, I don't really know.

mroek wrote:
sargol wrote:
mroek wrote:

I don't think there is enough space to install Luci on this device, at least not without creating a custom build that has had other stuff removed (just a speculation, might not be doable). The following guide seems to indicate that using extroot might be a viable option:

http://cmikavac.net/2012/06/03/tp-link- … tion-tips/

However, for a linux beginner it might not be advisable to try that.

I used the instruction from here - http://wiki.xinchejian.com/wiki/Install … ink_WR703N
The device is almost the same, it seems, most people succsessfuly installed luci to that kind of device.. Maybe something has changed? extroot won't be so good - my router should be transportable )

That guide was written when Attitude Adjustment was the trunk (judging from the screenshot that shows the OpenWrt text banner), so it is possible that the new trunk (Barrier Breaker) eats more space, thus leaving too little to install Luci. Or possibly that Luci itself has grown since then, I don't really know.

And no way to get older version, right?

sargol wrote:
mroek wrote:
sargol wrote:

I used the instruction from here - http://wiki.xinchejian.com/wiki/Install … ink_WR703N
The device is almost the same, it seems, most people succsessfuly installed luci to that kind of device.. Maybe something has changed? extroot won't be so good - my router should be transportable )

That guide was written when Attitude Adjustment was the trunk (judging from the screenshot that shows the OpenWrt text banner), so it is possible that the new trunk (Barrier Breaker) eats more space, thus leaving too little to install Luci. Or possibly that Luci itself has grown since then, I don't really know.

And no way to get older version, right?

For the WR703, yes. The MR10U seems to be supported only in trunk, so no.

mroek wrote:
sargol wrote:
mroek wrote:

That guide was written when Attitude Adjustment was the trunk (judging from the screenshot that shows the OpenWrt text banner), so it is possible that the new trunk (Barrier Breaker) eats more space, thus leaving too little to install Luci. Or possibly that Luci itself has grown since then, I don't really know.

And no way to get older version, right?

For the WR703, yes. The MR10U seems to be supported only in trunk, so no.

And if i try WR703 firmware it will brick my device? Even considering they are very similar..
I don't even know what's better - to brick and forget about it, or continue to wait and hope..

sargol wrote:

And if i try WR703 firmware it will brick my device? Even considering they are very similar..
I don't even know what's better - to brick and forget about it, or continue to wait and hope..

Why not to try firmware from my post #135 (https://forum.openwrt.org/viewtopic.php … 41#p216141)? You will test Attitude Adjustment firmware specially made for TL-MR10U (and untested till now) ;-)

otlabs wrote:
sargol wrote:

And if i try WR703 firmware it will brick my device? Even considering they are very similar..
I don't even know what's better - to brick and forget about it, or continue to wait and hope..

Why not to try firmware from my post #135 (https://forum.openwrt.org/viewtopic.php … 41#p216141)? You will test Attitude Adjustment firmware specially made for TL-MR10U (and untested till now) ;-)

Is luci already onboard? Cause I have no idea, what this AA is )
Or enough space for install?

(Last edited by sargol on 30 Oct 2013, 15:55)

Nope, luci is not installed by default. But you will have a chance to figure out does Attitude Adjustment (previous firmware version) actually occupy less space and you can install luci.

otlabs wrote:

Nope, luci is not installed by default. But you will have a chance to figure out does Attitude Adjustment (previous firmware version) actually occupy less space and you can install luci.

OK..
Let's ROCK! smile

UPD:
Done.. but...

root@OpenWrt:~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
rootfs                    1472       216      1256  15% /
/dev/root                 1536      1536         0 100% /rom
tmpfs                    14664        76     14588   1% /tmp
tmpfs                      512         0       512   0% /dev
/dev/mtdblock3            1472       216      1256  15% /overlay
overlayfs:/overlay        1472       216      1256  15% /
root@OpenWrt:~# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: seq=0 ttl=49 time=52.587 ms
64 bytes from 8.8.8.8: seq=1 ttl=49 time=51.274 ms
64 bytes from 8.8.8.8: seq=2 ttl=49 time=51.045 ms
^Z[1]+  Stopped                    ping 8.8.8.8
root@OpenWrt:~#  opkg update
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09.1/ar71xx/generic/packages/Packages.gz.
wget: server returned error: HTTP/1.1 404 Not Found
Collected errors:
 * opkg_download: Failed to download http://downloads.openwrt.org/attitude_adjustment/12.09.1/ar71xx/generic/packages/Packages.gz, wget returned 1.
root@OpenWrt:~# opkg install luci
Unknown package 'luci'.
Collected errors:
 * opkg_install_cmd: Cannot install package luci.
root@OpenWrt:~# opkg install luci
Unknown package 'luci'.
Collected errors:
 * opkg_install_cmd: Cannot install package luci.

It seems it should be http://downloads.openwrt.org/attitude_adjustment/12.09-rc2/ar71xx/generic/packages/ right?
But how to fix it?



!!!!!!!!!!!UPD2:
HA! I did it smile
Thanx to You and to google!

root@OpenWrt:/tmp/opkg-lists# cd /etc/
root@OpenWrt:/etc# vi opkg.conf
src/gz attitude_adjustment http://downloads.openwrt.org/attitude_adjustment/12.09-rc2/ar71xx/generic/packages
dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
root@OpenWrt:/etc# opkg update
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09-rc2/ar71xx/generic/packages/Packages.gz.
Updated list of available packages in /var/opkg-lists/attitude_adjustment.
root@OpenWrt:/etc# opkg install luci
Installing luci (0.11.1-1) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09-rc2/ar71xx/generic/packages/luci_0.11.1-1_ar71xx.ipk.
Installing uhttpd (2012-10-30-e57bf6d8bfa465a50eea2c30269acdfe751a46fd) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09-rc2/ar71xx/generic/packages/uhttpd_2012-10-30-e57bf6d8bfa465a50eea2c30269acdfe751a46fd_ar71xx.ipk.
Installing luci-mod-admin-full (0.11.1-1) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09-rc2/ar71xx/generic/packages/luci-mod-admin-full_0.11.1-1_ar71xx.ipk.
Installing luci-mod-admin-core (0.11.1-1) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09-rc2/ar71xx/generic/packages/luci-mod-admin-core_0.11.1-1_ar71xx.ipk.
Installing luci-lib-web (0.11.1-1) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09-rc2/ar71xx/generic/packages/luci-lib-web_0.11.1-1_ar71xx.ipk.
Installing luci-lib-core (0.11.1-1) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09-rc2/ar71xx/generic/packages/luci-lib-core_0.11.1-1_ar71xx.ipk.
Installing lua (5.1.4-8) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09-rc2/ar71xx/generic/packages/lua_5.1.4-8_ar71xx.ipk.
Installing liblua (5.1.4-8) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09-rc2/ar71xx/generic/packages/liblua_5.1.4-8_ar71xx.ipk.
Installing libuci-lua (2013-01-04.1-1) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09-rc2/ar71xx/generic/packages/libuci-lua_2013-01-04.1-1_ar71xx.ipk.
Installing libubus-lua (2013-01-13-bf566871bd6a633e4504c60c6fc55b2a97305a50) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09-rc2/ar71xx/generic/packages/libubus-lua_2013-01-13-bf566871bd6a633e4504c60c6fc55b2a97305a50_ar71xx.ipk.
Installing luci-lib-sys (0.11.1-1) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09-rc2/ar71xx/generic/packages/luci-lib-sys_0.11.1-1_ar71xx.ipk.
Installing luci-lib-nixio (0.11.1-1) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09-rc2/ar71xx/generic/packages/luci-lib-nixio_0.11.1-1_ar71xx.ipk.
Installing luci-sgi-cgi (0.11.1-1) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09-rc2/ar71xx/generic/packages/luci-sgi-cgi_0.11.1-1_ar71xx.ipk.
Installing luci-proto-core (0.11.1-1) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09-rc2/ar71xx/generic/packages/luci-proto-core_0.11.1-1_ar71xx.ipk.
Installing luci-i18n-english (0.11.1-1) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09-rc2/ar71xx/generic/packages/luci-i18n-english_0.11.1-1_ar71xx.ipk.
Installing luci-lib-ipkg (0.11.1-1) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09-rc2/ar71xx/generic/packages/luci-lib-ipkg_0.11.1-1_ar71xx.ipk.
Installing luci-theme-openwrt (0.11.1-1) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09-rc2/ar71xx/generic/packages/luci-theme-openwrt_0.11.1-1_ar71xx.ipk.
Installing luci-theme-base (0.11.1-1) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09-rc2/ar71xx/generic/packages/luci-theme-base_0.11.1-1_ar71xx.ipk.
Installing luci-app-firewall (0.11.1-1) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09-rc2/ar71xx/generic/packages/luci-app-firewall_0.11.1-1_ar71xx.ipk.
Installing luci-proto-ppp (0.11.1-1) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09-rc2/ar71xx/generic/packages/luci-proto-ppp_0.11.1-1_ar71xx.ipk.
Installing libiwinfo-lua (36) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09-rc2/ar71xx/generic/packages/libiwinfo-lua_36_ar71xx.ipk.
Installing libiwinfo (36) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09-rc2/ar71xx/generic/packages/libiwinfo_36_ar71xx.ipk.
Configuring luci-lib-sys.
Configuring liblua.
Configuring libuci-lua.
Configuring lua.
Configuring libubus-lua.
Configuring luci-lib-core.
Configuring luci-lib-nixio.
Configuring luci-sgi-cgi.
Configuring luci-lib-web.
Configuring luci-proto-core.
Configuring luci-i18n-english.
Configuring luci-mod-admin-core.
Configuring libiwinfo.
Configuring libiwinfo-lua.
Configuring luci-theme-base.
Configuring luci-theme-openwrt.
Configuring luci-app-firewall.
Configuring luci-lib-ipkg.
Configuring luci-proto-ppp.
Configuring luci-mod-admin-full.
Configuring uhttpd.
Configuring luci.
root@OpenWrt:/etc# /etc/init.d/uhttpd enable
root@OpenWrt:/etc# /etc/init.d/uhttpd start
root@OpenWrt:/etc#

IT REALLY WORKS! smile

I'm happy now..

P.S. So many achievement for the second day, after I saw LINUX for the first time.. A little bit proud about myself wink

(Last edited by sargol on 30 Oct 2013, 17:26)