PPP-HOWTO.Pdf

Total Page:16

File Type:pdf, Size:1020Kb

PPP-HOWTO.Pdf Linux PPP HOWTO Corwin Light−Williams Joshua Drake Copyright © 2000 by Commandprompt, Inc Copyright © 1997 by Robert Hart This is a LinuxPorts.Com Document for the Linux Documentation Project. Linux PPP HOWTO Table of Contents Chapter 1. How can I help?...............................................................................................................................1 Chapter 2. Introduction......................................................................................................................................2 2.1. Clients and Servers...........................................................................................................................2 2.2. Differences between Linux distributions..........................................................................................3 2.3. PPP configuration tools....................................................................................................................4 Chapter 3. IP Numbers.......................................................................................................................................5 Chapter 4. Aims of this Document....................................................................................................................7 4.1. Setting up a PPP Client.....................................................................................................................7 4.2. Linking two LANs or a LAN to the Internet using PPP...................................................................7 4.3. Using intuitive configuration tools to set up PPP.............................................................................7 4.4. Setting up a PPP server.....................................................................................................................7 4.5. Using PPP over a direct null modem connection..............................................................................7 4.6. This document at present does NOT cover.......................................................................................8 Chapter 5. Software versions covered...............................................................................................................9 Chapter 6. Other Useful/Important Documents............................................................................................10 6.1. Useful Linux Mailing Lists.............................................................................................................10 Chapter 7. Easy Configuration Utilities for PPP...........................................................................................12 7.1. KPPP − The KDE PPP Dialer.........................................................................................................12 7.2. WvDial − A command−line pppd driver........................................................................................20 7.3. rp3 − RedHat PPP dialer.................................................................................................................21 7.4. Linuxconf − Universal (almost) Linux PPP dialer.........................................................................22 Chapter 8. Debugging.......................................................................................................................................26 8.1. I have compiled PPP support into the kernel, but...........................................................................26 8.1.1. Are you booting the right kernel?................................................................................................26 8.1.2. Did you compile ppp kernel support as a module?......................................................................26 8.1.3. Are you using the correct version of PPP for your kernel?.........................................................26 8.1.4. Are you running pppd as root?.....................................................................................................27 8.2. My modem connects but ppp never starts up..................................................................................27 8.3. The syslog says "serial line is not 8 bit clean"................................................................................27 8.3.1. You are not correctly logging into the server..............................................................................27 8.3.2. You are not starting PPP on the server........................................................................................28 8.3.3. The remote PPP process is slow to start......................................................................................28 8.4. Default route not set........................................................................................................................28 8.5. Other Problems...............................................................................................................................29 Chapter 9. Overview of what has to be done to get PPP working as a client..............................................30 9.1. Obtaining/Installing the software....................................................................................................30 9.2. Compiling PPP support into the kernel...........................................................................................30 9.3. Obtaining information from your ISP.............................................................................................31 9.4. Configuring your modem and serial port........................................................................................31 i Linux PPP HOWTO Table of Contents 9.5. Setting up Name to Address Resolution (DNS).............................................................................31 9.6. PPP and root Privileges...................................................................................................................32 9.7. Checking your distribution PPP Files and setting up the PPP Options..........................................32 9.8. If your PPP server uses PAP (Password Authentication Protocol).................................................32 9.9. Connecting to the PPP server by hand............................................................................................33 9.10. Automating your PPP Connection................................................................................................33 9.11. Shutting down the link..................................................................................................................33 9.12. If you have problems....................................................................................................................33 9.13. After the link comes up.................................................................................................................34 9.14. Problems with standard IP services on a Dynamic IP number PPP link......................................34 9.15. Maintaining a permanent connection to the net with pppd...........................................................34 Chapter 10. Configuring your Linux Kernel.................................................................................................35 10.1. Installing the Linux Kernel source................................................................................................35 10.2. Knowing your hardware...............................................................................................................36 10.3. Kernel compilation − the Linux 1.2.13 kernel..............................................................................36 10.4. Kernel compilation − the Linux 1.3.x, 2.0.x, and 2.2.x kernels...................................................37 10.5. Note on PPP−2.x and /proc/net/dev..............................................................................................38 10.6. General kernel config considerations for PPP..............................................................................38 Chapter 11. Getting the Information you need about the PPP server.........................................................40 Chapter 12. Configuring your modem and serial port..................................................................................41 12.1. A note about serial ports and speed capabilities...........................................................................42 12.2. Serial Port Names.........................................................................................................................42 12.3. Configuring your modem..............................................................................................................43 12.4. Note on Serial Flow Control.........................................................................................................44 12.5. Testing your modem for dial out..................................................................................................44 Chapter 13. Setting up Name to Address Resolution (DNS).........................................................................46 13.1. The /etc/resolv.conf file................................................................................................................46 13.2. The /etc/host.conf file...................................................................................................................47 Chapter 14. Using PPP and root privileges....................................................................................................48
Recommended publications
  • Development of a Wireless Communication System for Swarm Intelligent Robots
    DEVELOPMENT OF A WIRELESS COMMUNICATION SYSTEM FOR SWARM INTELLIGENT ROBOTS Martina Russitano Lanza Internship Report submitted to the International Space University in partial fulfillment of the requirements of the M.Sc. Degree in Space Studies August, 2016 Internship Mentor: Prof. Kazuya Yoshida Host Institution: Tohoku University, Sendai, Japan ISU Academic Advisor: Prof. Hugh Hill ABSTRACT This report discusses the activities performed during the three-month internship at the Space Robotics Laboratory of Tohoku University, in Sendai (Japan), the internship being the final module of the International Space University’s Master of Space Studies program. The project, which envisaged the development of a wireless communication system for swarm intelligent robots based on the LTE technology, has been widely described in all its phases, from the Literature Review to the practical experience. A detailed description of all the hardware, procedures tested, trouble shooting methods and results obtained is also included. Due to the large number of problems encountered when trying to connect the LTE modem device, it was not possible to accomplish the task of building a real communication system. Nonetheless, possible reasons for all the issues occurred have been explained and motivated, and some recommendations for further studies have been stated. At the same time, a research concerning the next steps of the project has been carried out and a feasible method to establish a communication between different platforms has been analyzed and proposed. In addition to the main project, this report introduces also the activities of the Tohoku University Engineering Summer Program (TESP), to which I participated, as well as its positive outcomes.
    [Show full text]
  • V2406C Series Linux Software User's Manual
    V2406C Series Linux Software User’s Manual Version 1.0, February 2020 www.moxa.com/product © 2020 Moxa Inc. All rights reserved. V2406C Series Linux Software User’s Manual The software described in this manual is furnished under a license agreement and may be used only in accordance with the terms of that agreement. Copyright Notice © 2020 Moxa Inc. All rights reserved. Trademarks The MOXA logo is a registered trademark of Moxa Inc. All other trademarks or registered marks in this manual belong to their respective manufacturers. Disclaimer Information in this document is subject to change without notice and does not represent a commitment on the part of Moxa. Moxa provides this document as is, without warranty of any kind, either expressed or implied, including, but not limited to, its particular purpose. Moxa reserves the right to make improvements and/or changes to this manual, or to the products and/or the programs described in this manual, at any time. Information provided in this manual is intended to be accurate and reliable. However, Moxa assumes no responsibility for its use, or for any infringements on the rights of third parties that may result from its use. This product might include unintentional technical or typographical errors. Changes are periodically made to the information herein to correct such errors, and these changes are incorporated into new editions of the publication. Technical Support Contact Information www.moxa.com/support Moxa Americas Moxa China (Shanghai office) Toll-free: 1-888-669-2872 Toll-free: 800-820-5036 Tel: +1-714-528-6777 Tel: +86-21-5258-9955 Fax: +1-714-528-6778 Fax: +86-21-5258-5505 Moxa Europe Moxa Asia-Pacific Tel: +49-89-3 70 03 99-0 Tel: +886-2-8919-1230 Fax: +49-89-3 70 03 99-99 Fax: +886-2-8919-1231 Moxa India Tel: +91-80-4172-9088 Fax: +91-80-4132-1045 Table of Contents 1.
    [Show full text]
  • Red Hat Enterprise Linux 7 7.9 Release Notes
    Red Hat Enterprise Linux 7 7.9 Release Notes Release Notes for Red Hat Enterprise Linux 7.9 Last Updated: 2021-08-17 Red Hat Enterprise Linux 7 7.9 Release Notes Release Notes for Red Hat Enterprise Linux 7.9 Legal Notice Copyright © 2021 Red Hat, Inc. The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at http://creativecommons.org/licenses/by-sa/3.0/ . In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version. Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law. Red Hat, Red Hat Enterprise Linux, the Shadowman logo, the Red Hat logo, JBoss, OpenShift, Fedora, the Infinity logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries. Linux ® is the registered trademark of Linus Torvalds in the United States and other countries. Java ® is a registered trademark of Oracle and/or its affiliates. XFS ® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries. MySQL ® is a registered trademark of MySQL AB in the United States, the European Union and other countries. Node.js ® is an official trademark of Joyent. Red Hat is not formally related to or endorsed by the official Joyent Node.js open source or commercial project.
    [Show full text]
  • Knowing Knoppix/Print Version - Wikibooks, Open Books for an Open World
    Knowing Knoppix/Print version - Wikibooks, open books for an open world Knowing Knoppix/Print version Knowing Knoppix The current, editable version of this book is available in Wikibooks, the open-content textbooks collection, at http://en.wikibooks.org/wiki/Knowing_Knoppix Permission is granted to copy, distribute, and/or modify this document under the terms of the Creative Commons Attribution-ShareAlike 3.0 License. Contents 1 Introducing Knoppix 1.1 Introducing Knoppix 1.1.1 What is Knoppix? 1.1.1.1 Linux that runs from CD 1.1.1.2 Can be installed on a Hard Disk or a USB key 1.1.1.3 How it works 1.1.1.4 Safe to run 1.1.1.5 Personal 1.1.1.6 Free 1.1.2 What you can do with Knoppix 1.1.2.1 Learn Linux 1.1.2.2 Rescue and test 1.1.2.3 Use and explore 1.1.2.4 Network 1.1.3 Where Knoppix comes from 1.1.4 Knoppix is Free Software 1.1.5 Limitations 1.1.5.1 No warranty 1.1.5.2 CD means slow 1.1.5.3 Not everything works 1 von 71 Knowing Knoppix/Print version - Wikibooks, open books for an open world 1.1.5.4 RAM intensive 1.1.6 What is included in Knoppix? 1.1.7 What is Linux? 1.1.7.1 A little history 1.1.7.1.1 How GNU grew 1.1.7.1.2 It's a GNU world! 2 Knoppix for the first time 2.1 Knoppix for the first time 2.1.1 Overview 2.1.2 Hardware requirements 2.1.3 Starting Knoppix 2.1.3.1 The first stage 2.1.3.2 The second stage 2.1.4 The first stage 2.1.4.1 Getting to the boot prompt 2.1.4.2 Help at the boot prompt 2.1.4.2.1 Quick help 2.1.5 The second stage 2.1.5.1 Starting Knoppix proper 2.1.5.2 Which keyboard/language? 2.1.5.3 Automatic hardware detection
    [Show full text]
  • Answers to Selected Problems
    Answers to selected problems Chapter 4 1 Whenever you need to find out information about a command, you should use man. With option -k followed by a keyword, man will display commands related to that keyword. In this case, a suitable keyword would be login, and the dialogue would look like: $ man -k login ... logname (1) - print user’s login name ... The correct answer is therefore logname.Tryit: $ logname chris 3 As in problem 4.1, you should use man to find out more information on date. In this case, however, you need specific information on date, so the command you use is $ man date The manual page for date is likely to be big, but this is not a problem. Remember that the manual page is divided into sections. First of all, notice that under section SYNOPSIS the possible format for arguments to date is given: NOTE SYNOPSIS date [-u] [+format] The POSIX standard specifies only two This indicates that date may have up to two arguments, both of arguments to date – which are optional (to show this, they are enclosed in square some systems may in brackets). The second one is preceded by a + symbol, and if you addition allow others read further down, in the DESCRIPTION section it describes what format can contain. This is a string (so enclose it in quotes) which 278 Answers to selected problems includes field descriptors to specify exactly what the output of date should look like. The field descriptors which are relevant are: %r (12-hour clock time), %A (weekday name), %d (day of week), %B (month name) and %Y (year).
    [Show full text]
  • V2406C Series Linux Software User's Manual
    V2406C Series Linux Software User’s Manual Version 2.0, January 2021 www.moxa.com/product © 2021 Moxa Inc. All rights reserved. V2406C Series Linux Software User’s Manual The software described in this manual is furnished under a license agreement and may be used only in accordance with the terms of that agreement. Copyright Notice © 2021 Moxa Inc. All rights reserved. Trademarks The MOXA logo is a registered trademark of Moxa Inc. All other trademarks or registered marks in this manual belong to their respective manufacturers. Disclaimer Information in this document is subject to change without notice and does not represent a commitment on the part of Moxa. Moxa provides this document as is, without warranty of any kind, either expressed or implied, including, but not limited to, its particular purpose. Moxa reserves the right to make improvements and/or changes to this manual, or to the products and/or the programs described in this manual, at any time. Information provided in this manual is intended to be accurate and reliable. However, Moxa assumes no responsibility for its use, or for any infringements on the rights of third parties that may result from its use. This product might include unintentional technical or typographical errors. Changes are periodically made to the information herein to correct such errors, and these changes are incorporated into new editions of the publication. Technical Support Contact Information www.moxa.com/support Moxa Americas Moxa China (Shanghai office) Toll-free: 1-888-669-2872 Toll-free: 800-820-5036 Tel: +1-714-528-6777 Tel: +86-21-5258-9955 Fax: +1-714-528-6778 Fax: +86-21-5258-5505 Moxa Europe Moxa Asia-Pacific Tel: +49-89-3 70 03 99-0 Tel: +886-2-8919-1230 Fax: +49-89-3 70 03 99-99 Fax: +886-2-8919-1231 Moxa India Tel: +91-80-4172-9088 Fax: +91-80-4132-1045 Table of Contents 1.
    [Show full text]
  • The Buildroot User Manual I
    The Buildroot user manual i The Buildroot user manual The Buildroot user manual ii Contents I Getting started 1 1 About Buildroot 2 2 System requirements 3 2.1 Mandatory packages.................................................3 2.2 Optional packages...................................................4 3 Getting Buildroot 5 4 Buildroot quick start 6 5 Community resources 8 II User guide 9 6 Buildroot configuration 10 6.1 Cross-compilation toolchain............................................. 10 6.1.1 Internal toolchain backend.......................................... 11 6.1.2 External toolchain backend.......................................... 11 6.1.2.1 External toolchain wrapper.................................... 12 6.2 /dev management................................................... 13 6.3 init system....................................................... 13 7 Configuration of other components 15 8 General Buildroot usage 16 8.1 make tips....................................................... 16 8.2 Understanding when a full rebuild is necessary................................... 17 8.3 Understanding how to rebuild packages....................................... 18 8.4 Offline builds..................................................... 18 8.5 Building out-of-tree.................................................. 18 The Buildroot user manual iii 8.6 Environment variables................................................ 19 8.7 Dealing efficiently with filesystem images...................................... 19 8.8 Graphing the dependencies
    [Show full text]
  • PO Midthjell, S Dalatun, and a Sandven
    Akademy 2009 ~ Technical Papers July 3 to 11 2009 ~ Las Palmas, Gran Canaria, Spain Mobile Broadband: An Analysis and Improvement of Client-Side Connections to Mobile-Operators in KDE1 Peder Osevoll Midthjell Sveinung Dalatun Anders Sandven Midthjell Porsmyrvegen 143 Vavoll 63 NO-6776 Kjoelsdalen NO-5610 Oeystese NO-5610 Oeystese +0047 41 10 63 95 +0047 41 45 28 66 +0047 99 54 30 61 [email protected] [email protected] [email protected] ABSTRACT Initial Task Definition This is a summary of our bachelor's thesis concerning We will examine what problem(s) exist in relation to mobile broadband in KDE. The project is divided in two current hard- and software solutions for mobile broadband parts. The initial- and final task descriptions do not match, in relation to KDE. Initially there will be a test phase where however, they do have the same aim; improve support for we test the dongles, trying to locate the problem(s). The mobile broadband in KDE. First the initial task is results of the testing are elaborated in an analysis phase described, followed by the change of focus. Our solution is where we decide how to solve the problem(s), hopefully we presented in the end. We kept the test results from the will be able to do this in terms of code. It is also desirable initial task description as a part of the project, the rest is that we investigate the various service providers in Norway part of the new task definition. in relation to price, bandwidth and functionality. Due to the tight project time schedule, we could not INTRODUCTION This project was offered to us by Nokia Qt Software with investigate all aspects of network management in Knut Yrvin as our external contact person.
    [Show full text]
  • Novell SUSE Linux Package Description and Support Level Information for SLES 9 S/390 for Contracted Customers and Partners
    NTS supported packages SLES 9 SP3 Novell SUSE Linux Package Description and Support Level Information for SLES 9 S/390 for Contracted Customers and Partners Definitions and Support Level Descriptions ACC Additional Customer Contract necessary L1: Installation and problem determination, which means technical support designed to Configuration provide compatibility information, installation assistance, usage support, on-going maintenance and basic troubleshooting. Level 1 Support is not intended to correct product defect errors. L2: Reproduction of Potential problem isolation, which means technical support designed to Issues duplicate customer problems, isolate problem area and provide resolution for problems not resolved by Level 1 Support. L3: Code Debugging and problem resolution, which means technical support designed to Patch Provision resolve complex problems by engaging engineering in resolution of product defects which have been identified by Level 2 Support. Package Short Name Package Description SLES 9 S/390 3ddiag A Tool to Verify the 3D Configuration L3 844-ksc-pcf Korean 8x4x4 johab fonts L2 a2ps Converts ASCII Text into PostScript L3 aaa_base SuSE Linux base package L3 aaa_skel Skeleton for default users L3 aalib An ascii art library L3 aalib-devel Development package for aalib L3 acct User Specific Process Accounting L3 acl Commands for Manipulating POSIX Access Control Lists L3 aide Advanced Intrusion Detection Environment L2 alice-compat Alice compatibility package L3 amanda Network Disk Archiver L2 amavisd-new High-Performance
    [Show full text]
  • Oss NMC Rel9.Xlsx
    Open Source Software Packages for NMC XMP Release 9 Application License Publisher abattis-cantarell-fonts OFL https://git.gnome.org/browse/cantarell-fonts/ abrt GPLv2+ https://abrt.readthedocs.org/ abrt-addon-ccpp GPLv2+ https://abrt.readthedocs.org/ abrt-addon-kerneloops GPLv2+ https://abrt.readthedocs.org/ abrt-addon-pstoreoops GPLv2+ https://abrt.readthedocs.org/ abrt-addon-python GPLv2+ https://abrt.readthedocs.org/ abrt-addon-vmcore GPLv2+ https://abrt.readthedocs.org/ abrt-addon-xorg GPLv2+ https://abrt.readthedocs.org/ abrt-cli GPLv2+ https://abrt.readthedocs.org/ abrt-console-notification GPLv2+ https://abrt.readthedocs.org/ abrt-dbus GPLv2+ https://abrt.readthedocs.org/ abrt-desktop GPLv2+ https://abrt.readthedocs.org/ abrt-gui GPLv2+ https://abrt.readthedocs.org/ abrt-gui-libs GPLv2+ https://abrt.readthedocs.org/ abrt-libs GPLv2+ https://abrt.readthedocs.org/ abrt-python GPLv2+ https://abrt.readthedocs.org/ abrt-retrace-client GPLv2+ https://abrt.readthedocs.org/ abrt-tui GPLv2+ https://abrt.readthedocs.org/ accountsservice GPLv3+ https://www.freedesktop.org/wiki/Software/AccountsService/ accountsservice-libs GPLv3+ https://www.freedesktop.org/wiki/Software/AccountsService/ acl GPLv2+ http://acl.bestbits.at/ adcli LGPLv2+ http://cgit.freedesktop.org/realmd/adcli adwaita-cursor-theme LGPLv3+ or CC-BY-SA http://www.gnome.org adwaita-gtk2-theme LGPLv2+ https://gitlab.gnome.org/GNOME/gnome-themes-extra adwaita-icon-theme LGPLv3+ or CC-BY-SA http://www.gnome.org adwaita-qt5 LGPLv2+ https://github.com/MartinBriza/adwaita-qt aic94xx-firmware
    [Show full text]
  • Optimizing the Migration of Virtual Computers
    USENIX Association Proceedings of the 5th Symposium on Operating Systems Design and Implementation Boston, Massachusetts, USA December 9–11, 2002 THE ADVANCED COMPUTING SYSTEMS ASSOCIATION © 2002 by The USENIX Association All Rights Reserved For more information about the USENIX Association: Phone: 1 510 528 8649 FAX: 1 510 548 5738 Email: [email protected] WWW: http://www.usenix.org Rights to individual papers remain with the author or the author's employer. Permission is granted for noncommercial reproduction of the work for educational or research purposes. This copyright notice must be included in the reproduced paper. USENIX acknowledges all trademarks herein. Optimizing the Migration of Virtual Computers Constantine P. Sapuntzakis Ramesh Chandra Ben Pfaff Jim Chow Monica S. Lam Mendel Rosenblum Computer Science Department Stanford University g fcsapuntz, rameshch, blp, jimchow, lam, mendel @stanford.edu “Beam the computer up, Scotty!” Abstract 1 Introduction This paper shows how to quickly move the state of a run- Today’s computing environments are hard to maintain ning computer across a network, including the state in its and hard to move between machines. These environ- disks, memory, CPU registers, and I/O devices. We call ments encompass much state, including an operating sys- this state a capsule. Capsule state is hardware state, so it tem, installed software applications, a user’s individual includes the entire operating system as well as applica- data and profile, and, if the user is logged in, a set of pro- tions and running processes. cesses. Most of this state is deeply coupled to the com- We have chosen to move x86 computer states because puter hardware.
    [Show full text]
  • Version : 2009K Vendor: Centos Release : 1.El5 Build Date
    Name : tzdata Relocations: (not relocatable) Version : 2009k Vendor: CentOS Release : 1.el5 Build Date: Mon 17 Aug 2009 06:43:09 PM EDT Install Date: Mon 19 Dec 2011 12:32:58 PM EST Build Host: builder16.centos.org Group : System Environment/Base Source RPM: tzdata-2009k- 1.el5.src.rpm Size : 1855860 License: GPL Signature : DSA/SHA1, Mon 17 Aug 2009 06:48:07 PM EDT, Key ID a8a447dce8562897 Summary : Timezone data Description : This package contains data files with rules for various timezones around the world. Name : nash Relocations: (not relocatable) Version : 5.1.19.6 Vendor: CentOS Release : 54 Build Date: Thu 03 Sep 2009 07:58:31 PM EDT Install Date: Mon 19 Dec 2011 12:33:05 PM EST Build Host: builder16.centos.org Group : System Environment/Base Source RPM: mkinitrd-5.1.19.6- 54.src.rpm Size : 2400549 License: GPL Signature : DSA/SHA1, Sat 19 Sep 2009 11:53:57 PM EDT, Key ID a8a447dce8562897 Summary : nash shell Description : nash shell used by initrd Name : kudzu-devel Relocations: (not relocatable) Version : 1.2.57.1.21 Vendor: CentOS Release : 1.el5.centos Build Date: Thu 22 Jan 2009 05:36:39 AM EST Install Date: Mon 19 Dec 2011 12:33:06 PM EST Build Host: builder10.centos.org Group : Development/Libraries Source RPM: kudzu-1.2.57.1.21- 1.el5.centos.src.rpm Size : 268256 License: GPL Signature : DSA/SHA1, Sun 08 Mar 2009 09:46:41 PM EDT, Key ID a8a447dce8562897 URL : http://fedora.redhat.com/projects/additional-projects/kudzu/ Summary : Development files needed for hardware probing using kudzu.
    [Show full text]