Kirjoittaja Aihe: wlanin ajurien asennus!  (Luettu 2249 kertaa)

kooman

  • Käyttäjä
  • Viestejä: 1
    • Profiili
wlanin ajurien asennus!
« : 19.10.06 - klo:23.43 »
Eli jos joku viittis suomentaa mulle seuraavan tekstin, tai siis meinaan et kertos mitä mun pitää tehä ja missä, eli tarkasti mitä kirjotan terminaaliin yms!

Lainaus
@The User Guide of ZD1211 USB Linux Driver   

2. Building the device driver:   
In this section, we will describe how to build our ZD1211 Linux driver under the Linux
operating system.   
 2.1 Uncompress the package:   
tar zxvf ZD1211LnxDrv_xxxx.tar.gz (where xxxx is the version number, such as
2_0_0_0) 
 The first thing one should do is uncompress this package by tar. After untar this package,
you can see the source files. One should change directory into this directory for
proceeding the next step.   
 2.2 Build and install the package:   
The package contains drivers for ZD1211 and ZD1211B. If you doesn't have specified
request, both of them will be installed.   
Under the extracted directory, there is a Makefile in it. Because our driver can support for
kernel 2.4 and kernel 2.6, there are two sets of rule in the Makefile. One has to modify
the Makefile according to the path of "kernel source tree" and the version of the kernel
in your system. In the Makefile, you may see the following statements,   



# if the kernel is 2.6.x, turn on this   
#KERN_26=y 
#KERNEL_SOURCE=/usr/src/linux-2.6.7 
# if the kernel is 2.4.x, turn on this   
KERN_24=y 
KERNEL_SOURCE=/usr/src/linux-2.4.20-8 
If you want to build the kernel under the kernel of 2.4.x, one has to let the variable
KERN_24=y and comment the KERN_26=y like that as the example above and modify
the variable KERNEL_SOURCE to the path which you install the kernel source. After
doing these things, one just need to type the "make", and the driver module will be
generated and installed.   
 2.3 Install individual driver:   
If you only need driver of ZD1211 or ZD1211B, you can issue :
  make ZD1211REV_B=0 (0 for ZD1211, 1 for ZD1211B)
 make ZD1211REV_B=0 install (0 for ZD1211, 1 for ZD1211B)
 to install the driver.
3. Getting Start:   
3.1 Load the driver:   
One can use the modprobe ­v zd1211(or zd1211b) to load our driver. In order to check
whether our driver is loaded successfully, one can use the "lsmod" for this check. If our
driver is loaded successfully, the following messages should be seen   
... 
zd1211 183576 0 (unused)   
... 
Please note that the 183576 may not be the same as that in your system.   

Juhhe1

  • Käyttäjä
  • Viestejä: 1062
    • Profiili
    • Valokuva albumini
Re: wlanin ajurien asennus!
« Vastaus #1 : 20.10.06 - klo:21.08 »
[url][http://forum.ubuntu-fi.org/index.php?topic=3859.0/url] Tuossa on esim yksi monista osumista jotka haku ZD1211 tuotti, eli kahlaa nyt noi eka läpi jos löytyy apuja.

Tlp-WS (Workstation) - .:Ubuntu 10.10:.
Xenophobic (Laptop) - .:Ubuntu 10.04:.
Xenophobic-II (Laptop) - .:Ubuntu 10.10:.
TlpEEE (Asus EEE) - .:Crunchbang 10 Statle

kossiri

  • Käyttäjä
  • Viestejä: 2
    • Profiili
Re: wlanin ajurien asennus!
« Vastaus #2 : 23.10.06 - klo:20.17 »
Kubuntun kanssa pieni onkelma nimenomaan langattoman verkkokortin kanssa.
Kyseessä TP-Link atheros piirillä varustettu kortti. Homma toimi kyllä alusta lähtien kortti tunnistui sekä käy ja kukkuu (kuten näkyy) heti kubuntun asennuksesta lähtien.
Mutta WPA asioiden kanssa tuli ongelmia. wpa_supplicant ja madwifi messissä toimii, mutta bootissa kortti ei lähde käyntiin. Bootin jälkeen kun ajaa verkon pystyyn uudelleen /etc/init.d/networking restart niin wörkkii, kuten näkyy.

Tuossapa wpa_supplicant.conf

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1
network={
  scan_ssid=1
  proto=WPA
  key_mgmt=WPA-PSK
  pairwise=TKIP
  group=TKIP
  ssid="verkonnimi"
  psk=hexadesimaali salainensana
}

ja interfaces

auto ath0
iface ath0 inet dhcp
wpa-driver madwifi
wpa-conf /etc/wpa_supplicant.conf

Eipä tuo herjoja heitä uusittaessa verkkoa mutta ei välttämättä ekalla kaiutuksella saa osoitetta.
Ja Bootissa tosiaan ei lähde tulille.

Eli onkos kellään vastaavanlaista ongelmaa vastaan tullut?

Kössi