Aug 03

folderAfter successfully getting my CDMA modem to work in SuSe 10.2, I am really happy and enjoying browsing the net on SuSe. But all of the sudden for the past two to three days I experienced a strange problem when trying to connect. I got this message, after the connection was made:

–> Script /etc/ppp/ip-up run successful
–> Default route Ok.
–> warning, can’t find address for `www.suse.de`
–> warning, address lookup does not work
–> Nameserver (DNS) failure, the connection may not work.
–> Connected… Press Ctrl-C to disconnect

Now I was in a fix, how every I tried I could not get the it working, I rebooted and tried in Windoze :-) , there it worked fine. So I was hell bent on finding out the cause of this problem.

To find the solution, I turned to the internet, but the results were disappointing. All of them suggested to check the /etc/resolve.conf (for nameserver line) and the /etc/wvdial.conf (for Auto DNS line). I was sure this was not the problem as it was connecting before.

Finally, after much struggle I found the culprit, it was ‘dhcpcd‘ – DHCP client daemon, I was really feeling stupid for not identifying it at the first point when DNS failure message came up.

So just started this and immediately I stopped getting the failure message. Enjoy currently, do you have an other alternate solution, do write back in the comments.


Tags:


Hits for this post: 3306

6 Responses to “Solution to DNS failure in SuSE 10.2”

  1. paddi Says:

    I have the same problem. Can you tell me in steps how you solved the problem.
    have i to stop the ‘dhcpcd‘ – DHCP client daemon before makeing a connection ?

  2. Hemant Says:

    dhcp give you a dynamic ip address, it is not static, and every 30 min you have to renew the ip address this is the job of dhcp protocol,.

    i think it’s a concept problem. not very sure. but read the
    TCP/IP suit by Behrouz A. Forouzan.

    you might solve this problem with your own.

  3. jigesh Says:

    hai nithin
    i can’t ping any site
    i have the following result

    [root@localhost ~]# wvdial huawei
    –> WvDial: Internet dialer version 1.60
    –> Initializing modem.
    –> Sending: ATZ
    ATZ
    OK
    –> Modem initialized.
    –> Sending: ATDT#777
    –> Waiting for carrier.
    ATDT#777
    CONNECT
    –> Carrier detected. Starting PPP immediately.
    –> Starting pppd at Tue Jul 1 03:21:48 2008
    –> Pid of pppd: 5013
    –> Using interface ppp0
    –> pppd: pMw
    –> local IP address 10.64.64.64
    –> pppd: pMw
    –> remote IP address 10.112.112.112
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw
    –> pppd: pMw

  4. praveen Says:

    Hello , I am also facing this problem now how to rectify this problem I am using openSUSE

  5. praveen Says:

    -> Script /etc/ppp/ip-up run successful
    –> Default route Ok.
    –> warning, can’t find address for `www.suse.de`
    –> warning, address lookup does not work
    –> Nameserver (DNS) failure, the connection may not work.
    –> Connected… Press Ctrl-C to disconnect
    –> pppd: È·[06][08]��[06][08]
    ^CCaught signal 2: Attempting to exit gracefully…
    –> Terminating on signal 15
    –> pppd: È·[06][08]��[06][08]
    –> Connect time 1.5 minutes.
    –> pppd: È·[06][08]��[06][08]
    –> pppd: È·[06][08]��[06][08]
    –> Disconnecting at Mon Apr 6 21:41:18 2009

  6. Nithin Says:

    @Praveen : Please check if your DNS servers are setup correctly and if they are working fine. you could change the DNS servers to OpenDNS, please check the openDNS site for how to configure your machine to use openDNS.

Leave a Reply