Bonjour,
je voulais donner un ordi qu'on m'a donné au boulot à un ami sans-le-sou. Cet ordi n'avait pas d'emplacement pour une carte wifi. Donc j'ai acheté un adaptateur Netgear N300 USB adaptator (<20 euros).
Si je comprends bien certaines fonctions arrivent à détecter mon adaptateur (lsusb) mais pas toutes (pas lspci). Mais il ne m'est toujours pas proposé en haut ! Heureusement j'ai un cable ethernet.
Si quelqu'un peut m'aider, ...
Bonne fin de ouik
########## wireless info START ##########
Report from: 12 Jun 2016 16:11 CEST +0200
Booted last: 12 Jun 2016 12:43 CEST +0200
Script from: 26 May 2016 21:56 UTC +0000
##### release ###########################
Distributor ID: Ubuntu
Description: Ubuntu 14.04.4 LTS
Release: 14.04
Codename: trusty
##### kernel ############################
Linux 3.13.0-88-generic #135-Ubuntu SMP Wed Jun 8 21:10:37 UTC 2016 i686 i686 i686 GNU/Linux
Parameters: ro, quiet, splash, vt.handoff=7
##### desktop ###########################
Ubuntu
##### lspci #############################
02:00.0 Ethernet controller [0200]: Broadcom Corporation NetXtreme BCM5751 Gigabit Ethernet PCI Express [14e4:1677] (rev 01)
Subsystem: Dell OptiPlex GX620 [1028:01ad]
Kernel driver in use: tg3
##### lsusb #############################
Bus 001 Device 004: ID 0846:9020 NetGear, Inc. WNA3100(v1) Wireless-N 300 [Broadcom BCM43231]
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 003: ID 413c:2105 Dell Computer Corp. Model L100 Keyboard
Bus 004 Device 002: ID 0461:4d15 Primax Electronics, Ltd Dell Optical Mouse
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
##### PCMCIA card info ##################
##### rfkill ############################
##### lsmod #############################
ndiswrapper 192915 0
##### interfaces ########################
auto lo
iface lo inet loopback
##### ifconfig ##########################
eth0 Link encap:Ethernet HWaddr <MAC 'eth0' [IF1]>
inet addr:192.168.0.13 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::<IP6 'eth0' [IF1]>/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:26596 errors:0 dropped:0 overruns:0 frame:0
TX packets:27799 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:13086445 (13.0 MB) TX bytes:4676437 (4.6 MB)
Interrupt:16
##### iwconfig ##########################
lo no wireless extensions.
eth0 no wireless extensions.
##### route #############################
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.0.254 0.0.0.0 UG 0 0 0 eth0
192.168.0.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
##### resolv.conf #######################
nameserver 127.0.1.1
##### network managers ##################
Installed:
NetworkManager
Running:
root 721 1 0 12:43 ? 00:00:00 NetworkManager
##### NetworkManager info ###############
NetworkManager Tool
State: connected (global)
- Device: eth0 [Connexion filaire 1] ------------------------------------------
Type: Wired
Driver: tg3
State: connected
Default: yes
HW Address: <MAC 'eth0' [IF1]>
Capabilities:
Carrier Detect: yes
Speed: 100 Mb/s
Wired Properties
Carrier: on
IPv4 Settings:
Address: 192.168.0.13
Prefix: 24 (255.255.255.0)
Gateway: 192.168.0.254
DNS: 212.27.40.240
DNS: 212.27.40.241
##### NetworkManager.state ##############
[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
WimaxEnabled=true
##### NetworkManager.conf ###############
[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq
[ifupdown]
managed=false
##### NetworkManager profiles ###########
[[/etc/NetworkManager/system-connections/Connexion Wi-Fi 1]] (600 root)
[connection] id=Connexion Wi-Fi 1 | type=802-11-wireless
[802-11-wireless] ssid=freebox_CPHIJA
[ipv4] method=auto
[ipv6] method=auto
##### iw reg get ########################
Region: Europe/Paris (based on set time zone)
country 00:
(2402 - 2472 @ 40), (6, 20)
(2457 - 2482 @ 40), (6, 20), PASSIVE-SCAN, NO-IBSS
(2474 - 2494 @ 20), (6, 20), NO-OFDM, PASSIVE-SCAN, NO-IBSS
(5170 - 5250 @ 160), (6, 20), PASSIVE-SCAN, NO-IBSS
(5250 - 5330 @ 160), (6, 20), DFS, PASSIVE-SCAN, NO-IBSS
(5490 - 5730 @ 160), (6, 20), DFS, PASSIVE-SCAN, NO-IBSS
##### iwlist channels ###################
lo no frequency information.
eth0 no frequency information.
##### iwlist scan #######################
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
##### module infos ######################
[ndiswrapper]
filename: /lib/modules/3.13.0-88-generic/updates/dkms/ndiswrapper.ko
license: GPL
version: 1.59
description: NDIS wrapper driver
author: ndiswrapper team <ndiswrapper-general@lists.sourceforge.net>
srcversion: C101C962263FFF26465A483
depends:
vermagic: 3.13.0-88-generic SMP mod_unload modversions 686
parm: if_name:Network interface name or template (default: wlan%d) (charp)
parm: proc_uid:The uid of the files created in /proc (default: 0). (int)
parm: proc_gid:The gid of the files created in /proc (default: 0). (int)
parm: debug:debug level (int)
parm: hangcheck_interval:The interval, in seconds, for checking if driver is hung. (default: 0) (int)
parm: utils_version:Compatible version of utils (read only: 1.9) (charp)
##### module parameters #################
grep: /sys/module/ndiswrapper/parameters/debug: Permission denied
grep: /sys/module/ndiswrapper/parameters/hangcheck_interval: Permission denied
grep: /sys/module/ndiswrapper/parameters/if_name: Permission denied
grep: /sys/module/ndiswrapper/parameters/proc_gid: Permission denied
grep: /sys/module/ndiswrapper/parameters/proc_uid: Permission denied
grep: /sys/module/ndiswrapper/parameters/utils_version: Permission denied
[ndiswrapper]
##### /etc/modules ######################
lp
ndiswrapper
##### modprobe options ##################
[/etc/modprobe.d/blacklist-ath_pci.conf]
blacklist ath_pci
[/etc/modprobe.d/blacklist-bcm43.conf]
blacklist b43
blacklist b43legacy
blacklist ssb
blacklist bcm43xx
blacklist brcm80211
blacklist brcmfmac
blacklist brcmsmac
blacklist bcma
[/etc/modprobe.d/blacklist.conf]
blacklist evbug
blacklist usbmouse
blacklist usbkbd
blacklist eepro100
blacklist de4x5
blacklist eth1394
blacklist snd_intel8x0m
blacklist snd_aw2
blacklist i2c_i801
blacklist prism54
blacklist bcm43xx
blacklist garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac
[/etc/modprobe.d/blacklist-rare-network.conf]
alias net-pf-3 off
alias net-pf-6 off
alias net-pf-9 off
alias net-pf-11 off
alias net-pf-12 off
alias net-pf-19 off
alias net-pf-21 off
alias net-pf-36 off
[/etc/modprobe.d/iwlwifi.conf]
remove iwlwifi \
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
&& /sbin/modprobe -r mac80211
[/etc/modprobe.d/mlx4.conf]
softdep mlx4_core post: mlx4_en
##### rc.local ##########################
exit 0
##### pm-utils ##########################
##### udev rules ########################
[/etc/udev/rules.d/70-persistent-net.rules]
# PCI device 0x14e4:/sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0 (tg3)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC 'eth0' [IF1]>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
##### dmesg #############################
[ 17.839899] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 18.900113] intel_rng: don't want to disable this in firmware setup, and if
[ 18.940331] ndiswrapper: module verification failed: signature and/or required key missing - tainting kernel
[ 18.942004] ndiswrapper version 1.59 loaded (smp=yes, preempt=no)
[ 26.743413] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready (repeated 2 times)
[ 28.250528] tg3 0000:02:00.0 eth0: Link is up at 100 Mbps, full duplex
[ 28.250536] tg3 0000:02:00.0 eth0: Flow control is off for TX and off for RX
[ 28.250556] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
########## wireless info END ############
*** Résolution :
Comme il est expliqué dans plusieurs pages, il faut mieux créer un répertoire local (genre install_wifi). Il faut alors trouver les fichier (d'extension) inf des pilotes. On peut les trouver dans trois lieux différents :
1) sur le CD (c'était pas mon cas)
2) en exécutant cabextract (quon doit avoir récupéré) des programme autorun.exe (préfixe pouvant changer selon les marques d'adaptateur) issus du CD.
3) quelqu'un de sympa vous le donne (ca a été mon cas : cf. plus bas). Apparemment les noms sont classiques. Cf. plus bas. On ne prend que les version 32 bits (je n'ai pas compris pourquoi).
Puis
sudo ndiswrapper -i bcmn43xx32.inf
ndiswrapper -l
sudo ndiswrapper -m
dmesg | grep -e ndis -e wlan
La première commande utiliser l'interface ndiswrapper pour intégrer le fichier inf comme pilote/fichier de données de pilote. La seconde devrait vous dire que le pilote est installé. Le reste est probalement utile pour les gens plus forts que moi 🙂 Merci !