)...
Installation ¶
1 * Make sure you have your kernel sources, preferably in /usr/src/linux
2* Make sure your kernel is compiled with wireless extensions (CONFIG_NET_WIRELESS) and USB support
3 * Make sure iwconfig is installed (Debian: wireless-tools package)
4 * Download latest drivers
5 * untar
6 * check, if zd1211 or zd1211b is needed. Activate zd1211b in makefile, if necessary. If in doubt, do a lsusb -v and compare the USB ID of the stick listed there with the table above.
7 * make, make install
8 * modprobe -v zd1211 (or modprobe -v zd1211b)
9 * lsmod - you should see zd1211 loaded (see dmesg otherwise)
10 * ifconfig wlan0 up (iwconfig will not work otherwise) - or ip link set wlan0 up to use iproute2
11 * iwconfig wlan0 essid youressid
12 * dhclient wlan0 (or ifconfig.../route... for static IP) - use dhcpd or pump if your distribution does not feature dhclient
13 * With Debian you can optionally use the zd1211-firmware and zd1211-source packages from the unstable or testing distributions.
ok.....il punto 1 tutto ok...il kernerl ha quel path, poi il punto 2 non so come si fa a vederlo ma penso non ci siano problemi, il punto 3 è ok, 4 ho scaricato i driver, 5 li ho scompattati, 6 non capisco cosa vuole ma vi posto il risultato del comando lsusb -v[list]
...
- Codice: Seleziona tutto
Bus 003 Device 003: ID 0b05:170c ASUSTek Computer, Inc.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 255 Vendor Specific Subclass
bDeviceProtocol 255 Vendor Specific Protocol
bMaxPacketSize0 64
idVendor 0x0b05 ASUSTek Computer, Inc.
idProduct 0x170c
bcdDevice 48.02
iManufacturer 16
iProduct 32
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 46
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x04 EP 4 OUT
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 1
can't get device qualifier: Operation not permitted
can't get debug descriptor: Operation not permitted
cannot read device status, Operation not permitted (1)
...ecco e al punto 7 che mi blocco, quando faccio MAKE che mi da degli errori e ve li posto..
- Codice: Seleziona tutto
jackal@jackal-laptop:~/Desktop/zd1211-driver-r23$ make
make both
make[1]: Entering directory `/home/jackal/Desktop/zd1211-driver-r23'
make ZD1211REV_B=0
make[2]: Entering directory `/home/jackal/Desktop/zd1211-driver-r23'
/lib/modules/2.6.17-10-386/build
/home/jackal/Desktop/zd1211-driver-r23
-I/home/jackal/Desktop/zd1211-driver-r23/src/include -fomit-frame-pointer -O2 -Wall -Wstrict-prototypes -pipe -DHOST_IF_USB -DAMAC -DGCCK -DOFDM -DHOSTAPD_SUPPORT -DUSE_EP4_SET_REG -DDOWNLOADFIRMWARE -DfTX_GAIN_OFDM=0 -DfNEW_CODE_MAP=1 -DfWRITE_WORD_REG=1 -DfREAD_MUL_REG=1 -DENHANCE_RX=1 -DZD1211
src/zd1205.o src/zdasocsvc.o src/zdauthreq.o src/zdauthrsp.o src/zdmmrx.o src/zdshared.o src/zdhci.o src/zdglobal.o src/zdencrypt.o src/zdpmfilter.o src/zdpsmon.o src/zdsynch.o src/zdbuf.o src/zd1205_proc.o src/zdhw.o src/zddebug.o src/zdtkipseed.o src/zdmic.o src/zdusb.o src/zd1211.o
make -C /lib/modules/2.6.17-10-386/build SUBDIRS=/home/jackal/Desktop/zd1211-driver-r23 modules
make[3]: Entering directory `/usr/src/linux-headers-2.6.17-10-386'
CC [M] /home/jackal/Desktop/zd1211-driver-r23/src/zddebug.o
In file included from /home/jackal/Desktop/zd1211-driver-r23/src/zddebug.h:8,
from /home/jackal/Desktop/zd1211-driver-r23/src/zddebug.c:4:
/home/jackal/Desktop/zd1211-driver-r23/src/zd1205.h:675: warning: ‘__packed__’ attribute ignored
In file included from /home/jackal/Desktop/zd1211-driver-r23/src/zddebug.c:8:
/home/jackal/Desktop/zd1211-driver-r23/src/zd1211.h:164: warning: useless storage class specifier in empty declaration
/home/jackal/Desktop/zd1211-driver-r23/src/zddebug.c: In function ‘zd1205_dump_cnters’:
/home/jackal/Desktop/zd1211-driver-r23/src/zddebug.c:130: warning: format ‘%08x’ expects type ‘unsigned int’, but argument 2 has type ‘long unsigned int’
/home/jackal/Desktop/zd1211-driver-r23/src/zddebug.c: In function ‘zd1205_zd_dbg_ioctl’:
/home/jackal/Desktop/zd1211-driver-r23/src/zddebug.c:470: warning: implicit declaration of function ‘ConfigBcnFIFO’
/home/jackal/Desktop/zd1211-driver-r23/src/zddebug.c: In function ‘zd1205_wpa_ioctl’:
/home/jackal/Desktop/zd1211-driver-r23/src/zddebug.c:580: warning: implicit declaration of function ‘zd_SetKeyContext’
/home/jackal/Desktop/zd1211-driver-r23/src/zddebug.c:600: warning: implicit declaration of function ‘zd_CmdDeauth’
/home/jackal/Desktop/zd1211-driver-r23/src/zddebug.c:607: warning: implicit declaration of function ‘zd_CmdDisasoc’
/home/jackal/Desktop/zd1211-driver-r23/src/zddebug.c: In function ‘zd1205_cont_tx’:
/home/jackal/Desktop/zd1211-driver-r23/src/zddebug.c:861: warning: implicit declaration of function ‘update_beacon_interval’
/home/jackal/Desktop/zd1211-driver-r23/src/zddebug.c:877: warning: control reaches end of non-void function
/home/jackal/Desktop/zd1211-driver-r23/src/zddebug.c: In function ‘zd1205_zd_dbg_ioctl’:
/home/jackal/Desktop/zd1211-driver-r23/src/zd1205.h:1246: sorry, unimplemented: inlining failed in call to ‘zd_readl’: function body not available
/home/jackal/Desktop/zd1211-driver-r23/src/zddebug.c:343: sorry, unimplemented: called from here
/home/jackal/Desktop/zd1211-driver-r23/src/zd1205.h:1247: sorry, unimplemented: inlining failed in call to ‘zd_writel’: function body not available
/home/jackal/Desktop/zd1211-driver-r23/src/zddebug.c:355: sorry, unimplemented: called from here
/home/jackal/Desktop/zd1211-driver-r23/src/zd1205.h:1246: sorry, unimplemented: inlining failed in call to ‘zd_readl’: function body not available
/home/jackal/Desktop/zd1211-driver-r23/src/zddebug.c:410: sorry, unimplemented: called from here
/home/jackal/Desktop/zd1211-driver-r23/src/zd1205.h:1247: sorry, unimplemented: inlining failed in call to ‘zd_writel’: function body not available
/home/jackal/Desktop/zd1211-driver-r23/src/zddebug.c:413: sorry, unimplemented: called from here
make[4]: *** [/home/jackal/Desktop/zd1211-driver-r23/src/zddebug.o] Error 1
make[3]: *** [_module_/home/jackal/Desktop/zd1211-driver-r23] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-2.6.17-10-386'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/jackal/Desktop/zd1211-driver-r23'
make[1]: *** [both] Error 2
make[1]: Leaving directory `/home/jackal/Desktop/zd1211-driver-r23'
make: *** [all] Error 2
...CE LA FARò A CONFIGURARE LA MALEDETTA SCHEDA WIRELESS???....CENA PAGATA PER CHI MI AIUTERà A COMPIERE IL PASSO APPARENTEMENTE IMPOSSIBILE


)
