Defcon1-Header
Tool-BarfreeBSD ArticlesSearch Our SiteHOMEfreeBSD LinksContribute to FreeBSD HelpFreeBSD FilesFreeBSD Script Corner

PPPD with Unix - FreeBSD

With this article you will learn how to set up pppd under UNIX and other UNIX-like operating systems, you need to first have your modem already configured properly. If you dont, please seee the section under hardware articles for setting up and installing your modem., you also need to have your kernel compiled with ppp support.

FreeBSD users will have to add the following line to their kernel config:

    pseudo-device ppp 1

Linux users will need to select the appropriate option when configuring their kernel.

Other UNIX users will need to consult the appropriate documentation for their specific operating system.

In order to establish a dialup connection to your ISP Network, you will need to configure pppd with the following options, scripts, and pap-secrets file.

/etc/ppp/options

    modem

    lock

    crtscts

    defaultroute

    user USERNAME

    /dev/cuaa0

    connect '/usr/bin/chat -f /etc/ppp/chatscript'

The device in the options file here is for a FreeBSD system. I believe the corresponding device for Linux would be '/dev/ttyS0'

/etc/ppp/chatscript

    ABORT BUSY ABORT 'NO CARRIER' ATZ

    OK ATDT5551212

    CONNECT

/etc/ppp/pap-secrets

    * DEFCON1 PASSWORD *

 

After creating these 3 files, you should change the file permissions on pap-secrets so that only your root user can read it (chmod 0600 /etc/ppp/pap-secrets).

Once all this is in place, you should be able to run pppd as root to establish your dialup networking connection to Pulaski Networks.

© 1997 - 20013 Defcon1, www.defcon1.org , Copyrights for all materials on this web site are held by the individual authors, artists, photographers or creators. Materials may not be reproduced or otherwise distributed without permission of www.defcon1.org and the content's original author.

Defcon1-Header2
Tool-Bar-2Defcon1  Webmail