From owner-freebsd-questions Mon Jan 18 14:14:18 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA21453 for freebsd-questions-outgoing; Mon, 18 Jan 1999 14:14:18 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ns1.net.com (ns1.net.com [134.56.3.101] (may be forged)) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA21443 for ; Mon, 18 Jan 1999 14:14:16 -0800 (PST) (envelope-from nesi_unanaowo@net.com) Received: from unet.net.com (unet [134.56.112.30]) by ns1.net.com (8.9.1/8.9.1) with SMTP id OAA08480 for ; Mon, 18 Jan 1999 14:18:43 -0800 (PST) Received: from west-mail.net.com by unet.net.com (SMI-8.6/SMI-SVR4) id OAA00333; Mon, 18 Jan 1999 14:12:49 -0800 Received: from net.com ([134.56.114.51]) by west-mail.net.com (Netscape Messaging Server 3.6) with ESMTP id AAA7256; Mon, 18 Jan 1999 14:14:05 -0800 Message-ID: <36A3B21B.F89F27D7@net.com> Date: Mon, 18 Jan 1999 14:13:47 -0800 From: Nesi Unanaowo Organization: N.E.T. http://www.net.com X-Mailer: Mozilla 4.5C-NETv45 [en] (X11; U; SunOS 5.7 sun4m) X-Accept-Language: en, en-GB, fr, de MIME-Version: 1.0 To: thrdina@ibm.net CC: freebsd-questions@FreeBSD.ORG Subject: Re: ISP connect problem References: <36A38AC8.7A6C853A@net.com> <36A39227.90474A93@ibm.net> Content-Type: multipart/mixed; boundary="------------D4D6F5A7823C160864031018" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --------------D4D6F5A7823C160864031018 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Thomas Hrdina wrote: > please post a copy of your ppp.conf file. > it would also help which command your are typing when you get "invalid > command" > > Nesi Unanaowo wrote: > > > Hi, > > I am having problem establishing a connection to my ISP > > (worldnet.att.net) > > I am using the tutorial provided at their website www.wurd.com titled > > "the WURD on FreeBSD" . After configuring and rebooting my machine > > I have the ppp prompt. Attempting to use the commands listed in the > > tutorial does not lead to a connection. The first command gives an > > "invalid command" message. Trying the second command puts me > > in a Packet mode and any other command gives an "invalid command" > > message. If anyone has successfully used this tutorial to connect > > to worldnet.att.net please let me know the sequence of commands > > that was used to accomplish this. > > Any help will be highly appreciated. > > Thanks > > Nesi > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message Hi, I am posting the web page that has the ppp.conf file which is part of the tutorial. The command that gave me "invalid command" error is the first command sequence of the tutorial which has the form: #ppp at yourmachinename> pass yoursecretkeyatpppprompt I replaced "yoursecretkeyatpppprompt" with my correct account password. TIA Nesi url for this tutorial is: http://www.wurd.com/wurd/software/dialers/freebsd.html --------------D4D6F5A7823C160864031018 Content-Type: text/html; charset=iso-8859-1; name="freebsd.html" Content-Transfer-Encoding: 8bit Content-Disposition: inline; filename="freebsd.html" Content-Base: "http://www.wurd.com/wurd/software/dial ers/freebsd.html" Content-Location: "http://www.wurd.com/wurd/software/dial ers/freebsd.html" The WURD on FreeBSD and AT&T WorldNet® Service





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 3.1x or Windows 95 is required to register a new account, other operating systems that support PPP with CHAP can be used once an account is registered.

Note: In order to use this procedure, you need access to your account information .  To locate it, go to "About User IDs and Passwords" in AT&T WorldNet Service Support.

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.1
nameserver 204.127.160.1

#/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, demmand dial, see online handbook for more information, or man ppp at command prompt or you can email me for more information: Long To, lto@worldnet.att.net

Note: If you have configuration problems with your software after following these instructions, please post complete details and error messages (if any) in the appropriate worldnet.help.* newsgroup.

 


| Home | Site Map | Search | FAQ |
|
Getting Help | Software | Register Online | Other Stuff | Personal Web Pages |


Copyrights & Credits

Questions or comments regarding this web site should be directed to our worldnet.users.wurd newsgroup if you are a subscriber to AT&T WorldNet® Service, or, to alt.online-service.att-worldnet if you aren't a subscriber. Please do not email us asking for technical support. If you have anything you would like to submit to the WURD for publication, please check our contribution page.

This website is provided by AT&T WorldNet Service as a User's Solutions Website. AT&T does not approve, support, warrant, guarantee or otherwise endorse any information contained in this website nor any of the information linked to from this site. This website is maintained by the user's of AT&T WorldNet Service. Use at your own risk.

© Copyright 1997. AT&T Corp. All rights reserved. AT&T, AT&T and Globe Design, and AT&T WorldNet are service marks of AT&T. The other marks which appear on this Web Site may be marks of third parties that are not affiliated with AT&T. AT&T and its affiliates do not control or endorse the content of third party Web Sites.
--------------D4D6F5A7823C160864031018-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message