[TriLUG] internet connection with modem
sanjeev rathore
trilug@trilug.org
Sat, 15 Jun 2002 16:43:20 -0700 (PDT)
--0-1254788975-1024184600=:54344
Content-Type: text/plain; charset=us-ascii
I would like to connect my RedHat Linux computer to the internet. Here are my configuration files.
/etc/syslog.conf
local2.* /var/log/ppp
daemon.* /var/log/ppp
/etc/resolv.conf
domain world123.net
nameserver 208.138.2.100
/etc/host.conf
order hosts, bind
/etc/nsswitch.conf
hosts: files dns
/etc/sysconfig/network
NETWORKING=yes
HOSTNAME='snowhite'
/etc/ppp/options
lock
crtscts
defaultroute
noauth
When I execute this command from the prompt:
/usr/sbin/pppd /dev/ttyS1 57600 debug connect "/usr/sbin/chat -v '' AT OK ATD7195295 '\d\c'"
The response is:
pppd 2.4.1 started by root, uid 0
send (AT^M)
expect (OK)
AT^M^M
OK
-- got it
send (ATD7195295^M)
expect (CONNECT)
^M
ATD7195295^M^M
CONNECT
-- got it
send (\d)
Serial connection established.
Using channel 2
Using interface ppp0
Connect: ppp0 <--> /dev/ttyS1
sent [LCP ConReq id=0x1 <asyncmap 0x0> <magic 0x465918fc> <pcomp> <accomp>]
LCP: timeout sending Config-Requests
Connection terminated.
Hangup (SIGHUP)
Exit.
I suppose that means that everything is fine and the ISP wants to do authentication.
When I execute this command from the prompt:
/usr/sbin/pppd /dev/ttyS1 57600 debug connect "/usr/sbin/chat -v '' ATD7195295 CONNECT '' ogin: 5684webxcs assword: webxcs"
The response is:
pppd 2.4.1 startup by root uid 0
send (ATD7195295^M)
expect (CONNECT)
ATD7195295^M^M
CONNECT
-- got it
send (^M)
expect (ogin:)
33600^M
c^M8q^\#0v^X^G^?Cgn^?... etc.
alarm
Failed
Connection script failed
Exit
This appears to tell me that there is something wrong with the script, but I don't know what.
I am using US Robotics 56K external modem. Does anybody have any suggestions as to what the problem could be.
Thanks,
Sanjeev Rathore
---------------------------------
Do You Yahoo!?
Sign-up for Video Highlights of 2002 FIFA World Cup
--0-1254788975-1024184600=:54344
Content-Type: text/html; charset=us-ascii
<P>I would like to connect my RedHat Linux computer to the internet. Here are my configuration files.</P>
<P>/etc/syslog.conf<BR>local2.* /var/log/ppp<BR>daemon.* /var/log/ppp</P>
<P>/etc/resolv.conf<BR>domain world123.net<BR>nameserver 208.138.2.100</P>
<P>/etc/host.conf<BR>order hosts, bind</P>
<P>/etc/nsswitch.conf<BR>hosts: files dns</P>
<P>/etc/sysconfig/network<BR>NETWORKING=yes<BR>HOSTNAME='snowhite'</P>
<P>/etc/ppp/options<BR>lock<BR>crtscts<BR>defaultroute<BR>noauth</P>
<P>When I execute this command from the prompt:<BR>/usr/sbin/pppd /dev/ttyS1 57600 debug connect "/usr/sbin/chat -v '' AT OK ATD7195295 '\d\c'"<BR>The response is:<BR>pppd 2.4.1 started by root, uid 0<BR>send (AT^M)<BR>expect (OK)<BR>AT^M^M<BR>OK<BR>-- got it<BR>send (ATD7195295^M)<BR>expect (CONNECT)<BR>^M<BR>ATD7195295^M^M<BR>CONNECT<BR>-- got it<BR>send (\d)<BR>Serial connection established.<BR>Using channel 2<BR>Using interface ppp0<BR>Connect: ppp0 <--> /dev/ttyS1<BR>sent [LCP ConReq id=0x1 <asyncmap 0x0> <magic 0x465918fc> <pcomp> <accomp>]<BR>LCP: timeout sending Config-Requests<BR>Connection terminated.<BR>Hangup (SIGHUP)<BR>Exit.<BR>I suppose that means that everything is fine and the ISP wants to do authentication.</P>
<P>When I execute this command from the prompt:<BR>/usr/sbin/pppd /dev/ttyS1 57600 debug connect "/usr/sbin/chat -v '' ATD7195295 CONNECT '' ogin: 5684webxcs assword: webxcs"<BR>The response is:<BR>pppd 2.4.1 startup by root uid 0<BR>send (ATD7195295^M)<BR>expect (CONNECT)<BR>ATD7195295^M^M<BR>CONNECT<BR>-- got it<BR>send (^M)<BR>expect (ogin:)<BR>33600^M<BR>c^M8q^\#0v^X^G^?Cgn^?... etc.<BR>alarm<BR>Failed<BR>Connection script failed<BR>Exit</P>
<P>This appears to tell me that there is something wrong with the script, but I don't know what.<BR>I am using US Robotics 56K external modem. Does anybody have any suggestions as to what the problem could be.</P>
<P>Thanks,<BR>Sanjeev Rathore</P>
<P> </P><p><br><hr size=1><b>Do You Yahoo!?</b><br>
<a href="http://rd.yahoo.com/welcome/*http://fifaworldcup.yahoo.com/fc/en/spl">Sign-up for Video Highlights</a> of 2002 FIFA World Cup
--0-1254788975-1024184600=:54344--