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.
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.