Interface is marked for deletion [fixed]

Please take a look at the screenshot.

You can’t see the settings on the web UI, these are only in the text files viewable.

Does anyone have an idea to change this?
Should I share the settings file?

@TheRojam can you please provide us more details and steps to reproduce it? From the screenshot, it is clear interfaces are marked for deletion, but this must be caused by something. Diagnostics might provide me more insights into what is going on.

I do not how this happend. I think its related to the upgrade to turris OS 5.x from 3 or 4. Anyway.

I’ve uploaded the diagnostics REMOVED

//EDIT: Diagnostics were removed as they contain sensitive data and they should not be uploaded publicly. As it is said in our documentation and while generating them.

Your network config is invalid, e.g.:

[...]
== Uci network ==
uci: Parse error (invalid command) at line 1, byte 0
[...]

Please provide the output of: cat /etc/config/network

1 Like

Thanks for finding this issue.

Output of /etc/config/network:

root@turris:~# cat /etc/config/network
J
config interface 'loopback'
       option proto 'static'
       option ipaddr '127.0.0.1'
       option netmask '255.0.0.0'
       option ifname 'lo'

config globals 'globals'
       option ula_prefix 'fd2c:30ea:1e44::/48'

config interface 'lan'
       option type 'bridge'
       option proto 'static'
       option ipaddr '192.168.1.1'
       option _turris_mode 'managed'
       option _orig_ifname 'eth0 eth2 wlan0'
       option _orig_bridge 'true'
       option netmask '255.255.255.0'
       list ifname 'lan0'
       list ifname 'lan1'
       list ifname 'lan2'
       list ifname 'lan3'
       list ifname 'lan4'
       option ip6assign '64'

config interface 'wan'
       option _orig_ifname 'eth1'
       option _orig_bridge 'false'
       option proto 'pppoe'
       option username '00296060885511309773410001@t-online.de'
       option password '37285477'
       option ifname 'eth2.7'
       option ipv6 'auto'

config interface 'wan6'
       option _orig_ifname 'eth1'
       option _orig_bridge 'false'
       option ifname 'eth2.7'
       option auto '0'
       option proto 'none'

config interface 'Guest'
       option _orig_ifname 'radio0.network2'
       option _orig_bridge 'false'
       option proto 'static'
       option ipaddr '192.168.144.1'
       option netmask '255.255.255.0'
       option gateway '192.168.144.1'
       option broadcast '192.168.144.255'
       option ip6assign '64'
       option type 'bridge'

Already removed the first line that contains this obvious character “J” and restarted the network service.
It’s now possible to see the network interfaces in LUCI again!

What a bloody stupid error… Sometimes other eyes see more.

Thank you, all!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.