240 lines
4.5 KiB
HTML
240 lines
4.5 KiB
HTML
<HTML
|
|
><HEAD
|
|
><TITLE
|
|
>Linuxconf - Universal (almost) Linux PPP dialer</TITLE
|
|
><META
|
|
NAME="GENERATOR"
|
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.52"><LINK
|
|
REL="HOME"
|
|
TITLE="Linux PPP HOWTO"
|
|
HREF="index.html"><LINK
|
|
REL="UP"
|
|
TITLE="Easy Configuration Utilities for PPP"
|
|
HREF="tools.html"><LINK
|
|
REL="PREVIOUS"
|
|
TITLE="rp3 - RedHat PPP dialer"
|
|
HREF="x328.html"><LINK
|
|
REL="NEXT"
|
|
TITLE="Debugging"
|
|
HREF="problems.html"></HEAD
|
|
><BODY
|
|
CLASS="SECT1"
|
|
BGCOLOR="#FFFFFF"
|
|
TEXT="#000000"
|
|
LINK="#0000FF"
|
|
VLINK="#840084"
|
|
ALINK="#0000FF"
|
|
><DIV
|
|
CLASS="NAVHEADER"
|
|
><TABLE
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TH
|
|
COLSPAN="3"
|
|
ALIGN="center"
|
|
><A
|
|
HREF="http://www.linuxports.com/howto/ppp"
|
|
TARGET="_top"
|
|
>Linux PPP HOWTO</A
|
|
></TH
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="left"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="x328.html"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="80%"
|
|
ALIGN="center"
|
|
VALIGN="bottom"
|
|
>Chapter 7. Easy Configuration Utilities for PPP</TD
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="right"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="problems.html"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"></DIV
|
|
><DIV
|
|
CLASS="SECT1"
|
|
><H1
|
|
CLASS="SECT1"
|
|
><A
|
|
NAME="AEN342"
|
|
>7.4. Linuxconf - Universal (almost) Linux PPP dialer</A
|
|
></H1
|
|
><P
|
|
><A
|
|
HREF="http://dns.solucorp.qc.ca/linuxconf/"
|
|
TARGET="_top"
|
|
>Linuxconf homepage</A
|
|
></P
|
|
><P
|
|
>For help at any time while using Linuxconf, just hit the help key. Linuxconf
|
|
has contextual help menus for most its functionality.</P
|
|
><P
|
|
>Linuxconf's PPP section is fairly simple. First of all, open up Linuxconf.
|
|
This must be done as root. Here's a shot of Linuxconf in action:</P
|
|
><DIV
|
|
CLASS="MEDIAOBJECT"
|
|
><P
|
|
><IMG
|
|
SRC="snapshot02.jpg"
|
|
></IMG
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Click on the box next to "Config", then the box on "Networking", then the
|
|
box next to "Client tasks". You should see an entry called "PPP/SLIP/PLIP".
|
|
Click on that. On the right hand side of Linuxconf, you should now see
|
|
a box called "PPP/Slip/Plip configurations". There should be an area
|
|
below that, listing existing PPP devices(if any) and three buttons below
|
|
that. </P
|
|
><DIV
|
|
CLASS="MEDIAOBJECT"
|
|
><P
|
|
><IMG
|
|
SRC="snapshot15.jpg"
|
|
></IMG
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Click "Add" to add a new connection. It will then ask you to
|
|
select a type of interface. Make sure "PPP" is selected, then press
|
|
Accept.</P
|
|
><DIV
|
|
CLASS="MEDIAOBJECT"
|
|
><P
|
|
><IMG
|
|
SRC="snapshot03.jpg"
|
|
></IMG
|
|
></P
|
|
></DIV
|
|
><P
|
|
>In this box, there are fields for phone number, modem, username and password.
|
|
Enter the appropriate information into the appropriate fields, and
|
|
you should be configured. </P
|
|
><P
|
|
>To bring up the PPP link, open the "Control" tab on the left hand side,
|
|
then go to "Control Panels", then "Control PPP/SLIP/PLIP Link".
|
|
You should see a list of PPP devices. Click on the one you just made.
|
|
A question will pop up, asking you if you wish to activate the connection.
|
|
Click "Yes".</P
|
|
><DIV
|
|
CLASS="MEDIAOBJECT"
|
|
><P
|
|
><IMG
|
|
SRC="snapshot16.jpg"
|
|
></IMG
|
|
></P
|
|
></DIV
|
|
><P
|
|
>There are also advanced configuration options, such as modem speed,
|
|
connect scripts and etc. If you need to configure any of that, go
|
|
back to the place where you originally configured the link, and click
|
|
on the link you wish to customize. It should bring up a screen with
|
|
four tabs: Hardware, Communication, Networking,and PAP.</P
|
|
><P
|
|
>It is advisable to not change any of these options unless you are specifically
|
|
told to do so by your ISP or modem vendor. Most of them will work just fine
|
|
without any additional configuration.</P
|
|
><P
|
|
>Linuxconf also has command line tools for use in bringing your
|
|
PPP connection up and down:</P
|
|
><P
|
|
></P
|
|
><UL
|
|
><LI
|
|
><P
|
|
>netconf --connect pppsetup [--fore]
|
|
This will bring the link up. The optional --fore means that it remains
|
|
in the foreground. Otherwise it will terminate either if the connection is
|
|
successful or if it fails. It will return 0 if successful, higher if otherwise.</P
|
|
><P
|
|
></P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>netconf --dialctl
|
|
This will display all the available connections and their status.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>netconf --disconnect pppsetup
|
|
This will disconnect the link.</P
|
|
></LI
|
|
></UL
|
|
></DIV
|
|
><DIV
|
|
CLASS="NAVFOOTER"
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"><TABLE
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="x328.html"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="index.html"
|
|
>Home</A
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="problems.html"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
>rp3 - RedHat PPP dialer</TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="tools.html"
|
|
>Up</A
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
>Debugging</TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
></BODY
|
|
></HTML
|
|
> |