| Home » Dialers » FreeBSD |
FreeBSD and AT&T Worldnet Service
AT&T Worldnet Service uses standard PPP (Point-to-Point Protocol) with CHAP (Challange Handshake Authentication Protocol). While Windows 95/98/NT is required to register a new account, other operating systems that support PPP with CHAP can be used once an account is registered.
Note: You will need to find your AT&T Worldnet Service account information.
To setup FreeBSD 2.1.5 for working with AT&T Worldnet Service, you need to have your AT&T Worldnet Service user name, password, and local access phone number handy.
- user name: 123456789@worldnet.att.net
- password: yourpassword
- phone #: 1112222
Also, make sure your FreeBSD kernel is compiled with pseudo-device tun (i.e, tunnel driver) enabled. You might need to recompile your kernel.
See your online handbook in directory: /usr/share/doc/handbook for more information or check the FreeBSD homepage.
The procedure here is for setting up iijppp, also known as User mode ppp. Once you are ready, there are seven files you need to edit to complete the setup. These are:
- /etc/hosts
- /etc/host.conf
- /etc/resolv.conf
- /etc/sysconf
- /etc/ppp/ppp.conf
- /etc/ppp/ppp.linkup
- /etc/ppp/ppp.secret
With the exception of /etc/sysconf, you only need to replace with your own information in all other files, i.e, yourmachinename, yourpassword, yourusername etc. Following are the specific changes for each file:
#/etc/hosts
127.0.0.1 localhost
0.0.0.0 yourmachinename.worldnet.att.net yourmachinename
#/etc/host.conf
# $Id: host.conf,v 1.2 1993/11/07 01:02:57 wollman Exp $
hosts
bind
#/etc/resolv.conf
domain worldnet.att.net
nameserver 204.127.129.4
nameserver 204.127.160.4
nameserver 204.127.160.3
nameserver 204.127.129.3
nameserver 12.102.244.4
nameserver 12.102.244.1
nameserver 12.102.244.2
nameserver 12.102.240.1
nameserver 12.102.240.2
#/etc/sysconf
# make sure the following lines are set correctly in this file
hostname="yourmachinename"
network_interfaces="tun0 lo0"
ifconfig_tun0="inet yourmachinename 204.127.129.1 netmask 255.255.255.0"
ifconfig_lo0="inet localhost"
defaultrouter=NO
sendmail_flags="-bd"
#/etc/ppp/ppp.conf
######################################################
#
# PPP Sample Configuration File
#
# Written by Toshiharu OHNO
#
# $Id: ppp.conf.sample,v 1.3.4.3 1996/06/17 09:17:50 jkh Exp $
#
#####################################################
#
# Default setup. Executed always when PPP is invoked.
#
default:
set device /dev/cuaa1
set speed 38400
disable lqr
deny lqr
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT"
worldnet:
set phone 1112222
accept chap
deny pap
set authname 123456789@worldnet.att.net
set authkey yourpassword
set login "TIMEOUT 5 Name:-\\r-ame:"
set timeout 0
set openmode active
set ifaddr 0 204.127.129.1/0
add 0 0 204.127.129.1/0
#/etc/ppp/ppp.linkup
MYADDR:
add 0 0 HISADDR
#/etc/ppp/ppp.secret
##################################################
# Sysname Secret Key Peer's IP address
#
# $Id: ppp.secret.sample,v 1.2 1995/02/26 12:16:37 amurai Exp $
#
##################################################
yourmachinename yoursecretkeyatpppprompt 204.127.129.1/0
After you have changed the above files, you need to reboot your computer. You should see the following messages during boot up:
tun0: flags=8051 <UP, POINTOPOINT, RUNNING, MULTICAST> mtu 1500
inet 0.0.0.0 --> 204.127.129.1 netmask 0xffffff00
lo0: flags=8049 <UP, LOOPBACK, RUNNING, MULTICAST> mtu 16384
inet 127.0.0.1 netmask 0xff000000
starting routing daemon: routed.
Login as root and type the following commands:
#ppp<enter>
#ppp at yourmachinename>
#ppp at yourmachinename> pass yoursecretkeyatpppprompt<enter>
#ppp at yourmachinename> dial worldnet<enter>
once ppp connected, ppp will turn to CAPITAL LETTERS.
#PPP at yourmachine>
switch to next available virtual terminal by pressing <ALT>F2. You can now start using ftp, ping, start a Web browser, etc.
Note: The ijjppp does support autodial (i.e, demand dial, see online handbook for more information, or man ppp at command prompt or you can e-mail me for more information: Long To, lto@worldnet.att.net
Need Additional Help?
If you can't find the answers you need, please try:
- The help file for the application you are using.
- Our FAQs.
- The AT&T Worldnet Help Newsgroups.
