svn commit: r191884 - head/share/man/man4

Andrew Thompson thompsa at FreeBSD.org
Thu May 7 14:51:05 UTC 2009


On Thu, May 07, 2009 at 02:34:49PM +0000, Ed Maste wrote:
> Author: emaste
> Date: Thu May  7 14:34:49 2009
> New Revision: 191884
> URL: http://svn.freebsd.org/changeset/base/191884
> 
> Log:
>   s/ath0/wlan0/ since we no longer use the real device directly.
> 
> Modified:
>   head/share/man/man4/if_bridge.4
> 
> Modified: head/share/man/man4/if_bridge.4
> ==============================================================================
> --- head/share/man/man4/if_bridge.4	Thu May  7 14:24:50 2009	(r191883)
> +++ head/share/man/man4/if_bridge.4	Thu May  7 14:34:49 2009	(r191884)
> @@ -342,7 +342,7 @@ The following when placed in the file
>  will cause a bridge called
>  .Dq Li bridge0
>  to be created, and will add the interfaces
> -.Dq Li ath0
> +.Dq Li wlan0
>  and
>  .Dq Li fxp0
>  to the bridge, and then enable packet forwarding.
> @@ -351,14 +351,14 @@ Such a configuration could be used to im
>  in ad-hoc mode).
>  .Bd -literal -offset indent
>  cloned_interfaces="bridge0"
> -ifconfig_bridge0="addm ath0 addm fxp0 up"
> +ifconfig_bridge0="addm wlan0 addm fxp0 up"
>  .Ed
>  .Pp
>  For the bridge to forward packets all member interfaces and the bridge need
>  to be up.
>  The above example would also require:
>  .Bd -literal -offset indent
> -ifconfig_ath0="up ssid my_ap mode 11g mediaopt hostap"
> +ifconfig_wlan0="up ssid my_ap mode 11g mediaopt hostap"

Not quite right, I dont believe you can use mediaopt anymore. The vap
gets the mode on creation so it would be,

create_args_wlan0="wlanmode hostap"
ifconfig_wlan0="up ssid my_ap mode 11g"

cheers,
Andrew


More information about the svn-src-head mailing list