#26 Le 16/01/2008, à 02:00
- saelyx_visitor
Re : IPWRAW ou nouveaux drivers pour chipset IPW3945ABG
Bonjour,
J'essaie depuis hier d'installer le drivers ipwraw.
Le probléme et que lorsque je fais le "make" l'erreur suivant s'affiche:make -C /lib/modules/2.6.20-BT-PwnSauce-NOSMP/build M=/home/antony/Download modules make: *** /lib/modules/2.6.20-BT-PwnSauce-NOSMP/build: No such file or directory. Stop. make: *** [modules] Error 2
Je fais donc le make install ==> ca marche
Par contre lorsque je load le module ipwraw:
modprobe -r ipw3945 modprobe ipwra
L'erreur suivante s'affiche:
FATAL: Error inserting ipwraw (/lib/modules/2.6.20-BT-PwnSauce-NOSMP/kernel/drivers/net/wireless/ipwraw.ko): Invalid module format
Sauriez vous pourquoi? et surtout comment résoudre le probléme?
Merci.
PS: je tente de l'installer sur une Backtrack 2.0
Désolé mais tu es sur le forum Ubuntu. Ubuntu est basé sur Debian alors que Backtrack est basé sur Slackware. Reporte toi au forum de Slackware ou bien de Backtrack pour poster ton ticket.
#27 Le 27/01/2008, à 15:01
- clem-vangelis
Re : IPWRAW ou nouveaux drivers pour chipset IPW3945ABG
saelyx tu pourrais mettre a dispo ton script rand_mac si possible ?
en tout cas merci pour le tuto
Hors ligne
#28 Le 30/01/2008, à 04:58
- saelyx_visitor
Re : IPWRAW ou nouveaux drivers pour chipset IPW3945ABG
Voici pour le rand_mac :
rand_mac.c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
// MAC Randomize
void mac_rand(int start, int last)
{
int i;
char char_mac[25]={'0','1','2','3','4','5','6','7','8','9',
'A','B','C','D','E','F'};
srand(time(NULL));
for(i=start;i<last;i++)
{
printf("%c",char_mac[(rand())%12]);
if(i%2 && i<last-1) printf(":");
}
}
void usage(char *argv[])
{
printf("\n%s <start> <last>\n",argv[0]);
printf("\nProgram will generate random mac adresse between <start> and <last> length.\n\n");
}
int main(int argc, char *argv[])
{
int start, last;
start=0;
last=12;
if( argc==2 )
{
if( strlen(argv[1])==2 )
{
if( argv[1][0]=='-' && argv[1][1]=='h' )
{
usage(argv);
}
return(1);
}
}
if( argc==3 )
{
start=atoi(argv[1]);
last=atoi(argv[2]);
}
mac_rand(start,last);
return(0);
}
...je sais que j'aurais pu faire plus simple mais c'était à titre d'exercice
Pour remettre le IPW3945, j'ai fait un load et un unload de mon script ça a marché. sinon tu peux simplement supprimer le module :
cd /
locate ipwraw.ko
Puis un 'rm' du fichier trouvé (en principe dans /lib/modules/2.6.22-14-generic/ubuntu/wireless/iwlwifi
Sinon voici un lien pour restaurer le driver IPW3945 :
wget http://nexuscenter.free.fr/dl/ipw3945-restore.zip
#29 Le 09/02/2008, à 12:32
- guigui61
Re : IPWRAW ou nouveaux drivers pour chipset IPW3945ABG
Bonjour moi j'ai une erreur :
apres la ligne : sudo echo ipwraw-ng >> /etc/modules
j'ai :
bash: /etc/modules: Permission non accordée
autre probleme moin grave le fichier ipwraw-ng.tar.gz ce decompresse dans le fichier courant et non dans le fichier ipwraw-ng
Hors ligne
#30 Le 05/05/2008, à 23:04
- fredschmidt
Re : IPWRAW ou nouveaux drivers pour chipset IPW3945ABG
Salut,
Je n'arrive pas a installer ipwraw
cd ipwraw-ng
bash: cd: ipwraw-ng: Aucun fichier ou répertoire de ce type
je ne sais pas comment faire
merci
#31 Le 21/06/2008, à 03:33
- saelyx
Re : IPWRAW ou nouveaux drivers pour chipset IPW3945ABG
@guigui61
Bien que moche, la seule solution que j'ai trouvée à ton problème est de passer root temporairement :
sudo su ; echo ipwraw-ng >> /etc/modules ; exit
@fredschmidt
Pour voir où ont été extrait les fichiers :
ls
En m'excusant de ma faible présence sur ce post.
-----BEGIN GEEK CODE BLOCK-----
GCS d- s+:+ a? C++ UL+++ P L++ E--- W+ N o-- K- w+ O-- M- V-
PS+ PE Y PGP t 5 X+ R- tv-- b+ DI- D++ G e-- h--- r+++ z+++
------END GEEK CODE BLOCK------
Hors ligne
#32 Le 07/10/2008, à 00:09
- thib
Re : IPWRAW ou nouveaux drivers pour chipset IPW3945ABG
Bonjours,
Chez moi j'ai une erreur de compilation:
make
make -C /lib/modules/2.6.24-19-generic/build M=/home/thibault/tmp modules
make[1]: entrant dans le répertoire « /usr/src/linux-headers-2.6.24-19-generic »
CC [M] /home/thibault/tmp/ipwraw.o
/home/thibault/tmp/ipwraw.c: Dans la fonction «store_bssid» :
/home/thibault/tmp/ipwraw.c:1500: erreur: déclaration implicite de la fonction « «MAC_ARG» »
/home/thibault/tmp/ipwraw.c:1500: attention : trop peu d'arguments dans le format
/home/thibault/tmp/ipwraw.c:1506: attention : trop peu d'arguments dans le format
/home/thibault/tmp/ipwraw.c: Dans la fonction «show_bssid» :
/home/thibault/tmp/ipwraw.c:1516: attention : trop peu d'arguments dans le format
/home/thibault/tmp/ipwraw.c: Dans la fonction «ipw_print_rx_config» :
/home/thibault/tmp/ipwraw.c:2565: attention : trop peu d'arguments dans le format
/home/thibault/tmp/ipwraw.c:2567: attention : trop peu d'arguments dans le format
/home/thibault/tmp/ipwraw.c: Dans la fonction «tx_skb» :
/home/thibault/tmp/ipwraw.c:7421: attention : trop peu d'arguments dans le format
/home/thibault/tmp/ipwraw.c: Dans la fonction «ipw_net_set_mac_address» :
/home/thibault/tmp/ipwraw.c:7610: attention : trop peu d'arguments dans le format
/home/thibault/tmp/ipwraw.c: Dans la fonction «ipw_up» :
/home/thibault/tmp/ipwraw.c:8081: attention : trop peu d'arguments dans le format
/home/thibault/tmp/ipwraw.c: Dans la fonction «ipw_pci_probe» :
/home/thibault/tmp/ipwraw.c:8737: erreur: «SA_SHIRQ» undeclared (first use in this function)
/home/thibault/tmp/ipwraw.c:8737: erreur: (Each undeclared identifier is reported only once
/home/thibault/tmp/ipwraw.c:8737: erreur: for each function it appears in.)
/home/thibault/tmp/ipwraw.c:8743: erreur: déclaration implicite de la fonction « «SET_MODULE_OWNER» »
make[2]: *** [/home/thibault/tmp/ipwraw.o] Erreur 1
make[1]: *** [_module_/home/thibault/tmp] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-headers-2.6.24-19-generic »
make: *** [modules] Erreur 2
Une idée SVP?
Pitivi va bientot avoir des effets: http://thiblahute.blogspot.com/
Hors ligne
#33 Le 09/10/2008, à 09:18
- thib
Re : IPWRAW ou nouveaux drivers pour chipset IPW3945ABG
Up
Pitivi va bientot avoir des effets: http://thiblahute.blogspot.com/
Hors ligne