Ich versuche gerade eine PCI-WLAN-Karte mit dem Realtek 8180 Chipsatz zum laufen zu bringen, allerdings habe ich ein paar Probleme. Die Treiber liegen als Quellcode vor und lassen sich ohne größere Probleme kompilieren.
Danach habe ich nach einiger Suche einige Informationen erhalten, aus denen dieses Skript zur Konfiguration resultierte:
Code: Select all
#!/bin/sh
insmod -f /wlan/rtl8180_24x.o
iwpriv wlan0 wlan_para channel=11
iwpriv wlan0 wlan_para networktype=infra
iwpriv wlan0 wlan_para ssid2scan=WLAN
iwpriv wlan0 wlan_para ssid=WLAN
# iwpriv wlan0 wlan_para authtype=opensystem
# iwpriv wlan0 wlan_para preample=auto
iwpriv wlan0 wlan_para encmode=wep
iwpriv wlan0 wlan_para wepmode=wep104
iwpriv wlan0 wlan_para wepdkeyid=0
iwpriv wlan0 wlan_para wepkey104_1=XXXXXXXXXXXXXXXXXXXXXXXXXX
iwpriv wlan0 wlan_para basicrates=0xf
iwpriv wlan0 wlan_para oprates=0xf
iwpriv wlan0 enable
ifconfig wlan0 192.168.0.101 up
ifconfig
Code: Select all
******** RTL8180 Wireless Lan Driver 2003-06-11 loaded********
PCI: Found IRQ 11 for device 00:0b.0
RTL8180: 00:0b.0: region #0 IS a PIO resource!
RTL8180: request_region(0x00009400,0x00000100) !
RTL8180: STA is NOT acting as AP!
RTL8180: LITTLE_ENDIAN memory access
RTL8180: station mode eeprom info
RTL8180: EEpromAddressSize = 6!
RTL8180: eepromID = 0x8129
RTL8180: EEPROMVersion = 0x0103
RTL8180: Tx Power Level, channel 0 = 0x0e
RTL8180: Tx Power Level, channel 1 = 0x0e
RTL8180: Tx Power Level, channel 2 = 0x0f
RTL8180: Tx Power Level, channel 3 = 0x0f
RTL8180: Tx Power Level, channel 4 = 0x10
RTL8180: Tx Power Level, channel 5 = 0x10
RTL8180: Tx Power Level, channel 6 = 0x0f
RTL8180: Tx Power Level, channel 7 = 0x0f
RTL8180: Tx Power Level, channel 8 = 0x0e
RTL8180: Tx Power Level, channel 9 = 0x0e
RTL8180: Tx Power Level, channel 10 = 0x0d
RTL8180: Tx Power Level, channel 11 = 0x0d
RTL8180: Tx Power Level, channel 12 = 0x0c
RTL8180: Tx Power Level, channel 13 = 0x0c
RTL8180: ChannelPlan = 0x0002
RTL8180: RFChipID = 0x0005
RTL8180: EEPROMVersion > 0x0101
RTL8180: AntennaDiversity = FALSE
RTL8180: CSThreshold = 0x0002
RTL8180: DigitalPhy = TRUE
RTL8180: DefaultAntennaB = TRUE
RTL8180: CSMethod = RCR_EnCS1
RTL8180: wlan driver loaded. ioaddr=0x9400, irq=11, MAC_addr=0:e:2e:f:2d:a8
RTL8180: Use RTL private command [channel]
RTL8180: Use RTL private command [networktype]
RTL8180: Use RTL private command [ssid2scan]
RTL8180: Use RTL private command [ssid]
RTL8180: Use RTL private command [encmode]
RTL8180: Set encryptmode = WEP
RTL8180: Use RTL private command [wepmode]
RTL8180: Set wepmode = ON <WEP104>
RTL8180: Use RTL private command [wepdkeyid]
RTL8180: Set WEP default key id = 0
RTL8180: Use RTL private command [wepkey104_1]
RTL8180: Set WEP104 [1]th default key = a56499d4d7 5bbabf68ee bceba5<in hex>
RTL8180: Set WEP104 [1]th default key = a5 64 99 d4 d7 5b ba bf 68 ee bc eb a5<in hex>
RTL8180: Use RTL private command [basicrates]
RTL8180: Use RTL private command [oprates]
RTL8180: ------ Enable wlan driver ------
RTL8180: WLAN driver version 1.3
RTL8180: wireless LAN controller RTL8180 + GCT RF.
RTL8180: ENABLE_RTL_DCST
RTL8180: Set dot11PrivacyInvoked = 1.
RTL8180: encryptmode = RTL_ENC_WEP
RTL8180: wepkeymode = WEP_MODE_ON_104
RTL8180: Turn on hardware WEP. SCR = 0x13
Code: Select all
wlan0 Link encap:Ethernet HWaddr 00:0E:2E:0F:2D:A8
inet addr:192.168.0.101 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::20e:2eff:fe0f:2da8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:44 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:11 Base address:0x9400
Code: Select all
Warning: Driver for device wlan0 has been compiled with version 0
of Wireless Extension, while this program is using version 15.
Some things may be broken...
wlan0 IEEE 802.11-DS ESSID:off/any Nickname:""
NWID:off/any Frequency:infGHz Access Point: FF:BF:21:00:00:00
Bit Rate=-1.07375e+06kb/s Tx-Power=-1073745756 dBm Sensitivity=1162167625/0
Retry:on RTS thr=-1073745756 B Fragment thr=-1073745756 B
Encryption key:0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000
Power Management0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000:on
Ein 'sysctl -a | grep wlan' gibt folgende Ausgabe:
Code: Select all
net.ipv6.conf.wlan0.router_solicitation_delay = 1
net.ipv6.conf.wlan0.router_solicitation_interval = 4
net.ipv6.conf.wlan0.router_solicitations = 3
net.ipv6.conf.wlan0.dad_transmits = 1
net.ipv6.conf.wlan0.autoconf = 1
net.ipv6.conf.wlan0.accept_redirects = 1
net.ipv6.conf.wlan0.accept_ra = 1
net.ipv6.conf.wlan0.mtu = 1500
net.ipv6.conf.wlan0.hop_limit = 64
net.ipv6.conf.wlan0.forwarding = 0
net.ipv6.neigh.wlan0.locktime = 0
net.ipv6.neigh.wlan0.proxy_delay = 80
net.ipv6.neigh.wlan0.anycast_delay = 100
net.ipv6.neigh.wlan0.proxy_qlen = 64
net.ipv6.neigh.wlan0.unres_qlen = 3
net.ipv6.neigh.wlan0.gc_stale_time = 60
net.ipv6.neigh.wlan0.delay_first_probe_time = 5
net.ipv6.neigh.wlan0.base_reachable_time = 30
net.ipv6.neigh.wlan0.retrans_time = 100
net.ipv6.neigh.wlan0.app_solicit = 0
net.ipv6.neigh.wlan0.ucast_solicit = 3
net.ipv6.neigh.wlan0.mcast_solicit = 3
net.ipv4.conf.wlan0.arp_filter = 0
net.ipv4.conf.wlan0.hidden = 0
net.ipv4.conf.wlan0.tag = 0
net.ipv4.conf.wlan0.log_martians = 0
net.ipv4.conf.wlan0.bootp_relay = 0
net.ipv4.conf.wlan0.medium_id = 0
net.ipv4.conf.wlan0.proxy_arp = 0
net.ipv4.conf.wlan0.accept_source_route = 1
net.ipv4.conf.wlan0.send_redirects = 1
net.ipv4.conf.wlan0.rp_filter = 0
net.ipv4.conf.wlan0.shared_media = 1
net.ipv4.conf.wlan0.secure_redirects = 1
net.ipv4.conf.wlan0.accept_redirects = 1
net.ipv4.conf.wlan0.mc_forwarding = 0
net.ipv4.conf.wlan0.forwarding = 0
net.ipv4.neigh.wlan0.locktime = 100
net.ipv4.neigh.wlan0.proxy_delay = 80
net.ipv4.neigh.wlan0.anycast_delay = 100
net.ipv4.neigh.wlan0.proxy_qlen = 64
net.ipv4.neigh.wlan0.unres_qlen = 3
net.ipv4.neigh.wlan0.gc_stale_time = 60
net.ipv4.neigh.wlan0.delay_first_probe_time = 5
net.ipv4.neigh.wlan0.base_reachable_time = 30
net.ipv4.neigh.wlan0.retrans_time = 100
net.ipv4.neigh.wlan0.app_solicit = 0
net.ipv4.neigh.wlan0.ucast_solicit = 3
net.ipv4.neigh.wlan0.mcast_solicit = 3