PDA

View Full Version : [ubuntu] 11.04 Networking issues - no ping response but...



Hermanocleas
April 27th, 2011, 04:17 PM
I can connect to the internet and browse. I'm wired and using DHCP on a Windows network.

Updating Ubuntu or downloading programs takes hours for 52MB of updates. Why?

I read some articles that mention Network Manager needs to be enabled at the .conf file. Can I edit this using GUI or command line only?

I'm new to this so if I've duplicated a previous posting I apologize, the search terms I've used have not turned up much.

Thanks!

josephmills
April 27th, 2011, 05:43 PM
I can connect to the internet and browse. I'm wired and using DHCP on a Windows network.

Updating Ubuntu or downloading programs takes hours for 52MB of updates. Why?

I read some articles that mention Network Manager needs to be enabled at the .conf file. Can I edit this using GUI or command line only?

I'm new to this so if I've duplicated a previous posting I apologize, the search terms I've used have not turned up much.

Thanks!
lets get some more info on your system please press ctrl+alt=t when the terminal show up please type in
lspci -nn and paste that here thanks

Hermanocleas
April 27th, 2011, 06:13 PM
Here's what I got:

:~$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Core Processor DRAM Controller [8086:0044] (rev 02)
00:02.0 VGA compatible controller [0300]: Intel Corporation Core Processor Integrated Graphics Controller [8086:0046] (rev 02)
00:16.0 Communication controller [0780]: Intel Corporation 5 Series/3400 Series Chipset HECI Controller [8086:3b64] (rev 06)
00:1a.0 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b3c] (rev 05)
00:1b.0 Audio device [0403]: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio [8086:3b56] (rev 05)
00:1c.0 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 [8086:3b42] (rev 05)
00:1c.1 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 [8086:3b44] (rev 05)
00:1c.2 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 3 [8086:3b46] (rev 05)
00:1c.3 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 [8086:3b48] (rev 05)
00:1c.5 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6 [8086:3b4c] (rev 05)
00:1d.0 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b34] (rev 05)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev a5)
00:1f.0 ISA bridge [0601]: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller [8086:3b09] (rev 05)
00:1f.2 SATA controller [0106]: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller [8086:3b29] (rev 05)
00:1f.3 SMBus [0c05]: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller [8086:3b30] (rev 05)
00:1f.6 Signal processing controller [1180]: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem [8086:3b32] (rev 05)
02:00.0 Network controller [0280]: Broadcom Corporation BCM43224 802.11a/b/g/n [14e4:4353] (rev 01)
03:00.0 SD Host controller [0805]: Ricoh Co Ltd MMC/SD Host Controller [1180:e822] (rev 03)
03:00.4 FireWire (IEEE 1394) [0c00]: Ricoh Co Ltd FireWire Host Controller [1180:e832] (rev 03)
0b:00.0 Ethernet controller [0200]: Broadcom Corporation NetXtreme BCM5761e Gigabit Ethernet PCIe [14e4:1680] (rev 10)
3f:00.0 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers [8086:2c62] (rev 02)
3f:00.1 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture System Address Decoder [8086:2d01] (rev 02)
3f:02.0 Host bridge [0600]: Intel Corporation Core Processor QPI Link 0 [8086:2d10] (rev 02)
3f:02.1 Host bridge [0600]: Intel Corporation Core Processor QPI Physical 0 [8086:2d11] (rev 02)
3f:02.2 Host bridge [0600]: Intel Corporation Core Processor Reserved [8086:2d12] (rev 02)
3f:02.3 Host bridge [0600]: Intel Corporation Core Processor Reserved [8086:2d13] (rev 02)

Thanks for the reply, BTW. :-)

josephmills
April 27th, 2011, 06:18 PM
ok please take out your ip address in this one but could we see a
sudo lshw -C network thanks

Hermanocleas
April 27th, 2011, 06:24 PM
*-network DISABLED
description: Wireless interface
product: BCM43224 802.11a/b/g/n
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlan0
version: 01
serial: 5c:ac:4c:96:f2:0c
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=brcm80211 driverversion=2.6.38-8-generic-pae firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11abgn
resources: irq:17 memory:f5500000-f5503fff
*-network
description: Ethernet interface
product: NetXtreme BCM5761e Gigabit Ethernet PCIe
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:0b:00.0
logical name: eth0
version: 10
serial: f0:4d:a2:86:fd:5d
size: 100Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm vpd msi pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=tg3 driverversion=3.116 duplex=full firmware=5761e-v3.73 ip=***.***.***.*** latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:43 memory:f2d10000-f2d1ffff memory:f2d00000-f2d0ffff

josephmills
April 27th, 2011, 06:30 PM
*-network DISABLED
description: Wireless interface
product: BCM43224 802.11a/b/g/n
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlan0
version: 01
serial: 5c:ac:4c:96:f2:0c
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=brcm80211 driverversion=2.6.38-8-generic-pae firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11abgn
resources: irq:17 memory:f5500000-f5503fff
*-network
description: Ethernet interface
product: NetXtreme BCM5761e Gigabit Ethernet PCIe
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:0b:00.0
logical name: eth0
version: 10
serial: f0:4d:a2:86:fd:5d
size: 100Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm vpd msi pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=tg3 driverversion=3.116 duplex=full firmware=5761e-v3.73 ip=***.***.***.*** latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:43 memory:f2d10000-f2d1ffff memory:f2d00000-f2d0ffff

ok lets see these
lsmod | grep brcm and
lsmod | grerp tg3
and now

dmesg | grep brcm and
dmesg | grep tg3
thanks (just checking to make sure that everything is right )

Hermanocleas
April 27th, 2011, 06:34 PM
:~$ lsmod | grep brcm
brcm80211 690428 0
mac80211 257001 1 brcm80211
cfg80211 156212 2 brcm80211,mac80211
:~$ lsmod | grep tg3
tg3 131476 0
:~$ dmesg | grep brcm
[ 13.746858] brcm80211: module is from the staging directory, the quality is unknown, you have been warned.
[ 13.858475] brcm80211 0000:02:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[ 13.858487] brcm80211 0000:02:00.0: setting latency timer to 64
:~$ dmesg | grep tg3
[ 2.259080] tg3.c:v3.116 (December 3, 2010)
[ 2.259096] tg3 0000:0b:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[ 2.259106] tg3 0000:0b:00.0: setting latency timer to 64
[ 2.324003] tg3 0000:0b:00.0: eth0: Tigon3 [partno(BCM95761e) rev 5761100] (PCI Express) MAC address f0:4d:a2:86:fd:5d
[ 2.324006] tg3 0000:0b:00.0: eth0: attached PHY is 5761 (10/100/1000Base-T Ethernet) (WireSpeed[1])
[ 2.324009] tg3 0000:0b:00.0: eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1]
[ 2.324011] tg3 0000:0b:00.0: eth0: dma_rwctrl[76180000] dma_mask[64-bit]
[ 14.639183] tg3 0000:0b:00.0: irq 43 for MSI/MSI-X
[ 16.360299] tg3 0000:0b:00.0: eth0: Link is up at 100 Mbps, full duplex
[ 16.360302] tg3 0000:0b:00.0: eth0: Flow control is on for TX and on for RX

josephmills
April 27th, 2011, 06:38 PM
ok now a
rfkill list all thanks

slopoke36
April 27th, 2011, 06:39 PM
I am having the same issue with my wireless. I have a Windows/Ubuntu partition. Windows can connect to the internet but the Buntu cannot.

Hermanocleas
April 27th, 2011, 06:42 PM
:~$ rfkill list all
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: dell-wifi: Wireless LAN
Soft blocked: yes
Hard blocked: yes
2: dell-bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
3: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no

josephmills
April 27th, 2011, 06:44 PM
getting close lets see a
lsmod | grep dell

Hermanocleas
April 27th, 2011, 06:46 PM
:~$ lsmod | grep dell
dell_wmi 12601 0
dell_laptop 13515 0
sparse_keymap 13666 1 dell_wmi
dcdbas 14054 1 dell_laptop

josephmills
April 27th, 2011, 06:47 PM
I am having the same issue with my wireless. I have a Windows/Ubuntu partition. Windows can connect to the internet but the Buntu cannot.start a new thread and I am sure that someone will help you out

josephmills
April 27th, 2011, 06:48 PM
:~$ lsmod | grep dell
dell_wmi 12601 0
dell_laptop 13515 0
sparse_keymap 13666 1 dell_wmi
dcdbas 14054 1 dell_laptop

lets try this
sudo rmmod -f dell-laptop
then a
rfkill list thanks

Hermanocleas
April 27th, 2011, 07:01 PM
:-$ sudo rmmod -f dell-laptop

That command locked up my computer.

(I rebooted and..)

:~$ rfkill list
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: dell-wifi: Wireless LAN
Soft blocked: yes
Hard blocked: yes
2: dell-bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
3: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no

Not sure since it locked up if whatever it was suppose to do was successful.

Hermanocleas
April 27th, 2011, 07:02 PM
I sis have to put in a password to run the sudo command but after that it brought me back to the command prompt, the cursor disapears and my computer locks up.

josephmills
April 27th, 2011, 07:03 PM
:-$ sudo rmmod -f dell-laptop

That command locked up my computer.

(I rebooted and..)

:~$ rfkill list
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: dell-wifi: Wireless LAN
Soft blocked: yes
Hard blocked: yes
2: dell-bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
3: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no

Not sure since it locked up if whatever it was suppose to do was successful.
ok try this
rfkill unblock all
then a
rfkill list thanks

Hermanocleas
April 27th, 2011, 07:05 PM
:~$ rfkill unblock all
:~$ rfkill list
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: dell-wifi: Wireless LAN
Soft blocked: yes
Hard blocked: yes
2: dell-bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
3: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no

josephmills
April 27th, 2011, 07:09 PM
:~$ rfkill unblock all
:~$ rfkill list
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: dell-wifi: Wireless LAN
Soft blocked: yes
Hard blocked: yes
2: dell-bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
3: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no

this is the trouble maker right here we have to remove this
try

sudo -s
then

rmmod -f dell-laptop then give it 3 min

exit
then
rfkill list
and paste all to here besides name

Hermanocleas
April 27th, 2011, 07:20 PM
Gave it 5min to fester. Still locks up. No mouse, no cursor in terminal window, no keyboard.

After rebooting, 'rfkill list' showed no change in the settings.

josephmills
April 27th, 2011, 07:24 PM
poopy ka-ka try
sudo rmmod -f dell_laptop

Hermanocleas
April 27th, 2011, 07:25 PM
I think that block was caused by my wireless adapter being physically switched off on the laptop itself. You know? I reran the rfkill list and it now shows:

:~$ rfkill list
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: dell-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no
2: dell-bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
3: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no

I don't use wireless right now though so I normally would have it switched off.

josephmills
April 27th, 2011, 07:29 PM
with your wireless connected try a
ping 74.125.226.84 its google let run for a min press ctrl+c and then paste here

Hermanocleas
April 27th, 2011, 07:40 PM
Not in a wireless hotspot right now. tried using wired connection:

:~$ ping 74.125.226.84
PING 74.125.226.84 (74.125.226.84) 56(84) bytes of data.
64 bytes from 74.125.226.84: icmp_req=1 ttl=56 time=43.6 ms
64 bytes from 74.125.226.84: icmp_req=2 ttl=56 time=45.7 ms
64 bytes from 74.125.226.84: icmp_req=3 ttl=56 time=73.6 ms
64 bytes from 74.125.226.84: icmp_req=4 ttl=56 time=42.7 ms
64 bytes from 74.125.226.84: icmp_req=5 ttl=56 time=42.6 ms
64 bytes from 74.125.226.84: icmp_req=6 ttl=56 time=43.3 ms
64 bytes from 74.125.226.84: icmp_req=7 ttl=56 time=43.3 ms
64 bytes from 74.125.226.84: icmp_req=8 ttl=56 time=43.3 ms
64 bytes from 74.125.226.84: icmp_req=9 ttl=56 time=43.3 ms
64 bytes from 74.125.226.84: icmp_req=10 ttl=56 time=62.6 ms
64 bytes from 74.125.226.84: icmp_req=11 ttl=56 time=43.8 ms
64 bytes from 74.125.226.84: icmp_req=12 ttl=56 time=43.5 ms
64 bytes from 74.125.226.84: icmp_req=13 ttl=56 time=42.9 ms
64 bytes from 74.125.226.84: icmp_req=14 ttl=56 time=43.2 ms
64 bytes from 74.125.226.84: icmp_req=15 ttl=56 time=47.8 ms
64 bytes from 74.125.226.84: icmp_req=16 ttl=56 time=42.8 ms
64 bytes from 74.125.226.84: icmp_req=17 ttl=56 time=45.8 ms
64 bytes from 74.125.226.84: icmp_req=18 ttl=56 time=43.3 ms
64 bytes from 74.125.226.84: icmp_req=19 ttl=56 time=44.3 ms
^C
--- 74.125.226.84 ping statistics ---
19 packets transmitted, 19 received, 0% packet loss, time 18029ms
rtt min/avg/max/mdev = 42.613/46.439/73.644/7.764 ms


The ping function still doesn't work when I do it under System Settings|Network Tools|Ping. Does this functionality need to be enabled somewhere?

Also, do updates generally take a long time to download, is it perhaps a characteristic of Ubuntu?

josephmills
April 27th, 2011, 07:54 PM
--- 74.125.226.84 ping statistics ---
19 packets transmitted, 19 received, 0% packet loss, time 18029ms
rtt min/avg/max/mdev = 42.613/46.439/73.644/7.764 ms

looks good to me



The ping function still doesn't work when I do it under System Settings|Network Tools|Ping. Does this functionality need to be enabled somewhere?
I don't know I have only used cli not gui sorry


Also, do updates generally take a long time to download, is it perhaps a characteristic of Ubuntu?
NO try
sudo apt-get update how long does this take?

Hermanocleas
April 27th, 2011, 08:01 PM
It only takes a couple seconds. Did that just update anything or list available updates?

I currenlty get errors whenever I try to update using the update manager but I guess that's off topic. It's annoying none-the-less.

josephmills
April 27th, 2011, 08:05 PM
that just updated your repos and packages to up grade do
sudo apt-get upgrade

Hermanocleas
April 27th, 2011, 08:18 PM
Sounds good. Thanks for the tips!

Now I just need to tackle the weird keyboard phenomena. I type and all of a sudden the cursor is up a couple lines I changed my keyboard layout to Dell Latitude series Laptop but that didn't seem to change anything. I haven't researched that much yet though.

Hermanocleas
April 27th, 2011, 08:19 PM
Upgrade seems to be going much slower than update did. I ran that command and it's only 5% complete 14.0/36.0 MB. Jeesh.

josephmills
April 27th, 2011, 08:22 PM
Upgrade seems to be going much slower than update did. I ran that command and it's only 5% complete 14.0/36.0 MB. Jeesh.

post the upgrade results

Hermanocleas
April 27th, 2011, 08:24 PM
Will do - make take a while, right now: 6% 14.9/36.0 MB.

ZZZZZzzZZzzzzzZzzz....

josephmills
April 27th, 2011, 08:26 PM
also try going to system-->admin-->system monitor then click on the resources tab how fast are you going?

Hermanocleas
April 27th, 2011, 08:37 PM
Looks pretty pathetic to me:

Receiving: 3.3 KiB/s
Total Received: 27.0 MiB

Sending: 139 bytes/s
Total Sent: 4.0 MiB

josephmills
April 27th, 2011, 08:47 PM
ok lets take a look at some tool again take out ip and hw address
nm-toolI only need to see on part
Type: Wired
Driver: tg3
State: unavailable
Default: no
HW Address: ****************

Capabilities:
Carrier Detect: yes
Speed: 100 Mb/s

Wired Properties
Carrier: off
thanks again I have to go to work I have 3 degrees but work landscaping go figure right. At least its a nice day here in new york I will be back around 7 or eight pm est

Hermanocleas
April 27th, 2011, 08:51 PM
Type: Wired
Driver: tg3
State: connected
Default: yes
HW Address:

Capabilities:
Carrier Detect: yes
Speed: 100 Mb/s

Wired Properties
Carrier: on


It looks like it occasionally speeds up - just watching the Terminal Window as it runs it'll display the speed and it seems to download a little faster for a few seconds, then back to grass growth speed.

Hermanocleas
April 27th, 2011, 08:52 PM
As I browse the internet my connection is perfectly fine that's why I wondered if it was just a characteristic of these upgrades.

josephmills
April 27th, 2011, 08:52 PM
Type: Wired
Driver: tg3
State: connected
Default: yes
HW Address:

Capabilities:
Carrier Detect: yes
Speed: 100 Mb/s

Wired Properties
Carrier: on


It looks like it occasionally speeds up - just watching the Terminal Window as it runs it'll display the speed and it seems to download a little faster for a few seconds, then back to grass growth speed.
start looking around for more driver for your eth0 that might be it dont install just look

Hermanocleas
April 27th, 2011, 09:03 PM
Searched for Broadcom 57xx Gigabit Controller Drivers Ubuntu and found...

http://www.linuxquestions.org/questions/linux-networking-3/broadcom-netxtreme-57xx-gigabit-controller-through-integrated-ethernet-adaptor-ubuntu-403644/

http://www.broadcom.com/support/ethernet_nic/netxtreme_desktop.php

As for the other results not sure which ones are reputable or not. Broadcom lists the tg3 driver as being for Linux. Maybe it's a more recent version than what I currently have?

josephmills
April 27th, 2011, 09:10 PM
try http://www.googlubuntu.com/results/?cx=006238239194895611142%3Au-ocqbntw_o&cof=FORID%3A9&ie=UTF-8&q=%5B14e4%3A1680%5D+driver++&as_qdr=all&sa=Google+Search&lang=en
and http://www.google.com/search?sourceid=chrome&client=ubuntu&channel=cs&ie=UTF-8&q=%5B14e4%3A1680%5D+driver
have a look around

EDIT
if you would like to see you version of your driver do


modinfo -F version tg3

Hermanocleas
April 27th, 2011, 09:33 PM
Looks like I have the latest version of tg3... Looks like some people have recommended alternative drivers but that's on earlier versions. Perhaps worth a shot anyway?

Hermanocleas
April 27th, 2011, 09:34 PM
It's strange cause it seems to only be the upgrade that is slow. Updates went quickly and so does browsing.

josephmills
April 27th, 2011, 09:41 PM
unplug the cable then plug it back in. Then


dmesg

this will tell you what the linux kernel is seeing take out any ip address and also hw address I don't think that there will be any but this is what we are looking for


[ 1100.934163] tg3 0000:02:00.0: eth0: Link is down
[ 1102.658628] tg3 0000:02:00.0: eth0: Link is up at 100 Mbps, full duplex
[ 1102.658634] tg3 0000:02:00.0: eth0: Flow control is off for TX and off for RX
if you see this (you should) post

Hermanocleas
April 27th, 2011, 10:20 PM
I'd like to get through this upgrade first, currently:

56% [184 libreoffice-writer 3,744 kB/6,132 kB 61%]

It sped up for a period of about a minute then slows back down. Seems like each "Get:" item downloads at a different speed sometimes.

Hermanocleas
April 27th, 2011, 10:48 PM
I think it was the repository server I was using.

I went into Synaptic Package Manager and ran a test to find the best repository server; after choosing the server it came up with, I reran the upgrade and it went along very rapidly. It's now installing the downloaded upgrades.

Hermanocleas
April 27th, 2011, 10:51 PM
Apparently when you do what I did it also updates the apt-get and aptitude configuration as well but don't quote me on it.

Thanks for your help!

josephmills
April 28th, 2011, 12:28 AM
nice glad to here:) Got off work early there was a tornado warning if solved please mark thanks and happy ubuntuing ):P