OpenWrt Forum Archive

Topic: [Solved] ]Need some information and help with Chinese router

The content of this topic has been archived on 6 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello,

I bought a couple of routers from China a couple of weeks ago to be used at remote places.
I bought these because of that OpenWRT came preinstalled and I knew that this would make the router nice to work with.
Until the end of last weeks, they worked quite well but then it started to drop connection to the internal modem.

I asked the maker of the router of more information about the OpenWRT version but it was like speaking (mailing) with a wall...

So I was wondering if anyone have a clue if I can just install the newest stable version of OpenWRT and maybe get some of the errors go away.
Also, if anyone got a pointer how to solve the problem right away, I would be most pleased.

I'll link a couple of system logs with start up until crash and a kernel log.
system-log-1:
http://pastebin.com/q73bgYYk
system-log-2:
http://pastebin.com/1Ae89AEN
kernel-log:
http://pastebin.com/vyYpqnqD

EDIT: Just wanted to add that a software reboot gets the router and connection up and running again, no problem then.
EDIT 2: I've been moving around on the router and found that:
openwrt-release:
DISTRIB_ID="OpenWrt"
DISTRIB_RELEASE="Bleeding Edge"
DISTRIB_REVISION="r34076"
DISTRIB_CODENAME="barrier_breaker"
DISTRIB_TARGET="ar71xx/generic"
DISTRIB_DESCRIPTION="OpenWrt Barrier Breaker r34076"

So now I need to know which version of the generic version I need :-)

Best regards

(Last edited by solliq on 24 Jun 2014, 08:12)

Based on the logs you posted, it's a TL-MR3220:

Jun 23 10:43:05 OpenWrt kern.notice kernel: [    0.000000] Kernel command line:  board=TL-MR3220 console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd

It's a v1 model, because it uses the AR7240 (v2 uses AR9331)

Jun 23 10:43:05 OpenWrt kern.info kernel: [    0.000000] SoC: Atheros AR7240 rev 2

Basically, flashing this should work:

12.09 final:
http://downloads.openwrt.org/attitude_a … actory.bin

Latest trunk:
http://downloads.openwrt.org/snapshots/ … actory.bin

(Last edited by dabyd64 on 23 Jun 2014, 22:04)

Thanks, did not work that thing out by myself.
I just flashed in the latest version and seems to be working.
I was however unable to connect directly to the internet cause a 3G package was missing, I will try to add it then hopefully the router will be more stable then ever :-)

What package?
Please read:
http://wiki.openwrt.org/doc/recipes/3gdongle

All the packages are easily downloaded and installed with this commands (connect the router to internet first)

opkg update
opkg install comgt kmod-usb2 kmod-usb-ohci kmod-usb-serial kmod-usb-serial-option kmod-usb-serial-wwan
opkg install kmod-usb-acm usb-modeswitch usb-modeswitch-data

(Last edited by dabyd64 on 24 Jun 2014, 15:59)

I got the modem working now, needed to add the package for Sierra Modems I think the name was (Its a Ericsson modem)
Now the problem is that the modem isn't initiate at start up, and when I run:
gcom -info -d /dev/ttyACM0 or ttyACM1

I get information regarding the modem but not when I run ttyACM2.

If I run:
gcom -d /dev/ttyACM0 or ttyACM2

They modem will respond that the modem was unable to connect but after a couple of seconds the system will be connected anyway.

EDIT: It is only when I do a hard reboot this problem occurs, when I do a soft reboot and the modem has been initiated before the modem will connect directly.

(Last edited by solliq on 25 Jun 2014, 06:17)

The discussion might have continued from here.