LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 09-17-2012, 12:08 AM   #1
bmorebears
LQ Newbie
 
Registered: Sep 2012
Posts: 3

Rep: Reputation: Disabled
Thumbs up 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

Code:
  *-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=192.168.1.100 latency=0 link=yes multicast=yes wireless=IEEE 802.11bg
       resources: irq:17 memory:d1100000-d110ffff
  *-network
       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
iwconfig

Code:
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.
ifconfig

Code:
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:127.0.0.1  Mask:255.0.0.0
          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:192.168.1.100  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::21f:e2ff:feaa:bd37/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          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)

nm-tool

Code:
NetworkManager Tool

State: connected (global)

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

  Capabilities:
    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

  Capabilities:
    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:
    Address:         192.168.1.100
    Prefix:          24 (255.255.255.0)
    Gateway:         192.168.1.1

    DNS:             75.75.75.75
    DNS:             75.75.76.76
lsmod

Code:
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

Last edited by bmorebears; 09-17-2012 at 03:20 AM.
 
Old 09-17-2012, 08:37 AM   #2
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.0 + 14.1
Posts: 4,834

Rep: Reputation: 431Reputation: 431Reputation: 431Reputation: 431Reputation: 431
How far can you ping? Can you ping your router? What about the DNS servers, 75.75.75.75 and 75.75.76.76?

Can you ping 75.126.162.205 ? 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?
 
Old 09-17-2012, 12:55 PM   #3
aristocratic
Member
 
Registered: Sep 2011
Location: Texas
Distribution: Open SuSE 12.1, Lucid Puppy
Posts: 90

Rep: Reputation: Disabled
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.
 
Old 09-17-2012, 09:56 PM   #4
aristocratic
Member
 
Registered: Sep 2011
Location: Texas
Distribution: Open SuSE 12.1, Lucid Puppy
Posts: 90

Rep: Reputation: Disabled
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.
 
Old 09-17-2012, 11:44 PM   #5
bmorebears
LQ Newbie
 
Registered: Sep 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
I'm not exactly sure what I'm looking at. Here's what I get from "route -n"

Code:
Kernel IP routing table
Destination           Gateway           Genmask              Flags             Metric            Ref       Use      Iface
0.0.0.0               192.168.1.1       0.0.0.0              UG                0                 0           0      wlan0
169.254.0.0           0.0.0.0           255.255.0.0          U                 1000              0           0      wlan0
192.168.1.0           0.0.0.0           255.255.255.0        U                 2                 0           0      wlan0
 
Old 09-18-2012, 06:11 AM   #6
aristocratic
Member
 
Registered: Sep 2011
Location: Texas
Distribution: Open SuSE 12.1, Lucid Puppy
Posts: 90

Rep: Reputation: Disabled
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.

Destination: 0.0.0.0
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.
 
Old 09-18-2012, 08:47 AM   #7
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.0 + 14.1
Posts: 4,834

Rep: Reputation: 431Reputation: 431Reputation: 431Reputation: 431Reputation: 431
Quote:
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 0.0.0.0 is OK. for the gateway. Is 192.168.1.1 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. -->http://www.cyberciti.biz/faq/linux-s...route-command/

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.

Last edited by camorri; 09-18-2012 at 08:51 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Oracle Enterprise Linux - Internet connection - wired or wireless - not working doyyan Linux - Newbie 1 09-12-2011 04:59 PM
Wireless and wired connection to same router, wireless not working GeoNeil Linux - Wireless Networking 1 03-30-2011 04:45 AM
Keep the wired connection working while reconnection wireless martvefun Linux - Networking 1 11-09-2010 08:00 PM
bridging a wireless and wired network causes wired to stop working royce2020 Linux - Networking 0 04-21-2009 04:48 PM
Wireless and Wired connection on Belkin wireless G F5D7230 not working together ernie79 Linux - Hardware 1 02-10-2008 06:50 AM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration