OpenWrt Forum Archive

Topic: Disabling br-lan

The content of this topic has been archived on 5 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi.

I need to disable br-lan interface but I don't know how.
Now, I put in the trunk/package/base-files/files/etc/init.d/boot:

   ifconfig br-lan down
   brctl delbr br-lan

But I think that this isn't the best solution.

Does anybody know how to do it?

Thanks,
David

Just remove option bridge from lan section in /etc/config/network...

Yes, I do it. But when I restart it is.

Thanks,
David

Show us your config.

My config/network in the directory trunk/package/base-files/files/etc:

config interface lan
      option ifname eth0
      #option type bridge
      option proto static
      option ipaddr 192.168.3.10
      option netmask 255.255.255.0

This is my network config file. Then I compile openwrt but when I flash my router, br-lan is still.

Thanks,
David

Please, not file from build system. Show cat /etc/config/network (all) and result of ifconfig

Yes. But I need to disable br-lan at boot time.

The discussion might have continued from here.