#26 Le 23/09/2017, à 18:27
- achtungbaby
Re : [Résolu]Partage de connexion internet via USB
en refaisant la manoeuvre je me rend compte d'un message d'erreur :
./wificheck: ligne 74: nm-tool : commande introuvable
>> cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=17.04
DISTRIB_CODENAME=zesty
DISTRIB_DESCRIPTION="Ubuntu 17.04"
>> lsusb
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 10f1:1a43 Importek
Bus 001 Device 004: ID 8087:07da Intel Corp.
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 046d:c52f Logitech, Inc. Unifying Receiver
Bus 003 Device 004: ID 22b8:2e24 Motorola PCS
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>> lspci -k -nn | grep -A 3 -i net
07:00.0 Ethernet controller [0200]: Qualcomm Atheros AR8161 Gigabit Ethernet [1969:1091] (rev 10)
Subsystem: Toshiba America Info Systems AR8161 Gigabit Ethernet [1179:ff1e]
Kernel driver in use: alx
Kernel modules: alx
08:00.0 Network controller [0280]: Intel Corporation Centrino Wireless-N 2230 [8086:0887] (rev c4)
Subsystem: Intel Corporation Centrino Wireless-N 2230 BGN [8086:4062]
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
>> sudo lshw -C network
*-network DÉSACTIVÉ
description: Ethernet interface
produit: AR8161 Gigabit Ethernet
fabriquant: Qualcomm Atheros
identifiant matériel: 0
information bus: pci@0000:07:00.0
nom logique: eth0
version: 10
numéro de série: 00:8c:fa:36:4a:fe
capacité: 1Gbit/s
bits: 64 bits
horloge: 33MHz
fonctionnalités: pm pciexpress msi msix bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=alx latency=0 link=no multicast=yes port=twisted pair
ressources: irq:16 mémoire:da600000-da63ffff portE/S:2000(taille=128)
*-network
description: Interface réseau sans fil
produit: Centrino Wireless-N 2230
fabriquant: Intel Corporation
identifiant matériel: 0
information bus: pci@0000:08:00.0
nom logique: wlan0
version: c4
numéro de série: 60:36:dd:b9:5c:c1
bits: 64 bits
horloge: 33MHz
fonctionnalités: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=4.10.0-35-generic firmware=18.168.6.1 ip=192.168.1.14 latency=0 link=yes multicast=yes wireless=IEEE 802.11
ressources: irq:32 mémoire:da500000-da501fff
*-network DÉSACTIVÉ
description: Ethernet interface
identifiant matériel: 1
nom logique: enp0s20u3
numéro de série: 26:cb:c0:c4:ff:3b
fonctionnalités: ethernet physical
configuration: broadcast=yes driver=rndis_host driverversion=22-Aug-2005 firmware=RNDIS device link=no multicast=yes
>> lsmod
Module Size Used by
rndis_host 16384 0
cdc_ether 16384 1 rndis_host
usbnet 45056 2 rndis_host,cdc_ether
mii 16384 1 usbnet
rfcomm 77824 2
cmac 16384 1
bnep 20480 2
binfmt_misc 20480 1
nls_iso8859_1 16384 1
btusb 45056 0
btrtl 16384 1 btusb
btbcm 16384 1 btusb
btintel 16384 1 btusb
bluetooth 557056 31 btrtl,btintel,bnep,btbcm,rfcomm,btusb
arc4 16384 2
iwldvm 233472 0
mac80211 782336 1 iwldvm
uvcvideo 90112 0
videobuf2_vmalloc 16384 1 uvcvideo
videobuf2_memops 16384 1 videobuf2_vmalloc
videobuf2_v4l2 24576 1 uvcvideo
videobuf2_core 40960 2 uvcvideo,videobuf2_v4l2
videodev 172032 3 uvcvideo,videobuf2_core,videobuf2_v4l2
media 40960 2 uvcvideo,videodev
iwlwifi 229376 1 iwldvm
snd_hda_codec_hdmi 49152 1
snd_hda_codec_realtek 90112 1
cfg80211 602112 3 iwlwifi,mac80211,iwldvm
snd_hda_codec_generic 73728 1 snd_hda_codec_realtek
snd_hda_intel 36864 3
snd_hda_codec 126976 4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
rtsx_pci_ms 20480 0
memstick 16384 1 rtsx_pci_ms
joydev 20480 0
intel_rapl 20480 0
x86_pkg_temp_thermal 16384 0
intel_powerclamp 16384 0
coretemp 16384 0
kvm_intel 200704 0
kvm 593920 1 kvm_intel
snd_hda_core 81920 5 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
snd_hwdep 16384 1 snd_hda_codec
snd_pcm 102400 4 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
mei_me 40960 0
input_leds 16384 0
snd_seq_midi 16384 0
snd_seq_midi_event 16384 1 snd_seq_midi
snd_rawmidi 32768 1 snd_seq_midi
snd_seq 65536 2 snd_seq_midi_event,snd_seq_midi
snd_seq_device 16384 3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer 32768 2 snd_seq,snd_pcm
toshiba_bluetooth 16384 0
mei 102400 1 mei_me
lpc_ich 24576 0
toshiba_acpi 45056 0
sparse_keymap 16384 1 toshiba_acpi
industrialio 69632 1 toshiba_acpi
snd 77824 17 snd_hda_intel,snd_hwdep,snd_seq,snd_hda_codec,snd_timer,snd_rawmidi,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_seq_device,snd_hda_codec_realtek,snd_pcm
irqbypass 16384 1 kvm
soundcore 16384 1 snd
shpchp 36864 0
crct10dif_pclmul 16384 0
crc32_pclmul 16384 0
ghash_clmulni_intel 16384 0
pcbc 16384 0
aesni_intel 167936 2
serio_raw 16384 0
toshiba_haps 16384 0
mac_hid 16384 0
aes_x86_64 20480 1 aesni_intel
crypto_simd 16384 1 aesni_intel
glue_helper 16384 1 aesni_intel
cryptd 24576 3 crypto_simd,ghash_clmulni_intel,aesni_intel
intel_cstate 20480 0
intel_rapl_perf 16384 0
parport_pc 32768 0
ppdev 20480 0
lp 20480 0
parport 49152 3 lp,parport_pc,ppdev
ip_tables 24576 0
x_tables 36864 1 ip_tables
autofs4 40960 2
hid_generic 16384 0
usbhid 53248 0
hid 114688 3 hid_generic,usbhid
nouveau 1601536 1
i915 1449984 86
rtsx_pci_sdmmc 24576 0
mxm_wmi 16384 1 nouveau
ttm 98304 1 nouveau
i2c_algo_bit 16384 2 nouveau,i915
drm_kms_helper 151552 2 nouveau,i915
syscopyarea 16384 1 drm_kms_helper
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
fb_sys_fops 16384 1 drm_kms_helper
psmouse 139264 0
ahci 36864 3
drm 352256 9 nouveau,i915,ttm,drm_kms_helper
alx 45056 0
libahci 32768 1 ahci
rtsx_pci 57344 2 rtsx_pci_sdmmc,rtsx_pci_ms
mdio 16384 1 alx
fjes 73728 0
wmi 16384 3 toshiba_acpi,mxm_wmi,nouveau
video 40960 3 toshiba_acpi,nouveau,i915
>> iwconfig
wlan0 IEEE 802.11 ESSID:"Bbox-E6C10C7E"
Mode:Managed Frequency:2.437 GHz Access Point: C0:AC:54:07:6D:C0
Bit Rate=54 Mb/s Tx-Power=16 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:on
Link Quality=53/70 Signal level=-57 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:2178 Missed beacon:0
>> ifconfig -a
enp0s20u3: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 26:cb:c0:c4:ff:3b txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth0: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 00:8c:fa:36:4a:fe txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 16
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Boucle locale)
RX packets 18 bytes 1260 (1.2 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 18 bytes 1260 (1.2 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.14 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::6236:ddff:feb9:5cc1 prefixlen 64 scopeid 0x20<link>
ether 60:36:dd:b9:5c:c1 txqueuelen 1000 (Ethernet)
RX packets 48281 bytes 46059930 (46.0 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 38569 bytes 8936319 (8.9 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
>> sudo iwlist scan
wlan0 Scan completed :
Cell 01 - Address: C0:AC:54:07:6D:C0
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=51/70 Signal level=-59 dBm
Encryption key:on
ESSID:"Bbox-E6C10C7E"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
18 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
Mode:Master
Extra:tsf=000002fd6058cd40
Extra: Last beacon: 96ms ago
IE: Unknown: 000D42626F782D4536433130433745
IE: Unknown: 010882848B961224486C
IE: Unknown: 030106
IE: Unknown: 2A0104
IE: Unknown: 32040C183060
IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
IE: Unknown: 0B05030008127A
IE: Unknown: DD07000C4307000000
IE: Unknown: DD07000C4307000000
IE: Unknown: DD07000C4307000000
IE: Unknown: DD07000C4307000000
IE: Unknown: DD07000C4307000000
IE: Unknown: 0706465220010D10
>> uname -r -m
4.10.0-35-generic x86_64
>> cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
>> nm-tool
>> nmcli dev wifi
* SSID MODE CHAN DÉBIT SIGNAL BARS SÉCURITÉ
* Bbox-E6C10C7E Infra 6 54 Mo/s 69 ▂▄▆_ WEP
>> nmcli connection show
NOM UUID TYPE PÉRIPHÉRIQUE
Bbox-E6C10C7E 76df0fc5-bafa-4a9e-8ba0-68bbe28e320f 802-11-wireless wlan0
Bbox-E6C10C7E 1 ec3a6b55-b8ff-44d0-bc7b-d102f12e62e9 802-11-wireless --
Bouygues Telecom Wi-Fi 7c47ceca-42ec-402f-9448-1e6a3d6421f2 802-11-wireless --
FreeWifi 038e106a-dc18-487f-8644-4978ac1a2263 802-11-wireless --
HTC Portable Hotspot E4E5 01230aed-5503-4913-9878-3fffcd36b988 802-11-wireless --
Livebox-4f8c 5ac5f747-5c2b-4b1e-a3fb-1626a8837f5a 802-11-wireless --
Lupulin-WiFi 5a0f5957-d30e-4225-8030-c6c7fafdd415 802-11-wireless --
My ASUS d7ab005e-fb36-433b-99f0-6baa40767f90 802-11-wireless --
Réseau Gautier 400f6ae2-e329-4840-a59e-3e8c187762e0 bluetooth --
XT1052 6188 68dfbd26-e08a-412a-a8fa-24ec7f6e046b 802-11-wireless --
XT1572 1133 ccaa5119-b7d1-4ed2-8c3d-facac8e8aa57 802-11-wireless --
ibis Styles WiFi aac8ca10-6b01-4152-b0d0-5cc672281c91 802-11-wireless --
wifipass_Pierre_Vacances aae3d400-0894-4d14-a562-6f0b823be580 802-11-wireless --
>> sudo rfkill list
0: Toshiba Bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
2: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
Hors ligne
#27 Le 23/09/2017, à 18:41
- Nuliel
Re : [Résolu]Partage de connexion internet via USB
nm-tool n'existe plus depuis ubuntu 16.04 compris, donc c'est normal.
Ah, c'est déjà mieux! On voit le téléphone dans la commande ifconfig -a, et en plus dans la commande lshw, on voit que l'interface est désactivée.
Peux tu tenter
ifup enp0s20u3
pour activer l'interface
Dernière modification par Nuliel (Le 23/09/2017, à 18:42)
Hors ligne
#28 Le 23/09/2017, à 19:15
- achtungbaby
Re : [Résolu]Partage de connexion internet via USB
j'ai un message d'erreur :
Unknown interface enp0s20u3
Hors ligne
#29 Le 24/09/2017, à 08:45
- achtungbaby
Re : [Résolu]Partage de connexion internet via USB
Problème résolu, j'ai trouvé la solution ici :
Hors ligne