亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? how to hook up ppp in linux.htm

?? How to Hook up PPP in Linux
?? HTM
?? 第 1 頁 / 共 5 頁
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0042)http://axion.physics.ubc.ca/ppp-linux.html -->
<HTML><HEAD><TITLE>How to Hook up PPP in Linux</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1561" name=GENERATOR></HEAD>
<BODY>
<CENTER>
<H2>How to hook up PPP</H2></CENTER>
<CENTER>
<H3>in Linux</H3></CENTER>
<CENTER>
<H3>W.G. Unruh</H3></CENTER>
<CENTER><IMG alt="" src="How to Hook up PPP in Linux.files/unruh.png"> 
</CENTER>You can download this file as a text file (no HTML formatting) at <A 
href="http://www.theory.physics.ubc.ca/ppp-linux.txt">www.theory.physics.ubc.ca/ppp-linux.txt</A> 
<BR>or as an HTML version at <A 
href="http://www.theory.physics.ubc.ca/ppp-linux.html">http://www.theory.physics.ubc.ca/ppp-linux.html</A>
<P>This document is copyright W. Unruh. It may be copied freely as a whole for 
non-commercial purposes, but must retain the indication of authorship. If you 
want to include it in a collection for sale, please contact the author. 
Furthermore, any alterations must have the permission of the author. 
<H4>Reason for Document </H4>
<P>The key problem in hooking up a PPP link to an Internet Service Provider 
(ISP) is that the ISP's seem to compete with each other as to who can find 
another obscure way of authenticating users. Thus we have login, PAP, CHAP 05, 
CHAP80, CHAP80-lanman, CHAP81, ... and combinations of these. The chief 
difficulty of connecting to an ISP is discovering which technique is actually 
being used by the ISP in an orderly way. Since few of them know anything about 
Linux, and since few of them even understand what technique they actually use, 
this procedure should allow you to set up without their help, or to understand 
what their help means if it is given. 
<P>The following has a number of steps to connecting to your ISP. The temptation 
is to skip steps. This is a bad idea, as it will almost certainly lead to grief. 
Do each step and you will succeed, and you will also learn something about your 
system in the process. 
<P>These instructions were developed with the 2.0.x versions of the Linux 
kernels, and also work with the 2.2.x or 2.4.x series of kernels as well. 
Similarly, they work with versions of pppd at least from version 2.3.3 on (up to 
2.4.1 by now).(For the 2.4.x kernels you <B>must</B> use pppd version 2.4.1 or 
later.) In fact some of the features below only work with later versions of pppd 
and I would urge you to upgrade to the latest version. You can get the latest 
pppd from <A href="ftp://ftp.samba.org/pub/ppp">ftp://ftp.samba.org/pub/ppp</A>. 
You may be able to get versions from <A 
href="ftp://cs.anu.edu.au/pub/software/ppp/">ftp://cs.anu.edu.au/pub/software/ppp/</A> 
but these sites may not be up to date. 
<P>Unfortunately the man page for pppd has gotten out of date, and a number of 
options have been added/subtracted without proper documentation. For a latest 
man page for pppd 2.4.1 written by James Carlson ( who ported pppd to Solaris 
and is the Solaris maintainer), see <A 
href="http://axion.physics.ubc.ca/pppd-jc.8">pppd-jc.8</A> 
<CENTER>
<H3>INDEX</H3></CENTER>
<UL>
  <LI><A href="http://axion.physics.ubc.ca/ppp-linux.html#Initial">Initial 
  Setup</A> 
  <UL>
    <LI><A href="http://axion.physics.ubc.ca/ppp-linux.html#Modem">Modem</A> 
    <LI><A href="http://axion.physics.ubc.ca/ppp-linux.html#Logging">Logging</A> 

    <LI><A 
    href="http://axion.physics.ubc.ca/ppp-linux.html#Resolver">Resolver</A> 
    <LI><A href="http://axion.physics.ubc.ca/ppp-linux.html#NoDefault">No 
    Default Route</A> 
    <LI><A href="http://axion.physics.ubc.ca/ppp-linux.html#PPPDModule">PPPD 
    Module support</A> 
    <UL>
      <LI><A href="http://axion.physics.ubc.ca/ppp-linux.html#2.0">2.0.x 
      kernels</A> 
      <LI><A href="http://axion.physics.ubc.ca/ppp-linux.html#2.2">2.2.x 
      kernels</A> 
      <LI><A href="http://axion.physics.ubc.ca/ppp-linux.html#2.4">2.4.x 
      kernels</A> </LI></UL>
    <LI><A href="http://axion.physics.ubc.ca/ppp-linux.html#PPPOptions">PPP 
    Options</A> </LI></UL>
  <LI><A href="http://axion.physics.ubc.ca/ppp-linux.html#ISPWant">What does ISP 
  Want? </A>
  <UL>
    <LI><A href="http://axion.physics.ubc.ca/ppp-linux.html#ImmedPPP">Immediate 
    PPP</A> 
    <LI><A href="http://axion.physics.ubc.ca/ppp-linux.html#Which">Which 
    Authentication?</A> 
    <LI><A href="http://axion.physics.ubc.ca/ppp-linux.html#Login">Login 
    Authorisation?</A> 
    <LI><A href="http://axion.physics.ubc.ca/ppp-linux.html#PAP">PAP/CHAP</A> 
    <UL>
      <LI><A href="http://axion.physics.ubc.ca/ppp-linux.html#Types">Types of 
      CHAP</A> 
      <LI><A href="http://axion.physics.ubc.ca/ppp-linux.html#Settingup">Setting 
      up PAP/CHAP</A> </LI></UL>
    <LI><A 
    href="http://axion.physics.ubc.ca/ppp-linux.html#AreYouConnected">Connected?</A> 

    <LI><A 
    href="http://axion.physics.ubc.ca/ppp-linux.html#Connected!">Connected!</A> 
    </LI></UL>
  <LI><A href="http://axion.physics.ubc.ca/ppp-linux.html#Testing">Testing 
  Connection</A> 
  <LI><A href="http://axion.physics.ubc.ca/ppp-linux.html#Other">Various 
  Possible Problems</A> 
  <LI><A 
  href="http://axion.physics.ubc.ca/ppp-linux.html#Automation">Automation</A> 
  <UL>
    <LI><A href="http://axion.physics.ubc.ca/ppp-linux.html#SUID">SUID</A> 
    <LI><A href="http://axion.physics.ubc.ca/ppp-linux.html#Script">Scripts</A> 
    <LI><A 
    href="http://axion.physics.ubc.ca/ppp-linux.html#Security">Security</A> 
  </LI></UL>
  <LI><A href="http://axion.physics.ubc.ca/ppp-linux.html#Stopping">Stopping 
  PPP</A> </LI></UL><A name=Initial></A>
<CENTER>
<H3>Initial Setup</H3></CENTER>
<P>For much of this document, the steps are essentially independent of your ISP. 
Many ISPs do not know their own systems, and their advice must often be taken 
with a grain of salt. Thus, the document below shows you how to find out what 
your ISP wants, independent of what your ISP says he wants. However, for the 
first step you cannot do without your ISP. You must get a username and a 
password from your ISP-- which usually means that you must open an account with 
them and pay your money. It is worth asking them to make sure that they tell you 
exactly what form that user name must take when you sign on. For example some of 
them demand that you use your full email address with them as your username, 
rather than simply the name itself. Others demand additional additions to the 
bare username. Try to get them to be as specific as possible about exactly what 
you need to use. <BR>You also need to get the ISP's Domain Name Server (DNS-IP) 
address. (This is an address in Internet Protocol (IP) format, which is four 
numbers each less than 256 separated by dots (eg 142.103.234.29).) Often they 
will give you more than one. Occasionally an ISP will refuse. In that case they 
may supply the DNS dynamically instead. Using ppp version greater than 2.3.7 
will allow you still to sign on with them as described below. <BR>&nbsp; Having 
that information, log on as root (use root as the user name when you log on), 
or, after you have logged on as a user, run <BR><B>su</B> <BR>and enter your 
root password at the prompt.) 
<H3><A name=Modem>Modem</A></H3>Make sure that you know which port your modem is 
on. The two programs at <A 
href="http://axion.physics.ubc.ca/modem-chk.html">modem-chk.html</A> can help 
you to determine which port your modem is on. Alternatively, running 
<BR><B>setserial -bg /dev/ttyS*</B> can help find serial devices with something 
attached. <BR>Remember that COM1 (serial port 1) is /dev/ttyS0. COM2 is 
/dev/ttyS1, etc. In the following I will assume /dev/ttyS1. Change for your 
situation. <BR>If you have an internal PCI card modem (which is not a winmodem-- 
see below), looking in /proc/pci can give you a clue as to where the PCI bus 
placed the modem (ie port and irq). You can use the setserial command to set up 
one of the ttyS devices to use that port and irq. <BR>It is preferable to use 
the ttyS device rather than the cua device or the modem device. The cua devices 
will (have) disappear in future releases of Linux, and the /dev/modem device 
hides what you are actually doing and can lead to conflicts with other programs 
which use the serial ports. <BR>[Note that if your modem is a winmodem, it will 
not work as is under Linux. Some winmodems now have drivers for Linux. See <A 
href="http://www.linmodems.org/">http://www.linmodems.org/</A>--- It is probably 
a winmodem if it is a PCI modem, less so if it is an ISA and improbable if it is 
an external modem, and also improbably if it is not a 56K modem. <BR>If you have 
the latest kernels with USB support (Kernels 2.2.17 with the USB patches or 
2.4.x) you may also be able to use USB modems. (They must comply with the ACM 
standard.) See The file Documentation/usb/acm.txt included with the Linux source 
(/usr/src/linux* if included on your system, or <A 
href="http://www.theory.physics.ubc.ca/usb-acm.txt">here</A> is a copy from 
kernel 2.2.17 ) Note that for USB modems, the correct port to use is not the 
serial port ttyS? series but probably the /dev/usb/acm/? series of ports, where 
? is a usb number. I have never used a usb modem, so can provide no guidance on 
setting them up correctly. <A name=Logging></A>
<H3>Message Logging</H3>In order to figure out what is happening while you are 
trying to log on to your ISP, you must turn on debugging and log the debug 
messages to some file. The key programs are pppd, and a program it uses, called 
chat. We will store those debugging messages in a file called /var/log/ppp. (You 
can use any file you wish, including /var/log/messages. Some distributions are 
now installing a directory called /var/log/ppp (Eg, The Corel distribution does 
this). If yours does, you must use a different name, eg, /var/log/ppplog. Use 
that name instead everywhere this document talks about /var/log/ppp.) 
<P>In order that your system will record the debugging information from both 
these programs, do the following: <BR><B>cp /etc/syslog.conf 
/etc/syslog.conf.orig</B> <BR>to make sure you have a copy of a good version in 
case you mess up the next command. If you have trouble, copy back the original 
version. <BR>Edit /etc/syslog.conf and add the lines <PRE>local2.*                                /var/log/ppp 
daemon.*                                /var/log/ppp
</PRE>(Some versions of syslogd (eg on SunOS) demand that those be tabs not 
spaces between the two parts on each line. Some editors refuse to insert tabs 
and convert them to spaces. The syslogd shipped with most recent distributions 
of Linux do not seem to care, but Be warned.) 
<P>Then, to tell syslogd to actually log the information, do <BR><B>killall -1 
syslogd</B> 
<P>SUSE has now gone over to using syslog-ng instead of syslogd. While it does 
give much more room for fine tuning exactly what and how you want things logged, 
it comes with a much more complex setup. As far as I can tell from the docs for 
syslog-ng, you need to add the following lines to the /etc/syslog-ng.config or 
/etc/syslog-ng/syslog-ng.conf file <PRE>destination ppp { file("/var/log/ppp"); };

filter f_ppp {facility(daemon) and facility(local2);};

log { source(src); filter(f_ppp); destination(ppp); };

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品福利视频一区二区三区| av网站一区二区三区| 91麻豆精品国产91久久久资源速度| 伊人开心综合网| 欧美性淫爽ww久久久久无| 亚洲一区二区av在线| 欧美日韩免费不卡视频一区二区三区| 亚洲国产日韩a在线播放性色| 欧美一区欧美二区| 狠狠色狠狠色综合系列| 国产欧美日韩三级| 色噜噜狠狠成人网p站| 石原莉奈在线亚洲二区| 欧美精品一区二区三区高清aⅴ| 国产凹凸在线观看一区二区| 亚洲视频免费看| 91麻豆精品国产91久久久使用方法| 久久精品免费观看| 国产精品成人网| 欧美日韩在线三级| 国产精品12区| 一区二区三区免费在线观看| 欧美成人vps| 成人99免费视频| 午夜在线电影亚洲一区| 精品美女在线播放| av电影在线不卡| 免费精品视频在线| 亚洲色图欧洲色图婷婷| 日韩欧美一卡二卡| 色综合婷婷久久| 久久成人免费网站| 亚洲综合免费观看高清完整版在线 | 欧美性生活久久| 激情深爱一区二区| 亚洲午夜久久久久久久久电影网| 精品国产一区二区亚洲人成毛片 | 99精品视频在线观看免费| 五月激情综合婷婷| 亚洲欧洲精品成人久久奇米网| 欧美一区二区三区在线视频| 99亚偷拍自图区亚洲| 精品制服美女丁香| 亚洲大片免费看| 亚洲欧洲日本在线| 久久综合久久鬼色中文字| 欧美体内she精高潮| 成人综合激情网| 久久成人麻豆午夜电影| 亚洲mv在线观看| 中文字幕一区二区在线观看| 欧美tickle裸体挠脚心vk| 欧美日韩亚洲综合一区| 99久久免费精品| 国产999精品久久久久久| 蜜臀a∨国产成人精品| 亚洲福利一二三区| 亚洲欧美电影一区二区| 国产喂奶挤奶一区二区三区| 5566中文字幕一区二区电影| 91成人国产精品| www.日本不卡| 国产mv日韩mv欧美| 国产高清亚洲一区| 久久黄色级2电影| 青娱乐精品视频| 婷婷综合在线观看| 午夜日韩在线电影| 亚洲午夜在线电影| 伊人一区二区三区| 亚洲黄色片在线观看| 中文字幕日韩一区| 成人免费在线观看入口| 国产精品进线69影院| 国产欧美一区二区在线| 国产欧美中文在线| 国产精品视频看| ㊣最新国产の精品bt伙计久久| 中文字幕高清一区| 亚洲欧洲日韩在线| 亚洲日本丝袜连裤袜办公室| 一区二区三区在线免费| 亚洲激情av在线| 香蕉成人啪国产精品视频综合网 | 国产成人精品一区二区三区网站观看| 精品亚洲国内自在自线福利| 久久99国产精品尤物| 韩国欧美国产1区| 国产激情91久久精品导航| 成人高清免费在线播放| eeuss鲁片一区二区三区| 色天使久久综合网天天| 欧美日韩国产乱码电影| 91精品国产黑色紧身裤美女| 精品三级在线看| 欧美国产精品v| 亚洲少妇30p| 香蕉久久一区二区不卡无毒影院| 日av在线不卡| 成人美女视频在线观看| 色欧美片视频在线观看在线视频| 欧美亚洲综合久久| 日韩精品资源二区在线| 国产精品天天看| 亚洲综合免费观看高清完整版| 午夜天堂影视香蕉久久| 国产露脸91国语对白| 91啪亚洲精品| 欧美一区二区三区爱爱| 国产欧美日韩精品一区| 夜夜精品视频一区二区| 蜜桃传媒麻豆第一区在线观看| 国产精品99精品久久免费| 色欲综合视频天天天| 精品国产区一区| 亚洲欧美电影一区二区| 久久99精品久久久久久动态图 | 色美美综合视频| 日韩午夜中文字幕| 亚洲欧洲av在线| 日韩高清国产一区在线| 成人丝袜高跟foot| 91精品国产综合久久香蕉的特点| 欧美国产视频在线| 日本欧美加勒比视频| 成人app下载| 精品国产百合女同互慰| 亚洲精品日产精品乱码不卡| 国产一区二区三区国产| 91黄视频在线观看| 国产香蕉久久精品综合网| 亚洲6080在线| 91麻豆国产自产在线观看| 精品国产一区二区三区不卡| 亚洲午夜av在线| www.欧美.com| 久久久久久久久久久99999| 亚洲成人精品影院| 99久久99久久免费精品蜜臀| 日韩免费电影一区| 天天av天天翘天天综合网 | 中文字幕日韩一区| 黄一区二区三区| 91精品国产综合久久精品图片| 亚洲青青青在线视频| 高清shemale亚洲人妖| 欧美成人女星排行榜| 午夜久久久影院| 在线免费观看成人短视频| 国产精品久久午夜夜伦鲁鲁| 久久国产欧美日韩精品| 欧美精品黑人性xxxx| 一二三四区精品视频| 91麻豆蜜桃一区二区三区| 国产精品私人影院| 成人午夜av在线| 国产亚洲综合色| 国产一区视频导航| 精品播放一区二区| 久久国产精品第一页| 欧美一区二区视频网站| 日韩av成人高清| 欧美日韩一区在线| 午夜久久久久久久久久一区二区| 欧洲亚洲国产日韩| 亚洲观看高清完整版在线观看| 色综合久久久久综合| 亚洲欧美偷拍另类a∨色屁股| av在线不卡免费看| 亚洲欧美日韩在线| 在线观看免费亚洲| 亚洲成人综合网站| 6080国产精品一区二区| 久久精品99国产国产精| 久久嫩草精品久久久久| 国产精品一二三四| 国产精品婷婷午夜在线观看| 97se亚洲国产综合自在线| 亚洲人成人一区二区在线观看| 99国产欧美另类久久久精品| 最新欧美精品一区二区三区| 色综合天天性综合| 亚洲一区二区成人在线观看| 777午夜精品视频在线播放| 精品影视av免费| 国产农村妇女毛片精品久久麻豆 | 色狠狠色狠狠综合| 一卡二卡三卡日韩欧美| 欧美丰满高潮xxxx喷水动漫| 蜜桃久久久久久久| 国产欧美日韩在线| 欧美在线观看视频一区二区| 天天色综合天天| 国产人妖乱国产精品人妖| 一本久久精品一区二区| 日本美女一区二区三区| 欧美激情综合五月色丁香小说| 91污在线观看| 美女性感视频久久| 综合电影一区二区三区|