Installer un Driver Prism pour carte Wifi

kungfuserge Messages postés 101 Statut Membre -  
mamiemando Messages postés 33173 Date d'inscription   Statut Modérateur Dernière intervention   -
Bonjour
j'essaie de faire ceconnaitre une carte wifi SENAO avec chipset Prism2.5 par ma distribution slax linux...Je suis totalement débutant
J'ai éssayer pendant des heures ...

Je sais me déplaçer dans les repertoire ..
Déziper les tar.gz
make config
make all
...c'est tout
ça marche pas
Pouvez-vous m'indiquer où je peux prendre un cours (payant) pour apprendre à l'installer .;;j'habite Paris
merçi
Configuration: Windows XP
Internet Explorer 6.0
Distribution Slax en live CD
Pas de partition
2go de Ram

11 réponses

  1. mamiemando Messages postés 33173 Date d'inscription   Statut Modérateur Dernière intervention   7 945
     
    Moi je te fais ça gratos sur le forum si tu veux ^^. Bon concrètement le "ca marche pas" c'est un peu trop vague, il faudrait le message d'erreur précis.

    Commence par vérifier que tu as installé gcc (le compilateur C) dans ton gestionnaire de paquets. Ensuite mets le fichier compressé (par exemple plop.tar.gz) dans ton home (par exemple /home/mando). Ensuite ouvre une console et tape
    tar xzvf plop.tar.gz

    Normalement un répertoire décopressé doit apparaître (dans un élan d'originalité je vais l'appeler plop) quand tu tapes :
    ls

    Vas dans ce répertoire et affiche son contenu :
    cd plop
    ls

    A ce stade tu dois voir apparaître un fichier appelé Makefile. Si c'est le cas tape :
    make config
    make all 

    Si une erreur apparaît sélectionne le texte correspondant avec la souris et colle le ici (clic du milieu). Si tout va bien il faudra probablement faire un make install (ou alors le make all le fait déjà) en root. Pour passer root tape :
    su
    make all
    make install

    Bonne chance
    1
  2. kungfuserge Messages postés 101 Statut Membre 19
     
    merçi de prendre le temps
    Je repasse sous linux et je poste le message d'erreur
    ce soir vers 9h
    parceque j'ai pas internet sous linux avec la Carte
    et ma carte interne intel 2200bg n'est pas reconnue...c'est pas façile...
    Quand je boot je suis obligé d'écrire "linux slax nopcmcia"
    sinon il bloque "waitting for one socket"
    Après il faut réactiver la carte avec airmon.sh start ath0 d'habitude ça marche avec l'atheros
    MAIS là c'est pas pareil parceque c'est du Prism (Wlan0)
    et ça il ne le reconnait pas du tout
    @ +
    et merçi
    0
  3. kungfuserge Messages postés 101 Statut Membre 19
     
    Re salut
    voici le message

    root@slax:/mnt/sdb1_removable/tuto/Driver Prism/linux-wlan-0.3.4# ls
    FAQ.isa* README.linuxppc* copying* p80211/ wepgen/
    Makefile* README.wep* driver/ readme* wlanctl/
    README.baystack660.html* SUPPORTED.CARDS* include/ scripts/ wlandump/
    README.debug* changes* license* thanks*
    README.isa* config.mk* man/ todo*
    root@slax:/mnt/sdb1_removable/tuto/Driver Prism/linux-wlan-0.3.4# makefile
    -bash: makefile: command not found

    après j'essaie

    root@slax:/mnt/sdb1_removable/tuto/Driver Prism/linux-wlan-0.3.4#

    root@slax:/mnt/sdb1_removable/tuto/Driver Prism/linux-wlan-0.3.4# make
    set -e; for d in driver wlanctl wlandump man; do make -C $d ; done
    make[1]: Entering directory `/mnt/sdb1_removable/tuto/Driver Prism/linux-wlan-0.3.4/driver'
    mkdir -p isa_obj
    cc -c -O2 -Wall -Wstrict-prototypes -Winline -fomit-frame-pointer -pipe -D__LINUX_WLAN__ -D__KERNEL__ -DMODULE=1 -I../include -I/usr/src/linux/include -I/include -I/modules "-DWLAN_INCLUDE_DEBUG" "-DWLAN_INCLUDE_SNIF" am930mod.c -o isa_obj/am930mod.o
    In file included from /usr/src/linux/include/asm/processor.h:18,
    from /usr/src/linux/include/asm/thread_info.h:17,
    from /usr/src/linux/include/linux/thread_info.h:21,
    from /usr/src/linux/include/linux/spinlock.h:12,
    from /usr/src/linux/include/linux/capability.h:45,
    from /usr/src/linux/include/linux/sched.h:7,
    from /usr/src/linux/include/linux/module.h:10,
    from am930mod.c:42:
    /usr/src/linux/include/asm/system.h: In function `__set_64bit_var':
    /usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
    /usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
    In file included from /usr/src/linux/include/linux/irq.h:21,
    from /usr/src/linux/include/asm/hardirq.h:6,
    from /usr/src/linux/include/linux/hardirq.h:6,
    from /usr/src/linux/include/linux/interrupt.h:11,
    from /usr/src/linux/include/linux/netdevice.h:519,
    from am930mod.c:48:
    /usr/src/linux/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
    In file included from /usr/src/linux/include/asm/hardirq.h:6,
    from /usr/src/linux/include/linux/hardirq.h:6,
    from /usr/src/linux/include/linux/interrupt.h:11,
    from /usr/src/linux/include/linux/netdevice.h:519,
    from am930mod.c:48:
    /usr/src/linux/include/linux/irq.h: At top level:
    /usr/src/linux/include/linux/irq.h:72: error: `NR_IRQS' undeclared here (not in a function)
    In file included from /usr/src/linux/include/linux/irq.h:74,
    from /usr/src/linux/include/asm/hardirq.h:6,
    from /usr/src/linux/include/linux/hardirq.h:6,
    from /usr/src/linux/include/linux/interrupt.h:11,
    from /usr/src/linux/include/linux/netdevice.h:519,
    from am930mod.c:48:
    /usr/src/linux/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
    /usr/src/linux/include/asm/hw_irq.h:32: error: `NR_IRQS' undeclared here (not in a function)
    In file included from am930mod.c:63:
    /usr/include/linux/malloc.h:4:2: warning: #warning linux/malloc.h is deprecated, use linux/slab.h instead.
    In file included from am930mod.c:66:
    /usr/src/linux/include/linux/kernel_stat.h:30: error: `NR_IRQS' undeclared here (not in a function)
    am930mod.c: In function `am930mod_interrupt':
    am930mod.c:152: error: called object is not a function
    am930mod.c:152: error: parse error before string constant
    am930mod.c:159: error: called object is not a function
    am930mod.c:159: error: parse error before string constant
    am930mod.c: In function `init_module':
    am930mod.c:175: error: called object is not a function
    am930mod.c:175: error: parse error before string constant
    am930mod.c:181: warning: passing arg 2 of `request_irq' from incompatible pointer type
    am930mod.c:191: error: called object is not a function
    am930mod.c:191: error: parse error before string constant
    am930mod.c: In function `cleanup_module':
    am930mod.c:208: error: called object is not a function
    am930mod.c:208: error: parse error before string constant
    am930mod.c:220: error: called object is not a function
    am930mod.c:220: error: parse error before string constant
    make[1]: *** [isa_obj/am930mod.o] Error 1
    make[1]: Leaving directory `/mnt/sdb1_removable/tuto/Driver Prism/linux-wlan-0.3.4/driver'
    make: *** [all] Error 2
    root@slax:/mnt/sdb1_removable/tuto/Driver Prism/linux-wlan-0.3.4#

    et voilà ....
    0
  4. mamiemando Messages postés 33173 Date d'inscription   Statut Modérateur Dernière intervention   7 945
     
    Oui alors arrête tout ça sert à rien :) J'ai exactement la même carte wifi elle est directement prise en charge par ton noyau sur toute distribution digne de ce nom. Sous les debian ça marche directement avec un noyau compris entre 2.6.15 et 2.6.17, au delà il faut en plus installer un firmware.

    Dans ton cas les erreurs de compilations me semble assez indécrottables car en gros ils semble chercher des fichiers dans tes sources de noyau qui n'existe pas. De mémoire il me semble que tu es sensé compiler deux modules (ieee80211 et un autre) que tu n'a pas du télécharger mais à mon avis tu t'embête pour rien.

    1) Commence par vérifier que ta carte wifi n'existe pas déjà. Donne moi le résultat en root de :
    /sbin/ifconfig eth1 up
    /sbin/ifconfig
    /sbin/iwconfig
    grep -i intel /var/log/messages
    grep -i ipw2200 /var/log/messages
    dmesg | grep -i intel
    dmesg | grep -i ipw2200

    2) Si ça ne marche pas peux-tu installer le dernier noyau disponible (paquet kernel-image ou linux image) disponible pour ta dernière distribution et rebooter sur ce noyau, et me donner le résultat des commandes données dans (1)

    Bonne chance
    0
  5. Vous n’avez pas trouvé la réponse que vous recherchez ?

    Posez votre question
  6. kungfuserge Messages postés 101 Statut Membre 19
     
    Ok je retourne sous slax et je te post le résultat
    (c'est pour ma carte wifi Pcmcia SENAO ....pas pour l'intel 2200 bg)

    j'ai oublié de te dire mon kernel est 2.6.11.8
    pour savoir ça j'ai fait uname - a

    aussi ...quand je suis dand le fichier du driver cd linux-driver-wlan etc...
    il y a bien un sous fichier makefile mais quand je le tape ça fait
    #makefile
    # error comand not found

    sinon j'avais une idée....refaire un Cd avec myslax creator...en reprenant les bon drivers....mais j'ai jamai fait ça
    je te poste le resultat...

    ((((Je crois qu'il faut patcher le noyau ; mais j'ai aucune idée comment))))
    0
    1. mamiemando Messages postés 33173 Date d'inscription   Statut Modérateur Dernière intervention   7 945
       
      Normal il faut utiliser la commande make (et il faut que make soit installé)
      0
  7. kungfuserge Messages postés 101 Statut Membre 19
     
    Voici

    /sbin/ifconfig eth1 up
    Usage:
    ifconfig [-a] [-i] [-v] [-s] <interface> [[<AF>] <address>]
    [add <address>[/<prefixlen>]]
    [del <address>[/<prefixlen>]]
    [[-]broadcast [<address>]] [[-]pointopoint [<address>]]
    [netmask <address>] [dstaddr <address>] [tunnel <address>]
    [outfill <NN>] [keepalive <NN>]
    [hw <HW> <address>] [metric <NN>] [mtu <NN>]
    [[-]trailers] [[-]arp] [[-]allmulti]
    [multicast] [[-]promisc]
    [mem_start <NN>] [io_addr <NN>] [irq <NN>] [media <type>]
    [txqueuelen <NN>]
    [[-]dynamic]
    [up|down] ...

    <HW>=Hardware Type.
    List of possible hardware types:
    loop (Local Loopback) slip (Serial Line IP) cslip (VJ Serial Line IP)
    slip6 (6-bit Serial Line IP) cslip6 (VJ 6-bit Serial Line IP) adaptive (Adaptive Serial Line IP)
    strip (Metricom Starmode IP) ether (Ethernet) tr (16/4 Mbps Token Ring)
    tr (16/4 Mbps Token Ring (New)) ax25 (AMPR AX.25) netrom (AMPR NET/ROM)
    tunnel (IPIP Tunnel) ppp (Point-to-Point Protocol) arcnet (ARCnet)
    dlci (Frame Relay DLCI) frad (Frame Relay Access Device) irda (IrLAP)
    x25 (generic X.25)
    <AF>=Address family. Default: inet
    List of possible address families:
    unix (UNIX Domain) inet (DARPA Internet) inet6 (IPv6)
    ax25 (AMPR AX.25) netrom (AMPR NET/ROM) ipx (Novell IPX)
    ddp (Appletalk DDP) x25 (CCITT X.25)
    root@slax:~#
    root@slax:~# /sbin/ifconfig
    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
    root@slax:~# /sbin/iwconfig
    lo no wireless extensions.

    eth0 no wireless extensions.

    sit0 no wireless extensions.

    root@slax:~# grep -i intel /var/log/message
    grep: /var/log/message: No such file or directory
    root@slax:~# grep -i intel /var/log/message/
    grep: /var/log/message/: No such file or directory
    root@slax:~#
    root@slax:~# /grep -i ipw200 /var/log/messages
    -bash: /grep: No such file or directory
    root@slax:~#
    root@slax:~# dmesg | grep -i intel
    ACPI: MADT (v001 INTEL ALVISO 0x06040000 LOHR 0x0000005f) @ 0x7fee9e88
    ACPI: MCFG (v001 INTEL ALVISO 0x06040000 LOHR 0x0000005f) @ 0x7fee9f9c
    Intel machine check architecture supported.
    Intel machine check reporting enabled on CPU#0.
    CPU0: Intel(R) Pentium(R) M processor 1.73GHz stepping 08
    intel8x0_measure_ac97_clock: measured 50326 usecs
    intel8x0: clocking to 48000
    ehci_hcd 0000:00:1d.7: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller
    uhci_hcd 0000:00:1d.0: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1
    uhci_hcd 0000:00:1d.1: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2
    uhci_hcd 0000:00:1d.2: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3
    uhci_hcd 0000:00:1d.3: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4
    agpgart: Detected an Intel 915GM Chipset.
    root@slax:~#
    root@slax:~# dmesg | grep -i ipw2200
    root@slax:~# dmesg | grep -i ipw2200
    root@slax:~#
    root@slax:~# \pard\f1\fs20\
    >

    ((((Si ça ne marche pas peux-tu installer le dernier noyau disponible
    (paquet kernel-image ou linux image) disponible pour ta dernière
    distribution et rebooter sur ce noyau, et me donner le résultat des commandes
    données dans (1) )))) =je sais pas faire
    0
  8. mamiemando Messages postés 33173 Date d'inscription   Statut Modérateur Dernière intervention   7 945
     
    Tape exactement les commandes que je t'ai donné, en root
    grep -i intel /var/log/messages
    grep -i ipw2200 /var/log/messages
    dmesg | grep -i intel
    dmesg | grep -i ipw2200
    0
  9. kungfuserge Messages postés 101 Statut Membre 19
     
    Voilà

    root@slax:~# grep -i intel /var/log/messages
    Jun 30 14:32:07 (none) kernel: Intel machine check architecture supported.
    Jun 30 14:32:07 (none) kernel: Intel machine check reporting enabled on CPU#0.
    Jun 30 14:32:07 (none) kernel: CPU0: Intel P4/Xeon Extended MCE MSRs (12) available
    Jun 30 14:32:07 (none) kernel: Intel ISA PCIC probe: not found.
    Jun 30 14:32:10 (none) kernel: intel8x0_measure_ac97_clock: measured 49131 usecs
    Jun 30 14:32:10 (none) kernel: intel8x0: clocking to 48000
    Jun 30 14:32:11 (none) kernel: ehci_hcd 0000:00:1d.7: Intel Corp. 82801DB/DBM (ICH4/ICH4-M) USB 2.0 EHCI Controller
    Jun 30 14:32:12 (none) kernel: uhci_hcd 0000:00:1d.0: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1
    Jun 30 14:32:12 (none) kernel: uhci_hcd 0000:00:1d.1: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2
    Jun 30 14:32:12 (none) kernel: uhci_hcd 0000:00:1d.2: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3
    Jun 30 14:32:14 (none) kernel: agpgart: Detected an Intel 845G Chipset.
    Mar 28 10:50:58 (none) kernel: Intel machine check architecture supported.
    Mar 28 10:50:58 (none) kernel: Intel machine check reporting enabled on CPU#0.
    Mar 28 10:51:00 (none) kernel: intel8x0_measure_ac97_clock: measured 50318 usecs
    Mar 28 10:51:00 (none) kernel: intel8x0: clocking to 48000
    Mar 28 10:51:00 (none) kernel: ehci_hcd 0000:00:1d.7: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller
    Mar 28 10:51:00 (none) kernel: uhci_hcd 0000:00:1d.0: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1
    Mar 28 10:51:01 (none) kernel: uhci_hcd 0000:00:1d.1: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2
    Mar 28 10:51:01 (none) kernel: uhci_hcd 0000:00:1d.2: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3
    Mar 28 10:51:02 (none) kernel: uhci_hcd 0000:00:1d.3: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4
    Mar 28 10:51:04 (none) kernel: agpgart: Detected an Intel 915GM Chipset.
    root@slax:~#

    root@slax:~# grep -i ipw2200 /var/log/messages
    root@slax:~#

    root@slax:~# dmesg | grep -i intel
    ACPI: MADT (v001 INTEL ALVISO 0x06040000 LOHR 0x0000005f) @ 0x7fee9e88
    ACPI: MCFG (v001 INTEL ALVISO 0x06040000 LOHR 0x0000005f) @ 0x7fee9f9c
    Intel machine check architecture supported.
    Intel machine check reporting enabled on CPU#0.
    CPU0: Intel(R) Pentium(R) M processor 1.73GHz stepping 08
    intel8x0_measure_ac97_clock: measured 50318 usecs
    intel8x0: clocking to 48000
    ehci_hcd 0000:00:1d.7: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller
    uhci_hcd 0000:00:1d.0: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1
    uhci_hcd 0000:00:1d.1: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2
    uhci_hcd 0000:00:1d.2: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3
    uhci_hcd 0000:00:1d.3: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4
    agpgart: Detected an Intel 915GM Chipset.
    root@slax:~#

    root@slax:~# dmesg | grep -i ipw2200
    root@slax:~#
    0
  10. mamiemando Messages postés 33173 Date d'inscription   Statut Modérateur Dernière intervention   7 945
     
    Ton noyau actuel ne prend pas en charge ta carte wifi alors normalement il devrait.
    - soit tu mets à jour ton noyau via ton gestionnaire de paquet,
    - soit tu télécharges des sources de noyau sur https://www.kernel.org/ et tu suis le tutoriel de lealinux : http://lea-linux.org/cached/index/Kernel-kernel.html
    - soit tu changes de distribution (par exemple une debian, une ubuntu...) car ça devrait marcher directement. Au pire tu devrais juste avoir à installer un firmware.

    Bonne chance
    0
  11. kungfuserge Messages postés 101 Statut Membre 19
     
    Bon ; je te remerçie...j'ai le kernel (j'ai pris les 2 versions la petite et la grosse à 4mo) .Maintenant le problème est repoussé + loin ...il faut patché l'ancien kernel et installer le driver ensuite
    J'ai vu le tuto
    Dis moi juste si je me trompe
    je fais
    # installpkg/chemin/kernel-source-2.6 etc.../tgx/chemin/kernel-headers-2.6.x.tgz

    mais de quel chemin on parle ?
    Dois-je me situer dans le dossier de la clé UsB où j'ai mis le kernel ?
    0
  12. mamiemando Messages postés 33173 Date d'inscription   Statut Modérateur Dernière intervention   7 945
     
    A priori tu es sensé avoir
    1- soit une image + des headers
    2- soit juste des sources

    Dans les deux cas ceux-ci sont sensé être plutôt dans /usr/src. Ensuite en général on crée un lien symbolique /usr/src/linux qui pointe sur les sources (ou les headers) du noyau utilisé.

    Exemple
    (mando@aldur) (~) $ ls -l /usr/src/
    lrwxrwxrwx  1 root  src         27 2006-06-26 01:10 linux -> linux-headers-2.6.15-1-486/
    drwxr-xr-x  5 root  root      4096 2006-06-26 01:03 linux-headers-2.6.15-1-486
    
    0