Pad out the section on tethering, and clarify which device is likely to

be needed for iPhones/iPads, Android devices, and older devices.

Change the "kldload" examples to use "if_foo" rather than "foo" as only
the former works on 9.x.
This commit is contained in:
Gavin Atkinson 2014-09-29 18:04:35 +00:00
parent 3ce6730b38
commit cedbf10075
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=45698
2 changed files with 18 additions and 3 deletions

View file

@ -2248,15 +2248,29 @@ freebsdap 00:11:95:c3:0d:ac 1 54M 22:1 100 EPS</screen>
<para>Many cellphones provide the option to share their data
connection over USB (often called "tethering"). This feature
uses either the <acronym>RNDIS</acronym>, <acronym>CDC</acronym>
or a custom <trademark class="registered">iPhone</trademark>
or a custom &apple; &iphone;/&ipad;
protocol.</para>
<itemizedlist>
<listitem>
<para>&android; devices generally use the &man.urndis.4; driver.</para>
</listitem>
<listitem>
<para>&apple; devices use the &man.ipheth.4; driver.</para>
</listitem>
<listitem>
<para>Older devices will often use the &man.cdce.4; driver.</para>
</listitem>
</itemizedlist>
<para>Before attaching a device, load the appropriate driver
into the kernel:</para>
<screen>&prompt.root; <userinput>kldload if_urndis
&prompt.root; kldload cdce
&prompt.root; kldload ipheth</userinput></screen>
&prompt.root; kldload if_cdce
&prompt.root; kldload if_ipheth</userinput></screen>
<para>Once the device is attached
<literal>ue</literal><replaceable>0</replaceable> will be

View file

@ -63,6 +63,7 @@
&tm-attrib.adobe;
&tm-attrib.apple;
&tm-attrib.creative;
&tm-attrib.google;
&tm-attrib.heidelberger;
&tm-attrib.ibm;
&tm-attrib.ieee;