Source string Read only

(itstool) path: sect2/programlisting
Context English State
When using a custom kernel, make sure to include the following line in the kernel configuration file:
device uart
The <filename>uart</filename> device is already included in the <literal>GENERIC</literal> kernel, so no additional steps are necessary in this case. Just check the <command>dmesg</command> output for the modem device with:
<prompt>#</prompt> <userinput>dmesg | grep uart</userinput>
This should display some pertinent output about the <filename>uart</filename> devices. These are the COM ports we need. If the modem acts like a standard serial port, it should be listed on <filename>uart1</filename>, or <filename>COM2</filename>. If so, a kernel rebuild is not required. When matching up, if the modem is on <filename>uart1</filename>, the modem device would be <filename>/dev/cuau1</filename>.
Connecting Manually
Connecting to the Internet by manually controlling <command>ppp</command> is quick, easy, and a great way to debug a connection or just get information on how the <acronym>ISP</acronym> treats <command>ppp</command> client connections. Lets start <application>PPP</application> from the command line. Note that in all of our examples we will use <emphasis>example</emphasis> as the hostname of the machine running <application>PPP</application>. To start <command>ppp</command>:
ppp ON example&gt; <userinput>set device /dev/cuau1</userinput>
This second command sets the modem device to <filename>cuau1</filename>.
ppp ON example&gt; <userinput>set speed 115200</userinput>
This sets the connection speed to 115,200 <acronym>kbps</acronym>.
ppp ON example&gt; <userinput>enable dns</userinput>
This tells <command>ppp</command> to configure the resolver and add the nameserver lines to <filename>/etc/resolv.conf</filename>. If <command>ppp</command> cannot determine the hostname, it can manually be set later.
ppp ON example&gt; <userinput>term</userinput>
This switches to <quote>terminal</quote> mode in order to manually control the modem.
deflink: Entering terminal mode on <filename class="devicefile">/dev/cuau1</filename>
type '~h' for help
Use <command>at</command> to initialize the modem, then use <command>atdt</command> and the number for the <acronym>ISP</acronym> to begin the dial in process.
Confirmation of the connection, if we are going to have any connection problems, unrelated to hardware, here is where we will attempt to resolve them.
ISP Login:<userinput>myusername</userinput>
At this prompt, return the prompt with the username that was provided by the <acronym>ISP</acronym>.
ISP Pass:<userinput>mypassword</userinput>
At this prompt, reply with the password that was provided by the <acronym>ISP</acronym>. Just like logging into FreeBSD, the password will not echo.
Shell or PPP:<userinput>ppp</userinput>
Depending on the <acronym>ISP</acronym>, this prompt might not appear. If it does, it is asking whether to use a shell on the provider or to start <command>ppp</command>. In this example, <command>ppp</command> was selected in order to establish an Internet connection.
Ppp ON example&gt;
Notice that in this example the first <option>p</option> has been capitalized. This shows that we have successfully connected to the <acronym>ISP</acronym>.
PPp ON example&gt;
We have successfully authenticated with our <acronym>ISP</acronym> and are waiting for the assigned <acronym>IP</acronym> address.
PPP ON example&gt;


No matching activity found.

Browse all component changes

Things to check

Multiple failing checks

The translations in several languages have failing checks



English English
No related strings found in the glossary.

Source information

Source string comment
(itstool) path: sect2/programlisting
no-wrap, read-only
Source string location
String age
a year ago
Source string age
a year ago
Translation file
books/handbook.pot, string 8562