This Howto describes the installation of Roaring Penguin PPPoE for Debian GNU/Linux.

Requisites:

  1. Before you can install the software, you’ll need a kernel, 2.4.# minimum, compiled with:
    • Networking options
      • Socket Filtering
    • Network device support
      • PPP (point-to-point protocol) support
        • PPP filtering
        • PPP support for async serial ports
        • PPP Deflate compression
        • NB: You may find “PPP over Ethernet” listed. This option is not needed. You can experiment with it, but that’s ouside this manual’s scope.
  2. PPPd version 2.4.0 or higher (Debian Woody).
    • For ‘Woody’ you can install pppd by using ‘apt’;
      apt-get install ppp
    • For ‘Potato’ you can download a specially patched version of the pppd on www.roaringpenguin.com/pppoe/#download.

Installation of the Debian PPPoE client software

  1. Debian (tested on Woody) has a native pppoe package, but it won’t work properly. Apparently the default binaries are not okay.
    1. First install the Debian pppoe package (apt-get install pppoe). With the installation of Roaring Penguin lateron, the binaries of the Debian pppoe package are replaced, but not the startup scripts.
      This wil provide a working /etc/init.d/ppp init-script, so your connection will start automatically upon startup.
    2. You’ll need the Roaring Penguin PPPoE client, minimum rp-pppoe-3.5.
      Version rp-pppoe-3.5.tar.gz is included in the ResNet Installation Package. The manual included in this package will bring you to this page.
    3. Change directory (cd /path/to_download) where you’ve saved the ResNet Installation Package. This bundle includes a tar.gz with the Roaring Penguin-source and a manual (index.htm)
    4. tar xzvf resnet-rp.tar.gz to extract the bundle.
    5. tar xzvf rp-pppoe-3.5.tar.gz to extract the Roaring Penguin-source included in the bundle.
    6. cd rp-pppoe-3.5
    7. ./go (you can use adsl-setup to repeat in the future)
      • USERNAME: enter the username of your service account, don’t forget the @tudelft suffix!
      • INTERFACE: enter the interface that’s used for your PPPoE connection (eg: eth0)
      • idle-time: choose an ‘idle disconnect time’ or no for ‘always on’
      • DNS: press enter to skip manual DNS configuration specific for PPPoE, but instead keep the local DNS-server(s) of your building,
        or enter the TUDelft DNS-servers: 130.161.180.1 and 130.161.180.65
      • PASSWORD: enter your service account’s password. Repeat to check.
      • FIREWALL: choose a firewall option. 0 (NONE) will suffice in most cases
      • Summary: choose yes to accept or no to start over.
    8. It’s recommended to specify an ‘AccessConcentrator’ and ‘ServiceName’.
      • edit /etc/ppp/pppoe.conf and change/add these lines:ACNAME="DePoort"
        SERVICENAME="TUdelft-FTTD"
      • It’s also possible to specify these options on the commandline (if you don’t have a pppoe.conf):
        eg:

        pppoe -I eth0 -T 80 -m 1452 -S TUdelft-FTTD -C DePoort
    9. adsl-start to start your connection. (use adsl-stop to disconnect)
    10. Have fun with your Linux pppoe connection😉

This Howto describes the installation of Roaring Penguin PPPoE for RedHat Linux.

Requisites:

Recent versions of RedHat (7.3 and higher) have a suitable kernel for PPPoE and are equiped with recent versions of the pppd, so no upgrades are required. If you’re using an older version, please check the requirements

Installation PPPoE client software:

  1. You’ll need a Roaring Penguin PPPoE client, minimum rp-pppoe-3.5. This version is shipped with RedHat from version 9.
    Version rp-pppoe-3.5-1.i386.rpm is available in the ResNet Installation Package. The manual included in this package will bring you to this page.
  2. Install using /bin/rpm -ih rp-pppoe-yourversion.rpm or install the package from a RedHat (version 9 minimum) repository (eg from your installation CDROM).
  3. Run: /usr/sbin/adsl-setup
    • USERNAME: enter the username of your service account, don’t forget the @tudelft suffix!
    • INTERFACE: enter the interface that’s used for your PPPoE connection (eg: eth0).
    • idle-time: choose an ‘idle disconnect time’ or no for ‘always on’.
    • DNS: press enter to skip manual DNS configuration specific for PPPoE, but instead keep the local DNS-server(s) of your building,
      or enter the TUDelft DNS-servers: 130.161.180.1 and 130.161.180.65
    • PASSWORD: enter your service account’s password. Repeat to check.
    • FIREWALL: choose a firewall option. 0 (NONE) will suffice in most cases
    • Summary: choose yes to accept or no to start over.
  4. It’s recommended to specify an ‘AccessConcentrator’ and ‘ServiceName’.
    edit /etc/ppp/pppoe.conf and change/add these lines:

    ACNAME="DePoort"
    SERVICENAME="TUdelft-FTTD"

  5. Run: /usr/sbin/adsl-start to start your connection. (use adsl-stop to disconnect)
  6. If you want your connection to start upon startup, use chkconfig --add adsl to create the adsl init-scripts.
  7. Have fun with your Linux PPPoE connection😉

Requirements for older RedHat distributions

  1. Your 2.2/2.4 series kernel must support:
    • PPP filtering.
    • PPP deflate compression.
    • PPP async.
  2. If your kernel is a 2.2 series kernel, you’ll need a pppd version 2.3.10 or higher.
  3. If your kernel is a 2.4 series kernel, you’ll need a pppd version 2.4.0 or higher.

About ngengeh

Nama gw ndry

Posted on July 28, 2008, in Belajar, Linux, Networking, Software. Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: