I tried with your new firmware upload but same issue, libremesh not appear at boot, i need to shutdown and start wifi with physical button and i can connect to wifi LiMe without being kicked.

For testing purposes i will use firmware as is.

Is any command-line i can use to do the same as wifi on/off with physical button?
I’m thinking about startup command so can work without intervention.

Sorry for being so noob.

On Tuesday, September 16, 2014, gabriel giovaniello <gabrielgio@gmail.com> wrote:
> Excellent!
> I will try right now.
>
>
> I Sept 13 compilation i found that if i shutdown wifi with physical button of WR841ND and start again, appears libremesh network and Lime network (before libremesh was not there) and i’m not kicked from wifi.
> So to be clear i will describe what i do and results:
> 1) flashed
> 2) connect with cable to lan and successfully receive IP
> 3) Connect another device from wifi and i receive IP but i’m disconnected about 20 seconds.
>
> Log mention something about MTU i tried to change but still error there.
>
> If i shutdown wifi on router with wifi on/off button and start wifi again.
>
> In my wifi networks appears libremesh (before was not there) and i can connect without kick.
>
>
> Here i attach Kernel Log of Sep 13 compilation, hope this help to figure out what happened:
> [    0.000000] Linux version 3.10.49 (lime@qmpbuild) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r41825) ) #230 Sat Sep 13 13:54:27 CEST 2014
> [    0.000000] MyLoader: sysp=ab02aeab, boardp=a2abaaa2, parts=aa22aaaa
> [    0.000000] bootconsole [early0] enabled
> [    0.000000] CPU revision is: 00019374 (MIPS 24Kc)
> [    0.000000] SoC: Qualcomm Atheros QCA9533 rev 1
> [    0.000000] Clocks: CPU:550.000MHz, DDR:399.389MHz, AHB:199.694MHz, 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 802fca90, 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-WR841N-v9 console=ttyS0,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: 28848k/32768k available (2202k kernel code, 3920k reserved, 561k data, 244k init, 0k highmem)
> [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
> [    0.000000] NR_IRQS:51
> [    0.050000] Calibrating delay loop... 366.18 BogoMIPS (lpj=1830912)
> [    0.060000] pid_max: default: 32768 minimum: 301
> [    0.060000] Mount-cache hash table entries: 512
> [    0.070000] NET: Registered protocol family 16
> [    0.070000] MIPS: machine is TP-LINK TL-WR841N/ND v9
> [    0.490000] bio: create slab <bio-0> at 0
> [    0.490000] Switching to clocksource MIPS
> [    0.500000] NET: Registered protocol family 2
> [    0.500000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
> [    0.510000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
> [    0.520000] TCP: Hash tables configured (established 512 bind 512)
> [    0.520000] TCP: reno registered
> [    0.520000] UDP hash table entries: 256 (order: 0, 4096 bytes)
> [    0.530000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
> [    0.540000] NET: Registered protocol family 1
> [    0.540000] PCI: CLS 0 bytes, default 32
> [    0.560000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
> [    0.560000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
> [    0.570000] msgmni has been set to 56
> [    0.580000] io scheduler noop registered
> [    0.580000] io scheduler deadline registered (default)
> [    0.590000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
> [    0.610000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
> [    0.620000] console [ttyS0] enabled, bootconsole disabled
> [    0.630000] ath79-spi ath79-spi: master is unqueued, this is deprecated
> [    0.640000] m25p80 spi0.0: found s25sl032p, expected m25p80
> [    0.650000] m25p80 spi0.0: s25sl032p (4096 Kbytes)
> [    0.650000] 5 tp-link partitions found on MTD device spi0.0
> [    0.660000] Creating 5 MTD partitions on "spi0.0":
> [    0.660000] 0x000000000000-0x000000020000 : "u-boot"
> [    0.670000] 0x000000020000-0x000000119a70 : "kernel"
> [    0.680000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
> [    0.690000] 0x000000119a70-0x0000003f0000 : "rootfs"
> [    0.700000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
> [    0.710000] mtd: device 2 (rootfs) set to be root filesystem
> [    0.720000] 1 squashfs-split partitions found on MTD device rootfs
> [    0.720000] 0x000000380000-0x0000003f0000 : "rootfs_data"
> [    0.730000] 0x0000003f0000-0x000000400000 : "art"
> [    0.740000] 0x000000020000-0x0000003f0000 : "firmware"
> [    0.770000] libphy: ag71xx_mdio: probed
> [    1.320000] ag71xx-mdio.1: Found an AR934X built-in switch
> [    2.360000] eth0: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
> [    2.920000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd042, driver=Generic PHY]
> [    2.930000] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
> [    2.940000] TCP: cubic registered
> [    2.940000] NET: Registered protocol family 17
> [    2.940000] Bridge firewalling registered
> [    2.950000] 8021q: 802.1Q VLAN Support v1.8
> [    2.960000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
> [    2.970000] Freeing unused kernel memory: 244K (80313000 - 80350000)
> [    8.360000] eth0: link up (1000Mbps/Full duplex)
> [   10.020000] jffs2: notice: (306) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 22 of xref (0 dead, 2 orphan) found.
> [   10.060000] eth0: link down
> [   11.450000] NET: Registered protocol family 10
> [   11.460000] tun: Universal TUN/TAP device driver, 1.6
> [   11.460000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
> [   11.480000] nf_conntrack version 0.5.0 (454 buckets, 1816 max)
> [   11.500000] ip6_tables: (C) 2000-2006 Netfilter Core Team
> [   11.530000] batman_adv: B.A.T.M.A.N. advanced 2014.2.0 (compatibility version 15) loaded
> [   11.550000] Loading modules backported from Linux version master-2014-05-22-0-gf2032ea
> [   11.560000] Backport generated by backports.git backports-20140320-37-g5c33da0
> [   11.600000] Ebtables v2.0 registered
> [   11.600000] ip_tables: (C) 2000-2006 Netfilter Core Team
> [   11.670000] xt_time: kernel timezone is -0000
> [   11.710000] cfg80211: Calling CRDA to update world regulatory domain
> [   11.710000] cfg80211: World regulatory domain updated:
> [   11.720000] cfg80211:  DFS Master region: unset
> [   11.720000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
> [   11.730000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
> [   11.740000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
> [   11.750000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
> [   11.760000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
> [   11.770000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
> [   11.770000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
> [   11.970000] ath: EEPROM regdomain: 0x0
> [   11.970000] ath: EEPROM indicates default country code should be used
> [   11.970000] ath: doing EEPROM country->regdmn map search
> [   11.970000] ath: country maps to regdmn code: 0x3a
> [   11.970000] ath: Country alpha2 being used: US
> [   11.970000] ath: Regpair used: 0x3a
> [   12.000000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
> [   12.010000] ieee80211 phy0: Atheros AR9531 Rev:1 mem=0xb8100000, irq=2
> [   12.020000] cfg80211: Calling CRDA for country: US
> [   12.030000] cfg80211: Regulatory domain changed to country: US
> [   12.030000] cfg80211:  DFS Master region: unset
> [   12.040000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
> [   12.050000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
> [   12.050000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
> [   12.060000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
> [   12.070000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
> [   12.080000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
> [   20.570000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
> [   20.570000] device eth0 entered promiscuous mode
> [   20.680000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
> [   20.740000] device br-lan entered promiscuous mode
> [   20.740000] IPv6: ADDRCONF(NETDEV_UP): anygw: link is not ready
> [   20.760000] IPv6: ADDRCONF(NETDEV_UP): eth0-13: link is not ready
> [   20.810000] IPv6: ADDRCONF(NETDEV_UP): eth0-154: link is not ready
> [   20.870000] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
> [   21.910000] eth0: link up (1000Mbps/Full duplex)
> [   21.910000] br-lan: port 1(eth0) entered forwarding state
> [   21.920000] br-lan: port 1(eth0) entered forwarding state
> [   21.920000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
> [   21.950000] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
> [   21.950000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0-13: link becomes ready
> [   21.960000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0-154: link becomes ready
> [   21.970000] IPv6: ADDRCONF(NETDEV_CHANGE): anygw: link becomes ready
> [   22.200000] batman_adv: bat0: Adding interface: eth0-154
> [   22.200000] batman_adv: bat0: The MTU of interface eth0-154 is too small (1496) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1532 would solve the problem.
> [   22.230000] batman_adv: bat0: Interface activated: eth0-154
> [   22.250000] 8021q: adding VLAN 0 to HW filter on device bat0
> [   22.250000] device bat0 entered promiscuous mode
> [   22.260000] br-lan: port 2(bat0) entered forwarding state
> [   22.260000] br-lan: port 2(bat0) entered forwarding state
> [   22.560000] batman_adv: bat0: bridge_loop_avoidance: Changing from: disabled to: enabled
> [   22.560000] batman_adv: bat0: distributed_arp_table: Changing from: enabled to: disabled
> [   22.760000] IPv6: ADDRCONF(NETDEV_UP): wlan0_adhoc: link is not ready
> [   22.790000] IPv6: ADDRCONF(NETDEV_UP): wlan0_adhoc-13: link is not ready
> [   22.810000] IPv6: ADDRCONF(NETDEV_UP): wlan0_adhoc-154: link is not ready
> [   23.920000] br-lan: port 1(eth0) entered forwarding state
> [   23.970000] IPv6: ADDRCONF(NETDEV_UP): wlan0_ap: link is not ready
> [   24.000000] device wlan0_ap entered promiscuous mode
> [   24.000000] br-lan: port 3(wlan0_ap) entered forwarding state
> [   24.010000] br-lan: port 3(wlan0_ap) entered forwarding state
> [   24.050000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0_ap: link becomes ready
> [   24.260000] br-lan: port 2(bat0) entered forwarding state
> [   24.430000] wlan0_adhoc: Created IBSS using preconfigured BSSID ca:fe:00:c0:ff:ee
> [   24.440000] wlan0_adhoc: Creating new IBSS network, BSSID ca:fe:00:c0:ff:ee
> [   24.450000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0_adhoc: link becomes ready
> [   24.490000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0_adhoc-13: link becomes ready
> [   24.490000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0_adhoc-154: link becomes ready
> [   24.740000] batman_adv: bat0: Adding interface: wlan0_adhoc-154
> [   24.750000] batman_adv: bat0: The MTU of interface wlan0_adhoc-154 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1532 would solve the problem.
> [   24.780000] batman_adv: bat0: Interface activated: wlan0_adhoc-154
> [   26.010000] br-lan: port 3(wlan0_ap) entered forwarding state
>
>
>
>
> Regards and thank you for your support, i will flash new release and let you know what happened.
>
> On Tuesday, September 16, 2014, Pau <pau@dabax.net> wrote:
>> The alternative is to compile it yourself using lime-build or using a raw openwrt buildroot :)
>>
>> I've compiled new images, you can try them. I don't know the current status of 14.08, Gui should know it better.
>>
>> The branch hardware-detection (which is compiling right now) should work fine.
>>
>> @Devs, we must merge all these branches in a single one!
>>
>> On 16/09/14 15:51, gabriel giovaniello wrote:
>>> Hi Paul, thank you for your support,
>>> please let me know when i can download new images or if there is an
>>> alternative, i tried chef from alter mesh but images seems to be old.
>>>
>>> Regards
>>>
>>> On Tuesday, September 16, 2014, Pau <pau@dabax.net> wrote:
>>> > There is some problem in the downloads server, it looks like the
>>> compilations are not correct. I'll check it.
>>> >
>>> > On 15/09/14 16:06, gabriel giovaniello wrote:
>>> >> That is the full name:
>>> >> TP-Link-TL-WR841N-v9-LiMe______-factory-20140913_1353
>>> >>
>>> >> I Also tried with a bullet m2 with this image:
>>> >> Bullet-LiMe______-factory-20140913_1326
>>> >>
>>> >> both with same result.
>>> >>
>>> >> Last night about 3AM (i was trying to make it work), i found Up in LOG (i
>>> >> have not access now because i’m outside) mention something about wrong
>>> MTU
>>> >> in eth0-154 and wifiadhoc0-154 or something like that i need to increase
>>> >> MTU from 1368 to 1532.
>>> >> Hope this helps.
>>> >> I just installed firmware and with no config from my side i have this
>>> >> errors.
>>> >>
>>> >> Regards and thank you for your support.
>>> >>
>>> >> On Monday, September 15, 2014, Ilario Gelmetti <ilario.gelmetti@sns.it>
>>> >> wrote:
>>> >>> Il 15/09/2014 13:57, Gabriel Giovaniello ha scritto:
>>> >>>> Hi Gui, this is URL:
>>> >>>> http://downloads.libre-mesh.org/develop/
>>> >>>>
>>> >>>> I downloaded yesterday.
>>> >>> So the image you downloaded contains "20140913" in the filename?
>>> >>> Could you check?
>>> >>>
>>> >>>> Also i receive a list of:
>>> >>>> kern.warn kernel: [ 1479.000000] br-lan: received packet on bat0 with
>>> >>>> own address as source address
>>> >>>
>>> >>> This error should have been solved long time ago... argh
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>
>>> >>
>>> >>
>>> >> _______________________________________________
>>> >> Dev mailing list
>>> >> Dev@lists.libre-mesh.org
>>> >> https://lists.libre-mesh.org/mailman/listinfo/dev
>>> >>
>>> >
>>> > --
>>> > ./p4u
>>> >
>>> >
>>>
>>
>> --
>> ./p4u
>>
>>
>
> --
> Gabriel H. Giovaniello
> +54 2216230146
>

--
Gabriel H. Giovaniello
+54 2216230146