🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.pl.comp.os.linux.debian
Article #17915

RTL8180L

#17915
From: Paweł Walaszek
Date: Wed, 08 Oct 2003 01:45
154 lines
8015 bytes
Witam

Jakiś czas temu pisałem już na ten temat na grupę, ale nie otrzymałem 
satysfakcjonującej odpowiedzi, a w necie nic na ten temat nie mogę 
znaleźć. A jak sprawa wygląda już opisuję:

Ściągnąłem ze strony RealTek'a najnowszą paczuszkę dla gcc 3.x, 
rozpakowałem, przeedytowałem Makefile w nast. sposób:


KERNELRELEASE=2.4.22
INCLUDEPATH=-I /usr/src/linux-$(KERNELRELEASE)/include/

XCC = gcc
LD = ld
MODCFLAGS := -O6 -Wall -DMODULE -D__KERNEL__ -DLINUX

IO_FLAGS = RTL_IO_MAP

ENDIAN_FLAGS = RTL_LITTLE_ENDIAN

DRV_FLAGS = RTL_ACT_AS_STA

RTL8180_TARGET = rtl8180_24x.o

... itd (reszta pozostaje standardowo)


Skompilowałem poleceniem make. Załadowałem moduł insmod -f 
rtl8180_24x.o, otrzymałem komunikat:

Warning: loading rtl8180_24x.o will taint the kernel: forced load
   See http://www.tux.org/lkml/#export-tainted for information about 
tainted modules
Module rtl8180_24x loaded, with warnings

ale modulik się załadował.

Aby podnieść interfejs wykonuję:

/sbin/iwpriv wlan0 wlan_para ssid2scan=czarnieckiego
/sbin/iwpriv wlan0 wlan_para networktype=adhoc
/sbin/iwpriv wlan0 wlan_para encmode=wep
/sbin/iwpriv wlan0 wlan_para wepmode=wep40,wepdkeyid=0,wepkey40_1=6666666666
/sbin/iwpriv wlan0 enable
/sbin/ifconfig wlan0 192.168.5.2


I zasadniczo jest wszytko ok, ale

1/ nie pinguje się 192.168.5.1 (a powinien bo na pewno istnieje, bo spod 
XP go widzę)
2/ w logach mam coś takiego:

Oct  8 03:33:16 kickstand kernel:
Oct  8 03:33:16 kickstand kernel:
Oct  8 03:33:16 kickstand kernel: ******** RTL8180 Wireless Lan Driver 
2003-06-11 loaded********
Oct  8 03:33:16 kickstand kernel: PCI: Found IRQ 5 for device 00:0f.0
Oct  8 03:33:16 kickstand kernel: PCI: Sharing IRQ 5 with 00:02.2
Oct  8 03:33:16 kickstand kernel: RTL8180: 00:0f.0: region #0 IS a PIO 
resource!
Oct  8 03:33:16 kickstand kernel: RTL8180: 
request_region(0x0000d000,0x00000100) !
Oct  8 03:33:16 kickstand kernel: RTL8180: STA is NOT acting as AP!
Oct  8 03:33:16 kickstand kernel: RTL8180: LITTLE_ENDIAN memory access
Oct  8 03:33:16 kickstand kernel: RTL8180: station mode eeprom info
Oct  8 03:33:16 kickstand kernel: RTL8180: EEpromAddressSize = 6!
Oct  8 03:33:16 kickstand kernel: RTL8180: eepromID = 0x8129
Oct  8 03:33:16 kickstand kernel: RTL8180: EEPROMVersion = 0x0102
Oct  8 03:33:16 kickstand kernel: RTL8180: Tx Power Level, channel 0 = 0xdd
Oct  8 03:33:16 kickstand kernel: RTL8180: Tx Power Level, channel 1 = 0xdd
Oct  8 03:33:16 kickstand kernel: RTL8180: Tx Power Level, channel 2 = 0xdd
Oct  8 03:33:16 kickstand kernel: RTL8180: Tx Power Level, channel 3 = 0xdd
Oct  8 03:33:16 kickstand kernel: RTL8180: Tx Power Level, channel 4 = 0xdd
Oct  8 03:33:16 kickstand kernel: RTL8180: Tx Power Level, channel 5 = 0xdd
Oct  8 03:33:16 kickstand kernel: RTL8180: Tx Power Level, channel 6 = 0xdd
Oct  8 03:33:16 kickstand kernel: RTL8180: Tx Power Level, channel 7 = 0xdd
Oct  8 03:33:16 kickstand kernel: RTL8180: Tx Power Level, channel 8 = 0xdd
Oct  8 03:33:16 kickstand kernel: RTL8180: Tx Power Level, channel 9 = 0xdd
Oct  8 03:33:16 kickstand kernel: RTL8180: Tx Power Level, channel 10 = 0xdd
Oct  8 03:33:16 kickstand kernel: RTL8180: Tx Power Level, channel 11 = 0xdd
Oct  8 03:33:16 kickstand kernel: RTL8180: Tx Power Level, channel 12 = 0xdd
Oct  8 03:33:16 kickstand kernel: RTL8180: Tx Power Level, channel 13 = 0xdd
Oct  8 03:33:16 kickstand kernel: RTL8180: ChannelPlan = 0x0002
Oct  8 03:33:16 kickstand kernel: RTL8180: RFChipID = 0x0003
Oct  8 03:33:16 kickstand kernel: RTL8180: EEPROMVersion > 0x0101
Oct  8 03:33:16 kickstand kernel: RTL8180: AntennaDiversity = FALSE
Oct  8 03:33:16 kickstand kernel: RTL8180: CSThreshold = 0x000b
Oct  8 03:33:16 kickstand kernel: RTL8180: DigitalPhy = FALSE
Oct  8 03:33:16 kickstand kernel: RTL8180: DefaultAntennaB = TRUE
Oct  8 03:33:16 kickstand kernel: RTL8180: CSMethod = RCR_EnCS1
Oct  8 03:33:16 kickstand kernel: RTL8180: wlan driver loaded. 
ioaddr=0xd000, irq=5, MAC_addr=0:50:fc:d1:43:d5
Oct  8 03:36:28 kickstand kernel: RTL8180: Use RTL private command 
[ssid2scan]
Oct  8 03:36:28 kickstand kernel: RTL8180: Use RTL private command 
[networktype]
Oct  8 03:36:28 kickstand kernel: RTL8180: Use RTL private command [encmode]
Oct  8 03:36:28 kickstand kernel: RTL8180: Set encryptmode = WEP
Oct  8 03:36:28 kickstand kernel: RTL8180: Use RTL private command [wepmode]
Oct  8 03:36:28 kickstand kernel: RTL8180: Set wepmode = ON <WEP40>
Oct  8 03:36:28 kickstand kernel: RTL8180: Use RTL private command 
[wepdkeyid]
Oct  8 03:36:28 kickstand kernel: RTL8180: Set WEP default key id = 0
Oct  8 03:36:28 kickstand kernel: RTL8180: Use RTL private command 
[wepkey40_1]
Oct  8 03:36:28 kickstand kernel: RTL8180: Set WEP40 [1]th default key = 
6666666666 <in hex>
Oct  8 03:36:28 kickstand kernel: RTL8180: Set WEP40 [1]th default key = 
66 66 66 66 66 <in hex>
Oct  8 03:36:28 kickstand kernel: RTL8180:  ------ Enable wlan driver ------
Oct  8 03:36:28 kickstand kernel: RTL8180: WLAN driver version 1.3
Oct  8 03:36:28 kickstand kernel: RTL8180: wireless LAN controller 
RTL8180 + philips RF.
Oct  8 03:36:28 kickstand kernel: RTL8180: PHILIPS_Config()
Oct  8 03:36:28 kickstand kernel: RTL8180: PHILIPS_Config() - Analog mode
Oct  8 03:36:28 kickstand kernel: RTL8180: ENABLE_RTL_DCST
Oct  8 03:36:28 kickstand kernel: RTL8180:  Set dot11PrivacyInvoked = 1.
Oct  8 03:36:28 kickstand kernel: RTL8180:  encryptmode = RTL_ENC_WEP
Oct  8 03:36:28 kickstand kernel: RTL8180:  wepkeymode = WEP_MODE_ON_40
Oct  8 03:36:28 kickstand kernel: RTL8180:  Turn on hardware WEP. SCR = 0x3
Oct  8 03:36:29 kickstand kernel: RTL8180: Select a BSS and Join it at 
channel 1.
Oct  8 03:36:30 kickstand kernel: RTL8180: Receive ICV error!
Oct  8 03:36:30 kickstand kernel: RTL8180: Receive ICV error!
Oct  8 03:36:30 kickstand kernel: IBSSJoin(): Please check out the 
following ...
Oct  8 03:36:30 kickstand kernel: IBSSJoin(): BSSID = 
0x02:0xe0:0x8c:0x37:0x6a:0x10
Oct  8 03:36:30 kickstand kernel: IBSSJoin(): SSID = czarnieckiego
Oct  8 03:36:30 kickstand kernel: IBSSJoin(): dot11BeaconPeriod = 100
Oct  8 03:36:30 kickstand kernel: IBSSJoin(): dot11DtimPeriod = 255
Oct  8 03:36:30 kickstand kernel: IBSSJoin(): dot11OperationalRates = 0x0f
Oct  8 03:36:30 kickstand kernel: IBSSJoin(): mCap = 0x32
Oct  8 03:36:30 kickstand kernel: RTL8180: Act_UpdateBeaconFrame......
Oct  8 03:36:30 kickstand kernel: RTL8180: TIM_setup......
Oct  8 03:36:31 kickstand kernel: RTL8180: Receive ICV error!



Co robię nie tak ? Możecie dać jakąś wskazówkę, bo już mi pomysłów 
braknie a nic wygooglać sensownego nie idzie ?

Dodam jeszcze tylko, że kombinuję z tym pod Debianem Sarge'm z jajkiem 
2.4.22.


Pozdrawiam i z góry dzięki za wszelkie info
-- 
  --------------------------- ------------------------------------
|  Paweł Walaszek           |  Używasz Linuxa? Zarejestruj się:  |
|                           |  http://counter.li.org/            |
  --------------------------- ------------------------------------
Technical Details
Message-ID: <blvq78$t00$1@inews.gazeta.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!news.ipartners.pl!news2.icm.edu.pl!newsfeed.gazeta.pl!news.gazeta.pl!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!news.ipartners.pl!news2.icm.edu.pl!newsfeed.gazeta.pl!news.gazeta.pl!not-for-mail
From: Paweł Walaszek <fizol126@gazeta.pl>
Newsgroups: alt.pl.comp.os.linux.debian
Subject: RTL8180L
Date: Wed, 08 Oct 2003 03:45:12 +0200
Organization: Portal Gazeta.pl -> http://www.gazeta.pl
Lines: 155
Message-ID: <blvq78$t00$1@inews.gazeta.pl>
NNTP-Posting-Host: baluty.pdi.net
Mime-Version: 1.0
X-Trace: inews.gazeta.pl 1065577515 29696 213.146.50.110 (8 Oct 2003 01:45:15 GMT)
X-Complaints-To: usenet@agora.pl
NNTP-Posting-Date: Wed, 8 Oct 2003 01:45:15 +0000 (UTC)
X-Accept-Language: pl, en-us, en
X-User: fizol126
User-Agent: Mozilla/5.0 (X11; U; Linux i686; pl-PL; rv:1.5b) Gecko/20030827
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit