From 2e1aceea336eca52ab7cd6387b0c3447a5d0e48c Mon Sep 17 00:00:00 2001 From: maxim Date: Wed, 28 Sep 2005 15:22:17 +0000 Subject: o Follow the trend and update a host-based wireless bridge example. --- share/man/man4/ath.4 | 6 +++--- share/man/man4/wi.4 | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'share') diff --git a/share/man/man4/ath.4 b/share/man/man4/ath.4 index 8dab584..40bc756 100644 --- a/share/man/man4/ath.4 +++ b/share/man/man4/ath.4 @@ -213,11 +213,11 @@ ifconfig ath0 inet 192.168.0.10 netmask 0xffffff00 ssid my_ap \e .Pp Create a host-based wireless bridge to fxp0: .Bd -literal -offset indent -Add BRIDGE to the kernel config. ifconfig ath0 inet up ssid my_ap media DS/11Mbps mediaopt hostap -sysctl net.link.ether.bridge.enable=1 -sysctl net.link.ether.bridge.config="ath0 fxp0" sysctl net.inet.ip.check_interface=0 +kldload if_bridge.ko +ifconfig bridge0 create +ifconfig bridge0 addm ath0 addm fxp0 .Ed .Pp This will give you the same functionality as an access point. diff --git a/share/man/man4/wi.4 b/share/man/man4/wi.4 index f1c195d..dc65d3d 100644 --- a/share/man/man4/wi.4 +++ b/share/man/man4/wi.4 @@ -327,11 +327,11 @@ ifconfig wi0 inet 192.168.0.10 netmask 0xffffff00 ssid my_ap \e .Pp Create a host-based wireless bridge to fxp0 (Prism only): .Bd -literal -offset indent -Add BRIDGE to the kernel config. ifconfig wi0 inet up ssid my_ap media DS/11Mbps mediaopt hostap -sysctl net.link.ether.bridge.enable=1 -sysctl net.link.ether.bridge.config="wi0 fxp0" sysctl net.inet.ip.check_interface=0 +kldload if_bridge.ko +ifconfig bridge0 create +ifconfig bridge0 addm wi0 addm fxp0 .Ed .Pp This will give you the same functionality as an access point. -- cgit v1.1