View | Details | Raw Unified | Return to bug 217367 | Differences between
and this patch

Collapse All | Expand All

(-)en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml (-11 / +7 lines)
Lines 3699-3714 Link Here
3699
	<para>Replace <replaceable>bge0</replaceable> to match the
3699
	<para>Replace <replaceable>bge0</replaceable> to match the
3700
	  system's Ethernet interface name.  The
3700
	  system's Ethernet interface name.  The
3701
	  <literal>ether</literal> line will contain the
3701
	  <literal>ether</literal> line will contain the
3702
	  <acronym>MAC</acronym> address of the specified interface.
3702
	  <acronym>MAC</acronym> address of the specified interface.</para>
3703
	  Now, change the <acronym>MAC</acronym> address of the
3704
	  underlying wireless interface:</para>
3705
3703
3706
	<screen>&prompt.root; <userinput>ifconfig <replaceable>iwn0</replaceable> ether <replaceable>00:21:70:da:ae:37</replaceable></userinput></screen>
3704
	<para>Bring the wireless interface up, change its
3707
3705
	  <acronym>MAC</acronym> address, but do not set an
3708
	<para>Bring the wireless interface up, but do not set an
3709
	  <acronym>IP</acronym> address:</para>
3706
	  <acronym>IP</acronym> address:</para>
3710
3707
3711
	<screen>&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable> create wlandev <replaceable>iwn0</replaceable> ssid <replaceable>my_router</replaceable> up</userinput></screen>
3708
	<screen>&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable> create wlandev <replaceable>iwn0</replaceable> ether <replaceable>00:21:70:da:ae:37</replaceable> ssid <replaceable>my_router</replaceable> up</userinput></screen>
3712
3709
3713
	<para>Make sure the <replaceable>bge0</replaceable> interface
3710
	<para>Make sure the <replaceable>bge0</replaceable> interface
3714
	  is up, then create the &man.lagg.4; interface with
3711
	  is up, then create the &man.lagg.4; interface with
Lines 3741-3752 Link Here
3741
	  following entries to
3738
	  following entries to
3742
	  <filename>/etc/rc.conf</filename>:</para>
3739
	  <filename>/etc/rc.conf</filename>:</para>
3743
3740
3744
	<programlisting>ifconfig_bge0="up"
3741
	<programlisting>ifconfig_<replaceable>bge0</replaceable>="up"
3745
ifconfig_<replaceable>iwn0</replaceable>="<replaceable>ether 00:21:70:da:ae:37</replaceable>"
3746
wlans_<replaceable>iwn0</replaceable>="wlan0"
3742
wlans_<replaceable>iwn0</replaceable>="wlan0"
3747
ifconfig_wlan0="WPA"
3743
ifconfig_wlan0="ether <replaceable>00:21:70:da:ae:37</replaceable> WPA"
3748
cloned_interfaces="<literal>lagg<replaceable>0</replaceable></literal>"
3744
cloned_interfaces="<literal>lagg<replaceable>0</replaceable></literal>"
3749
ifconfig_<literal>lagg<replaceable>0</replaceable></literal>="laggproto failover laggport bge0 laggport wlan0 DHCP"</programlisting>
3745
ifconfig_<literal>lagg<replaceable>0</replaceable></literal>="laggproto failover laggport <replaceable>bge0</replaceable> laggport <replaceable>wlan0</replaceable> DHCP"</programlisting>
3750
      </example>
3746
      </example>
3751
    </sect2>
3747
    </sect2>
3752
  </sect1>
3748
  </sect1>

Return to bug 217367