@Ilario

radio0 behaves as expected
radio1 has issues
1. on site: http://10.13.0.1/cgi-bin/luci/admin/network/wireless there is no channel assigned to  the adhoc despite the fact that on site:http://10.13.0.1/cgi-bin/luci/admin/network/wireless/radio1.network3 everything seems ok. Fact is radio1 is not meshing.
2. as with earlier firmwares (except the stock openwrt) radio1 crashes under traffic. Device reboots.

Cheers

Ilario Gelmetti <iochesonome@gmail.com> schrieb am Di., 18. Apr. 2017 um 11:12 Uhr:
Ok, that's great, this means that lime-config now does its work.

The line I asked you to comment out was added by G10h4ck 2 years ago:
https://github.com/libremesh/lime-packages/commit/caad3acb2d0512ba80558aabf67c3ff21d233e88#diff-b62243e9ade7bd69d43e6f71647fded4R153

@G10h4ck how should we fix it? Can we just delete that line?

@Juergen how is the router behavior now? Is it working as expected?

Bye!
Ilario


On 04/15/2017 03:15 AM, Juergen Kimmel wrote:
> I'm so sorry lost orientation once moree, should be at sleep at this
> time of the night ;).
>
> So here is network after changing line 178, reboot and lime-config:
>
>
> config interface 'loopback'
> option ifname 'lo'
> option proto 'static'
> option ipaddr '127.0.0.1'
> option netmask '255.0.0.0'
>
> config globals 'globals'
>
> config interface 'lan'
> option type 'bridge'
> option proto 'static'
> option ip6assign '60'
> option ip6addr '2a00:1508:a0d:fe00::16:da88/64'
> option ipaddr '10.13.218.136'
> option netmask '255.255.0.0'
> option mtu '1500'
> list ifname 'bat0'
> list ifname 'eth0.1'
>
> config device 'lan_dev'
> option name 'eth0.1'
> option macaddr '78:a3:51:16:da:88'
>
> config interface 'wan'
> option ifname 'eth0.2'
> option proto 'dhcp'
>
> config device 'wan_dev'
> option name 'eth0.2'
> option macaddr '78:a3:51:16:da:89'
>
> config interface 'wan6'
> option ifname 'eth0.2'
> option proto 'none'
>
> config switch
> option name 'switch0'
> option reset '1'
> option enable_vlan '1'
>
> config switch_vlan
> option device 'switch0'
> option vlan '1'
> option ports '0 1 2 3 6t'
>
> config switch_vlan
> option device 'switch0'
> option vlan '2'
> option ports '4 6t'
>
> config device 'lm_net_br_lan_anygw_dev'
> option type 'macvlan'
> option name 'anygw'
> option ifname 'br-lan'
> option macaddr 'aa:aa:aa:0d:fe:aa'
>
> config interface 'lm_net_br_lan_anygw_if'
> option ifname 'anygw'
> option auto '1'
> option netmask '255.255.0.0'
> option proto 'static'
> option ipaddr '10.13.0.1'
> option ip6addr '2a00:1508:a0d:fe00::1/64'
>
> config rule6 'lm_net_anygw_rule6'
> option src '2a00:1508:a0d:fe00::1/128'
> option lookup '170'
>
> config route6 'lm_net_anygw_route6'
> option interface 'lm_net_br_lan_anygw_if'
> option target '2a00:1508:a0d:fe00::/64'
> option table '170'
>
> config rule 'lm_net_anygw_rule4'
> option src '10.13.0.1/32 <http://10.13.0.1/32>'
> option lookup '170'
>
> config route 'lm_net_anygw_route4'
> option interface 'lm_net_br_lan_anygw_if'
> option target '10.13.0.0'
> option netmask '255.255.0.0'
> option table '170'
>
> config interface 'lm_net_batadv_dummy_if'
> option ifname 'dummy0'
> option macaddr 'aa:a3:51:16:da:88'
> option proto 'batadv'
> option mesh 'bat0'
>
> config device 'lm_net_lm_net_eth0_1_bmx6_dev'
> option type '8021ad'
> option name 'eth0-1_13'
> option ifname 'eth0.1'
> option vid '13'
> option mtu '1398'
>
> config interface 'lm_net_eth0_1_bmx6_if'
> option proto 'none'
> option auto '1'
> option ifname 'eth0-1_13'
>
> config interface 'lm_net_wlan1_adhoc'
> option proto 'none'
> option mtu '1536'
> option auto '1'
>
> config device 'lm_net_lm_net_wlan1_adhoc_batadv_dev'
> option type '8021ad'
> option name 'wlan1-adhoc_29'
> option ifname '@lm_net_wlan1_adhoc'
> option vid '29'
> option mtu '1532'
>
> config interface 'lm_net_wlan1_adhoc_batadv_if'
> option auto '1'
> option ifname 'wlan1-adhoc_29'
> option proto 'batadv'
> option mesh 'bat0'
>
> config device 'lm_net_lm_net_wlan1_adhoc_bmx6_dev'
> option type '8021ad'
> option name 'wlan1-adhoc_13'
> option ifname '@lm_net_wlan1_adhoc'
> option vid '13'
> option mtu '1398'
>
> config interface 'lm_net_wlan1_adhoc_bmx6_if'
> option auto '1'
> option ifname 'wlan1-adhoc_13'
> option proto 'static'
> option ipaddr '169.254.218.136'
> option netmask '255.255.255.255'
>
> config device 'lm_net_lm_net_eth0_2_batadv_dev'
> option type '8021ad'
> option name 'eth0-2_29'
> option ifname 'eth0.2'
> option vid '29'
> option mtu '1532'
>
> config interface 'lm_net_eth0_2_batadv_if'
> option auto '1'
> option ifname 'eth0-2_29'
> option proto 'batadv'
> option mesh 'bat0'
>
> config device 'lm_net_lm_net_eth0_2_bmx6_dev'
> option type '8021ad'
> option name 'eth0-2_13'
> option ifname 'eth0.2'
> option vid '13'
> option mtu '1398'
>
> config interface 'lm_net_eth0_2_bmx6_if'
> option proto 'none'
> option auto '1'
> option ifname 'eth0-2_13'
>
> config interface 'lm_net_wlan0_adhoc'
> option proto 'none'
> option mtu '1536'
> option auto '1'
>
> config device 'lm_net_lm_net_wlan0_adhoc_batadv_dev'
> option type '8021ad'
> option name 'wlan0-adhoc_29'
> option ifname '@lm_net_wlan0_adhoc'
> option vid '29'
> option mtu '1532'
>
> config interface 'lm_net_wlan0_adhoc_batadv_if'
> option auto '1'
> option ifname 'wlan0-adhoc_29'
> option proto 'batadv'
> option mesh 'bat0'
>
> config device 'lm_net_lm_net_wlan0_adhoc_bmx6_dev'
> option type '8021ad'
> option name 'wlan0-adhoc_13'
> option ifname '@lm_net_wlan0_adhoc'
> option vid '13'
> option mtu '1398'
>
> config interface 'lm_net_wlan0_adhoc_bmx6_if'
> option auto '1'
> option ifname 'wlan0-adhoc_13'
> option proto 'static'
> option ipaddr '169.254.218.137'
> option netmask '255.255.255.255'
>
> config device 'lm_net_lm_net_eth0_bmx6_dev'
> option type '8021ad'
> option name 'eth0_13'
> option ifname 'eth0'
> option vid '13'
> option mtu '1398'
>
> config interface 'lm_net_eth0_bmx6_if'
> option proto 'none'
> option auto '1'
> option ifname 'eth0_13'
>
>
>
>
> Ilario Gelmetti <iochesonome@gmail.com <mailto:iochesonome@gmail.com>>
> schrieb am Fr., 14. Apr. 2017 um 13:39 Uhr:
>
>     On 04/14/2017 05:53 AM, Juergen Kimmel wrote:
>     > Here is
>     > /etc/config/network
>     >
>     > config device 'lan_dev'
>     > option name 'eth0.1'
>     > option macaddr '78:a3:51:16:da:88'
>     >
>     > config device 'wan_dev'
>     > option name 'eth0.2'
>     > option macaddr '78:a3:51:16:da:89'
>
>     Ok, now can you try to comment out (prepending "--!") line 178 in
>     /usr/lib/lua/lime/network.lua ?
>
>     function owrt_device_parser(section)
>             dev_parser(section["name"])
>     --!     dev_parser(section["ifname"])
>     end
>
>     https://github.com/libremesh/lime-packages/blob/develop/packages/lime-system/files/usr/lib/lua/lime/network.lua#L178
>
>     According to LEDE and OpenWrt wikis [1,2], sections of type device in
>     /etc/config/network should have an ifname option.
>     LibreMesh scripts assume that there is such option and the crash you
>     experienced could be due to the lack of an "option ifname 'eth0'" in
>     device sections in /etc/config/network on ramips.
>     I hope this works... :)
>     Ilario
>
>     [1] https://wiki.openwrt.org/doc/uci/network#devices
>     [2]
>     https://lede-project.org/docs/user-guide/switch_configuration#devices

_______________________________________________
lime-users mailing list
lime-users@lists.libremesh.org
https://lists.libremesh.org/mailman/listinfo/lime-users