Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 May 2009 07:50:58 -0700
From:      Andrew Thompson <thompsa@FreeBSD.org>
To:        Ed Maste <emaste@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r191884 - head/share/man/man4
Message-ID:  <20090507145058.GB85054@citylink.fud.org.nz>
In-Reply-To: <200905071434.n47EYnCb058653@svn.freebsd.org>
References:  <200905071434.n47EYnCb058653@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090507145058.GB85054>