Ticket #207 (closed enhancement: fixed)
Opened 9 months ago
Last modified 8 months ago
Better documentation for bridged wireless APs
Reported by: | www.google.com/accounts/o8/id?id=aitoawmxnxfqp9jwq09dimyniifx92p9k6b9vms | Owned by: | roy |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | documentation | Version: | 0.5 |
Keywords: | Cc: |
Description
I love the flexibility of OpenRC and it can work together with hostapd but figuring out how can be tricky. I think we need some better documentation for this. My first issue was that my driver no longer allowed you to put the interface into master mode with iwconfig or OpenRC so this was raising an error. My second issue, was that I wasn't starting things in the right order so the bridging wasn't working. The issue I faced just now was that (as of 2.6.32) the driver no longer allows you to add the interface to a bridge until hostapd has been started. This seemed like a catch 22 at first. Here's how I do it now. We should have some documentation to this effect.
/etc/conf.d/net:
bridge_br0="eth1 qemu"
rc_need_br0="net.eth1 net.qemu"
config_br0="192.168.1.200/24.html"
modules_wlan0="!iwconfig"
config_wlan0="null"
rc_need_wlan0="hostapd"
bridge_add_wlan0="br0"
/etc/conf.d/hostapd:
INTERFACES="br0"
/etc/hostapd/hostapd.conf:
interface=wlan0
bridge=br0
Change History
comment:1 Changed 9 months ago by roy.marples.name
comment:2 Changed 8 months ago by www.google.com/accounts/o8/id?id=aitoawmxnxfqp9jwq09dimyniifx92p9k6b9vms
- Status changed from new to closed
- Resolution set to fixed
I agree, the existing documentation for the old style is quite long. Haven't looked into the new style yet. This isn't needed by many people so the wiki works fine for me. :)
I have little interest in extending the already bloated documentation for the old style net scripts.
However, I also have little time in providing documentation for new style to solve these issues either. To address this, I have made a wiki page for configuring OpenRC available which users like yourself can contribute to.
Does this address your issue?