PDA

View Full Version : [SOLVED] strange Network



raja.genupula
February 14th, 2012, 03:56 PM
I am using Ubuntu 11.10 .My issue looks like different to me . Thats why i am posting here for the look of Network Experts . When i click on anything it wont get loaded for the first click , if a click again then only it will be load . I have observed by put a download also . Its look like a sine wave . up and downs continuously . I am getting service from a HUB . the other computer connected to HUB is working fine . Only my system struggling with this issue .
I am providing the basic information needed for analysis .


raja@raja-Ubuntu:~$ uname -a
Linux raja-Ubuntu 3.0.0-15-generic #26-Ubuntu SMP Fri Jan 20 15:59:53 UTC 2012 i686 i686 i386 GNU/Linux



raja@raja-Ubuntu:~$ ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:e0:4c:14:de:0b
inet addr:11.11.110.94 Bcast:11.11.110.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:4cff:fe14:de0b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4159 errors:0 dropped:0 overruns:0 frame:0
TX packets:3082 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2949771 (2.9 MB) TX bytes:465192 (465.1 KB)
Interrupt:44 Base address:0xa000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)


raja@raja-Ubuntu:~$ lspci -nnk | grep -iA2 net
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller [10ec:8136] (rev 02)
Subsystem: Realtek Semiconductor Co., Ltd. Device [10ec:0123]
Kernel driver in use: r8169
raja@raja-Ubuntu:~$


If any information needed i am ready to provide .
Thanks in advance ,

praseodym
February 19th, 2012, 04:13 PM
Please show


cat /etc/network/interfaces
cat /etc/resolv.conf
sudo apt-get install ethtool
sudo ethtool eth0

raja.genupula
February 20th, 2012, 07:24 AM
raja@raja-Ubuntu:~$ cat /etc/network/interfaces
auto lo
iface lo inet loopback


raja@raja-Ubuntu:~$ cat /etc/resolv.conf
# Generated by NetworkManager
search 202.54.1.63
nameserver 119.235.48.3


raja@raja-Ubuntu:~$ sudo ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: Yes
Link partner advertised link modes: 10baseT/Half
Link partner advertised pause frame use: No
Link partner advertised auto-negotiation: No
Speed: 10Mb/s
Duplex: Half
Port: MII
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000033 (51)
drv probe ifdown ifup
Link detected: yes
raja@raja-Ubuntu:~$


Thanks in advance .

praseodym
February 20th, 2012, 07:53 PM
Try to deactivate the auto negotiation:


sudo ethtool -s eth0 speed 10 autoneg off
sudo /etc/init.d/networking restart
If it doesnt work at all after that, repeat the commands with "on" instead of "off"

roelforg
February 20th, 2012, 08:04 PM
Try adding


auto eth0
iface eth0 inet dhcp

to /etc/network/interfaces
and exec "/etc/init.d/networking restart"

If it doesn't work, pull the ethernet cable from the working pc and plug it in the broken one, reboot and try again. If it works now, either the port or the cable you were using was broken.

I once had a PCI nic that did that, it was a chronical problem with the card (reproducable on every pc i have (5 to be exact, not counting the one with a fried mobo), different NIC and solved. If you've got an extra NIC, try if it helps using that one instead of the old one (note: before you swap nic's, comment out every line in /etc/udev/rules.d/70-persistend-net.rules otherwise it will assign eth1 to the new nic instead of eth0 and then it won't be loaded and some stuff won't start, trust me)

raja.genupula
February 21st, 2012, 02:10 AM
Try to deactivate the auto negotiation:


sudo ethtool -s eth0 speed 10 autoneg off
sudo /etc/init.d/networking restartIf it doesnt work at all after that, repeat the commands with "on" instead of "off"


Hi
Thank you very much , i will take care of it from now on wards . Thanks for the instructions.

raja.genupula
February 21st, 2012, 02:26 AM
Try adding


auto eth0
iface eth0 inet dhcp
to /etc/network/interfaces
and exec "/etc/init.d/networking restart"

If it doesn't work, pull the ethernet cable from the working pc and plug it in the broken one, reboot and try again. If it works now, either the port or the cable you were using was broken.

I once had a PCI nic that did that, it was a chronical problem with the card (reproducable on every pc i have (5 to be exact, not counting the one with a fried mobo), different NIC and solved. If you've got an extra NIC, try if it helps using that one instead of the old one (note: before you swap nic's, comment out every line in /etc/udev/rules.d/70-persistend-net.rules otherwise it will assign eth1 to the new nic instead of eth0 and then it won't be loaded and some stuff won't start, trust me)

the wired connection i have for this is an auto one . when i switch on the system automatically my network will be connected to eth0 only .

ok i will try the commands of the above post and i will report back . i got frustrated with my network problem and called my network providers technical guy's . they came here did some job like assigning new IP to me and mac bind .

Now its looking fine , but in future if i failed i will try the commands from you and from praseodym (http://ubuntuforums.org/member.php?u=1411497) mentioned .
Thanks to both of you .

now i 'm marking this .


Thanks again .