Kod: Zaznacz cały
01:01.0 Network controller: Texas Instruments ACX 100 22Mbps Wireless Interface
Kod: Zaznacz cały
haruko:/home/urbinek# lsmod | grep acx
acx 120232 0
firmware_class 6816 1 acx
usbcore 118192 6 acx,usblp,usbhid,ehci_hcd,ohci_hcd
Kod: Zaznacz cały
haruko:/home/urbinek# ls /lib/firmware/ | grep acx
tiacx100
tiacx100r0D
Kod: Zaznacz cały
haruko:/etc/hostapd# iwconfig wlan0
wlan0 IEEE 802.11b+ ESSID:"urbinek_wifi" Nickname:"acx v0.3.36"
Mode:Master Frequency:2.442 GHz Access Point: 00:80:C8:09:9C:F0
Bit Rate:22 Mb/s Tx-Power=18 dBm Sensitivity=64/255
Retry min limit:7 RTS 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:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:5 Missed beacon:0
Kod: Zaznacz cały
haruko:/home/urbinek# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo eth0 eth1 wlan0
iface lo inet loopback
iface eth0 inet dhcp
iface eth1 inet static
address 192.168.1.1
netmask 255.255.255.0
iface wlan0 inet static
address 192.168.0.1 # ip w sieci bezprzewodowej
netmask 255.255.255.0
pre-up /etc/init.d/wlan0_preup # skrypt konfigurujący wifi
Kod: Zaznacz cały
haruko:/home/urbinek# cat /etc/init.d/wlan0_preup
#!/bin/sh
iwconfig wlan0 essid urbinek_wifi
iwconfig wlan0 mode Master
iwconfig wlan0 rate auto
iwconfig wlan0 channel 7
Kod: Zaznacz cały
##jakaś tam konfiguracja DHCP dla eth0##
Reconfiguring network interfaces...
if-up.d/mountnfs[eth0]: waiting for interface eth1 before doing NFS mounts (warning).
if-up.d/mountnfs[eth0]: waiting for interface wlan0 before doing NFS mounts (warning).
if-up.d/mountnfs[eth1]: waiting for interface wlan0 before doing NFS mounts (warning).
done.
Kod: Zaznacz cały
haruko:/home/urbinek# /etc/init.d/hostapd start
Starting advanced IEEE 802.11 management: hostapd failed!
Jedyny sterownik, na którym chyba się włącza do madwifi:
Kod: Zaznacz cały
haruko:/etc/hostapd# hostapd hostapd.conf
Configuration file: hostapd.conf
ioctl(SIOCGIFINDEX): No such device
madwifi driver initialization failed.
Kod: Zaznacz cały
haruko:/etc/hostapd# cat hostapd.conf
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
debug=0
dump_file=/tmp/hostapd.dump
macaddr_acl=1
accept_mac_file=/etc/hostapd/accept
driver=hostap
ssid=urbinek_wifi
#wpa=2
#wpa_passphrase=passworder
#wpa_key_mgmt=WPA-PSK
#wpa_pairwise=CCMP TKIP
Natomiast skanowanie sieci też jest bez rezultatu:
Kod: Zaznacz cały
haruko:/etc/hostapd# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
eth1 no wireless extensions.
wlan0 IEEE 802.11b+ ESSID:"urbinek_wifi" Nickname:"acx v0.3.36"
Mode:Managed Frequency:2.442 GHz Access Point: Not-Associated
Bit Rate:22 Mb/s Tx-Power=18 dBm Sensitivity=64/255
Retry min limit:7 RTS 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:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:5 Missed beacon:0
haruko:/etc/hostapd# iwlist wlan0 scan
wlan0 No scan results