Broadcom WLAN - problem instalacia

Sekcia: Aplikácie & Desktop 25.08.2007 | 22:53
xxosi   Návštevník
pocitac: ... AMD Athlon 64 3000+ 1GB RAM ... PCI Broadcom WLAN wl 138g v2 chipset BCM 4318
dis. Ubuntu 7.04 Feisty Fawn


mam ku wifi ovladace z cd aj k linuxu
v readme:
X86 platforms,
Distributions and Kernels Tested:
1. Fedora FC3 with the stock 2.6.9-1.667 kernel (supports WEP only and no support for WPA)
2. Fedora FC3 with 2.6.14.3 kernel. (supports WPA/WPA2 and TKIP/AES/WEP cryptos)
3. Suse 10.0 with 2.6.13-15 kernel. (supports WPA/WPA2 and AES/WEP cryptos)

no a UBUNTU ?????

src/include and src/include/proto : All the header files.
src/shared, src/wl/sys : All the source files
src/wl/linux : Makefile
src/wl/linux/obj-3.4.2,
src/wl/linux/obj-4.0.2 : pre compiled regulatory binaries

1. Extract the tar package.
tar -xzvf src-<ver>.tar.gz

2. Build the Driver
cd src/linuxsta/src/wl/linux
in the makefile make sure to set the variables
CROSS_COMPILE=<xxx>, if the the gcc is not already in the $PATH or if a different compiler needs to be used, and
GCC-REV=<xxx> dictates the path of the prebuild regulatory binaries, to use while building the driver.(values it takes now are 3.4.2 or 4.0.2),
if the kernel version is 2.6.14.3 the driver expects that iee80211_crypto.ko module be loaded, prior to loading this driver.

make clean
make

3. Test the Driver by loading it
insmod wl.ko

ako zistim ake mam gcc ???
no 2. kroku vobec nerozumiem
CROSS_COMPILE=<xxx>
$PATH
GCC-REV=<xxx>

som skusal a takto to skoncilo:

lxuse@lxuse-desktop:~/Desktop/src/linuxsta/src/wl/linux$ ls&#x0d;
Makefile obj-3.4.2 obj-4.0.2 wlconf.h&#x0d;
lxuse@lxuse-desktop:~/Desktop/src/linuxsta/src/wl/linux$ make&#x0d;
Linux Directory is /lib/modules/2.6.20-15-generic/build&#x0d;
Linux Kernel Versions is 2.6.20-15-generic&#x0d;
make -C /lib/modules/2.6.20-15-generic/build CROSS_COMPILE= M=/home/lxuse/Desktop/src/linuxsta/src/wl/linux modules&#x0d;
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic'&#x0d;
CC [M] /home/lxuse/Desktop/src/linuxsta/src/wl/linux/wlc_led.o&#x0d;
In file included from /home/lxuse/Desktop/src/linuxsta/src/wl/linux/wlc_led.c:17:&#x0d;
/home/lxuse/Desktop/src/linuxsta/src/wl/linux/../../include/typedefs.h:166: error: conflicting types for ‘bool’&#x0d;
include/linux/types.h:36: error: previous declaration of ‘bool’ was here&#x0d;
In file included from /home/lxuse/Desktop/src/linuxsta/src/wl/linux/../../include/linux_osl.h:21,&#x0d;
from /home/lxuse/Desktop/src/linuxsta/src/wl/linux/../../include/osl.h:24,&#x0d;
from /home/lxuse/Desktop/src/linuxsta/src/wl/linux/wlc_led.c:19:&#x0d;
/home/lxuse/Desktop/src/linuxsta/src/wl/linux/../../include/linuxver.h:19:26: error: linux/config.h: No such file or directory&#x0d;
make[2]: *** [/home/lxuse/Desktop/src/linuxsta/src/wl/linux/wlc_led.o] Error 1&#x0d;
make[1]: *** [_module_/home/lxuse/Desktop/src/linuxsta/src/wl/linux] Error 2&#x0d;
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic'&#x0d;
make: *** [default] Error 2&#x0d;


no a skusal som instalovat aj ndiswrapper, ale pri instalacii napisalo toto:

........
.......
loadndisdriver.c:517: warning: implicit declaration of function ‘printf’&#x0d;
loadndisdriver.c:517: warning: incompatible implicit declaration of built-in function ‘printf’&#x0d;
loadndisdriver.c:527: warning: implicit declaration of function ‘atoi’&#x0d;
loadndisdriver.c:542: warning: implicit declaration of function ‘atof’&#x0d;
loadndisdriver.c:549: warning: implicit declaration of function ‘strcmp’&#x0d;
loadndisdriver.c:556: warning: incompatible implicit declaration of built-in function ‘sscanf’&#x0d;
loadndisdriver.c:590: warning: implicit declaration of function ‘closelog’&#x0d;
make[1]: *** [loadndisdriver] Error 1&#x0d;
make[1]: Leaving directory `/home/lxuse/Desktop/ndiswrapper-1.47/utils'&#x0d;
make: *** [all] Error 2&#x0d;
lxuse@lxuse-desktop:~/Desktop/ndiswrapper-1.47$ &#x0d;
&#x0d;

neviem si poradit
a apt get ndiswrapper mi nepomoze!!!
poradte mi pls ako rozchodit internet
diki
    • Re: Broadcom WLAN - problem instalacia 25.08.2007 | 23:40
      Avatar borg Fedora  Administrátor
      a neni bcm43xx nativne podporovana jadrom?
      • Re: Broadcom WLAN - problem instalacia 25.08.2007 | 23:49
        Avatar Marián Sova Ubuntu 10.10  Používateľ
        Je. Ale nefunguje. Aspoň nie v mojom prípade. Nájde siete ale nedokáže sa pripojiť.
        Čo ťa nezabije, to ťa posilní | Leták na propagáciu jabbera v pdf | www.mikroprocesory.sk
        • Re: Broadcom WLAN - problem instalacia 25.08.2007 | 23:51
          Avatar borg Fedora  Administrátor
          a mas natiahnuty spravny firmware? v logoch nie je nic?
        • Re: Broadcom WLAN - problem instalacia 29.08.2007 | 02:12
          Avatar karol Mandriva 2008.1  Používateľ
          Možno zlá otázka, ale mal si v dosahu sieť, na ktorú sa dá pripojiť ?
          "Operátor pozorovania prítomnosti nekomutuje s operátorom reality.Nemôžeme teda popísať realitu okolo nás bez toho aby sme ju ovplyvnili." <br/>
      • Re: Broadcom WLAN - problem instalacia 26.08.2007 | 00:18
        petertomasy   Návštevník
        tu napr. alebo aj tu vyber si, obidva spôsoby mi fungovali, veľa šťastia.
    • Re: Broadcom WLAN - problem instalacia 25.08.2007 | 23:53
      Avatar Marián Sova Ubuntu 10.10  Používateľ
      Skús inú verziu ndiswrappera. Mne dobre funguje verzia 1.42 . Ako kompiluješ ten ndiswrapper? Kompiluješ to takto: ./configure, make , make install ?
      Čo ťa nezabije, to ťa posilní | Leták na propagáciu jabbera v pdf | www.mikroprocesory.sk
      • Re: Broadcom WLAN - problem instalacia 26.08.2007 | 14:46
        xxosi   Návštevník
        uz mam ndiswrapper
        stiahol som si deb baliky a

        sudo dpkg -i ndiswrapper-common_*.deb
        sudo dpkg -i ndiswrapper-utils*.deb
        sudo dpkg -i --force-depends ndisgtk_*.deb

        ndiswrapper uz mam a vsetko podla navodu som spravil

        lxuse@lxuse-desktop:~$ ndiswrapper -l
        bcmwl5 : driver installed
        device (14E4:4318) present (alternate driver: bcm43xx)

        ale

        [ 39.005843] ndiswrapper (check_nt_hdr:150): kernel is 64-bit, but Windows driver is not 64-bit;bad magic: 010B
        [ 39.005850] ndiswrapper (load_sys_files:216): couldn't prepare driver 'bcmwl5'
        [ 39.006322] ndiswrapper (load_wrap_driver:118): couldn't load driver bcmwl5; check system log for messages from 'loadndisdriver'

        a tiez som mal wifi radar, ktory sa uz teraz neda spustit, a tiez zmizlo z system/../network wireles nastavrnia
        • Re: Broadcom WLAN - problem instalacia 26.08.2007 | 14:48
          Avatar Marián Sova Ubuntu 10.10  Používateľ
          kernel is 64-bit, but Windows driver is not 64-bit

          Myslím, že to hovorí za všetko. Stiahni 64-bit windows ovládače
          Čo ťa nezabije, to ťa posilní | Leták na propagáciu jabbera v pdf | www.mikroprocesory.sk
          • Re: Broadcom WLAN - problem instalacia 27.08.2007 | 12:07
            xxosi   Návštevník
            lxuse@lxuse-desktop:~$ iwconfig&#x0d;
            lo no wireless extensions.&#x0d;
            &#x0d;
            eth0 no wireless extensions.&#x0d;

            diki za pomoc, ale neviem si s tym poradit
            skusim to znovu, ked na to budem mat nervy :)
            nahodim nanovo ubuntu a uvidime :D
            • Re: Broadcom WLAN - problem instalacia 27.08.2007 | 23:51
              petertomasy   Návštevník
              Skús si nainštalovať 32 bitovú verziu znova postupuj podľa navodu, čo som ti napísal. Skús najprv ndiswrapper-a, ešte si nenapísal , čo to máš za delo (značku) u Aceru musíš zprevadzkovať klavesu wi-fi (Fn+F2). Hlavne kľud a rozvahu.