Registered Member
|
Hi all!
It all started when I deleted my ~/.kde and ~/.kde4 directory. I removed my above directories (alongwith /var/tmp/* and /tmp/* later) to be able to redefine the KDE looks but instead landed network-less. Now my laptop starts and the Network Manager icon in the tray first tries to "Obtain the network Address" and then shows an "Active" status as earlier. Only problem is: my network is not accesible anymore. Firefox, Konqueror and Transmission don't open/connect to a single website. Browsers show "cannot find the host" kind of typical errors which is displayed in case of network unavailability. My /sbin/ifconfig seems to say that my system is connected to the network:
My netstat command gives this output:
Off course I cannot figure out what is missing/wrong. And it might be useful to give this output as well:
I am quite surprised and confused. I am using kde4.x with opensuse11.2. Any help in this regard would be appreciated! Thank you for going through this problem. |
Administrator
|
Please check the contents of /etc/resolv.conf, and the output of /sbin/route -n
It is likely that a DNS server has not been set, or the default route is not being set.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Thanks bcooksley for the reply!
My /etc/resolv.conf is empty (all comments). The route -n command shows this output:
I tried to launch firefox from the terminal and the output, kind of, suggested that it might be a DNS/database problem:
I tried to issue the same command as root and got the same output plus some additional information:
Then I created an entry in my ~/.profile file like this:
and then after a restart issued the firefox command. But this time, it showed
I opened the /home/gama/.pki/nssdb location and it had these lines:
My ping command has these outputs:
Off course it doesn't ping to google or any other external website. My Win7 network is working just fine - so not a network hardware problem I guess. Let me know if anything can be done. Appreciate your pursuit! |
Administrator
|
The problem here lies in that both your DNS and IP routing are not being set up correctly by network manager. You need to reconfigure it ( using Manage Connections ) to automatically request an address.
Once you have a default route and DNS servers set ( which should happen automatically via DHCP ) it should work without issue. The messages being output by Firefox are not related to this issue, and graphical applications, especially network enabled ones, shouldn't be run as root unless absolutely necessary.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Thanks again for the reply. But I am not getting any such option in "Manage connection" window to "Reconfigure". I can either depend on DHCP, which it is following in default way or I could specify the default gateway. In either way, it doesn't connect to the internet. Sorry for the trouble.
|
Administrator
|
When you removed ~/.kde, were you logged in to KDE?
If so, please log out, and remove it again.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Yes, I was. Are you saying that removing ~/.kde will automatically regenerate/reconfigure the required files/configuration? Well in that case, shall I remove ~/.kde4 as well?
Forgive me for being sentimental here, but somehow I am getting this feeling that when I go home (after around 3 hrs) it is going to work. I am praying for the rain to stop here in Bangalore! Cannot wait to see my KDE/openSUSE network working again! |
Registered Member
|
It's done! Thank you bcooksley very very much! I just removed ~/.kde* (while NOT being logged in KDE) and it did the magic! I didn't know this trick and I remember I had, at least once, reinstalled the whole OS (back in around 2007) just for this problem. It was a well grasped point to me here. Cheers!
|
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], q.ignora, watchstar