Results 1 to 4 of 4

Thread: DNS resolution fails after crash

  1. #1
    Join Date
    Aug 2010
    Location
    Germany
    Posts
    101

    Default DNS resolution fails after crash

    Greetings yet again.

    Today I have again a day of induced trouble.
    My laptop, running OS114, crashed today b/c it ran out of battery.
    Apparently, apart from the partial loss of an important document, this has wreaked some part of OS.

    I can connect to the network w/o problems i.e. I can access the router over it's IP.

    I can not, however, open any site in any browser. pinging them does not work too.
    My guess is that the name resolution is somehow broken.

    the /etc/resolv.conf is blank up to the standard notes from the OS developers. That is, there are no relevant entries there.

    I'm using KDE 4.5 with KNetworkmanager, but neither did I find any solution while looking through the menus of KNetworkmanager, nor in Yast "Network".

    Any ideas what has gone wrong?

  2. #2
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: DNS resolution fails after crash

    This can be used to reset your internal routing:

    Code:
    sudo /sbin/netconfig update -f
    If that does not work, then you could try this:

    Code:
    sudo rm /var/lib/NetworkManager/NetworkManager.state
    
    sudo /etc/init.d/network restart
    If that does not work, then you can go for the gold and blank everything in your /home area (This includes saved passwords in kwallat):

    Code:
    sudo /etc/init.d/network stop, requires root password 
    sudo killall -9 kwalletemanager, if running           
    sudo killall -9 knetworkmanager, if running
    
    rm -rf ~/.kde4/share/config/networkmanagementrc
    
    rm -rf ~/.kde4/share/apps/networkmanagement
    
    rm -rf ~/.kde4/share/config/kwalletrc
    
    rm -rf ~/.kde4/share/apps/kwallet
    
    # rm -rf ~/.kde4/share/apps/networkmanager
    
    # rm ~/.kde4/share/config/networkman*
    This is all I would try. After that, if it still does not work, perhaps it is time to reformat disk and reload openSUSE. While not the same thing, I had a power supply die on me and I had to reformat and reload to get working again. It is something to think about.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  3. #3
    Join Date
    Aug 2010
    Location
    Germany
    Posts
    101

    Default Re: DNS resolution fails after crash

    Thanks!

    The first one did the trick for me.

  4. #4
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: DNS resolution fails after crash

    Thanks!

    The first one did the trick for me.
    Happy to hear you did not have to delete all networking and the simple solution did the trick. Happy to help and just let us know if you need any other assistance.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •