>>Does anybody know how to connect a Linux
>>box to AT&T WorldNet?
>>Thanks,
>>-Steve
>Steve:
>You really need to provide a little more information. What have you
>tried so far? Have you followed the PPP HOWTO? What kernel are you
>running? What version of pppd are you using? Have you connected to
>any other service? Is this your first attempt at connecting to the
>internet using Linux?
>Here is a tip that solves most of the problems when connecting to
>Worldnet:
>Add the following line to the file /etc/ppp/chap-secrets:
>where 123456789 should be your user number and password your 16
>character password. Be sure to include the asterisk between them and
>surround your password in quotations.
>John Riggs
I am also having trouble getting connected with Worldnet. I
tried using the information posted by Worldnet, but to no avail. I
think the problem might just be me.... I attempted to use the
following script to connect, and either there is a problem with linux
(RH5.1) or me. Most likely the latter. I get a error message that says
"bash: /usr/sbin/ppp-on no such file or directory" What am i doing
wrong??
This is the script i'm using:
#!/usr/bin/perl
#
# Script to establish connection from a Linux system to
# worldnet via PPP.
#
# Look at WORLDNET\PROGRAM\REG.INI
(WORLDNET\DIALER\REG.INI
# and ATT.SR under WorldNet version 1) to get the
following
# settings.
#
$DOMAIN="worldnet.att.net";
$SEARCH=$DOMAIN;
$NAMESERVER1="204.127.160.1";
$NAMESERVER2="204.127.129.1";
$NAMESERVER3="204.127.129.2";
$PHONE="2397125"; # South Bend, IN
$MODEM="/dev/modem";
$resolv = '>/etc/resolv.conf';
open(CONF,$resolv)|| die "Cannot open file: $resolv.\n
$! \n";
print CONF "\#resolv.conf - created by ".$ARGV[0]."\n";
print CONF "domain ".$DOMAIN."\n";
print CONF "search ".$SEARCH."\n";
print CONF "nameserver ".$NAMESERVER1."\n";
print CONF "nameserver ".$NAMESERVER2."\n";
print CONF "nameserver ".$NAMESERVER3."\n";
$command="/usr/sbin/pppd name \"".$NAME."\"".
" -d connect \'/usr/sbin/chat -t 45 -v ABORT BUSY
\"\" ATDT".
$PHONE." CONNECT \"\"\' ".$MODEM.
" 57600 noipdefault modem defaultroute crtscts";
$ENV{'PATH'} = ''; # Make $ENV{'PATH'} untainted
system($command);
Maybe my question should be how do i run this?
I am VERY new to linux.