195 lines
3.6 KiB
HTML
195 lines
3.6 KiB
HTML
<HTML
|
|
><HEAD
|
|
><TITLE
|
|
>Note on PPP-2.x and /proc/net/dev</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="Configuring your Linux Kernel"
|
|
HREF="kernel-configuration.html"><LINK
|
|
REL="PREVIOUS"
|
|
TITLE="Kernel compilation - the Linux 1.3.x, 2.0.x, and 2.2.x kernels"
|
|
HREF="x656.html"><LINK
|
|
REL="NEXT"
|
|
TITLE="General kernel config considerations for PPP"
|
|
HREF="x686.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="x656.html"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="80%"
|
|
ALIGN="center"
|
|
VALIGN="bottom"
|
|
>Chapter 10. Configuring your Linux Kernel</TD
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="right"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="x686.html"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"></DIV
|
|
><DIV
|
|
CLASS="SECT1"
|
|
><H1
|
|
CLASS="SECT1"
|
|
><A
|
|
NAME="AEN676"
|
|
>10.5. Note on PPP-2.x and <TT
|
|
CLASS="LITERAL"
|
|
>/proc/net/dev</TT
|
|
></A
|
|
></H1
|
|
><P
|
|
>If you are using PPP-2.x, you will find that a side effect of the 'on
|
|
the fly' creation of the PPP devices is that no devices show up if you
|
|
look in the <TT
|
|
CLASS="LITERAL"
|
|
>/proc/net</TT
|
|
> file system until a device is created by
|
|
starting up pppd:-</P
|
|
><P
|
|
> <TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><PRE
|
|
CLASS="PROGRAMLISTING"
|
|
>[hartr@archenland hartr]$ cat /proc/net/dev
|
|
Inter-| Receive | Transmit
|
|
face |packets errs drop fifo frame|packets errs drop fifo colls carrier
|
|
lo: 92792 0 0 0 0 92792 0 0 0 0 0
|
|
eth0: 621737 13 13 0 23 501621 0 0 0 1309 0</PRE
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
> </P
|
|
><P
|
|
>Once you have one (or more) ppp services started, you will see entries
|
|
such as this (from a ppp server):-</P
|
|
><P
|
|
> <TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><PRE
|
|
CLASS="PROGRAMLISTING"
|
|
>[root@kepler /root]# cat /proc/net/dev
|
|
Inter-| Receive | Transmit
|
|
face |packets errs drop fifo frame|packets errs drop fifo colls carrier
|
|
lo: 428021 0 0 0 0 428021 0 0 0 0 0
|
|
eth0:4788257 648 648 319 650 1423836 0 0 0 4623 5
|
|
ppp0: 2103 3 3 0 0 2017 0 0 0 0 0
|
|
ppp1: 10008 0 0 0 0 8782 0 0 0 0 0
|
|
ppp2: 305 0 0 0 0 297 0 0 0 0 0
|
|
ppp3: 6720 7 7 0 0 7498 0 0 0 0 0
|
|
ppp4: 118231 725 725 0 0 117791 0 0 0 0 0
|
|
ppp5: 38915 5 5 0 0 28309 0 0 0 0 0</PRE
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
> </P
|
|
></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="x656.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="x686.html"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
>Kernel compilation - the Linux 1.3.x, 2.0.x, and 2.2.x kernels</TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="kernel-configuration.html"
|
|
>Up</A
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
>General kernel config considerations for PPP</TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
></BODY
|
|
></HTML
|
|
> |