[LEDE-DEV] sunxi: bpi-r1 switch configuration missing in latest development trunk for 18.0x

TheWerthFam thewerthfam at gmail.com
Sat Mar 3 18:03:35 PST 2018


I did a sysupgrade, was trying to keep my configuration.

<</etc/config/network

config interface 'loopback'
     option ifname 'lo'
     option proto 'static'
     option ipaddr '127.0.0.1'
     option netmask '255.0.0.0'
     option ipv6 '0'

config globals 'globals'

config interface 'lan'
     option type 'bridge'
     option proto 'static'
     option netmask '255.255.255.0'
     option ip6assign '60'
     option ipaddr '192.168.41.1'
     option ifname 'eth0 eth0.1'
     option ipv6 '0'

config interface 'wan'
     option ifname 'eth0.2'
     option proto 'static'
     option ipaddr '192.168.40.5'
     option netmask '255.255.255.0'
     option delegate '0'

config switch
     option name 'switch0'
     option reset '1'
     option enable_vlan '1'

config switch_vlan
     option device 'switch0'
     option vlan '1'
     option ports '4 0 1 2 8t'

config switch_vlan
     option device 'switch0'
     option vlan '2'
     option ports '3 8t'



On 03/03/2018 08:30 PM, Rosen Penev wrote:
> On Sat, Mar 3, 2018 at 5:26 PM, TheWerthFam <thewerthfam at gmail.com> wrote:
>> 17.01.4 works great currently on this platform, just trying out the cutting
>> edge and found the switch configuration not existent.
>> swconfig list  returns no results.
>>
>> Normally swconfig returns
>> Found: switch0 - eth0
>> Found: switch1 - eth0
>>
>> The interfaces eth0.1 eth0.2 etc are created, but they don't pass any
>> traffic.  LAN ports and the WAN port LEDs seem to work in their normal
>> quirky way with devices connected but they don't pass any traffic.
>>
>> Any advice and direction of work that needs to be done would be appreciated.
>>
> Did you clear settings when upgrading? Please post /etc/config/network.
>
> This sounds like the switch driver is missing.
>> Cheers
>>      Derek
>>
>> _______________________________________________
>> Lede-dev mailing list
>> Lede-dev at lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/lede-dev




More information about the Lede-dev mailing list