LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Problem in network in CentOS after restarting network (https://www.linuxquestions.org/questions/linux-networking-3/problem-in-network-in-centos-after-restarting-network-736420/)

sidkapoor2000 06-29-2009 10:22 AM

Problem in network in CentOS after restarting network
 
Hi all,

I am using CentOS 5.2. When I freshly boot the system, The network works fine. But after restarting the network by giving the following command keeping IP as same:
service network restart
something weird happens. I am able to ping to any other system on the network. But if I try to connect to it by rdesktop, vncviewer,etc. it fails to connect. It keeps on trying indefinitely to connect to the other system with no success or failure. I have to interrupt the process by pressing Ctrl+C.

When I tried to look at the strace log of the command "rdesktop <ip_address>", my system was stuck at the 'select()' system call. Same happens for other applications like vncviewer/ssh,etc.

Kindly help me out.

Thanks in advance.
Siddharth Kapoor

watcher69b 06-30-2009 06:31 AM

is iptables disabled?
seLinux disabled?

what is in your /etc/sysconfig/network-scripts/ifcfg-ethx scripts?

bhaslinux 06-30-2009 08:03 AM

service nscd restart
tried that ? sometimes nscd can be a pain!

sidkapoor2000 07-01-2009 12:27 AM

Hi all,

Thanx for ur reply, but there was no such issue of either firewal, SELinux or nscd.
After two days of troubleshooting, I found out where the issue was. I figured out that the issue was with the network driver. My system had Marvell Technologies' network card and was using sky2 driver. Further googling took me to links which made me familiar with the hard fact that the sky2 driver was buggy and had lots of bugs. I found a specific patch on the CentOS site:

http://www.centos.org/modules/newbb/...&post_id=34638

This patch helped me solve the issue. :)


All times are GMT -5. The time now is 03:45 PM.