PPP resolv.confg

This is the information I check to see how bad I am doing.
so far realy bad no luck with this ppp business.

this is my resolv.conf
----------------------
domain nif.com
search nif.com
nameserver 204.179.180.5
nameserver 204.179.180.2
*** Something wird
*** if I try to dial with this resconv.conf it will do nothing
    I (for the kicks) tryed with an empty file
    this is the result

ifconfig        after the conection is made
----------      ++++++++++++++++++++++++++++
lo        Link encap:Local Loopback  
          inet addr:0.0.0.0  Bcast:255.255.255.255  Mask:0.0.0.0
          UP BROADCAST LOOPBACK RUNNING  MTU:2000  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0
          TX packets:72 errors:0 dropped:0 overruns:0

ppp0      Link encap:Point-Point Protocol  
          inet addr:206.113.3.17  P-t-P:205.228.244.10
Mask:255.255.255.0
          UP POINTOPOINT RUNNING  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0
          TX packets:0 errors:0 dropped:0 overruns:0

netstat
-------
Active Internet connections
Proto Recv-Q Send-Q Local Address          Foreign Address      
(State)       User
Active UNIX domain sockets
Proto RefCnt Flags      Type            State           Path
unix  1      [ ACC ]    SOCK_STREAM     LISTENING       /dev/printer
unix  1      [ ]        SOCK_STREAM     UNCONNECTED    

syslog
--------
Feb 19 22:09:10 guanica pppd[686]: pppd 2.1.2 started by root, uid 0
Feb 19 22:09:11 guanica chat[688]: send (ATDT8488035^M)
Feb 19 22:09:11 guanica chat[688]: expect (CONNECT)
Feb 19 22:09:31 guanica chat[688]: ATDT8488035^M^M
Feb 19 22:09:31 guanica chat[688]: CONNECT -- got it
Feb 19 22:09:31 guanica chat[688]: send ()
Feb 19 22:09:31 guanica chat[688]: expect (ogin:)
Feb 19 22:09:31 guanica chat[688]:  31200/ARQ/V34/LAPM/V42BIS^M
Feb 19 22:09:33 guanica chat[688]: Welcome to IDT Corporation^M
Feb 19 22:09:33 guanica chat[688]: Newport, RI T-1 POP Site^M
Feb 19 22:09:33 guanica chat[688]: ^M
Feb 19 22:09:33 guanica chat[688]: ^M
Feb 19 22:09:33 guanica chat[688]: login: -- got it
Feb 19 22:09:33 guanica chat[688]: send (IOS10186^M)
Feb 19 22:09:34 guanica chat[688]: expect (word:)
Feb 19 22:09:34 guanica chat[688]:  ABCDE12345^M
Feb 19 22:09:34 guanica chat[688]: Password: -- got it
Feb 19 22:09:34 guanica chat[688]: send (*^M)
Feb 19 22:09:34 guanica chat[688]: expect (PPP)
Feb 19 22:09:34 guanica chat[688]:  ^M
Feb 19 22:09:35 guanica chat[688]: PPP -- got it
Feb 19 22:09:35 guanica pppd[687]: Connected...
Feb 19 22:09:36 guanica pppd[687]: Using interface ppp0
Feb 19 22:09:36 guanica pppd[687]: Connect: ppp0 <--> /dev/modem
Feb 19 22:09:38 guanica pppd[687]: local  IP address 206.113.3.8
Feb 19 22:09:38 guanica pppd[687]: remote IP address 205.228.244.10
Feb 19 22:09:38 guanica pppd[687]: ppp not replacing existing default
route to lo[0.0.0.0]

luis021697Asked:
Who is Participating?
 
xtermConnect With a Mentor Commented:
Your problem is not with your resolv.conf - it's perfect.
Your /etc/hosts is bungled I imagine since ppp is thinks your
lo is 0.0.0.0 - Should be:

127.0.0.1     localhost.nif.com    guanica
206.113.3.8   guanica.nif.com  # only if the IP is static
# otherwise leave the second line out

If that doesn't fix it, post your actual chat script next time
and I'll take a look
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.