PC Ekspert Forum

PC Ekspert Forum (https://forum.pcekspert.com/index.php)
-   Operativni sustavi (https://forum.pcekspert.com/forumdisplay.php?f=36)
-   -   Pomoc pri instalaciji wlan kartice Linux (https://forum.pcekspert.com/showthread.php?t=133755)

PSP User 10.01.2009. 18:00

Pomoc pri instalaciji wlan kartice Linux
 
Dobio sam drivere za wlan karticu no imam poteskoca pri instalaciji, zastanem ovdje:

Ovo su upute:
Code:

BUILD AND INSTALLATION INSTRUCTIONS
-----------------------------------

hybrid-portsrc.tar.gz
hybrid-portsrc-x86_64.tar.gz

On the target machine, setup the source/hybrid/build directory

1.  Create a new directory:                mkdir hybrid_wl
2.  Go to that directory:                  cd hybrid_wl
3.  Untar the appropriate 32/64 bit file
      to that directory
        32 bit:                            tar -xzf /hybrid-portsrc.tar.gz
        64 bit:                            tar -xzf /hybrid-portsrc-x86_64.tar.gz

After untar'ing you should have a src and lib sub directory plus a Linux
2.6 "kbuild" external makefile (Makefile).  The lib sub directory has the pre-built
binary, wlc_hybrid.o_shipped. 

You use the standard Linux 2.6 kernel build system as follows to make a Linux loadable
kernel module (LKM):

On the target machine, and cd'ed to the directory that contains the Makefile (fragment)

4.  Cleanup (optional):                  make -C /lib/modules/<2.6.xx.xx>/build M=`pwd` clean
5.  Build the LKM, i.e. wl.ko:          make -C /lib/modules/<2.6.xx.xx>/build M=`pwd`

You should now have a LKM, wl.ko inside this directory.

Sve je ok, dodjem do:

make -C /lib/modules/2.6.21.5/build M=`pwd`

i tu mi javi:

make: Entering directory '/usr/src/linux.2.6.21.5
scripts/Makefile.build:17 /usr/src/linux-2.6.21.5/pwd/Makefile: No such file or directory
make[1]: *** No rule to make target '/usr/src/linux-2.6.21.5/pwd/Makefile'. Stop.
make: *** [_module_pwd] Error 2
make: Leaving directory '/usr/src/linux-2.6.21.5'


HELP!!!!

tomek@vz 10.01.2009. 19:18

Polako...koja je točno kartica,koji čip (lspci ili lspci -v),koja distra,koji kernel (uname -r)?

PSP User 13.01.2009. 19:02

Kartica je: Broadcom 4322AG 802.11a/b/g/draft-n Wi-Fi Adapter
distribucija je Backtrack 3 na USBu instaliran...

tomek@vz 13.01.2009. 21:25

Što kažu slijedeće komande:

1) dmesg
2) lsmod
3) lspci (ako je PCI kartica) ili lsusb (ako je USB stick)

?

Codiac 14.01.2009. 17:31

i da ovo ti je Lspci i Lsusb :D

@tomek moram do varazdina sa lapom skociti :D

tomek@vz 14.01.2009. 22:31

Citiraj:

Autor Codiac (Post 1248774)
i da ovo ti je Lspci i Lsusb :D

@tomek moram do varazdina sa lapom skociti :D

anytime :chears:


Sva vremena su GMT +2. Sada je 00:47.

Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 1999-2024 PC Ekspert - Sva prava pridržana ISSN 1334-2940
Ad Management by RedTyger