Find the answer to your Linux question:
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 23
My wireless USB seems to work fine, since it detects my internet connection. But it can't connect to it for some reason. I enter the security code, it tries to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2010
    Posts
    13

    [SOLVED] Wireless USB works... still can't connect!


    My wireless USB seems to work fine, since it detects my internet connection. But it can't connect to it for some reason. I enter the security code, it tries to connect but it just asks for the code again after a minute.

    If it's relevant, here's what I got from the stickied topic:

    Code:
    ============ lspci ============
    00:00.0 Host bridge [0600]: Intel Corporation 82915G/P/GV/GL/PL/910GL Memory Controller Hub [8086:2580] (rev 04)
    	Kernel driver in use: agpgart-intel
    	Kernel modules: intel-agp
    00:02.0 Display controller [0380]: Intel Corporation 82915G/GV/910GL Integrated Graphics Controller [8086:2582] (rev 04)
    00:1b.0 Audio device [0403]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller [8086:2668] (rev 04)
    	Kernel driver in use: HDA Intel
    	Kernel modules: snd-hda-intel
    00:1c.0 PCI bridge [0604]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 [8086:2660] (rev 04)
    	Kernel driver in use: pcieport
    	Kernel modules: shpchp
    00:1c.1 PCI bridge [0604]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 2 [8086:2662] (rev 04)
    	Kernel driver in use: pcieport
    	Kernel modules: shpchp
    00:1d.0 USB Controller [0c03]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 [8086:2658] (rev 04)
    	Kernel driver in use: uhci_hcd
    00:1d.1 USB Controller [0c03]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 [8086:2659] (rev 04)
    	Kernel driver in use: uhci_hcd
    00:1d.2 USB Controller [0c03]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 [8086:265a] (rev 04)
    	Kernel driver in use: uhci_hcd
    00:1d.3 USB Controller [0c03]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 [8086:265b] (rev 04)
    	Kernel driver in use: uhci_hcd
    00:1d.7 USB Controller [0c03]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller [8086:265c] (rev 04)
    	Kernel driver in use: ehci_hcd
    00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev d4)
    00:1f.0 ISA bridge [0601]: Intel Corporation 82801FB/FR (ICH6/ICH6R) LPC Interface Bridge [8086:2640] (rev 04)
    	Kernel modules: iTCO_wdt, intel-rng
    00:1f.1 IDE interface [0101]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller [8086:266f] (rev 04)
    	Kernel driver in use: ata_piix
    00:1f.2 IDE interface [0101]: Intel Corporation 82801FR/FRW (ICH6R/ICH6RW) SATA Controller [8086:2652] (rev 04)
    	Kernel driver in use: ata_piix
    	Kernel modules: ahci
    00:1f.3 SMBus [0c05]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller [8086:266a] (rev 04)
    	Kernel modules: i2c-i801
    03:01.0 VGA compatible controller [0300]: nVidia Corporation NV44A [GeForce 6200] [10de:0221] (rev a1)
    	Kernel driver in use: nouveau
    	Kernel modules: nvidiafb, nouveau
    03:02.0 Communication controller [0780]: Conexant Systems, Inc. HSF 56k Data/Fax Modem [14f1:2f20]
    03:08.0 Ethernet controller [0200]: Intel Corporation 82562ET/EZ/GT/GZ - PRO/100 VE (LOM) Ethernet Controller [8086:1064] (rev 04)
    	Kernel driver in use: e100
    	Kernel modules: e100
    
    ============ lsusb ============
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 004: ID 413c:2010 Dell Computer Corp. 
    Bus 003 Device 003: ID 0461:4d15 Primax Electronics, Ltd Dell Optical Mouse
    Bus 003 Device 002: ID 413c:1003 Dell Computer Corp. 
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 002: ID 046d:c218 Logitech, Inc. Logitech RumblePad 2 USB
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 005: ID 148f:2870 Ralink Technology, Corp. 
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    
    ============ lsmod ============
    Module                  Size  Used by
    binfmt_misc             6587  1 
    ppdev                   5259  0 
    lp                      7028  0 
    parport                32635  2 ppdev,lp
    dm_crypt               11331  0 
    snd_hda_codec_idt      51914  1 
    snd_hda_intel          21877  2 
    snd_hda_codec          74201  2 snd_hda_codec_idt,snd_hda_intel
    snd_hwdep               5412  1 snd_hda_codec
    snd_pcm_oss            35308  0 
    snd_mixer_oss          13746  1 snd_pcm_oss
    snd_pcm                70662  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
    rt2870sta             461811  0 
    snd_seq_dummy           1338  0 
    arc4                    1153  2 
    snd_seq_oss            26726  0 
    snd_seq_midi            4557  0 
    rt2800usb              31531  0 
    snd_rawmidi            19056  1 snd_seq_midi
    rt2x00usb               9703  1 rt2800usb
    snd_seq_midi_event      6003  2 snd_seq_oss,snd_seq_midi
    rt2x00lib              27509  2 rt2800usb,rt2x00usb
    led_class               2864  1 rt2x00lib
    snd_seq                47263  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
    snd_timer              19098  2 snd_pcm,snd_seq
    snd_seq_device          5700  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
    mac80211              204922  2 rt2x00usb,rt2x00lib
    snd                    54148  16 snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
    dell_wmi                1793  0 
    cfg80211              126485  2 rt2x00lib,mac80211
    psmouse                63245  0 
    soundcore               6620  1 snd
    dcdbas                  5422  0 
    crc_ccitt               1339  1 rt2800usb
    joydev                  8708  0 
    serio_raw               3978  0 
    snd_page_alloc          7076  2 snd_hda_intel,snd_pcm
    squashfs               20680  1 
    aufs                  149050  1 
    isofs                  29250  1 
    nls_iso8859_1           3249  0 
    nls_cp437               4919  1 
    vfat                    8901  0 
    fat                    47767  1 vfat
    dm_raid45              81647  0 
    xor                    15028  1 dm_raid45
    hid_logitech            7388  0 
    ff_memless              4093  1 hid_logitech
    usbhid                 36110  1 hid_logitech
    hid                    67032  2 hid_logitech,usbhid
    fbcon                  35102  71 
    tileblit                2031  1 fbcon
    font                    7557  1 fbcon
    bitblit                 4707  1 fbcon
    softcursor              1189  1 bitblit
    vga16fb                11385  0 
    vgastate                8961  1 vga16fb
    nouveau               467048  2 
    ttm                    49943  1 nouveau
    drm_kms_helper         29297  1 nouveau
    drm                   162471  4 nouveau,ttm,drm_kms_helper
    intel_agp              24177  1 
    e100                   28211  0 
    i2c_algo_bit            5028  1 nouveau
    mii                     4381  1 e100
    agpgart                31724  3 ttm,drm,intel_agp
    ramzswap                6362  1 
    xvmalloc                4074  1 ramzswap
    lzo_decompress          2189  1 ramzswap
    lzo_compress            1853  1 ramzswap
    
    ============ dmesg-firmware ============
    [   60.973322] intel_rng: don't want to disable this in firmware setup, and if
    [   65.991384] rt2800usb 1-6:1.0: firmware: requesting rt2870.bin
    
    ============ kernel version ============
    2.6.32-21-generic
    
    ============ ifconfig ============
    eth0      Link encap:Ethernet  HWaddr 00:16:76:43:d9:e7  
              UP BROADCAST MULTICAST  MTU:1500  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:1000 
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
    
    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:764 errors:0 dropped:0 overruns:0 frame:0
              TX packets:764 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:59728 (59.7 KB)  TX bytes:59728 (59.7 KB)
    
    wlan0     Link encap:Ethernet  HWaddr 00:14:d1:5f:3c:a9  
              UP BROADCAST MULTICAST  MTU:1500  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:1000 
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
    
    
    ============ iwconfig ============
    wlan0     IEEE 802.11bgn  ESSID:off/any  
              Mode:Managed  Access Point: Not-Associated   Tx-Power=15 dBm   
              Retry  long limit:7   RTS thr:off   Fragment thr:off
              Power Management:on
    I'm using Ubuntu off the disc, since I'm not quite sure about the effects of partitioning.

  2. #2
    Just Joined!
    Join Date
    Jul 2010
    Posts
    13
    Update: I installed Ubuntu onto my hard drive, not much difference. It says I get a connection when I change "wireless mode" from infrastructure to ad-hoc (I'm not totally sure what this means, but I use infrastructure in xp). But, Firefox still doesn't work. It says it's connected even if I input the security code incorrectly (I'm using WPA2-PSK, encryption is TKIP - again, I'm not exactly sure what this means!).

    A reply would be nice...

  3. #3
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    Hello and Welcome. Try these commands and post the results back here please.
    Code:
    sudo ifconfig wlan0 up
    Code:
    sudo iwlist wlan0 scan
    Code:
    route
    Code:
    cat /etc/resolv.conf
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  4. #4
    Just Joined!
    Join Date
    Jul 2010
    Posts
    13
    Thanks for replying. Here's what I got:

    Code:
    matthew@MattsComputer:~$ sudo ifconfig wlan0 up
    matthew@MattsComputer:~$ sudo iwlist wlan0 scan
    wlan0     Scan completed :
              Cell 01 - Address: B0:E7:54:6E:CB:D1
                        Channel:2
                        Frequency:2.417 GHz (Channel 2)
                        Quality=70/70  Signal level=34 dBm  
                        Encryption key:on
                        ESSID:"BELL963"
                        Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
                                  11 Mb/s; 12 Mb/s; 18 Mb/s
                        Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                        Mode:Master
                        Extra:tsf=000000a02609fd88
                        Extra: Last beacon: 716ms ago
                        IE: Unknown: 000742454C4C393633
                        IE: Unknown: 010882848B0C12961824
                        IE: Unknown: 030102
                        IE: Unknown: 0706555320010B1B
                        IE: IEEE 802.11i/WPA2 Version 1
                            Group Cipher : TKIP
                            Pairwise Ciphers (2) : CCMP TKIP
                            Authentication Suites (1) : PSK
                        IE: WPA Version 1
                            Group Cipher : TKIP
                            Pairwise Ciphers (2) : CCMP TKIP
                            Authentication Suites (1) : PSK
                        IE: Unknown: 2A0100
                        IE: Unknown: 32043048606C
              Cell 02 - Address: BA:1E:AD:0B:F6:10
                        Channel:1
                        Frequency:2.412 GHz (Channel 1)
                        Quality=70/70  Signal level=0 dBm  
                        Encryption key:on
                        ESSID:"BELL963"
                        Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                                  9 Mb/s; 12 Mb/s; 18 Mb/s
                        Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                        Mode:Ad-Hoc
                        Extra:tsf=0000000000000000
                        Extra: Last beacon: 65148ms ago
                        IE: Unknown: 000742454C4C393633
                        IE: Unknown: 010882840B160C121824
                        IE: Unknown: 030101
                        IE: Unknown: 06020000
                        IE: Unknown: 32043048606C
    
    matthew@MattsComputer:~$ route
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    10.42.43.0      *               255.255.255.0   U     2      0        0 wlan0
    link-local      *               255.255.0.0     U     1000   0        0 wlan0
    matthew@MattsComputer:~$ cat /etc/resolv.conf
    # Generated by NetworkManager
    I had 2 configurations for Bell963, because I made 1 manually, the other was automatically picked up.

  5. #5
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    Are you using DHCP to get an IP address? You should be if not. As a workaround, issue the command below please.
    Code:
    gksu gedit /etc/resolv.conf
    Add this line
    Code:
    nameserver     8.8.8.8
    Save, exit and reboot. Try the Internet please.
    I would try deleting the manually created Bell963 point just to avoid confusion.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  6. #6
    Just Joined!
    Join Date
    Jul 2010
    Posts
    13
    Unfortunately, that didn't change anything. I'm using DHCP, added the line, rebooted, but to no avail.

  7. #7
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    I bet that line got deleted too. Check the /etc/resolv.conf file...see if it's still the same.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  8. #8
    Just Joined!
    Join Date
    Jul 2010
    Posts
    13
    You're right, it got deleted. I can't write to the file because it's read only, and I can't change this because "I am not the owner". If I'm not the owner, who is??

  9. #9
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    Root is the owner.

    What happens if you try to connect then open a terminal window and issue this command?
    Code:
    dhclient wlan0
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  10. #10
    Just Joined!
    Join Date
    Jul 2010
    Posts
    13
    Quote Originally Posted by MikeTbob View Post
    Root is the owner.

    What happens if you try to connect then open a terminal window and issue this command?
    Code:
    dhclient wlan0
    Code:
    matthew@MattsComputer:~$ dhclient wlan0
    Internet Systems Consortium DHCP Client V3.1.3
    Copyright 2004-2009 Internet Systems Consortium.
    All rights reserved.
    
    can't create /var/lib/dhcp3/dhclient.leases: Permission denied
    SIOCSIFADDR: Permission denied
    SIOCSIFFLAGS: Permission denied
    SIOCSIFFLAGS: Permission denied
    Open a socket for LPF: Operation not permitted

Page 1 of 3 1 2 3 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •