Problem with Network Access

I recently upgraded from Suse 10.1 to Suse 11 through a clean install. I am encountering a strange problem. I am able to connect to my institute’s LAN network but I’m not able to ping any machine. I keep getting a destination host unreachable message. ethtool shows a detected link and ifconfig shows the IP address but I’m not able to browse the net. However, on windows, everything works fine with the same configuration.
Everything was also working with the same config on Suse 10.1. I cant understand why this problem is occuring. I selected KDE4 as my desktop environment but dont think that the DE would be causing this problem.
Any help will be appreciated. Thanks

  • akhilesh iitdelhi,

as root, run “route” and check if there’s a gateway set.


Thanks for your reply. The gateway is set.
I have all configurations the same as the ones I use in windows.

There are two tweaks to get ping by network name going in a windows lan:
1 – get name resolution working in the Samba sense of being able to browse in a network browser (e.g. nautiuls/konqueror with address smb:/)
2 – add the term wins to this line in the file nsswitch.conf, located in directory /etc:

hosts: files mdns4_minimal [NOTFOUND=return] dns wins

You might find different from “files mdns4_minimal [NOTFOUND=return] dns” in there to start with, but accept whatever you see and put wins at the end