Thanks a lot! I already have some stuff working but I didn't have a script to detect the switch on boot! I will try to adapt your idea because I am yet to understand how UCI works therefore I will try to make it run a bash script !
Once again thanks
The content of this topic has been archived between 16 Jun 2013 and 7 May 2018. Unfortunately there are posts – most likely complete pages – missing.
Thanks a lot! I already have some stuff working but I didn't have a script to detect the switch on boot! I will try to adapt your idea because I am yet to understand how UCI works therefore I will try to make it run a bash script !
Once again thanks
Hi,
I just bought a MR3020 and installed latest using the default web interface. I opened up the case and I'm trying to connect to it through the serial port, but I'm getting no response. Here's my setup:
I'm using the Arduino USB2Serial Light Adapter: http://arduino.cc/en/Main/USBSerial
I see the device appear/disappear when I plug it in and take it out:
danwang at danwang-mbp13 in ~
? ls /dev | grep usb
cu.usbmodemfa131
tty.usbmodemfa131
I tried
screen /dev/tty.usbmodemfa131 115200
and got an empty terminal. When I type in screen, the RX LED lights up on the serial adapter, but nothing shows up. I've also tried minicom with similar results. Has anyone else had this or a similar problem?
Recently downloaded new firmware for my TP-Link TL-MR3020 from http://wiki.openwrt.org/toh/tp-link/tl- … ecommended but installation failed and now the router is out of order. Only power and WPS LEDs are on and I can't connect to the router neither by LAN nor by WiFi. Reset and powering on and off don't help.
Please advise if there are ways to restore the router.
Recently downloaded new firmware for my TP-Link TL-MR3020 from http://wiki.openwrt.org/toh/tp-link/tl- … ecommended but installation failed and now the router is out of order. Only power and WPS LEDs are on and I can't connect to the router neither by LAN nor by WiFi. Reset and powering on and off don't help.
Please advise if there are ways to restore the router.
Have u tried this :
Have u tried this :
Thank you.
I can ping and telnet the router even without Triggering via Hardware Button or via keyboard key combination in a serial console. I telnetted it several times with different commands (firstboot, mtd -r erase rootfs_data, rm -r /overlay/*) but without success. Below is the one of my tries:
Last login: Sat Jul 14 06:58:18 on ttys000
MackBook-Pro-Oleksandr:~ oleksandrkodrov$ telnet 192.168.1.1
Trying 192.168.1.1...
Connected to openwrt.lan.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.19.4 (2012-07-10 22:12:33 UTC) built-in shell (ash)
Enter 'help' for a list of built-in commands.
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
ATTITUDE ADJUSTMENT (Bleeding Edge, r32656)
-----------------------------------------------------
* 1/4 oz Vodka Pour all ingredients into mixing
* 1/4 oz Gin tin with ice, strain into glass.
* 1/4 oz Amaretto
* 1/4 oz Triple sec
* 1/4 oz Peach schnapps
* 1/4 oz Sour mix
* 1 splash Cranberry juice
-----------------------------------------------------
root@OpenWrt:/# mount_root
switching to jffs2
root@OpenWrt:/# mtd -r erase rootfs_data
Unlocking rootfs_data ...
Erasing rootfs_data ...
Rebooting ...
Please help me to asses this situation and determine whether the router is irreversibly damaged or simply my knowledges don't allow me to restore it. Thank you very much in advance.
Only power and WPS LEDs are on and I can't connect to the router neither by LAN nor by WiFi.
what you mean with "can't connect"?? i see a beautiful telnet shell, seems all working fine!
have you started with enabling wifi or installing Luci as Web GUI for example?
find everithing in the wiki:
Have u tried this :
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
ATTITUDE ADJUSTMENT (Bleeding Edge, r32656)
-----------------------------------------------------
* 1/4 oz Vodka Pour all ingredients into mixing
* 1/4 oz Gin tin with ice, strain into glass.
* 1/4 oz Amaretto
* 1/4 oz Triple sec
* 1/4 oz Peach schnapps
* 1/4 oz Sour mix
* 1 splash Cranberry juice
-----------------------------------------------------
root@OpenWrt:/# mount_root
switching to jffs2
root@OpenWrt:/# mtd -r erase rootfs_data
Unlocking rootfs_data ...
Erasing rootfs_data ...
Rebooting ...
You don't know how much i want to see this now
Have u tried this :
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
ATTITUDE ADJUSTMENT (Bleeding Edge, r32656)
-----------------------------------------------------
* 1/4 oz Vodka Pour all ingredients into mixing
* 1/4 oz Gin tin with ice, strain into glass.
* 1/4 oz Amaretto
* 1/4 oz Triple sec
* 1/4 oz Peach schnapps
* 1/4 oz Sour mix
* 1 splash Cranberry juice
-----------------------------------------------------
root@OpenWrt:/# mount_root
switching to jffs2
root@OpenWrt:/# mtd -r erase rootfs_data
Unlocking rootfs_data ...
Erasing rootfs_data ...
Rebooting ...You don't know how much i want to see this now
LoooooooooL
I have a problem with the latest 'aiccu' version 20070115-10:
From http://downloads.openwrt.org/snapshots/ … s/Packages:
Package: aiccu
Version: 20070115-10
Depends: libc, libpthread
Provides:
Source: feeds/packages/ipv6/aiccu
Section: ipv6
Status: unknown ok not-installed
Essential: no
Priority: optional
Maintainer: OpenWrt Developers Team <openwrt-devel@openwrt.org>
Architecture: x86
Installed-Size: 27112
Filename: aiccu_20070115-10_x86.ipk
Size: 27621
MD5Sum: e4c0e6ea3761e65f905026edc577fbfd
Description: SixXS Automatic IPv6 Connectivity Client Utility
Problems:
1. It now claims to depend on 'libc' and 'libpthread' only. But in fact like the former versions it continues to also depend on 'ip', 'kmod-tun' and 'kmod-sit'. So unless I install those additional packages, the latest aiccu version won't work.
2. After installation of the latest aiccu version (within the latest firmware r32689 - 14.07.2012 downloaded from /snapshots/trunk/ar71xx/) there is no start/stop script '/etc/init.d/aiccu'. Hence I can't start aiccu the common way (/etc/init.d/aiccu enable) using the uci config file /etc/config/aiccu. Instead I have to start it manually by creating a suitable config file /etc/aiccu.conf (format different from /etc/init.d/aiccu) and then typing 'aiccu start'.
Sending this bug report to openwrt-devel@openwrt.org was replied by 'If you want to post to this list, you have to subscribe before'. Don't know how to subscribe, so I post it here.
Edit1: Just created a ticket: https://dev.openwrt.org/ticket/11861
Edit2: Okay, problem 1 got resolved in r32708 (https://dev.openwrt.org/changeset/32708), but problem 2 is not a bug but now defined as 'feature' (Read https://dev.openwrt.org/ticket/11592 for background information and draw your own conclusions). :-((
(Last edited by ::1 on 14 Jul 2012, 18:45)
Try the following in /etc/hotplug.d/button/00-button. Then replace the logger lines with whatever code you want to run.
#!/bin/sh if [ $ACTION == "released" ] ; then if [ $BUTTON == "BTN_1" ] ; then logger "Slider 3G" elif [ $BUTTON == "BTN_0" ] ; then logger "Slider WISP" fi elif [ $BUTTON == "BTN_0" ] || [ $BUTTON == "BTN_1" ] ; then if grep -qe "sw1.*in hi" /sys/kernel/debug/gpio ; then if grep -qe "sw2.*in hi" /sys/kernel/debug/gpio ; then logger "Slider AP" fi fi fi
Thanks, it works and was very usefull for me as beginner.
(Last edited by Apprentice on 21 Jul 2012, 06:17)
Thanks to everybody for great support but I couldn't manage to restore my router because I'm not much expirienced in such matters. But my brother helped me and now the router is okay)
(Last edited by ????? on 18 Jul 2012, 21:35)
I'm guessing you hadn't set a ssh passwd when you telnetted in: if you don't ssh is disabled. Just an FYI if anyone else has this problem.
Hello,
i have buy a mr3020 in version 1.7 , does anyone can confirm me that the firmware upload with web gui method work fine ? because on the wiki only 1.0 1.4 and 1.6 is confirmed
does the last trunk (from today) work fine ? ethernet support ?
(Last edited by new1 on 9 Aug 2012, 08:06)
I have two mr3020, one is 1.7 another is 1.4
both working fine.
I am also build my own firmware.
of coz it has wifi and ethernet support, what kind of question is it ?
i see in this topic problem with ethernet support with certain trunk version of openwrt.
so i would know if i can upload the last trunk of openwrt : http://downloads.openwrt.org/snapshots/ … actory.bin
with the web interface (not confirmed in the wiki with 1.7 version of mr3020) ... and all work fine after first reboot ?
(i don't want to brick my new mr3020)
does anybody can confirm that openwrt trunk work with v1.7 ?
(Last edited by new1 on 9 Aug 2012, 09:27)
up
i see in this topic problem with ethernet support with certain trunk version of openwrt.
so i would know if i can upload the last trunk of openwrt : http://downloads.openwrt.org/snapshots/ … actory.bin
with the web interface (not confirmed in the wiki with 1.7 version of mr3020) ... and all work fine after first reboot ?
(i don't want to brick my new mr3020)does anybody can confirm that openwrt trunk work with v1.7 ?
That was a bug in previously trunk.
It is NOT about support problem.
If one of a MS-windows patch crash in your PC, then would you say your PC has problem to support MS-windows ?
Hah, that's funny.
In additional, trunk versions are UNtested.
If you are worry, stay in stock firmware.
For information :
trunk R33053 from today WORK great on MR3020 V1.7 (you can update the wiki)
uploaded by web interface
Good job to all dev team
For your information, the latest is r33074
but the whole r330xx has wlan bug.
If you just use AP function, you won't see the bug.
i only use lan function
about last trunk, i just download it before i post my message .. so new trunk appear few minutes after ...
but my mail i just to comfirm good working of this trunk and with using upgrade firmware by mr3020 web interface (not mtd)
(Last edited by new1 on 9 Aug 2012, 21:15)
execuse me, i want to ask something... i just buy mr3020 yesterday.
i want to make extroot to work, already flash the openwrt-ar71xx-generic-tl-mr3020-v1-jffs2-factory.bin firmware and it success...
after that i have done several thing like edit some ip and making internet connection to work,
making usb work and mount it on /mnt/usb (from /dev/sda3 )
when i try to install extroot, i've found that these 2 packages cant be installed from opkg (because it doesnt found)
block-extroot -> not found
block-hotplug -> not found
any idea?
this is my 'df'
rootfs 2880 2812 68 98% /
/dev/root 2880 2812 68 98% /
tmpfs 14580 1824 12756 13% /tmp
tmpfs 512 0 512 0% /dev
/dev/sda3 6927587 8194 6561947 0% /mnt/usb
i didn't found the /overlay because i havent installed the block-extroot right?
sorry for my bad english btw...
(Last edited by T_Ro on 17 Aug 2012, 06:14)
Study the openwrt wiki is a must for you !! http://wiki.openwrt.org/doc/start
extroot is build-in in trunk version, no more extroot hotplug packages.
root@MR3020:/# df
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 193200 8993 174446 5% /
/dev/root 2304 2304 0 100% /rom
tmpfs 14356 176 14180 1% /tmp
tmpfs 512 0 512 0% /dev
/dev/sda1 193200 8993 174446 5% /overlay
overlayfs:/overlay 193200 8993 174446 5% /
/dev/sda2 799877 61793 697925 8%
/dev/mtdblock3 384 204 180 53%
root@MR3020:/# free
total used free shared buffers
Mem: 28708 24672 4036 0 2300
-/+ buffers: 22372 6336
Swap: 28176 0 28176
root@MR3020:/#
thx for ur reply...
i see.. there is 2 main extroot as desribed in http://wiki.openwrt.org/doc/howto/extroot?s
i use the trunk mode...
ATTITUDE ADJUSTMENT (Bleeding Edge, r33181)
why in my current version of firmware doesnt show overlayfs:/overlay?!
any idea?
Can you paste the output?
now i add option is_rootfs 1 in my /etc/config/fstab and reboot now it works.... the overlayfs:/overlay show....
config global automount
option from_fstab 1
option anon_mount 1
config global autoswap
option from_fstab 1
option anon_swap 0
config mount
option target /home
option device /dev/sda1
option fstype ext4
option options rw,sync
option enabled 0
option enabled_fsck 0
config swap
option device /dev/sda2
option enabled 1
config mount
option device /dev/sda3
option target /mnt/usb
option enabled_fsck 0
option options rw,sync
option enabled 1
option is_rootfs 1
============================
now this is my df output
rootfs 6927587 8194 6561947 0% /
/dev/root 2880 2824 56 98% /rom
tmpfs 14580 80 14500 1% /tmp
tmpfs 512 0 512 0% /dev
/dev/sda3 6927587 8194 6561947 0% /overlay
overlayfs:/overlay 6927587 8194 6561947 0% /
thx u sir...
now the next step will be
tar -C /overlay -cvf - . | tar -C /mnt/usb/ -xf -
to pivot whole /overlay to my usb storage which i already mount from /dev/sda3 to /mnt/usb
im going to try in few second.............
Good stuff. When you succeed (I'm sure you will), can you add it to the wiki, or post here? THere will be others who need the info.