Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[TIPS] wifi ipw 3945 sur DELL M90
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
nemo13
Veteran
Veteran


Joined: 08 Oct 2004
Posts: 1016
Location: France/Istres

PostPosted: Mon Jun 25, 2007 9:23 pm    Post subject: [TIPS] wifi ipw 3945 sur DELL M90 Reply with quote

Bonjour,
Etant donné qu'une UBuntu 7.04 arrive à faire marcher le wifi sur cette bestiole, il n'y a pas de raison que GENTOO n'y arrive pas!

1) Contexte des manips :
Quote:
emerge --info
Portage 2.1.2.7 (default-linux/amd64/2007.0/no-multilib, gcc-4.1.2, glibc-2.5-r3, 2.6.20-gentoo-r8-c-ajout-wifi x86_64)
=================================================================
System uname: 2.6.20-gentoo-r8-c-ajout-wifi x86_64 Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 21 Jun 2007 20:20:01 +0000
dev-lang/python: 2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.61
sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org/"
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LINGUAS="fr"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

le noyal :
Quote:
#
# Loadable module support
#

CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
CONFIG_KMOD=y
CONFIG_STOP_MACHINE=y

#
# Network testing
#
CONFIG_IEEE80211=m
CONFIG_IEEE80211_CRYPT_WEP=m
CONFIG_IEEE80211_CRYPT_CCMP=m
CONFIG_IEEE80211_CRYPT_TKIP=m
CONFIG_WIRELESS_EXT=y

#
# Wireless LAN (non-hamradio)
#
CONFIG_NET_RADIO=y
CONFIG_NET_WIRELESS=y

#
# Cryptographic options
#
CONFIG_CRYPTO=y
CONFIG_CRYPTO_ALGAPI=m
CONFIG_CRYPTO_BLKCIPHER=m
CONFIG_CRYPTO_MANAGER=m
CONFIG_CRYPTO_ECB=m
CONFIG_CRYPTO_CBC=m
CONFIG_CRYPTO_AES=m
CONFIG_CRYPTO_AES_X86_64=m
CONFIG_CRYPTO_ARC4=m
CONFIG_CRYPTO_MICHAEL_MIC=m


les modules chargés par le noyal
Quote:
lsmod

Module Size Used by
arc4 2368 2
ecb 3520 2
blkcipher 5504 1 ecb
cryptomgr 3072 0
crypto_algapi 11200 3 arc4,ecb,cryptomgr
ieee80211_crypt_wep 5248 1
ipw3945 213604 1
ieee80211 32072 1 ipw3945
ieee80211_crypt 5760 2 ieee80211_crypt_wep,ieee80211

Rem : ya moyen de le faire maigrir ce noyal :oops:

les paquets emergés:
Quote:
[I] net-wireless/ipw3945d
Installed versions: 1.7.22-r4(16:23:43 24.06.2007)
Description: Regulatory daemon for the Intel PRO/Wireless 3945ABG miniPCI express adapter

[I] net-wireless/ipw3945-ucode
Installed versions: 1.14.2(16:23:47 24.06.2007)
Description: Microcode for the Intel PRO/Wireless 3945ABG miniPCI express adapter

[I] net-wireless/ipw3945
Installed versions: 1.2.0(17:52:13 24.06.2007)(-debug kernel_linux)
Description: Driver for the Intel PRO/Wireless 3945ABG miniPCI express adapter

[I] net-wireless/wireless-tools
Installed versions: 28(17:02:16 24.06.2007)(-multicall nls)
Description: A collection of tools to configure IEEE 802.11 wireless LAN cards


en WEP , wpa-supplicant bof rien à battre ( tentative de troll )

Mon réseau Wifi : une livebox wanadoo de 2003 qui ne fonctionne qu'en WEP ( no-troll svp ), un adressage Ip statique.

les tuto essayés ..... tout plein , trop pour tous les mettre ici.
les résultats : très aléatoires; trop aléatoire.

LE LIEN QUI VA BIEN
là j'ai tilté sur rf_kill

J'ai donc monté la manip suivante :
Connexion du portable au réseau en filaire ( eth0=10.0.0.30 )
ssh vers le portable à partir de mon fixe qui lui est connecté au réseau en wifi.

puis je me suis amusé avec :
Code:
cat /sys/bus/pci/drivers/ipw3945/\0000:0c:00.0\/rf_kill
echo 0 > /sys/bus/pci/drivers/ipw3945/\0000:0c:00.0\/rf_kill

iwconfig eth1 essid MON-POINT-D'ACCES
iwconfig eth1 key restricted MA-CLEF-WEP-EN-HEXA
iwconfig eth1 channel LE-CANNEL-DE-MON-PA

ifconfig eth1 10.0.0.31 broadcast 10.0.0.255 netmask 255.255.255.0 up
route add default gw 10.0.0.1 dev eth1
route del default gw  10.0.0.1 dev eth0

Et c'est cool raoul , je débranche ( ou shute eth0 ) j'ai le réseau en wifi sur le portable.
( juste un petit problème pour ssh mais je vais appeler à l'aide :oops: )

mon analyse:
j'ai choisi de laisser le kernel charger tout seul les modules qu'il a besoin, quand il en a besoin.
A priori ,tôt dans le boot ,il essaye de lancer ipw3945 mais un message d'erreur dit que sysinit n'est pas terminé et ça queute.
Systèmatiquement j'ai :
Code:
[   25.958165] ipw3945: Error sending SCAN_ABORT_CMD: time out after 500ms.

dans le dmesg et systèmatiquement rf_kill est à 1
voili-voila j'ai kaiman mon script de lancement WIFI.

Edit : Merci à geekounet pour ssh
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum