[Comm] wifi+branch5.1

Alisher alisher_faiz на rambler.ru
Вт Дек 15 21:47:02 UTC 2009


Здравствуйте. Пытаюсь настроить линукс-роутер с wifi, но не получается. Есть 
карточка edimax ew-7126 на чипе realtek 8081
lspci -vv:
04:04.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8180L 802.11b 
MAC (rev 20)
        Subsystem: Realtek Semiconductor Co., Ltd. RTL8180L 802.11b MAC                   
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 32 (8000ns min, 16000ns max), Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 17
        Region 0: I/O ports at 9c00 [size=256]
        Region 1: Memory at fdaff000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA 
PME(D0-,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Kernel driver in use: rtl8180
        Kernel modules: rtl8180

Не могу понять чего не хватает:
# ifconfig wlan0 down                                                                       
# iwconfig wlan0 mode Master channel 1 essid "MyNet"                                       
Error for wireless request "Set Mode" (8B06) :                                                               
    SET failed on device wlan0 ; Invalid argument. 

Выводы lsmod,ifconfig и iwconfig во вложении. 
----------- следующая часть -----------
# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wmaster0  no wireless extensions.

wlan0     IEEE 802.11b  ESSID:""  
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated   
          Tx-Power=27 dBm                                                   
          Retry min limit:7   RTS thr:off   Fragment thr:off                
          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          

pan0      no wireless extensions.

vboxnet0  no wireless extensions.

ppp0      no wireless extensions.

[root на localhost ~]# ifconfig
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:5739 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5739 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0                              
          RX bytes:1122255 (1.0 MiB)  TX bytes:1122255 (1.0 MiB) 

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:10.16.184.243  P-t-P:10.6.6.6  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1   
          RX packets:583 errors:0 dropped:0 overruns:0 frame:0         
          TX packets:726 errors:0 dropped:0 overruns:0 carrier:0       
          collisions:0 txqueuelen:3                                    
          RX bytes:495258 (483.6 KiB)  TX bytes:82769 (80.8 KiB)       

wlan0     Link encap:Ethernet  HWaddr 00:50:FC:BD:0D:F1  
          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-50-FC-BD-0D-F1-58-04-00-00-00-00-00-00-00-00  
          UP RUNNING  MTU:0  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)                                     

[root на localhost ~]# lsmod
Module                  Size  Used by
ppp_deflate             4524  0      
zlib_deflate           19960  1 ppp_deflate
bsd_comp                5516  0            
ppp_async               8684  1            
crc_ccitt               1868  1 ppp_async  
ppp_generic            25280  7 ppp_deflate,bsd_comp,ppp_async
slhc                    6188  1 ppp_generic                   
rndis_wlan             22004  0                               
rndis_host              7436  1 rndis_wlan                    
cdc_ether               5004  1 rndis_host                    
usbnet                 16660  3 rndis_wlan,rndis_host,cdc_ether
cdc_acm                15488  3                                
ppdev                   7344  0                                
parport_pc             36452  0                                
lp                      9604  0                                
parport                34764  3 ppdev,parport_pc,lp            
binfmt_misc             8020  1                                
nvidia               8873668  38                               
vboxnetadp             81896  0                                
vboxnetflt             88680  0                                
vboxdrv               123592  1 vboxnetflt                     
bridge                 48288  0                                
stp                     2288  1 bridge                         
bnep                   12076  2                                
sco                    10000  2                                
l2cap                  22764  3 bnep                           
bluetooth              53828  5 bnep,sco,l2cap                 
af_packet              17644  2                                
jfs                   176324  2                                
nls_base                7056  1 jfs                            
dm_mod                 56708  0                                
snd_hda_codec_realtek   197616  1                              
snd_hda_intel          25928  4                                
arc4                    1676  2                                
snd_hda_codec          75148  2 snd_hda_codec_realtek,snd_hda_intel
ecb                     2572  2                                    
rtl8180                28652  0                                    
snd_hwdep               7056  1 snd_hda_codec                      
snd_pcm                74096  2 snd_hda_intel,snd_hda_codec        
snd_timer              20788  1 snd_pcm                            
snd                    58180  14 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
mac80211              170504  1 rtl8180                                                                       
psmouse                56132  0                                                                               
soundcore               7072  1 snd                                                                           
ehci_hcd               35096  0                                                                               
eeprom_93cx6            1964  1 rtl8180                                                                       
uhci_hcd               22044  0
snd_page_alloc          8852  2 snd_hda_intel,snd_pcm
serio_raw               5296  0
usbcore               149232  8 rndis_wlan,rndis_host,cdc_ether,usbnet,cdc_acm,ehci_hcd,uhci_hcd
cfg80211               64556  2 rtl8180,mac80211
via_agp                 8044  1
pcspkr                  2316  0
via_rhine              21652  0
agpgart                34796  2 nvidia,via_agp
evdev                   9472  7
mii                     5132  2 usbnet,via_rhine
i2c_viapro              7424  0
i2c_core               23584  2 nvidia,i2c_viapro
ide_cd_mod             27952  0
rtc_cmos               10316  0
rtc_core               17608  1 rtc_cmos
rtc_lib                 2860  1 rtc_core
fan                     4144  0
processor              34496  0
sg                     28640  0
cdrom                  34752  1 ide_cd_mod
thermal                12808  0
button                  5244  0
ext3                  126868  3
jbd                    46048  1 ext3
mbcache                 7568  1 ext3
ata_generic             4624  0
pata_via                9268  0
pata_acpi               3980  0
sata_via                9136  6
libata                174732  4 ata_generic,pata_via,pata_acpi,sata_via
sd_mod                 34856  8
crc_t10dif              1708  1 sd_mod
scsi_mod              150996  3 sg,libata,sd_mod
ide_gd_mod             23344  0
ide_generic             1936  0 [permanent]
via82cxxx               6768  0
ide_pci_generic         3888  0
ide_core              103592  5 ide_cd_mod,ide_gd_mod,ide_generic,via82cxxx,ide_pci_generic
 


Подробная информация о списке рассылки community