Solved

PPP resolv.confg

Posted on 1997-02-20
1
350 Views
Last Modified: 2012-06-27
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]

0
Comment
Question by:luis021697
1 Comment
 
LVL 19

Accepted Solution

by:
xterm earned 100 total points
ID: 1584052
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

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
„dd“ vs „ddrescue“ 28 198
Linux neworking 4 64
IPA - change main server? 3 86
can't umount nfs share after server goes offline... 4 65
I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now