Defcon-1-Logo

           [Home]    [FBSD Articles]    [Scripts Corner]    [Contribute]    [Search]    [FBSD Links]    [Files]

About Us

FreeBSD Articles
  *Hardware
  *Networking
  *Security
  *Software
  *X Windows


Files / Scripts
Newbies Corner
Tech. Talk
Tips and Tricks


FreeBSD Links

Articles in other
Languages :
  *French Articles
  *Spanish Articles

Want to Help ?
 
   Click Here

Email Users5

Search:
 

 


FreeBSD Search:


 

 

Powered-By-Apache-Logo
Defcon1 Logo

PPPD with Unix

 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.

Email Us

ghostrdr@defcon1.org

This site cannot be duplicated without permission

© 1998 - 2010 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.