This document describes the procedure on how to install and configure dialup or dialin server.

OS used: Linux (Fedora 9); tools used: mgetty by: Mr. Howard Bagcat

This document describes the procedure on how to install and configure dialup or dialin server.

OS used: Linux (Fedora 9); tools used: mgetty.

  • Get and install mgetty:
    [1] Download the package at http://download.fedora.redhat.com/pub/fedora/linux/releases/9/Fedora/x86_64/os/Packages, and install it by executing:
    # rpm -ivh mgetty-x.x.x.rpm; or

    [2] If Fedora 9 DVD is present, install the package by executing these:
    # mount /dev/cdrom /mnt
    # rpm -ivh /mnt/Packages/mgetty-x.x.x.rpm; or

    [3] If internet is availble, do the easy way by executing this:
    # yum install mgetty.
  • Edit /etc/mgetty+sendfax/login.mgetty, and add this entry:
    /AutoPPP/ - a_ppp /usr/sbin/pppd file /etc/ppp/options
  • Edit /etc/ppp/options, and add these entries:
    -detach
    asyncmap 0
    modem
    crtscts
    lock
    require-pap
    refuse-chap
    login
    proxyarp
  • Create /etc/ppp/options.ttyS0, and add this entry:
    192.168.0.1:192.168.0.2
  • Edit /etc/ppp/pap-secrets, and add this line:
    * * "" *
  • Create /etc/event.d/ttyS0, and add these stuff:
    start on runlevel 3
    stop on shutdown
    respawn
    exec /sbin/mgetty ttyS0
  • Create new dialup user by executing this:
    # /usr/sbin/useradd [username]
  • Source: http://howardbagcat.com/documents/dialup.php