Find the answer to your Linux question:
Results 1 to 7 of 7
hi.. i'm using debian lenny and some problems with wireless.. i cant install the wireless driver.. its winbondport - Google Code one friend said that i must : su apt-get ...
  1. #1
    Just Joined!
    Join Date
    Jun 2008
    Posts
    4

    wireless card problem..

    hi.. i'm using debian lenny and some problems with wireless..

    i cant install the wireless driver.. its winbondport - Google Code

    one friend said that i must :

    su
    apt-get install build-essential kernel-package linux-source-2.6.24
    cd /usr/src
    tar xvjf linux-source-*.tar.bz2
    ln -s linux-source-* linux # *kernel version
    exit
    cd ~/trunk/linux
    make
    su
    make install
    depmod -ae
    modprobe w35und
    but i m getting this error..
    /Desktop/trunk/linux$ make
    make -C /lib/modules/2.6.24-1-686/build M=/home/kahve/Desktop/trunk/linux modules
    make: *** /lib/modules/2.6.24-1-686/build: No such file or directory. Stop.
    make: *** [all] Error 2
    how can install this driver..

  2. #2
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,562
    Need to see the results of these two commands:
    Code:
    ls -l /lib/modules/2.6.24-1-686
    and:
    Code:
    ls -l /usr/src
    ...please.
    Linux Mint + IceWM Registered:#371367 New Members: click here

  3. #3
    Just Joined!
    Join Date
    Jun 2008
    Posts
    4
    sure..

    ls -l /lib/modules/2.6.24-1-686
    total 1672
    drwxr-xr-x 9 root root 4096 2008-06-28 15:37 kernel
    -rw-r--r-- 1 root root 367461 2008-06-28 15:49 modules.alias
    -rw-r--r-- 1 root root 69 2008-06-28 15:49 modules.ccwmap
    -rw-r--r-- 1 root root 373979 2008-06-28 15:49 modules.dep
    -rw-r--r-- 1 root root 147 2008-06-28 15:49 modules.ieee1394map
    -rw-r--r-- 1 root root 451 2008-06-28 15:49 modules.inputmap
    -rw-r--r-- 1 root root 22301 2008-06-28 15:49 modules.isapnpmap
    -rw-r--r-- 1 root root 74 2008-06-28 15:49 modules.ofmap
    -rw-r--r-- 1 root root 281562 2008-06-28 15:49 modules.pcimap
    -rw-r--r-- 1 root root 1387 2008-06-28 15:49 modules.seriomap
    -rw-r--r-- 1 root root 167185 2008-06-28 15:49 modules.symbols
    -rw-r--r-- 1 root root 444363 2008-06-28 15:49 modules.usbmap
    ls -l /usr/src
    total 86348
    lrwxrwxrwx 1 root src 19 2008-06-28 16:56 linux -> linux-source-2.6.24
    drwxr-xr-x 19 root root 4096 2008-06-06 08:19 linux-source-2.6.18
    -rw-r--r-- 1 root root 41418704 2008-06-06 10:18 linux-source-2.6.18.tar.bz2
    drwxr-xr-x 20 root root 4096 2008-05-08 03:44 linux-source-2.6.24
    -rw-r--r-- 1 root root 46891669 2008-05-08 07:46 linux-source-2.6.24.tar.bz2
    thanx .. waiting for ur reply

  4. #4
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,562
    Unless Fedora is doing something different now than what I'm aware of, you don't have build pointing back to the source. They might have put it somewhere else, I don't know. At any rate, try this:
    Code:
    ln -s /usr/src/linux-source-2.6.24 /lib/modules/2.6.24-1-686/build
    You cab copy that right from here and paste it in the terminal. Then, redo:
    Code:
    ls -l /lib/modules/2.6.24-1-686
    to ensure "build" is pointing back to the source. You ARE running kernel 2.6.24 aren't you? And not 2.6.18? Once the symlink is correctly established, try compiling the driver again. Hope this works. Good luck!
    Linux Mint + IceWM Registered:#371367 New Members: click here

  5. #5
    Just Joined!
    Join Date
    Jun 2008
    Posts
    4
    yeah i'm usiing 2.6.24.. when i was using etch i tried to do it too so that files is from that times...

    masa:/home/kahve# ln -s /usr/src/linux-source-2.6.24 /lib/modules/2.6.24-1-686/build
    masa:/home/kahve# ls -l /lib/modules/2.6.24-1-686
    total 1672
    lrwxrwxrwx 1 root root 28 2008-07-04 21:25 build -> /usr/src/linux-source-2.6.24
    drwxr-xr-x 9 root root 4096 2008-06-28 15:37 kernel
    -rw-r--r-- 1 root root 367461 2008-06-30 03:25 modules.alias
    -rw-r--r-- 1 root root 69 2008-06-30 03:25 modules.ccwmap
    -rw-r--r-- 1 root root 373979 2008-06-30 03:25 modules.dep
    -rw-r--r-- 1 root root 147 2008-06-30 03:25 modules.ieee1394map
    -rw-r--r-- 1 root root 451 2008-06-30 03:25 modules.inputmap
    -rw-r--r-- 1 root root 22301 2008-06-30 03:25 modules.isapnpmap
    -rw-r--r-- 1 root root 74 2008-06-30 03:25 modules.ofmap
    -rw-r--r-- 1 root root 281562 2008-06-30 03:25 modules.pcimap
    -rw-r--r-- 1 root root 1387 2008-06-30 03:25 modules.seriomap
    -rw-r--r-- 1 root root 167185 2008-06-30 03:25 modules.symbols
    -rw-r--r-- 1 root root 444363 2008-06-30 03:25 modules.usbmap
    uname -a
    Linux masa 2.6.24-1-686 #1 SMP Thu May 8 02:16:39 UTC 2008 i686 GNU/Linux

  6. #6
    Just Joined!
    Join Date
    Jun 2008
    Posts
    4
    at the mail groups someone said that i must install the package linux-headers-$(uname -r) so i did it..

    then i do :
    masa:/home/kahve/Desktop/trunk/linux# make
    make -C /lib/modules/2.6.24-1-686/build M=/home/kahve/Desktop/trunk/linux modules
    make[1]: Entering directory `/usr/src/linux-headers-2.6.24-1-686'
    CC [M] /home/kahve/Desktop/trunk/linux/new_wireless.o
    CC [M] /home/kahve/Desktop/trunk/linux/wbusb.o
    CC [M] /home/kahve/Desktop/trunk/linux/wb35reg.o
    CC [M] /home/kahve/Desktop/trunk/linux/wb35rx.o
    CC [M] /home/kahve/Desktop/trunk/linux/wb35tx.o
    CC [M] /home/kahve/Desktop/trunk/linux/../bssdbase.o
    CC [M] /home/kahve/Desktop/trunk/linux/../ds_tkip.o
    CC [M] /home/kahve/Desktop/trunk/linux/../knl.o
    CC [M] /home/kahve/Desktop/trunk/linux/../mds.o
    CC [M] /home/kahve/Desktop/trunk/linux/../mlme_assoc.o
    CC [M] /home/kahve/Desktop/trunk/linux/../mlme_auth.o
    CC [M] /home/kahve/Desktop/trunk/linux/../mlmetask.o
    CC [M] /home/kahve/Desktop/trunk/linux/../mlmetxrx.o
    CC [M] /home/kahve/Desktop/trunk/linux/../mto.o
    CC [M] /home/kahve/Desktop/trunk/linux/../phy_calibration.o
    CC [M] /home/kahve/Desktop/trunk/linux/../reg.o
    CC [M] /home/kahve/Desktop/trunk/linux/../roamtask.o
    CC [M] /home/kahve/Desktop/trunk/linux/../rxisr.o
    CC [M] /home/kahve/Desktop/trunk/linux/../scan_probe.o
    CC [M] /home/kahve/Desktop/trunk/linux/../scantask.o
    CC [M] /home/kahve/Desktop/trunk/linux/../sme_api.o
    CC [M] /home/kahve/Desktop/trunk/linux/../smetask.o
    CC [M] /home/kahve/Desktop/trunk/linux/../wbhal.o
    CC [M] /home/kahve/Desktop/trunk/linux/../wblinux.o
    CC [M] /home/kahve/Desktop/trunk/linux/../wpa/eap.o
    CC [M] /home/kahve/Desktop/trunk/linux/../wpa/4Way.o
    CC [M] /home/kahve/Desktop/trunk/linux/../wpa/Adapter_Bridge.o
    CC [M] /home/kahve/Desktop/trunk/linux/../wpa/STLFunction.o
    CC [M] /home/kahve/Desktop/trunk/linux/../wpa/passphrase.o
    CC [M] /home/kahve/Desktop/trunk/linux/../wpa/prf.o
    CC [M] /home/kahve/Desktop/trunk/linux/../wpa/rc4.o
    CC [M] /home/kahve/Desktop/trunk/linux/../wpa/sha1.o
    CC [M] /home/kahve/Desktop/trunk/linux/../wpa/hmac_sha1.o
    CC [M] /home/kahve/Desktop/trunk/linux/../wpa/hmac_md5.o
    CC [M] /home/kahve/Desktop/trunk/linux/../wpa/md5.o
    CC [M] /home/kahve/Desktop/trunk/linux/../wpa/aes.o
    CC [M] /home/kahve/Desktop/trunk/linux/../wpa/aes_wrap.o
    LD [M] /home/kahve/Desktop/trunk/linux/w35und.o
    Building modules, stage 2.
    MODPOST 1 modules
    CC /home/kahve/Desktop/trunk/linux/w35und.mod.o
    LD [M] /home/kahve/Desktop/trunk/linux/w35und.ko
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-1-686'
    masa:/home/kahve/Desktop/trunk/linux# make install
    cp w35und.ko /lib/modules/`uname -r`/kernel/drivers/net/wireless/

  7. #7
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,562
    Oops, sorry. I must have confused your thread with another I was working on at the time that had to do with Fedora. Apologies.

    Now that the sources are installed, the proper symlink from build back to the sources is made which I see you now have. So is, I presume "w35und.ko" in /kernel/drivers/net/wireless? If so, then it would appear your build was successful.

    Did you do:
    Code:
    depmod -ae
    ...after installing? Then:
    Code:
    modprobe w35und
    ...to load the module (driver). If no errors, bring it up with:
    Code:
    ifconfig wlan0 up
    ...and to check for access points:
    Code:
    iwlist wlan0 scan
    All this presuming your device will come in as wlan0.
    Last edited by Dapper Dan; 07-04-2008 at 01:47 PM.
    Linux Mint + IceWM Registered:#371367 New Members: click here

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •