-   Linux - Newbie (
-   -   Upgraded to 12.04 from 10.04 and wired/wireless connection not working (

bmorebears 09-17-2012 01:08 AM

Upgraded to 12.04 from 10.04 and wired/wireless connection not working
I've browsed through multiple threads on this forum, and googled for solutions for over a week, and I'm at my wit's end. I seem to be connecting to wireless networks, but I don't have an internet connection. Same thing happens when I use an ethernet cable: My machine says I'm connected, but I don't an internet connection. I am so close to just reinstalling 10.04. I have an HP dv5 if that matters.

Any help will be much appreciated.

sudo lshw -C network


      description: Wireless interface
      product: AR242x / AR542x Wireless Network Adapter (PCI-Express)
      vendor: Atheros Communications Inc.
      physical id: 0
      bus info: pci@0000:08:00.0
      logical name: wlan0
      version: 01
      serial: 00:1f:e2:aa:bd:37
      width: 64 bits
      clock: 33MHz
      capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
      configuration: broadcast=yes driver=ath5k driverversion=3.2.0-30-generic-pae firmware=N/A ip= latency=0 link=yes multicast=yes wireless=IEEE 802.11bg
      resources: irq:17 memory:d1100000-d110ffff
      description: Ethernet interface
      product: RTL8101E/RTL8102E PCI Express Fast Ethernet controller
      vendor: Realtek Semiconductor Co., Ltd.
      physical id: 0
      bus info: pci@0000:09:00.0
      logical name: eth0
      version: 02
      serial: 00:1e:68:92:9c:32
      size: 10Mbit/s
      capacity: 100Mbit/s
      width: 64 bits
      clock: 33MHz
      capabilities: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
      configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=N/A latency=0 link=no multicast=yes port=MII speed=10Mbit/s
      resources: irq:43 ioport:2000(size=256) memory:d1010000-d1010fff memory:d1000000-d100ffff memory:d1020000-d102ffff



lo        no wireless extensions.

wlan0    IEEE 802.11bg  ESSID:"fuckyocouch" 
          Mode:Managed  Frequency:2.462 GHz  Access Point: 00:1C:10:A3:D5:D4 
          Bit Rate=54 Mb/s  Tx-Power=20 dBm 
          Retry  long limit:7  RTS thr:off  Fragment thr:off
          Power Management:off
          Link Quality=70/70  Signal level=-34 dBm 
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:33  Invalid misc:31  Missed beacon:0

eth0      no wireless extensions.



eth0      Link encap:Ethernet  HWaddr 00:1e:68:92:9c:32 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:38 errors:0 dropped:0 overruns:0 frame:0
          TX packets:62 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:9851 (9.8 KB)  TX bytes:11280 (11.2 KB)
          Interrupt:43 Base address:0x6000

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

wlan0    Link encap:Ethernet  HWaddr 00:1f:e2:aa:bd:37 
          inet addr:  Bcast:  Mask:
          inet6 addr: fe80::21f:e2ff:feaa:bd37/64 Scope:Link
          RX packets:107 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1519 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:8279 (8.2 KB)  TX bytes:174960 (174.9 KB)



NetworkManager Tool

State: connected (global)

- Device: eth0 -----------------------------------------------------------------
  Type:              Wired
  Driver:            r8169
  State:            unavailable
  Default:          no
  HW Address:        00:1E:68:92:9C:32

    Carrier Detect:  yes

  Wired Properties
    Carrier:        off

- Device: wlan0  [fuckyocouch] -------------------------------------------------
  Type:              802.11 WiFi
  Driver:            ath5k
  State:            connected
  Default:          yes
  HW Address:        00:1F:E2:AA:BD:37

    Speed:          54 Mb/s

  Wireless Properties
    WEP Encryption:  yes
    WPA Encryption:  yes
    WPA2 Encryption: yes

  Wireless Access Points (* = current AP)
    Ricky-902:      Infra, 00:22:3F:0C:5E:7A, Freq 2437 MHz, Rate 54 Mb/s, Strength 87 WPA2
    *fuckyocouch:    Infra, 00:1C:10:A3:D5:D4, Freq 2462 MHz, Rate 54 Mb/s, Strength 85 WPA WPA2
    LawBrahXD:      Infra, 1C:AF:F7:DD:5E:CD, Freq 2437 MHz, Rate 54 Mb/s, Strength 44 WPA
    HOME-8CE2:      Infra, 00:1D:D0:E8:8C:E0, Freq 2462 MHz, Rate 54 Mb/s, Strength 50 WPA WPA2
    Virus Server:    Infra, 60:33:4B:E0:4A:51, Freq 2462 MHz, Rate 54 Mb/s, Strength 50 WPA2
    ANTHOME:        Infra, 78:CD:8E:0C:7D:E8, Freq 2432 MHz, Rate 54 Mb/s, Strength 37 WPA WPA2
    NETGEAR36:      Infra, 2C:B0:5D:A1:D8:29, Freq 2417 MHz, Rate 54 Mb/s, Strength 37 WPA2

IPv4 Settings:
    Prefix:          24 (




Module                  Size  Used by
nls_iso8859_1          12617  1
nls_cp437              12751  1
vfat                  17308  1
fat                    55605  1 vfat
ath5k                145127  0
ip6table_filter        12711  0
ip6_tables            18432  1 ip6table_filter
iptable_filter        12706  0
ip_tables              18106  1 iptable_filter
x_tables              21974  4 ip6table_filter,ip6_tables,iptable_filter,ip_tables
pci_stub              12550  1
vboxpci                22882  0
vboxnetadp            13328  0
vboxnetflt            27211  0
vboxdrv              252188  3 vboxpci,vboxnetadp,vboxnetflt
dm_crypt              22528  0
rfcomm                38139  0
bnep                  17830  2
bluetooth            158438  10 rfcomm,bnep
parport_pc            32114  0
ppdev                  12849  0
binfmt_misc            17292  1
snd_hda_codec_hdmi    31775  1
uvcvideo              67203  0
videodev              86588  1 uvcvideo
joydev                17393  0
snd_hda_codec_idt      60251  1
hp_wmi                13652  0
sparse_keymap          13658  1 hp_wmi
snd_hda_intel          32765  4
snd_hda_codec        109562  3 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel
snd_hwdep              13276  1 snd_hda_codec
snd_pcm                80845  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
psmouse                72919  0
snd_seq_midi          13132  0
snd_rawmidi            25424  1 snd_seq_midi
snd_seq_midi_event    14475  1 snd_seq_midi
snd_seq                51567  2 snd_seq_midi,snd_seq_midi_event
snd_timer              28931  2 snd_pcm,snd_seq
serio_raw              13027  0
k10temp                12990  0
snd_seq_device        14172  3 snd_seq_midi,snd_rawmidi,snd_seq
arc4                  12473  2
ir_lirc_codec          12739  0
lirc_dev              18700  1 ir_lirc_codec
ir_mce_kbd_decoder    12681  0
fglrx                2909855  54
rc_rc6_mce            12454  0
ir_sony_decoder        12462  0
ir_jvc_decoder        12459  0
ene_ir                18019  0
ir_rc6_decoder        12459  0
ir_rc5_decoder        12459  0
ir_nec_decoder        12459  0
hp_accel              25728  0
lis3lv02d              19268  1 hp_accel
rc_core                21263  10 ir_lirc_codec,ir_mce_kbd_decoder,rc_rc6_mce,ir_sony_decoder,ir_jvc_decoder,ene_ir,ir_rc6_decoder,ir_rc5_decoder,ir_nec_decoder
snd                    62064  18 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
sp5100_tco            13495  0
input_polldev          13648  1 lis3lv02d
i2c_piix4              13093  0
mac_hid                13077  0
ath                    19387  1 ath5k
soundcore              14635  1 snd
mac80211              436455  1 ath5k
snd_page_alloc        14108  2 snd_hda_intel,snd_pcm
cfg80211              178679  3 ath5k,ath,mac80211
shpchp                32325  0
lp                    17455  0
parport                40930  3 parport_pc,ppdev,lp
vesafb                13516  1
pata_atiixp            12999  0
ums_realtek            17920  0
uas                    17828  0
r8169                  56321  0
wmi                    18744  1 hp_wmi
video                  19068  0
usb_storage            39646  2 ums_realtek

camorri 09-17-2012 09:37 AM

How far can you ping? Can you ping your router? What about the DNS servers, and

Can you ping ? This is the IP for linuxquestions.

What happens if you disable your firewall? Then try the pings.

Everything I see you posted looks good; although I did not verify the correct drivers are loaded. Did you?

aristocratic 09-17-2012 01:55 PM

I am having the exact same problem with a new installation of openSuSE 12.1 (see my post below). I will be interested in hearing the solution. I will try your suggestions, Camorri.

I am wondering if I (or we) need to search for the correct firmware for the NIC? Like you, I am on the wireless network, but no internet connection. The other interesting thing about my problem is that I cannot ping other computers, and I cannot ping the default gateway. The only thing I can ping is my loopback address.

aristocratic 09-17-2012 10:56 PM

I had the same problem as you, but I noticed that my kernel routing table had the wrong gateway IP address (command: route -n). I have openSuSE, and had to manually configure the gateway IP using YaST. I found out the gateway IP address using the following command in windows: ipconfig /all (I am on a public network).

Once I put in the correct gateway IP, I was able to get on the internet. Check your gateway IP. I hope this helps.

bmorebears 09-18-2012 12:44 AM

I'm not exactly sure what I'm looking at. Here's what I get from "route -n"


Kernel IP routing table
Destination          Gateway          Genmask              Flags            Metric            Ref      Use      Iface                  UG                0                0          0      wlan0          U                1000              0          0      wlan0        U                2                0          0      wlan0

aristocratic 09-18-2012 07:11 AM

Do you know the IP address of your router? Try typing it into the URL space of your web browser, and you should see the graphical interface come up for your router. Or, go into Windows and type the command "ipconfig /all". I am not sure if the version of Linux you are using has a graphical interface like YaST. I entered the following under a "router" tab under Network Settings in YaST.

Gateway: Gateway IP address from the command "ipconfig /all"
Genmask: Network Mask IP address from the command "ipconfig /all"

Maybe someone can help with the command line required for entering this? I have a feeling you are close to a solution.

camorri 09-18-2012 09:47 AM


I'm not exactly sure what I'm looking at. Here's what I get from "route -n"
You are looking to see if the default gateway is set up, and it appears to be. The IP address of is OK. for the gateway. Is your routers IP address? If yes, then it looks good.

In post 2 I asked you to do some pinging. Can you post the results? It will help determine how far you can go.

If you are interested, here is a link that describes how to set up the default route. -->

For you information, the routing table is how your kernel decides to send each IP packet it receives. If it gets a IP that is not in the routing table, it sends it to the default ( your router ) for routing. If the default is not set, or is incorrect, you will not be able to reach the internet.

All times are GMT -5. The time now is 07:49 PM.