@Pau
ls -1 /sys/class/net/ | grep -x 'eth[0-9][0-9]*' >>> eth0

ls -1 /sys/class/net/ | grep -x 'eth[0-9]'   >>> eth0

changed line 196
lime-config:
root@LiMe-16da88:~# lime-config
Clearing wireless config...
Clearing network config...
Disabling odhcpd
Cleaning dnsmasq
Disabling 6relayd...
/usr/lib/lua/lime/network.lua:155: attempt to index local 'dev' (a nil value)
stack traceback:
        /usr/bin/lime-config:45: in function </usr/bin/lime-config:45>
        [C]: in function 'foreach'
        /usr/lib/lua/lime/network.lua:192: in function 'scandevices'
        /usr/lib/lua/lime/network.lua:217: in function </usr/lib/lua/lime/network.lua:208>
        [C]: in function 'xpcall'
        /usr/bin/lime-config:45: in function 'main'
        /usr/bin/lime-config:65: in main chunk
        [C]: ?
Configuring system...
Let uhttpd listen on IPv4/IPv6


Pau <pau@dabax.net> schrieb am Do., 13. Apr. 2017 um 22:00 Uhr:
The bug cached by Ilario affects only the name of the network interfaces
created on /etc/config/network.

I still think the problem with scandevices is related to the line I
posted in one of my previous mails.

On 13/04/17 21:23, Juergen Kimmel wrote:
> After changing line 307 here output of lime-config:
>
> root@LiMe-16da88:~# lime-config
> Clearing wireless config...
> Clearing network config...
> Disabling odhcpd
> Cleaning dnsmasq
> Disabling 6relayd...
> /usr/lib/lua/lime/network.lua:155: attempt to index local 'dev' (a nil
> value)
> stack traceback:
>         /usr/bin/lime-config:45: in function </usr/bin/lime-config:45>
>         [C]: in function 'foreach'
>         /usr/lib/lua/lime/network.lua:192: in function 'scandevices'
>         /usr/lib/lua/lime/network.lua:217: in function
> </usr/lib/lua/lime/network.lua:208>
>         [C]: in function 'xpcall'
>         /usr/bin/lime-config:45: in function 'main'
>         /usr/bin/lime-config:65: in main chunk
>         [C]: ?
> Configuring system...
> Let uhttpd listen on IPv4/IPv6
>  Cheers
>
> Pau <pau@dabax.net> schrieb am Do., 13. Apr. 2017 um 18:06 Uhr:
>
>> On 13/04/17 17:59, Ilario Gelmetti wrote:
>>> On 04/13/2017 03:03 AM, Juergen Kimmel wrote:
>>>> root@LEDE:~# ip link
>>>
>>> I suspect that there is an error in this line:
>>>
>>>
>> https://github.com/libremesh/lime-packages/commit/7cda1ad852055e85a3fec73764826ec00ed735bd#diff-b62243e9ade7bd69d43e6f71647fded4R307
>>>
>>> That should be
>>>
>>> owrtDeviceName =
>>> network.sanitizeIfaceName(linuxBaseIfname)..openwrtNameSuffix.."_dev"
>>>
>>> instead of
>>>
>>> owrtDeviceName =
>>>
>> network.limeIfNamePrefix..network.sanitizeIfaceName(linuxBaseIfname)..openwrtNameSuffix.."_dev"
>>
>> Wow, good catch! You are right, the limeIfNamePreix is already added
>> when calling sanitizeIfaceName(), should not be added twice.
>>
>>> This could give rise to all the problem.
>>> Can you fix it on the device using
>>> vim /usr/lib/lua/lime/network.lua
>>> going to line 307 and deleting "network.limeIfNamePrefix.."?
>>> If after this and a lime-config and a reboot things are not fixed can
>>> you post the output of
>>>
>>> uci show network
>>>
>>> (there could be some non "lm_net_" entry of type "device" that usually
>>> is not present in ar71xx hardware)
>>>
>>> Thanks,
>>> Ilario
>>>
>>>
>>>
>>> _______________________________________________
>>> lime-users mailing list
>>> lime-users@lists.libremesh.org
>>> https://lists.libremesh.org/mailman/listinfo/lime-users
>>>
>>
>> --
>> ./p4u
>>
>> _______________________________________________
>> lime-users mailing list
>> lime-users@lists.libremesh.org
>> https://lists.libremesh.org/mailman/listinfo/lime-users
>
>
>
> _______________________________________________
> lime-users mailing list
> lime-users@lists.libremesh.org
> https://lists.libremesh.org/mailman/listinfo/lime-users
>

--
./p4u

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