I have got Ubuntu 11.04 installed on a machine that has two ethernet cards. I am able to connect to the network on either of the cards.
But I am facing a problem: For some reason the network is not working properly. For example a lot of ping packets are lost. This is not happening for any other machine on the network. I have changed the network cable to no avail which leads me to believe that perhaps this is a software problem.
How do I debug this problem?
I am getting as much as 31% packet loss and it is driving me crazy! Any ideas?
Okay the situation has changed :
I was using xmonad earlier and therefore couldn't use the network icon that shows up in the standard gnome-interface. Now when I logged into the gnome desktop, I could see the icon. I clicked on it, it showed me something called Auto Ethernet. I clicked on it, got connected. I don't have any packet losses anymore.
How do I connect to this so called "Auto eth0" from my terminal ?? How do I connect to any connection ? From terminal I was trying to do ifup on an interface and didnt work ! How did gnome do it ? What commands is it running that I am unable to run from my terminal !

pinging to and from? Inside the LAN? Also, when you say "disconnects frequently" are you referring to the packet loss, or does the interface go down? – sblair Sep 30 '11 at 15:20