PDA

View Full Version : Mandriva: aiuto installazione driver/software


<Gabrik>
15-06-2006, 11:22
Allora come da titolo ho bisogno d'aiuto xkè i driver della mia scheda wireless sono da compilare e dal file readme non ci ho capito una mazza qualcuno mi può aiutare?
questo è quello che c'è scritto nel readme
ZD1211 - linux driver for ZyDAS ZD1211 based usb 2.0 wlan adapters
------------------------------------------------------------------

Reqirements:
------------

- Kernel 2.4.x. I am developing the driver on 2.4.24, but it
reportedly also works on 2.4.x. If your kernels version is less than
2.4.22 (for example Red Hat 9.0 is 2.4.20-8), suggest to upgrade kernel
for better support on USB 2.0.

- Kernel 2.6.x. This driver has been verify on 2.6.6 and 2.6.7.

- To build zd1211 you will need: Configured kernel source code for the
kernel you are running. Ideally, Configured means that you have at
least run 'make config', 'make menuconfig', or 'make xconfig'. If your
platform is not SMP system, please don't config SMP supported, because
when module loaded, this will make unresolved symbol..

- Make sure your kernel usb 2.0 support is running
- Use lsmod to check "ehci-hcd" module is loaded.
- If host is not support usb 2.0, zd1211 will run under pure-b mode.


Building zd1211:
------------

1) untar the package using the command:
tar zxvf zd1211-XXXX.tar.gz

2) edit the Makefile to make sure the path of KERNEL_SOURCE is your
are running, and the kernel version is correctly configure.

3) Under zd1211-XXXX/zdsta directory, use "make clean", "make", "make install"
to make and install driver.


Running:
--------

- If you have hotplug installed, the drivers should now be loaded. If not,
load them by hand: modprobe -v zd1211
(or Under zd1211-XXXX/zdsta directory use "insmod zd1211.o" for kernel 2.4.x,
"insmod zd1211.ko" for kernel 2.6.x)

- Check if the modules are loaded with lsmod. It should look like this:
...
zd1211 183576 0 (unused)
...

- Run 'ifconfig <iface> <your IP address>'

- Run 'iwconfig <iface> ' to configure the wireless setting, here are
some examples, more detail information please check with 'man iwconfig'.
Example:
iwconfig <iface> essid "My Network" //Set essid
iwconfig <iface> channel 1 //Set channel
iwconfig <iface> mode Managed (Station mode) //Set operation mode
iwconfig <iface> mode Ad-Hoc (Ah-Hoc mode)
iwconfig <iface> rts 512 //Set rts threshold
iwconfig <iface> frag 512 //Set fragment threshold
iwconfig <iface> key s:password [2] //Set encryption key
iwconfig <iface> power on/off //Set power-save mode
......


Private Parameters:
------------------

In addition to the parameters of iwconfig, some can be set by iwpriv:
- open system authentication: iwpriv <iface> set_auth 0
- shared key authentication: iwpriv <iface> set_auth 1
Be aware that shared key authentication requires a WEP key.

- long preamble: iwpriv <iface> set_preamble 0
- short preamble: iwpriv <iface> set_preamble 1
- iwpriv <iface> get_preamble //will display the current preamble type

- List current BSS information:iwpriv <iface> list_bss
You can use "dmesg" to check the result.



Note:
----

- You can modify the script file "sta" to enable Station function.
"sta en" Enable STA function
"sta dis" Disable STA function
- I have tested the driver under Red-Hat 9.0, It's unstable than kernel 2.4.24.
So please update the kernel.



Version:
--------
-4715
-Support kernel 2.6.x
-Fixed bug: DHCP will hard to get IP problem.
-Support iwpriv command
iwpriv <iface> set_mac_mode mac_mode //1: Mixed Mode
//2: Pure G Mode
//3: Pure B Mode

iwpriv <iface> get_mac_mode //display current Mac Mode

-4630
-Fixed Ad-Hoc mode can't work problem.
-Support Roamming.
-Support iwlist <iface> scan(ning) command.
-Support iwpriv command
iwpriv <iface> connect cell_number //the cell_number can be get
//from the result of
//iwlist <iface> scan(ning) command

iwpriv <iface> dbg_flag //set debug level, default is 0

-Fiexd Chairot multicast can't work problem.
-Fixed Ack timeout problem.


-4621
-First release version.
-WPA, 802.1X with dynamic key exchange are not supported.
-Watchdog function was not fully implementated.
-Apdbg.c provides basic debug command for driver development.
-Airoha RF chip is not verified.
-Support basic wireless extension setting.
-Fixed iwconfig will show wrong essid information.
-Roaming is not fully verified.



Known Bugs:
-----------



vi prego aiutatemi!! :cry: :cry:

stefanognogno
15-06-2006, 11:44
Allora come da titolo ho bisogno d'aiuto xkè i driver della mia scheda wireless sono da compilare e dal file readme non ci ho capito una mazza qualcuno mi può aiutare?
questo è quello che c'è scritto nel readme

Vai sulla console dentro la cartella dove hai scompattato di driver e dai questi comandi:
1)./configure
se ve a buon fine
2) make
e poi come amministratore
3) make install...

<Gabrik>
15-06-2006, 11:56
Vai sulla console dentro la cartella dove hai scompattato di driver e dai questi comandi:
1)./configure
se ve a buon fine

mi dice così

[gabri@localhost zdsta]$ ./configure
bash: ./configure: No such file or directory

cosa faccio???

stefanognogno
15-06-2006, 12:08
mi dice così

[gabri@localhost zdsta]$ ./configure
bash: ./configure: No such file or directory

cosa faccio???
Make

<Gabrik>
15-06-2006, 12:12
alla fine mi dice così
.....
make: *** /lib/modules/2.6.12mdk/bulid: no such file or directory. Stop
make: *** [all] Error 2

cosa devo fare?

stefanognogno
15-06-2006, 12:25
alla fine mi dice così
.....
make: *** /lib/modules/2.6.12mdk/bulid: no such file or directory. Stop
make: *** [all] Error 2

cosa devo fare?

Sembra che non trova i moduli del kernel...dovresti modificare il file makefile per dargli il percorso esatto come spiegato nella parte iniziale del file readme.. Che scheda wireless hai?

<Gabrik>
15-06-2006, 12:28
La scheda è una sitecom palladio wave 54cx
cmq il kernel dove si dovrebbe trovare?

stefanognogno
15-06-2006, 13:38
La scheda è una sitecom palladio wave 54cx
cmq il kernel dove si dovrebbe trovare?
dovrebbero essere sotto /src/linux ecc. però non mi ricordo con esattezza...prova a fare un cerca "include" o "linux"
Ps: Li hai installati i sorgenti del kernel?
Se no vai su drakconf->instrallazione pacchetti->cerca kernel source e posi seleziona il pacchetto.
Dopo questo prova a rifare make...

<Gabrik>
15-06-2006, 14:05
non avevo installato i sorgenti del kernel cmq non và