Mam problem z konfiguracją hostapd aby karta Gemtek wl-360f (z chipsetem prism 2.5) działała jako punkt dostępowy. Próbowałem wielu ustawień, jednak jedyne co udało mi się osiągnąć, to to, że sieć jest widoczna i można się z nią połączyć, jednak żadna strona się nie wczytuje. Oto /etc/hostapd/hostapd.conf:
Kod: Zaznacz cały
interface=wlan0
driver=hostap
logger_syslog=-1
logger_syslog_level=-1
logger_stdout=-1
logger_stdout_level=-1
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
hw_mode=b
channel=1
ssid=AP
macaddr_acl=0
auth_algs=3
wpa=1
wpa_passphrase=haslohaslo
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
Kod: Zaznacz cały
hostapd /etc/hostapd/hostapd.conf
Kod: Zaznacz cały
Configuration file: /etc/hostapd/hostapd.conf
ioctl[PRISM2_IOCTL_HOSTAPD]: Invalid argument
Failed to set encryption.
ioctl[PRISM2_IOCTL_HOSTAPD]: Invalid argument
Failed to set encryption.
ioctl[PRISM2_IOCTL_HOSTAPD]: Invalid argument
Failed to set encryption.
ioctl[PRISM2_IOCTL_HOSTAPD]: Invalid argument
Failed to set encryption.
Using interface wlan0 with hwaddr 00:0f:cb:b0:03:2a and ssid 'AP'
l2_packet_receive - recvfrom: Network is down
Kod: Zaznacz cały
wlan0: STA 00:1f:de:92:43:b7 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:1f:de:92:43:b7 MLME: MLME-AUTHENTICATE.indication(00:1f:de:92:43:b7, OPEN_SYSTEM)
wlan0: STA 00:1f:de:92:43:b7 MLME: MLME-DELETEKEYS.request(00:1f:de:92:43:b7)
wlan0: STA 00:1f:de:92:43:b7 IEEE 802.11: authenticated
wlan0: STA 00:1f:de:92:43:b7 IEEE 802.11: association OK (aid 1)
wlan0: STA 00:1f:de:92:43:b7 IEEE 802.11: associated (aid 1)
wlan0: STA 00:1f:de:92:43:b7 MLME: MLME-ASSOCIATE.indication(00:1f:de:92:43:b7)
wlan0: STA 00:1f:de:92:43:b7 MLME: MLME-DELETEKEYS.request(00:1f:de:92:43:b7)
ioctl[PRISM2_IOCTL_HOSTAPD]: Invalid argument
Failed to set encryption.
ioctl[PRISM2_IOCTL_HOSTAPD]: No such file or directory
ioctl[PRISM2_IOCTL_HOSTAPD]: No such file or directory
Could not remove station from kernel driver.
wlan0: STA 00:1f:de:92:43:b7 WPA: event 1 notification
ioctl[PRISM2_IOCTL_HOSTAPD]: Invalid argument
Failed to set encryption.
wlan0: STA 00:1f:de:92:43:b7 WPA: start authentication
ioctl[PRISM2_IOCTL_HOSTAPD]: Invalid argument
Failed to set encryption.
wlan0: STA 00:1f:de:92:43:b7 IEEE 802.1X: unauthorizing port
wlan0: STA 00:1f:de:92:43:b7 WPA: sending 1/4 msg of 4-Way Handshake
wlan0: STA 00:1f:de:92:43:b7 WPA: received EAPOL-Key frame (2/4 Pairwise)
wlan0: STA 00:1f:de:92:43:b7 WPA: sending 3/4 msg of 4-Way Handshake
wlan0: STA 00:1f:de:92:43:b7 WPA: received EAPOL-Key frame (4/4 Pairwise)
AP-STA-CONNECTED 00:1f:de:92:43:b7
wlan0: STA 00:1f:de:92:43:b7 IEEE 802.1X: authorizing port
wlan0: STA 00:1f:de:92:43:b7 RADIUS: starting accounting session 4DD1442E-00000000
wlan0: STA 00:1f:de:92:43:b7 WPA: pairwise key handshake completed (WPA)
wlan0: STA 00:1f:de:92:43:b7 WPA: sending 1/2 msg of Group Key Handshake
wlan0: STA 00:1f:de:92:43:b7 WPA: EAPOL-Key timeout
wlan0: STA 00:1f:de:92:43:b7 WPA: sending 1/2 msg of Group Key Handshake
wlan0: STA 00:1f:de:92:43:b7 WPA: received EAPOL-Key frame (2/2 Group)
wlan0: STA 00:1f:de:92:43:b7 WPA: group key handshake completed (WPA)
wlan0: WPA rekeying GTK
wlan0: STA 00:1f:de:92:43:b7 WPA: sending 1/2 msg of Group Key Handshake
wlan0: STA 00:1f:de:92:43:b7 WPA: EAPOL-Key timeout
wlan0: STA 00:1f:de:92:43:b7 WPA: sending 1/2 msg of Group Key Handshake
wlan0: STA 00:1f:de:92:43:b7 WPA: received EAPOL-Key frame (2/2 Group)
wlan0: STA 00:1f:de:92:43:b7 WPA: group key handshake completed (WPA)
wlan0: STA 00:1f:de:92:43:b7 WPA: received EAPOL-Key 2/2 Group with unexpected replay counter
Kod: Zaznacz cały
[ 2675.036783] wifi0: enabling hostapd mode
[ 2675.039645] wifi0: registered netdevice wlan0ap
[ 2675.074750] wifi0: unknown crypto alg 'NONE'
[ 2675.075063] wifi0: unknown crypto alg 'NONE'
[ 2675.075147] wifi0: unknown crypto alg 'NONE'
[ 2675.075212] wifi0: unknown crypto alg 'NONE'
[ 2701.526336] wifi0: unknown crypto alg 'NONE'
[ 2701.526521] wifi0: unknown crypto alg 'NONE'
hosapd_diag wlan0
Kod: Zaznacz cały
Host AP driver diagnostics information for 'wifi0'
NICID: id=0x8013 v1.0.0 (PRISM II (2.5) Mini-PCI (SST parallel flash))
PRIID: id=0x0015 v1.1.1
STAID: id=0x001f v1.8.2 (station firmware)
Kod: Zaznacz cały
lo no wireless extensions.
eth0 no wireless extensions.
wifi0 IEEE 802.11b ESSID:"AP"
Mode:Master Frequency:2.422 GHz Access Point: 00:0F:CB:B0:03:2A
Bit Rate:11 Mb/s Sensitivity=1/3
Retry short limit:8 RTS thr :o ff Fragment thr :o ff
Encryption key :o ff
Power Management :o ff
wlan0 IEEE 802.11b ESSID:"AP"
Mode:Master Frequency:2.422 GHz Access Point: 00:0F:CB:B0:03:2A
Bit Rate:11 Mb/s Sensitivity=1/3
Retry short limit:8 RTS thr :o ff Fragment thr :o ff
Encryption key :o ff
Power Management :o ff
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:3 Rx invalid frag:0
Tx excessive retries:134 Invalid misc:253 Missed beacon:0
wlan0ap IEEE 802.11b ESSID:"AP"
Mode:Master Frequency:2.422 GHz Access Point: 00:0F:CB:B0:03:2A
Bit Rate:11 Mb/s Sensitivity=1/3
Retry short limit:8 RTS thr :o ff Fragment thr :o ff
Encryption key :o ff
Power Management :o ff
Kod: Zaznacz cały
ifconfig -a
Kod: Zaznacz cały
eth0 Link encap:Ethernet HWaddr 00:19:66:6f:00:5f
inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::219:66ff:fe6f:5f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:19932 errors:0 dropped:0 overruns:0 frame:0
TX packets:15701 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:21574420 (20.5 MiB) TX bytes:2003491 (1.9 MiB)
Interrupt:22 Base address:0xb400
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:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wifi0 Link encap:UNSPEC HWaddr 00-0F-CB-B0-03-2A-6C-6F-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:29288 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:5 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:22 Base address:0xe000
wlan0 Link encap:Ethernet HWaddr 00:0f:cb:b0:03:2a
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:87 errors:0 dropped:126 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:14950 (14.5 KiB) TX bytes:0 (0.0 B)
Interrupt:22 Base address:0xe000
wlan0ap Link encap:UNSPEC HWaddr 00-0F-CB-B0-03-2A-6C-6F-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:2290 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:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:22 Base address:0xe000
Kod: Zaznacz cały
uname -r
Kod: Zaznacz cały
2.6.38-2-686