CONNEXION : Ni wifi ni Ethernet

Bonjour,

Je viens d’installer Debian 7.7.0 et Ubuntu 14.10 sur un DDur séparé.
Ubuntu fonctionne, mais pas Debian, je n’ai aucune connexion comme indiqué dans le titre.

J’ai quelques infos à vous communiquer pour voir si dans un premier temps vous voyez quelque chose de flagrant :

[size=85]Sous ubuntu :

> iwconfig
eth0      no wireless extensions.

wlan0     IEEE 802.11abgn  ESSID:"Livebox-xxxx"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: 4C:09:B4:0D:23:72   
          Bit Rate=1 Mb/s   Tx-Power=22 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
          Link Quality=56/70  Signal level=-54 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:55   Missed beacon:0

lo        no wireless extensions.




> ifconfig
eth0      Link encap:Ethernet  HWaddr 9c:eb:e8:16:3f:6c  
          inet adr:192.168.1.14  Bcast:192.168.1.255  Masque:255.255.255.0
          adr inet6: fe80::9eeb:e8ff:fe16:3f6c/64 Scope:Lien
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Packets reçus:318 erreurs:0 :0 overruns:0 frame:0
          TX packets:409 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000 
          Octets reçus:51476 (51.4 KB) Octets transmis:50058 (50.0 KB)

lo        Link encap:Boucle locale  
          inet adr:127.0.0.1  Masque:255.0.0.0
          adr inet6: ::1/128 Scope:Hôte
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          Packets reçus:313 erreurs:0 :0 overruns:0 frame:0
          TX packets:313 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0 
          Octets reçus:24081 (24.0 KB) Octets transmis:24081 (24.0 KB)

wlan0     Link encap:Ethernet  HWaddr 28:b2:bd:13:0f:10  
          inet adr:192.168.1.11  Bcast:192.168.1.255  Masque:255.255.255.0
          adr inet6: fe80::2ab2:bdff:fe13:f10/64 Scope:Lien
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Packets reçus:52 erreurs:0 :0 overruns:0 frame:0
          TX packets:75 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000 
          Octets reçus:4856 (4.8 KB) Octets transmis:12339 (12.3 KB)                                                                                                                                  
                                                                                                                                                                                                      
> lspci | grep -i network                                                                                                                                              
06:00.0 Network controller: Intel Corporation Wireless 7260 (rev 6b)
   
   
          
> iwlist scan
eth0      Interface doesn't support scanning.

wlan0     Scan completed :
          Cell 01 - Address: 4C:09:B4:0D:23:72
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=70/70  Signal level=-38 dBm  
                    Encryption key:on
                    ESSID:"Livebox-xxxx"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=0000009b07ff6361
                    Extra: Last beacon: 76680ms ago
                    IE: Unknown: 000C4C697665626F782D32333732
                    IE: Unknown: 010882848B960C121824
                    IE: Unknown: 030101
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 2A0100
                    IE: Unknown: 32043048606C
                    IE: Unknown: DD180050F2020101810003A4000027A4000042435E0062322F00
                    IE: Unknown: 2D1A0C101BFFFF000000000000000000000000000000000000000000
                    IE: Unknown: 3D1601080800000000000000000000000000000000000000
                    IE: Unknown: DD0900037F01010000FF7F
                    IE: Unknown: DD0A00037F04010000000000
                    IE: Unknown: 0706465220010D14
                    IE: Unknown: DD8A0050F204104A0001101044000102103B00010310470010000000000000100000004C09B40D2372102100035A54451023000F4C697665626F782046545448207632102400085A542E312E302E321042000F4C4D5A3132303630393033393632371054000800060050F20400011011000F4C697665626F782046545448207632100800020086103C000101

lo        Interface doesn't support scanning.






> sudo nano /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

[/size]

[size=85]Sous Debian :

lo        no wireless extensions.

eth0      no wireless extensions.





> ifconfig
eth0      Link encap:Ethernet  HWaddr 9c:eb:e8:16:3f:6c  
          inet adr:192.168.1.10  Bcast:192.168.1.255  Masque:255.255.255.0
          adr inet6: fe80::9eeb:e8ff:fe16:3f6c/64 Scope:Lien
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7 errors:192 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000 
          RX bytes:0 (0.0 B)  TX bytes:1027 (1.0 KiB)

lo        Link encap:Boucle locale  
          inet adr:127.0.0.1  Masque:255.0.0.0
          adr inet6: ::1/128 Scope:Hôte
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:68 errors:0 dropped:0 overruns:0 frame:0
          TX packets:68 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0 
          RX bytes:5893 (5.7 KiB)  TX bytes:5893 (5.7 KiB)

                                                                                                                             
                                                                                                                                                                                                      
> lspci | grep -i network                                              
06:00.0 Network controller: Intel Corporation Device 08b1 (rev 6b)	(Sous Debian)                                                                                      
06:00.0 Network controller: Intel Corporation Wireless 7260 (rev 6b)	(Sous Ubuntu)

   
          
> iwlist scan
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.







> sudo nano /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

[/size]

J’ai retrouvé d’autres infos sur la carte wifi, mais rien sur la carte Ethernet :
[size=85]

> lspci -nn 00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller [8086:0c04] (rev 06) 00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller [8086:0c01] (rev 06) 00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06) 00:03.0 Audio device [0403]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c] (rev 06) 00:04.0 Signal processing controller [1180]: Intel Corporation Device [8086:0c03] (rev 06) 00:14.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI [8086:8c31] (rev 05) 00:16.0 Communication controller [0780]: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 [8086:8c3a] (rev 04) 00:1a.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 [8086:8c2d] (rev 05) 00:1b.0 Audio device [0403]: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20] (rev 05) 00:1c.0 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 [8086:8c10] (rev d5) 00:1c.2 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 [8086:8c14] (rev d5) 00:1c.3 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 [8086:8c16] (rev d5) 00:1d.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 [8086:8c26] (rev 05) 00:1f.0 ISA bridge [0601]: Intel Corporation HM87 Express LPC Controller [8086:8c4b] (rev 05) 00:1f.2 RAID bus controller [0104]: Intel Corporation 82801 Mobile SATA Controller [RAID mode] [8086:282a] (rev 05) 00:1f.3 SMBus [0c05]: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller [8086:8c22] (rev 05) 00:1f.6 Signal processing controller [1180]: Intel Corporation 8 Series Chipset Family Thermal Management Controller [8086:8c24] (rev 05) 02:00.0 3D controller [0302]: NVIDIA Corporation GK107M [GeForce GT 750M] [10de:0fe4] (rev a1) 06:00.0 Network controller [0280]: Intel Corporation Wireless 7260 [color=#4000FF][8086:08b1][/color] (rev 6b) 07:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5249 PCI Express Card Reader [10ec:5249] (rev 01) [/size]

D’après le site https://pci-ids.ucw.cz/read/PC/
[8086:08b1] c’est bien une carte Intel modèle 7260

Si vous pouviez m’aider un peu à y voir plus clair ce serait cool. Je nage.
Merci.

eth0 et wlan0 c’est pas pareil. En principe, wlan0, sans fil, eth0 ,avec fil.

D’après le retour d’ifconfig sous debian, l’interface eth0 s’est vue attribuer le numéro IP 192.168.1.10.

[quote] ifconfig eth0 Link encap:Ethernet HWaddr 9c:eb:e8:16:3f:6c inet adr:192.168.1.10 Bcast:192.168.1.255 Masque:255.255.255.0 adr inet6: fe80::9eeb:e8ff:fe16:3f6c/64 Scope:Lien UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:7 errors:192 dropped:0 overruns:0 carrier:0 collisions:0 lg file transmission:1000 RX bytes:0 (0.0 B) TX bytes:1027 (1.0 KiB) [/quote]

Intel® Wireless 7260, Intel® sans fil 7260: wlan0

wireless.kernel.org/en/users/Drivers/iwlwifi

[quote]Intel® Wireless 7260

3.10+

iwlwifi-7260-ucode-22.1.7.0.tgz

3.13+

iwlwifi-7260-ucode-22.24.8.0.tgz

3.14.9+

iwlwifi-7260-ucode-25.228.9.0.tgz

3.17+

iwlwifi-7260-ucode-23.10.10.0.tgz [/quote]

Il te faut un firmware et un noyau plus récent que linux-3.10 pour le faire fonctionner. Regarde le contenu de /lib/firmware d’ubuntu et compare-le à celui de debian.Compare la version d’ubuntu à celle de debian (commande [mono]uname -a[/mono] ou voir versions apparentes en /boot, /lib/modules).

Voir aussi [mono]lspci -v[/mono] afin de voir le module qui prend en charge les différentes interfaces eth0 et wlan0 (kernel driver in use : ?).

J’ai donc ceci :

Sous Ubuntu :
[size=50]

[code]> cd /lib/firmware

ls
3.16.0-23-generic cpia2 htc_9271.fw iwlwifi-6000g2b-6.ucode myri10ge_eth_z8e.dat rt3090.bin usbdux_firmware.bin
3.16.0-28-generic ct2fw-3.2.1.1.bin i2400m-fw-usb-1.4.sbcf iwlwifi-6050-5.ucode myri10ge_rss_eth_big_z8e.dat rt3290.bin usbduxsigma_firmware.bin
3com ct2fw-3.2.3.0.bin i2400m-fw-usb-1.5.sbcf iwlwifi-7260-7.ucode myri10ge_rss_ethp_big_z8e.dat rt73.bin v4l-cx231xx-avcore-01.fw
acenic ctefx.bin i6050-fw-usb-1.5.sbcf iwlwifi-7260-8.ucode myri10ge_rss_ethp_z8e.dat RTL8192E v4l-cx23418-apu.fw
adaptec ctfw-3.2.1.1.bin intel iwlwifi-7260-9.ucode myri10ge_rss_eth_z8e.dat rtl_nic v4l-cx23418-cpu.fw
advansys ctfw-3.2.3.0.bin ipw2100-1.3.fw iwlwifi-7265-8.ucode NPE-B rtlwifi v4l-cx23418-dig.fw
agere_ap_fw.bin ctspeq.bin ipw2100-1.3-i.fw iwlwifi-7265-9.ucode NPE-C s2250.fw v4l-cx2341x-dec.fw
agere_sta_fw.bin cxgb3 ipw2100-1.3-p.fw kaweth ositech s2250_loader.fw v4l-cx2341x-enc.fw
ar3k cxgb4 ipw2200-bss.fw keyspan phanfw.bin s5p-mfc.fw v4l-cx2341x-init.mpg
ar5523.bin dsp56k ipw2200-ibss.fw keyspan_pda qat_895xcc.bin s5p-mfc-v6.fw v4l-cx23885-avcore-01.fw
as102_data1_st.hex dvb-fe-xc4000-1.4.1.fw ipw2200-sniffer.fw korg ql2100_fw.bin s5p-mfc-v6-v2.fw v4l-cx25840.fw
as102_data2_st.hex dvb-fe-xc5000-1.6.114.fw isci lbtf_usb.bin ql2200_fw.bin s5p-mfc-v7.fw v4l-pvrusb2-24xxx-01.fw
asihpi dvb-fe-xc5000c-4.1.30.7.fw iwlwifi-1000-5.ucode lgs8g75.fw ql2300_fw.bin s5p-mfc-v8.fw v4l-pvrusb2-29xxx-01.fw
ath10k dvb-usb-dib0700-1.20.fw iwlwifi-100-5.ucode libertas ql2322_fw.bin sb16 vicam
ath3k-1.fw dvb-usb-it9135-01.fw iwlwifi-105-6.ucode Makefile ql2400_fw.bin scripts vntwusb.fw
ath6k dvb-usb-it9135-02.fw iwlwifi-135-6.ucode matrox ql2500_fw.bin sdd_sagrad_1091_1098.bin vxge
atmel_at76c504_2958.bin dvb-usb-terratec-h5-drxk.fw iwlwifi-2000-6.ucode moxa r128 slicoss WHENCE.ubuntu
atmel_at76c504a_2958.bin ea iwlwifi-2030-6.ucode mrvl r8a779x_usb3_v1.dlmem sun whiteheat.fw
atmsar11.fw edgeport iwlwifi-3160-7.ucode mt7650.bin radeon tehuti whiteheat_loader.fw
av7110 emi26 iwlwifi-3160-8.ucode mts_cdma.fw README ti_3410.fw wsm_22.bin
bnx2x emi62 iwlwifi-3160-9.ucode mts_edge.fw rp2.fw ti_5052.fw yam
brcm ene-ub6250 iwlwifi-3945-2.ucode mts_gsm.fw rsi_91x.fw ti-connectivity yamaha
carl9170-1.fw ess iwlwifi-4965-2.ucode mts_mt9234mu.fw rt2561.bin tigon zd1201-ap.fw
carl9170fw f2255usb.bin iwlwifi-5000-5.ucode mts_mt9234zba.fw rt2561s.bin tlg2300_firmware.bin zd1201.fw
cbfw-3.2.1.1.bin go7007 iwlwifi-5150-2.ucode mwl8k rt2661.bin ttusb-budget zd1211
cbfw-3.2.3.0.bin GPL-3 iwlwifi-6000-4.ucode myri10ge_eth_big_z8e.dat rt2860.bin ueagle-atm
cis hp iwlwifi-6000g2a-5.ucode myri10ge_ethp_big_z8e.dat rt2870.bin usbdux
configure htc_7010.fw iwlwifi-6000g2a-6.ucode myri10ge_ethp_z8e.dat rt3070.bin usbduxfast_firmware.bin

uname -a
Linux morgatte-XPS-15-9530 3.16.0-28-generic #37-Ubuntu SMP Mon Dec 8 17:15:28 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

lspci -v
06:00.0 Network controller: Intel Corporation Wireless 7260 (rev 6b)
Subsystem: Intel Corporation Dual Band Wireless-AC 7260
Flags: bus master, fast devsel, latency 0, IRQ 52
Memory at f7900000 (64-bit, non-prefetchable) [size=8K]
Capabilities:
Kernel driver in use: iwlwifi[/code][/size]

Sous Debian :
[size=50]

[code]> cd /lib/firmware

ls
hp

uname -a
Linux MorgatteXPS 3.2.0-4-amd64 #1 SMP Debian 3.2.63-2+deb7u2 x86_64 GNU/Linux

lspci -v
06:00.0 Network controller: Intel Corporation Device 08b1 (rev 6b)
Subsystem: Intel Corporation Device c470
Flags: bus master, fast devsel, latency 0, IRQ 3
Memory at f7900000 (64-bit, non-prefetchable) [size=8K]
Capabilities:

[/code][/size]

Je viens de télécharger le paquet iwlwifi-7260-ucode-25.228.9.0.tgz dans lequel je retrouve le driver
iwlwifi-7260-9.ucode, du coup je vais faire une copie des drivers suivants vers Debian.
[size=50]iwlwifi-6050-5.ucode iwlwifi-7260-7.ucode iwlwifi-7260-8.ucode iwlwifi-7260-9.ucode[/size]

Par contre je n’ai pas compris d’après le fichier ReadMe.txt la procédure d’install.
Il est dit ceci :
[size=50][quote]2. INSTALLATION

The iwlwifi driver will look for the file iwlwifi-7260-9.ucode using the
kernel’s firmware_class infrastructure. More information can be found under
Documentation/firmware_class in kernel source. In order to function
correctly, you need to have this support enabled in your kernel. When
you configure the kernel, you can find this option in the following
location:

    Device Drivers ->
            Generic Driver Options ->
                    Userspace firmware loading support

You can determine if your kernel currently has firmware loader support
by looking for the CONFIG_FW_LOADER definition on your kernel’s
.config.

In addition to having the firmware_class support in your kernel, you
must also have a working udev and uevent infrastructure configured.
The steps for installing and configuring udev are very
distribution specific.

Once you have the firmware loader in place (or if you aren’t sure and
you just want to try things to see if it works), you need to install
the microcode file into the appropriate location.

Where that appropriate location is depends (again) on your system
distribution. You can typically find this location by looking in the
udev scripts of your distro, the default is /lib/firmware.

Installation of the firmware is simply:

    % cp iwlwifi-7260-9.ucode /lib/firmware

You can now load the driver (see the INSTALL and README.iwlwifi provided with
the iwlwifi package for information on building and using that driver.)[/quote][/size]

Donc Ok pour les recopier dans le bon répertoire, mais je ne sais pas où se trouve le fichier caché .config vu que j’en ai pleins avec la commande suivante :
[size=50]> whereis .config[/size]

Je suppose que ceci est un menu de Debian, faut que je retourne sous Debian pour voir. J’ai pas trop compris cette partie non plus:
[size=50] Device Drivers -> Generic Driver Options -> Userspace firmware loading support[/size]

Bon je n’y comprends rien.

Je suis maintenant sous debian (En Ethernet, pas en Wifi) sans avoir rien fait de nouveau, si ce n’est d’avoir copié les fichiers ci-dessus dans le répertoire /lib/firmware
Je comprends pas.

Si il manque des driver, après avoir booté, regarde dans dmesg.
Il se peut que tu trouves des lignes disant : missing firmware download …
et tu n’as plus qu’a suivre les indications …

Nous dirions que rien n’a changé.eth0 était déjà actif.

[quote=“etxeberrizahar”]
D’après le retour d’ifconfig sous debian, l’interface eth0 s’est vue attribuer le numéro IP 192.168.1.10.

[quote] ifconfig eth0 Link encap:Ethernet HWaddr 9c:eb:e8:16:3f:6c inet adr:192.168.1.10 Bcast:192.168.1.255 Masque:255.255.255.0 adr inet6: fe80::9eeb:e8ff:fe16:3f6c/64 Scope:Lien UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:7 errors:192 dropped:0 overruns:0 carrier:0 collisions:0 lg file transmission:1000 RX bytes:0 (0.0 B) TX bytes:1027 (1.0 KiB) [/quote][/quote]
(Nous remarquons aussi les erreurs errors:192)

Pour ce qui est de .config et de generic drivers …tu t’engages dans une voie compliquée.
Le config en question est lié au noyau.
Pour voir le config du noyau démarré :

$ cat /boot/config-`uname -r`

Nous dirions que tu n’as pas besoin d’apprendre à compiler le noyau pour un pauvre firmware.
Il te suffirait de retenir ça :

[quote]Installation of the firmware is simply:

% cp iwlwifi-7260-9.ucode /lib/firmware[/quote]
Copier (cp) le firmware en /lib/firmware.
Le reste des instructions s’adresse à ceux qui veulent compiler le noyau linux à partir des sources du noyau avec des options personnalisées. Dans le cas présent, tu n’as pas besoin de compiler un noyau à ta main. Il te suffirait d’installer un noyau plus récent que celui de wheezy. Un noyau prêt à l’emploi que l’on installe à partir des dépôts debian. Pour installer un noyau plus récent en stable sans passer par la compilation autonome, voir les dépôts backports.