LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 05-24-2009, 12:14 PM   #1
compu73rg33k
Member
 
Registered: Feb 2004
Distribution: Ubuntu
Posts: 316

Rep: Reputation: 30
iwlist scan - no scan results


I took the antenna off my wireless card to move and since I've put it back on the card has been unable to pick up a signal. When I run sudo iwlist scan it hangs for a second then reports
Code:
wlan0     No scan results
when I run iwconfig I get
Code:
wlan0     IEEE 802.11bg  ESSID:""  
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated   
          Tx-Power=17 dBm   
          Retry min limit:7   RTS thr:off   Fragment thr=2352 B   
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
However the LED on the back of the wireless card is green.

This is my lspci:
Code:
00:00.0 Host bridge: Advanced Micro Devices [AMD] RS780 Host Bridge
00:01.0 PCI bridge: ASUSTeK Computer Inc. Device 9602
00:05.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 1)
00:06.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 2)
00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA Controller [IDE mode]
00:12.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:12.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller
00:12.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:13.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:13.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller
00:13.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 3a)
00:14.1 IDE interface: ATI Technologies Inc SB700/SB800 IDE Controller
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
00:14.3 ISA bridge: ATI Technologies Inc SB700/SB800 LPC host controller
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge
00:14.5 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI2 Controller
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:05.0 VGA compatible controller: ATI Technologies Inc Radeon HD 3200 Graphics
01:05.1 Audio device: ATI Technologies Inc RS780 Azalia controller
02:00.0 FireWire (IEEE 1394): JMicron Technologies, Inc. IEEE 1394 Host Controller
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
04:06.0 Network controller: RaLink RT2561/RT61 802.11g PCI
Any help and advice on how to test things would be appreciated. I'm not sure what to do and confused why the card won't pick up a signal.
 
Old 05-24-2009, 04:35 PM   #2
verdeboy2k
Member
 
Registered: Jan 2004
Location: /dev/random
Distribution: Gentoo amd64, CrunchBang amd64
Posts: 350

Rep: Reputation: 32
I assume that the card was working just fine in linux before your moved your pc. If that is the case, have you checked to make sure that the card hasn't come loose from its PCI slot? It might have shifted just enough to be detected by your computer, but not be seated firmly enough to work properly. (I have had this happen before ).
 
Old 05-24-2009, 09:29 PM   #3
compu73rg33k
Member
 
Registered: Feb 2004
Distribution: Ubuntu
Posts: 316

Original Poster
Rep: Reputation: 30
I just tried resetting the card in the motherboard and then booted up on a live CD. The wireless worked! I thought this had solved my problem, but then I restarted back into my installation on my harddrive, and unfortunately the wireless still would not scan.

So the card definitely works it's some messed up setting on my current 9.04 installation on my harddrive.
 
Old 05-25-2009, 04:29 PM   #4
compu73rg33k
Member
 
Registered: Feb 2004
Distribution: Ubuntu
Posts: 316

Original Poster
Rep: Reputation: 30
I just tried reinstalling ubuntu and when I started back up the wireless still didn't work. There's a red X over the wireless strength bar signal. I tried restarting into the live CD again because it worked last time I booted into wireless CD and it still didn't work. Makes me wonder why it worked the first time!?

I tried swapping the wireless card out with another I had in a different computer and the result is the same. It won't scan for networks! Is there some setting to block scanning or connecting to a network or something?

Last edited by compu73rg33k; 05-25-2009 at 04:49 PM.
 
Old 05-25-2009, 06:21 PM   #5
compu73rg33k
Member
 
Registered: Feb 2004
Distribution: Ubuntu
Posts: 316

Original Poster
Rep: Reputation: 30
more debugging info

ifconfig wlan1
Code:
wlan1     Link encap:Ethernet  HWaddr 00:14:6c:89:c0:e8  
          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)

wmaster0  Link encap:UNSPEC  HWaddr 00-14-6C-89-C0-E8-00-00-00-00-00-00-00-00-00-00  
          UP BROADCAST RUNNING 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 wlan1
Code:
wlan1     IEEE 802.11bg  ESSID:""  
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated   
          Tx-Power=20 dBm   
          Retry min limit:7   RTS thr:off   Fragment thr=2352 B   
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
lspci
Code:
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
04:06.0 Ethernet controller: Atheros Communications Inc. Atheros AR5001X+ Wireless Network Adapter (rev 01)
lshw -class network
Code:
  *-network               
       description: Ethernet interface
       product: RTL8111/8168B PCI Express Gigabit Ethernet controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: eth0
       version: 02
       serial: 00:23:54:25:8a:5a
       size: 100MB/s
       capacity: 1GB/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full ip=192.168.1.103 latency=0 link=yes module=r8169 multicast=yes port=MII speed=100MB/s
  *-network
       description: Wireless interface
       product: Atheros AR5001X+ Wireless Network Adapter
       vendor: Atheros Communications Inc.
       physical id: 6
       bus info: pci@0000:04:06.0
       logical name: wmaster0
       version: 01
       serial: 00:14:6c:89:c0:e8
       width: 32 bits
       clock: 33MHz
       capabilities: pm bus_master cap_list logical ethernet physical wireless
       configuration: broadcast=yes driver=ath5k_pci ip=10.42.43.1 latency=168 maxlatency=28 mingnt=10 module=ath5k multicast=yes wireless=IEEE 802.11bg
  *-network DISABLED
       description: Ethernet interface
       physical id: 1
       logical name: pan0
       serial: ae:ee:b4:d5:89:0a
       capabilities: ethernet physical
       configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A link=yes multicast=yes
 
Old 05-25-2009, 11:51 PM   #6
compu73rg33k
Member
 
Registered: Feb 2004
Distribution: Ubuntu
Posts: 316

Original Poster
Rep: Reputation: 30
I booted from a Ubuntu 8.10 CD and the wireless worked. I upgraded to 9.04 and the wireless stopped working again. I noticed that it was now using the ath5k module in 9.04 instead of ath_pci from 8.10. I edited my /etc/modules.d/ath_pci-blacklist.conf and commented the line to blacklist ath_pci and instead blacklisted ath5k. I ran rmmod ath5k and modprobe ath_pci and the wireless instantly connected to my wireless network.

I tried reinstalling my old wireless card and it did not work with the ath_pci module, nor the ath5k module, nor the rt61pci module which is the module I believe it should be using (this was loaded when I ran 8.10).

Here's the lshw -class network from my 9.04 installation:
Code:
  *-network
       description: Wireless interface
       product: RT2561/RT61 802.11g PCI
       vendor: RaLink
       physical id: 6
       bus info: pci@0000:04:06.0
       logical name: wmaster0
       version: 00
       serial: 00:1e:e5:9f:63:02
       width: 32 bits
       clock: 33MHz
       capabilities: pm bus_master cap_list logical ethernet physical wireless
       configuration: broadcast=yes driver=rt61pci latency=64 module=rt61pci multicast=yes wireless=IEEE 802.11bg
  *-network DISABLED
       description: Ethernet interface
       physical id: 1
       logical name: pan0
       serial: 3e:8d:51:d2:f6:03
       capabilities: ethernet physical
       configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A link=yes multicast=yes
Here's the lsmod for my 9.04 installation when the wireless card doesn't work:
Code:
Module                  Size  Used by
nls_iso8859_1          13440  1 
nls_cp437              15104  1 
isofs                  43688  1 
vfat                   21120  1 
fat                    65592  1 vfat
udf                    92584  0 
binfmt_misc            18572  1 
bridge                 63904  0 
stp                    11140  1 bridge
bnep                   22912  2 
video                  29204  0 
output                 11648  1 video
input_polldev          12688  0 
ath_pci               108400  0 
wlan                  232736  1 ath_pci
ath_hal               225904  1 ath_pci
sbp2                   34700  0 
lp                     19588  0 
arc4                   10240  2 
ecb                    11392  2 
snd_hda_intel         557364  3 
rt61pci                32260  0 
crc_itu_t              10496  2 udf,rt61pci
snd_pcm_oss            52352  0 
snd_mixer_oss          24960  1 snd_pcm_oss
snd_seq_dummy          11524  0 
rt2x00pci              16768  1 rt61pci
snd_pcm                99336  2 snd_hda_intel,snd_pcm_oss
rt2x00lib              43008  2 rt61pci,rt2x00pci
snd_seq_oss            41984  0 
led_class              13064  1 rt2x00lib
snd_seq_midi           15744  0 
mac80211              251144  2 rt2x00pci,rt2x00lib
snd_rawmidi            33920  1 snd_seq_midi
snd_seq_midi_event     16512  2 snd_seq_oss,snd_seq_midi
snd_seq                66272  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
cfg80211               43168  2 rt2x00lib,mac80211
psmouse                64028  0 
snd_timer              34064  2 snd_pcm,snd_seq
ppdev                  16904  0 
snd_seq_device         16276  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
eeprom_93cx6           10624  1 rt61pci
k8temp                 13440  0 
pcspkr                 11136  0 
serio_raw              14468  0 
i2c_piix4              20112  0 
joydev                 20864  0 
snd                    78792  15 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore              16800  1 snd
snd_page_alloc         18704  2 snd_hda_intel,snd_pcm
parport_pc             45096  1 
parport                49584  3 lp,ppdev,parport_pc
shpchp                 44572  0 
usbhid                 47040  0 
usb_storage            94912  1 
ohci1394               42036  0 
r8169                  46596  0 
mii                    14464  1 r8169
ieee1394              108288  2 sbp2,ohci1394
floppy                 75816  0 
fbcon                  49792  0 
tileblit               11264  1 fbcon
font                   17024  1 fbcon
bitblit                14464  1 fbcon
softcursor             10368  1 bitblit
Here's the lsmod for the 8.10 installation when the wireless card works:
Code:
Module                  Size  Used by
ipv6                  314312  14 
nls_iso8859_1          13568  1 
vfat                   21120  1 
fat                    64824  1 vfat
binfmt_misc            18700  1 
af_packet              29568  4 
bridge                 64544  0 
stp                    11268  1 bridge
bnep                   23168  2 
sco                    20612  2 
rfcomm                 51104  0 
l2cap                  33280  6 bnep,rfcomm
bluetooth              70820  6 bnep,sco,rfcomm,l2cap
ppdev                  16904  0 
lp                     19588  0 
powernow_k8            23684  1 
cpufreq_userspace      12420  0 
cpufreq_stats          14468  0 
cpufreq_powersave      10368  0 
cpufreq_ondemand       16400  1 
freq_table             13568  3 powernow_k8,cpufreq_stats,cpufreq_ondemand
cpufreq_conservative    16392  0 
video                  28948  0 
output                 11776  1 video
sbs                    22288  0 
sbshc                  14592  1 sbs
pci_slot               13704  0 
container              12288  0 
ac                     13448  0 
iptable_filter         11520  0 
ip_tables              28176  1 iptable_filter
x_tables               31752  1 ip_tables
arc4                   10368  2 
snd_hda_intel         489264  3 
ecb                    11520  2 
crypto_blkcipher       27780  1 ecb
snd_pcm_oss            52608  0 
snd_mixer_oss          25088  1 snd_pcm_oss
rt61pci                30208  0 
snd_pcm                99208  2 snd_hda_intel,snd_pcm_oss
crc_itu_t              10496  1 rt61pci
rt2x00pci              16256  1 rt61pci
rt2x00lib              40576  2 rt61pci,rt2x00pci
snd_seq_dummy          11524  0 
rfkill                 19364  1 rt2x00lib
led_class              13192  1 rt2x00lib
snd_seq_oss            42368  0 
mac80211              253440  2 rt2x00pci,rt2x00lib
snd_seq_midi           15872  0 
joydev                 20736  0 
snd_rawmidi            34176  1 snd_seq_midi
cfg80211               37136  2 rt2x00lib,mac80211
psmouse                51612  0 
serio_raw              14596  0 
parport_pc             44200  1 
eeprom_93cx6           10752  1 rt61pci
snd_seq_midi_event     16768  2 snd_seq_oss,snd_seq_midi
evdev                  20512  8 
parport                50096  3 ppdev,lp,parport_pc
wmi                    15808  0 
k8temp                 13568  0 
i2c_piix4              17936  0 
pcspkr                 11136  0 
snd_seq                67168  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
i2c_core               36128  1 i2c_piix4
snd_timer              34320  2 snd_pcm,snd_seq
snd_seq_device         16404  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
button                 15904  0 
lmpcm_usb              13696  0 
snd                    79432  15 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore              16800  1 snd
snd_page_alloc         17680  2 snd_hda_intel,snd_pcm
shpchp                 42140  0 
pci_hotplug            39472  1 shpchp
battery                21128  0 
squashfs               48912  1 
loop                   26380  2 
aufs                  196968  1 
exportfs               13568  1 aufs
nls_cp437              15232  2 
isofs                  44072  1 
ext3                  150544  0 
jbd                    66472  1 ext3
mbcache                17924  1 ext3
usb_storage            92864  1 
libusual               31784  1 usb_storage
usbhid                 39776  0 
hid                    59072  1 usbhid
sr_mod                 24644  1 
cdrom                  47784  1 sr_mod
sd_mod                 45864  4 
crc_t10dif             10240  1 sd_mod
sg                     45408  0 
ahci                   43148  0 
ehci_hcd               48908  0 
ohci_hcd               34972  0 
pata_atiixp            14208  2 
pata_acpi              13568  0 
ata_generic            14212  0 
usbcore               175376  7 lmpcm_usb,usb_storage,libusual,usbhid,ehci_hcd,ohci_hcd
libata                200160  4 ahci,pata_atiixp,pata_acpi,ata_generic
r8169                  40196  0 
scsi_mod              183160  5 usb_storage,sr_mod,sd_mod,sg,libata
dock                   18464  1 libata
ohci1394               41524  0 
ieee1394              110592  1 ohci1394
thermal                27424  0 
processor              47800  2 powernow_k8,thermal
fan                    13576  0 
fbcon                  51200  0 
tileblit               11264  1 fbcon
font                   17152  1 fbcon
bitblit                14592  1 fbcon
softcursor             10496  1 bitblit
fuse                   68288  3

Last edited by compu73rg33k; 05-25-2009 at 11:54 PM.
 
Old 05-29-2009, 02:37 AM   #7
verdeboy2k
Member
 
Registered: Jan 2004
Location: /dev/random
Distribution: Gentoo amd64, CrunchBang amd64
Posts: 350

Rep: Reputation: 32
You need to follow this HOWTO I believe to use the RT61 wireless chipset in Ubuntu. At least it can't hurt.
 
  


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
No iwlist scan results with Marvell libertas 8686 WLAN-BT combo module on OMAP3 RuchiS Linux - Networking 0 04-05-2009 02:48 PM
No scan results for iwlist with Marvell libertas 8686 WLAN-BT combo module on OMAP3 RuchiS Linux - Wireless Networking 0 04-05-2009 01:55 AM
iwlist ath0 no scan results somethinguttered Linux - Newbie 5 09-20-2008 01:03 AM
iwlist HELL. scan returns no results Chaves Slackware 14 07-06-2008 07:11 AM
iwlist no scan results: wlan0 still worked clementis Linux - Wireless Networking 2 03-24-2008 05:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 08:56 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration