Article 5JQ3S Wireless bridge and 4addr

Wireless bridge and 4addr

by
andygoth
from LinuxQuestions.org on (#5JQ3S)
I'm trying to bridge eth0 and wlan0, but I get this error when I run rc.inet1 start:

Code:Error: Device does not allow enslaving to a bridge.But if I run this command first:

Code:iw dev wlan0 set 4addr onThen rc.inet1 runs without complaint, and my network does what it's supposed to.

I can't exactly add it to rc.local which happens much, much too late. I don't want to hack it into an earlier script because I'll have to re-merge it in every time there's an upstream update to the boot scripts. What's the preferred method to get this command to run before creating the bridge?

I'm simply using the BRNICS feature of rc.inet1.conf.latest?d=yIl2AUoC8zA latest?i=GOU4E_dUVTQ:05J26CPlZOQ:F7zBnMy latest?i=GOU4E_dUVTQ:05J26CPlZOQ:V_sGLiP latest?d=qj6IDK7rITs latest?i=GOU4E_dUVTQ:05J26CPlZOQ:gIN9vFwGOU4E_dUVTQ
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments