OpenWrt Forum Archive

Topic: Cisco Meraki MR12 Ethernet

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

a8ree wrote:

I'm sure I got 45651 from
https://github.com/riptidewave93/Openwrt-MR12-MR16

Yes, your instructions are as per what I did

I might have a go at the UI upgrade....Will post and let you know if it works!

I updated to CC final from the 45651 UI today. It works. But that I had to do it at all was a surprise.

What I tried to do is go right from Meraki to CC final in the first place, but the final command (setenv bootcmd bootm 0x9fda0000; saveenv; boot) failed with a "Bad Magic Number" error.

Rather than figuring out what that was, I just used riptide's 46561 instead and then later upgraded via the OpenWRT UI.

No doubt the first two commands and/or the final command need to be changed per the particular firmware level that you're using (one or more of the 0x numbers), but without a lot of research I would know nothing about that. Someone might want to post the updated commands though, since it's a lot easier going right to the current build than going through an intermediate one.

adamlgarrett89 wrote:

Cursor returns to beginning of the current line (not even a new line) and the TFTP server (using PumpKIN) does not show requests. If it matters, when at the ar7240> prompt the power LED on the meraki is lit up solid amber.

Have you done any progress? It seems that I sucked the same place. Is there any way to tell if, except the stopping auto boot, the console connection works fine?

can anyone help me with this error?

[   25.900000] jffs2: Further such events for this erase block will not be printed
[   25.920000] jffs2: Old JFFS2 bitmask found at 0x00d091f8
[   25.930000] jffs2: You cannot use older JFFS2 filesystems with newer kernels
[   25.950000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00d10000: 0x5ea2 instead
[   25.960000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00d10004: 0x5aa4 instead
[   25.970000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00d10008: 0x036e instead
[   25.980000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00d1000c: 0xf4d6 instead
[   25.990000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00d10010: 0x872d instead
[   26.000000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00d10014: 0xb46f instead
[   26.010000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00d10018: 0x193d instead
[   26.020000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00d1001c: 0xfd96 instead
[   26.030000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00d10020: 0xafcb instead
[   26.030000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00d10024: 0x9ba8 instead
[   26.040000] jffs2: Further such events for this erase block will not be printed
[   26.080000] jffs2: Old JFFS2 bitmask found at 0x00d1f4d8
[   26.090000] jffs2: You cannot use older JFFS2 filesystems with newer kernels
[   26.100000] jffs2: notice: (1) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   26.110000] VFS: Mounted root (jffs2 filesystem) readonly on device 31:2.
[   26.120000] Freeing unused kernel memory: 260K (8036f000 - 803b0000)
[   26.130000] Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
[   26.130000] ---[ end Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
[   82.490000] random: nonblocking pool is initialized

I seem to be having some trouble in getting the bootloader to break. (been at this a few hours now sad )

I have my Meraki MR 16 jumpered in the correct order according to the guide.
J1 pin RX TX GND
J2 pin pin pin pin

I am using a CP2102 UART (same one recommended in post 39 on https://forum.openwrt.org/viewtopic.php … 3&p=2) it is on COM5.

I have tried using putty but there is no output in the console.  (COM5 speed:115200)
I have also tried TeraTerm with the same settings.
I also tried setting the speed on the COM5 port listed in the Device Manager.

I have tried Windows 7 and Windows 8.1, neither have worked so far.

I am open to suggestions!   Thanks in Advance!

(Last edited by jaymesdriver on 18 Aug 2016, 02:00)

Did someone ever get the second LAN port working? I would like to route some traffic to a nearby PC and would hate to put a switch in between..

jaymesdriver wrote:

I seem to be having some trouble in getting the bootloader to break. (been at this a few hours now sad )

I have my Meraki MR 16 jumpered in the correct order according to the guide.
J1 pin RX TX GND
J2 pin pin pin pin

I am using a CP2102 UART (same one recommended in post 39  it is on COM5.

I have tried using putty but there is no output in the console.  (COM5 speed:115200)
I have also tried TeraTerm with the same settings.
I also tried setting the speed on the COM5 port listed in the Device Manager.

I have tried Windows 7 and Windows 8.1, neither have worked so far.

I am open to suggestions!   Thanks in Advance!

Have you tired to use TFTP?  to change the filename without jumper(s)?  MR 18 will require this along with a serial connection to the device?  I know flashing to MR12 and MR16 are basically through the PoE port as long as you have the correct Firmware to put in the device.

I am running Cucumber on mine and never had a issue with the firmware to maintain over the cloud

Basically your using TFTP to confirm that Uart is sending the file to the router and flashes correctly.  if you going about flashing it with Uart.  if you vise versa went TFTP and through PoE and with correct firmware to load on Bootloader will work correctly.

(Last edited by xfinity on 1 Oct 2016, 06:44)

DieterKoblenz wrote:

Did someone ever get the second LAN port working? I would like to route some traffic to a nearby PC and would hate to put a switch in between..

No luck with this sadly.

Also update, as of tonight's nightlies for LEDE, support for setting the correct MAC at a "hardware" level was added. Please review the updated OpenWRT wiki's for the process, or the Repo ReadMe at https://github.com/riptidewave93/Openwrt-MR12-MR16. Note that this change was applied to LEDE, and not OpenWRT. (I am too lazy to backport, but anyone who wants to is more than welcome.)

(Last edited by riptide_wave on 26 Oct 2016, 18:05)

Hi,

Successfully Patched with UART from a Raspberry Pi3
- You need to modifif /boot/config.txt (to enable uart)
- You need to plug in th right order  (no power needed only )

screen /dev/ttyAMA0 115200
(if you see strange signs... you need to swap TX/RX)

You can also try lede with the same command / offset.

Whooooo it's fantastic.
Dominique

I have an MR12, would like to flash to latest OpenWRT build. I have been able to get into the MR12 through the serial port and interrupt the boot sequence. Can someone post an updated commands for the tftpboot and setenv variables to use with the latest compatible build. I would like to skip booting to ram first if possible. Thanks in advance.

Glenn

The discussion might have continued from here.