PPP internet connection problem

PPP internet connection problem

Post by tf4966 » Mon, 25 Jan 1999 04:00:00



Help!  I got my modem to dial my ISP but that's about it.  I can't seem to
connect to their DNS, let alone accessing via a web browser.

my /etc/resolv.conf is as follows:
search .
nameserver    xxx.xxx.xxx.xxx   (I obtain the nameserver from my ISP)

my ppp script is as follows:
exec /usr/sbin/pppd connect \
'chat -v -f /etc/ppp/chatscript' \
-detach crtscts modem defaultroute \
user XXXXX \
/dev/modem  38400

my chatscript is as follows:
TIMEOUT  5
""   ATZ
OK  ATDT#######  (my ISP number)
ABORT "NO CARRIER"
ABORT BUSY
ABORT "NO DIALTONE"
ABORT WAITING
TIMEOUT 45
CONNECT ""
TIMEOUT 5
"Login:"  ######   (my username)
"Password:" ######  (my password)

my /var/adm/messages when pppstart was executed:
...
...
Connect:ppp0<--->/dev/modem
local IP address  ###.###.###.###
Remote IP address ###.###.###.###

Everything seemed good.  Once connected, I tried to ping the DNS (specified
in /etc/resolv.conf) both by IP and my host.  Neither one worked.  It just
hung.   Do I need to set my default route in my routing
table?  Did I enter the nameserver incorrectly or did I enter it in the
wrong file?  Please email and thanks in advance.

Tom

 
 
 

PPP internet connection problem

Post by Luca Filipoz » Mon, 25 Jan 1999 04:00:00




Quote:> Help!  I got my modem to dial my ISP but that's about it.  I can't seem to
> connect to their DNS, let alone accessing via a web browser.

> my /etc/resolv.conf is as follows:
> search .
> nameserver    xxx.xxx.xxx.xxx   (I obtain the nameserver from my ISP)

Looks OK. Don't think you need the search directive.

Quote:> Connect:ppp0<--->/dev/modem
> local IP address  ###.###.###.###
> Remote IP address ###.###.###.###

> Everything seemed good.  Once connected, I tried to ping the DNS (specified
> in /etc/resolv.conf) both by IP and my host.  Neither one worked.  It just
> hung.   Do I need to set my default route in my routing
> table?  Did I enter the nameserver incorrectly or did I enter it in the
> wrong file?  Please email and thanks in advance.

That's exactly right. You need to set the default route to the remote IP
address.

Try this command, "traceroute -n xxx.xxx.xxx.xxx"and see where your
machine wants to send the packets.

Hope this helps,

Luca
--


 
 
 

PPP internet connection problem

Post by Clifford Ki » Tue, 26 Jan 1999 04:00:00


: Help!  I got my modem to dial my ISP but that's about it.  I can't seem to
: connect to their DNS, let alone accessing via a web browser.

: my /etc/resolv.conf is as follows:
: search .
: nameserver    xxx.xxx.xxx.xxx   (I obtain the nameserver from my ISP)

..

: my /var/adm/messages when pppstart was executed:
: ...
: ...
: Connect:ppp0<--->/dev/modem
: local IP address  ###.###.###.###
: Remote IP address ###.###.###.###

: Everything seemed good.  Once connected, I tried to ping the DNS (specified
: in /etc/resolv.conf) both by IP and my host.  Neither one worked.  It just
: hung.   Do I need to set my default route in my routing

If you have a local LAN then you should not have a default route that
points to an address on it - use a specific network route.  Pppd won't
replace an existing default route, even with the defaultroute option.

: table?  Did I enter the nameserver incorrectly or did I enter it in the

The nameserver is in the right file, but since you didn't provide the
actual address who can say if it's entered correctly?

--

/* Governments should be changed like diapers - often and for the
 * same reason. */

 
 
 

1. PPP Internet Connection Problem

hmm.... Which ISP are you using?

and also have a look in your /etc/resolv.conf file.

Your ISP should be listed here.

mine reads:

domain prodigy.net
search prodigy.net
nameserver 198.83.19.241
nameserver 198.83.19.244
nameserver 192.168.0.2

I'm no guru, but this seems to work.

Try using the ppp scripts in /etc/ppp/scripts

configure them according to the PPP-HOWTO.

then you can use ppp-on
and have a look at /var/log/messages.

You see something like this:

Apr  8 13:10:49 fantasy kernel: CSLIP: code copyright 1989 Regents of the
University of California
Apr  8 13:10:49 fantasy kernel: PPP: version 2.2.0 (dynamic channel allocation)
Apr  8 13:10:49 fantasy kernel: PPP Dynamic channel allocation code copyright
1995 Caldera, Inc.
Apr  8 13:10:49 fantasy kernel: PPP line discipline registered.
Apr  8 13:10:49 fantasy kernel: registered device ppp0
Apr  8 13:10:49 fantasy pppd[423]: pppd 2.3.5 started by root, uid 0
Apr  8 13:10:50 fantasy chat[430]: timeout set to 6 seconds
Apr  8 13:10:50 fantasy chat[430]: report (CONNECT)
Apr  8 13:10:50 fantasy chat[430]: abort on (\nBUSY\r)
Apr  8 13:10:50 fantasy chat[430]: abort on (\nNO ANSWER\r)
Apr  8 13:10:50 fantasy chat[430]: abort on (\nRINGING\r\n\r\nRINGING\r)
Apr  8 13:10:50 fantasy chat[430]: send (^MAT S7=45 S0=0 L1 V1 X4 \&c1 E1 Q0^M^M)

Apr  8 13:10:51 fantasy chat[430]: expect (OK)
Apr  8 13:10:51 fantasy chat[430]: ^MAT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0^M^M
Apr  8 13:10:51 fantasy chat[430]: OK
Apr  8 13:10:51 fantasy chat[430]:  -- gotit
Apr  8 13:10:51 fantasy chat[430]: send (ATH0^M)
Apr  8 13:10:51 fantasy chat[430]: timeout set to 60 seconds
Apr  8 13:10:51 fantasy chat[430]: expect (OK)
Apr  8 13:10:51 fantasy chat[430]: ^M
Apr  8 13:10:51 fantasy chat[430]: ^MATH0^M^M
Apr  8 13:10:51 fantasy chat[430]: OK
Apr  8 13:10:51 fantasy chat[430]:  -- got it
Apr  8 13:10:51 fantasy chat[430]: send (ATDT6109062450^M)
Apr  8 13:10:51 fantasy chat[430]: expect (CONNECT)
Apr  8 13:10:51 fantasy chat[430]: ^M
Apr  8 13:11:26 fantasy chat[430]: ATDT6109062450^M^M
Apr  8 13:11:26 fantasy chat[430]: CONNECT
Apr  8 13:11:26 fantasy chat[430]:  -- got it
Apr  8 13:11:26 fantasy pppd[423]: Serial connection established.
Apr  8 13:11:27 fantasy pppd[423]: Using interface ppp0
Apr  8 13:11:27 fantasy pppd[423]: Connect: ppp0 <--> /dev/modem
Apr  8 13:11:31 fantasy pppd[423]: Remote message:
Apr  8 13:11:32 fantasy pppd[423]: local  IP address 209.252.202.232
Apr  8 13:11:32 fantasy pppd[423]: remote IP address 209.156.2.210

send me any info you can, and I'll try to help..

Yours,


2. Help: XConfig for Genoa Phantom 64 Needed

3. PPP Problem. Connection to Internet

4. Repetitive Deny & AuthXXX directives

5. Diad PPP Internet Connection Sharing Problem...

6. Problem accessing vfat filesystems

7. newbie problem with ppp, rh5.1 and ibm internet connection

8. Windows NT Single Sign On Daemon

9. RH5.1 PPP connection: PPP connection persists, telnet session times out

10. Realtime "internet phone" like voice software for Linux PPP connection

11. network can't see PPP connection to internet.

12. Sharing internet connection with dialup ppp clients

13. SCO connection to internet via PPP