configurer cle USB/Ethernet [Résolu]

trazomtg
Messages : 148
Inscription : 19 juillet 2016, 13:27

Re: configurer cle USB/Ethernet

Message par trazomtg » 27 juillet 2018, 19:56

voila le résultat:

Code : Tout sélectionner

[root@msi-CentOS ~]# dmesg | grep enp4s0
[   31.436516] IPv6: ADDRCONF(NETDEV_UP): enp4s0: link is not ready
[   31.437116] IPv6: ADDRCONF(NETDEV_UP): enp4s0: link is not ready
[   31.437892] alx 0000:04:00.0 enp4s0: NIC Up: 1 Gbps Full
[   31.438185] IPv6: ADDRCONF(NETDEV_CHANGE): enp4s0: link becomes ready
[59474.439483] IPv6: ADDRCONF(NETDEV_UP): enp4s0: link is not ready
[59474.439974] IPv6: ADDRCONF(NETDEV_UP): enp4s0: link is not ready
[59474.440753] alx 0000:04:00.0 enp4s0: NIC Up: 1 Gbps Full
[59474.441029] IPv6: ADDRCONF(NETDEV_CHANGE): enp4s0: link becomes ready
[root@msi-CentOS ~]# dmesg | grep wlp5s0
[   31.623241] IPv6: ADDRCONF(NETDEV_UP): wlp5s0: link is not ready
[   32.051291] IPv6: ADDRCONF(NETDEV_UP): wlp5s0: link is not ready
[   32.479388] IPv6: ADDRCONF(NETDEV_UP): wlp5s0: link is not ready
[   32.838417] IPv6: ADDRCONF(NETDEV_UP): wlp5s0: link is not ready
[   34.683723] IPv6: ADDRCONF(NETDEV_UP): wlp5s0: link is not ready
[   35.693095] wlp5s0: authenticate with f4:ca:e5:f3:d1:e0
[   35.719512] wlp5s0: send auth to f4:ca:e5:f3:d1:e0 (try 1/3)
[   35.721661] wlp5s0: authenticated
[   35.726276] wlp5s0: associate with f4:ca:e5:f3:d1:e0 (try 1/3)
[   35.730333] wlp5s0: RX AssocResp from f4:ca:e5:f3:d1:e0 (capab=0x411 status=0 aid=4)
[   35.730533] wlp5s0: associated
[   35.730544] IPv6: ADDRCONF(NETDEV_CHANGE): wlp5s0: link becomes ready
[ 2183.768991] wlp5s0: deauthenticated from f4:ca:e5:f3:d1:e0 (Reason: 7=CLASS3_FRAME_FROM_NONASSOC_STA)
[ 2183.890598] wlp5s0: authenticate with f4:ca:e5:f3:d1:e0
[ 2183.904009] wlp5s0: send auth to f4:ca:e5:f3:d1:e0 (try 1/3)
[ 2183.906111] wlp5s0: authenticated
[ 2183.908405] wlp5s0: associate with f4:ca:e5:f3:d1:e0 (try 1/3)
[ 2183.912370] wlp5s0: RX AssocResp from f4:ca:e5:f3:d1:e0 (capab=0x411 status=0 aid=5)
[ 2183.912545] wlp5s0: associated
[20418.766791] wlp5s0: deauthenticated from f4:ca:e5:f3:d1:e0 (Reason: 7=CLASS3_FRAME_FROM_NONASSOC_STA)
[20418.827315] wlp5s0: authenticate with f4:ca:e5:f3:d1:e0
[20418.840731] wlp5s0: send auth to f4:ca:e5:f3:d1:e0 (try 1/3)
[20418.844203] wlp5s0: authenticated
[20418.845136] wlp5s0: associate with f4:ca:e5:f3:d1:e0 (try 1/3)
[20418.850684] wlp5s0: RX AssocResp from f4:ca:e5:f3:d1:e0 (capab=0x411 status=0 aid=3)
[20418.850844] wlp5s0: associated
[30438.123553] wlp5s0: deauthenticated from f4:ca:e5:f3:d1:e0 (Reason: 7=CLASS3_FRAME_FROM_NONASSOC_STA)
[30438.185510] wlp5s0: authenticate with f4:ca:e5:f3:d1:e0
[30438.198953] wlp5s0: send auth to f4:ca:e5:f3:d1:e0 (try 1/3)
[30438.203993] wlp5s0: authenticated
[30438.204296] wlp5s0: associate with f4:ca:e5:f3:d1:e0 (try 1/3)
[30438.210148] wlp5s0: RX AssocResp from f4:ca:e5:f3:d1:e0 (capab=0x411 status=0 aid=5)
[30438.210328] wlp5s0: associated
[30751.238355] wlp5s0: disassociated from f4:ca:e5:f3:d1:e0 (Reason: 4=DISASSOC_DUE_TO_INACTIVITY)
[30751.288433] wlp5s0: authenticate with f4:ca:e5:f3:d1:e0
[30751.301906] wlp5s0: send auth to f4:ca:e5:f3:d1:e0 (try 1/3)
[30751.306789] wlp5s0: authenticated
[30751.307254] wlp5s0: associate with f4:ca:e5:f3:d1:e0 (try 1/3)
[30751.311071] wlp5s0: RX AssocResp from f4:ca:e5:f3:d1:e0 (capab=0x411 status=0 aid=5)
[30751.311219] wlp5s0: associated
[40915.301840] wlp5s0: deauthenticated from f4:ca:e5:f3:d1:e0 (Reason: 7=CLASS3_FRAME_FROM_NONASSOC_STA)
[40915.366044] wlp5s0: authenticate with f4:ca:e5:f3:d1:e0
[40915.379464] wlp5s0: send auth to f4:ca:e5:f3:d1:e0 (try 1/3)
[40915.382656] wlp5s0: authenticated
[40915.383718] wlp5s0: associate with f4:ca:e5:f3:d1:e0 (try 1/3)
[40915.387765] wlp5s0: RX AssocResp from f4:ca:e5:f3:d1:e0 (capab=0x411 status=0 aid=3)
[40915.387931] wlp5s0: associated
[59467.971908] wlp5s0: deauthenticating from f4:ca:e5:f3:d1:e0 by local choice (Reason: 3=DEAUTH_LEAVING)
[59468.393964] IPv6: ADDRCONF(NETDEV_UP): wlp5s0: link is not ready
[59474.442445] IPv6: ADDRCONF(NETDEV_UP): wlp5s0: link is not ready
[59474.848907] IPv6: ADDRCONF(NETDEV_UP): wlp5s0: link is not ready
[59475.257158] IPv6: ADDRCONF(NETDEV_UP): wlp5s0: link is not ready
[59477.009780] IPv6: ADDRCONF(NETDEV_UP): wlp5s0: link is not ready
[59478.858974] IPv6: ADDRCONF(NETDEV_UP): wlp5s0: link is not ready
[59479.889952] wlp5s0: authenticate with f4:ca:e5:f3:d1:e0
[59479.915608] wlp5s0: send auth to f4:ca:e5:f3:d1:e0 (try 1/3)
[59479.919610] wlp5s0: authenticated
[59479.920943] wlp5s0: associate with f4:ca:e5:f3:d1:e0 (try 1/3)
[59479.926005] wlp5s0: RX AssocResp from f4:ca:e5:f3:d1:e0 (capab=0x411 status=0 aid=4)
[59479.926174] wlp5s0: associated
[59479.926200] IPv6: ADDRCONF(NETDEV_CHANGE): wlp5s0: link becomes ready
[root@msi-CentOS ~]# dmesg | grep enp0s20u2
[   32.481729] IPv6: ADDRCONF(NETDEV_UP): enp0s20u2: link is not ready
[   32.798907] IPv6: ADDRCONF(NETDEV_UP): enp0s20u2: link is not ready
[   35.756840] ax88179_178a 4-2:1.0 enp0s20u2: ax88179 - Link status is: 1
[   35.766021] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s20u2: link becomes ready
[57044.561237] ax88179_178a 4-2:1.0 enp0s20u2: unregister 'ax88179_178a' usb-0000:00:14.0-2, ASIX AX88179 USB 3.0 Gigabit Ethernet
[57044.561252] ax88179_178a 4-2:1.0 enp0s20u2: Failed to read reg index 0x0002: -19
[57044.561255] ax88179_178a 4-2:1.0 enp0s20u2: Failed to write reg index 0x0002: -19
[57059.645795] IPv6: ADDRCONF(NETDEV_UP): enp0s20u2: link is not ready
[57059.961018] IPv6: ADDRCONF(NETDEV_UP): enp0s20u2: link is not ready
[57062.926572] ax88179_178a 3-2:1.0 enp0s20u2: ax88179 - Link status is: 1
[57062.931530] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s20u2: link becomes ready
[57065.193360] ax88179_178a 3-2:1.0 enp0s20u2: unregister 'ax88179_178a' usb-0000:00:14.0-2, ASIX AX88179 USB 3.0 Gigabit Ethernet
[57065.193374] ax88179_178a 3-2:1.0 enp0s20u2: Failed to read reg index 0x0002: -19
[57065.193377] ax88179_178a 3-2:1.0 enp0s20u2: Failed to write reg index 0x0002: -19
[57074.162663] IPv6: ADDRCONF(NETDEV_UP): enp0s20u2: link is not ready
[57074.166250] ax88179_178a 4-2:1.0 enp0s20u2: Failed to write reg index 0x0002: -71
[57074.169755] ax88179_178a 4-2:1.0 enp0s20u2: Failed to write reg index 0x0002: -71
[57074.373499] ax88179_178a 4-2:1.0 enp0s20u2: Failed to write reg index 0x0001: -71
[57074.477628] ax88179_178a 4-2:1.0 enp0s20u2: Failed to read reg index 0x0001: -71
[57074.481106] ax88179_178a 4-2:1.0 enp0s20u2: Failed to read reg index 0x0006: -71
[57074.484608] ax88179_178a 4-2:1.0 enp0s20u2: Failed to write reg index 0x0005: -71
[57074.488103] ax88179_178a 4-2:1.0 enp0s20u2: Failed to write reg index 0x0001: -71
[57074.491522] ax88179_178a 4-2:1.0 enp0s20u2: Failed to write reg index 0x0001: -71
[57074.495040] ax88179_178a 4-2:1.0 enp0s20u2: Failed to write reg index 0x0001: -71
[57074.498612] ax88179_178a 4-2:1.0 enp0s20u2: Failed to write reg index 0x0001: -71
[57074.502107] ax88179_178a 4-2:1.0 enp0s20u2: Failed to write reg index 0x0002: -71
[57074.505611] ax88179_178a 4-2:1.0 enp0s20u2: Failed to write reg index 0x0001: -71
[57074.509040] ax88179_178a 4-2:1.0 enp0s20u2: Failed to write reg index 0x0002: -71
[57074.512502] ax88179_178a 4-2:1.0 enp0s20u2: Failed to read reg index 0x0001: -71
[57074.516000] ax88179_178a 4-2:1.0 enp0s20u2: Failed to write reg index 0x0001: -71
[57074.519500] ax88179_178a 4-2:1.0 enp0s20u2: Failed to write reg index 0x001f: -71
[57074.523000] ax88179_178a 4-2:1.0 enp0s20u2: Failed to write reg index 0x0019: -71
[57074.526502] ax88179_178a 4-2:1.0 enp0s20u2: Failed to write reg index 0x001f: -71
[57074.530000] ax88179_178a 4-2:1.0 enp0s20u2: Failed to write reg index 0x000d: -71
[57074.533496] ax88179_178a 4-2:1.0 enp0s20u2: Failed to write reg index 0x000e: -71
[57074.537000] ax88179_178a 4-2:1.0 enp0s20u2: Failed to write reg index 0x000d: -71
[57074.540500] ax88179_178a 4-2:1.0 enp0s20u2: Failed to read reg index 0x000e: -71
[57074.544002] ax88179_178a 4-2:1.0 enp0s20u2: Failed to write reg index 0x000d: -71
[57074.547501] ax88179_178a 4-2:1.0 enp0s20u2: Failed to write reg index 0x000e: -71
[57074.550997] ax88179_178a 4-2:1.0 enp0s20u2: Failed to write reg index 0x000d: -71
[57074.554505] ax88179_178a 4-2:1.0 enp0s20u2: Failed to write reg index 0x000e: -71
[57074.558000] ax88179_178a 4-2:1.0 enp0s20u2: Failed to read reg index 0x0000: -71
[57074.561501] ax88179_178a 4-2:1.0 enp0s20u2: Failed to write reg index 0x0000: -71
[57074.561556] IPv6: ADDRCONF(NETDEV_UP): enp0s20u2: link is not ready
[58686.984103] ax88179_178a 4-2:1.0 enp0s20u2: unregister 'ax88179_178a' usb-0000:00:14.0-2, ASIX AX88179 USB 3.0 Gigabit Ethernet
[58686.984135] ax88179_178a 4-2:1.0 enp0s20u2: Failed to read reg index 0x0002: -19
[58686.984142] ax88179_178a 4-2:1.0 enp0s20u2: Failed to write reg index 0x0002: -19
[58749.043068] IPv6: ADDRCONF(NETDEV_UP): enp0s20u2: link is not ready
[58749.357157] IPv6: ADDRCONF(NETDEV_UP): enp0s20u2: link is not ready
[58752.296379] ax88179_178a 4-2:1.0 enp0s20u2: ax88179 - Link status is: 1
[58752.302430] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s20u2: link becomes ready
[59475.258977] IPv6: ADDRCONF(NETDEV_UP): enp0s20u2: link is not ready
[59475.572336] IPv6: ADDRCONF(NETDEV_UP): enp0s20u2: link is not ready
[59478.728363] ax88179_178a 4-2:1.0 enp0s20u2: ax88179 - Link status is: 1
[59478.860156] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s20u2: link becomes ready

trazomtg
Messages : 148
Inscription : 19 juillet 2016, 13:27

Re: configurer cle USB/Ethernet

Message par trazomtg » 27 juillet 2018, 20:03

la commande journalctl -xf quand je branche la cle USB /Eternet me renvoie :

uil. 27 20:00:09 msi-CentOS kernel: ax88179_178a 4-2:1.0 enp0s20u2: ax88179 - Link status is: 1
juil. 27 20:00:09 msi-CentOS kernel: IPv6: ADDRCONF(NETDEV_CHANGE): enp0s20u2: link becomes ready
juil. 27 20:00:09 msi-CentOS NetworkManager[900]: <info> [1532714409.7793] device (enp0s20u2): carrier: link connected
juil. 27 20:00:09 msi-CentOS NetworkManager[900]: <info> [1532714409.7832] device (enp0s20u2): state change: unavailable -> disconnected (reason 'carrier-changed', sys-iface-state: 'managed')

Beta-Pictoris
Messages : 1017
Inscription : 07 janvier 2014, 21:48
Localisation : Angers, France

Re: configurer cle USB/Ethernet

Message par Beta-Pictoris » 27 juillet 2018, 20:14

Ok, on voit bien, cette fois-ci, que ton adapateur usb 'ax88179' est associé au profil réseau 'enp0s20u2'.

trazomtg
Messages : 148
Inscription : 19 juillet 2016, 13:27

Re: configurer cle USB/Ethernet

Message par trazomtg » 27 juillet 2018, 20:17

et je fais quoi maintenant?

trazomtg
Messages : 148
Inscription : 19 juillet 2016, 13:27

Re: configurer cle USB/Ethernet

Message par trazomtg » 27 juillet 2018, 20:20

ma cle est connectée à un switch sur lequel sont connectées 3 machines pour l'accés à internet et aucune machine ne peut se connecter

Beta-Pictoris
Messages : 1017
Inscription : 07 janvier 2014, 21:48
Localisation : Angers, France

Re: configurer cle USB/Ethernet

Message par Beta-Pictoris » 27 juillet 2018, 23:05

Je ne comprend pas trop ta configuration réseau.
Ta machine équipée de ton adapateur usb fait-elle office de routeur pour les 3 autres machines ?

trazomtg
Messages : 148
Inscription : 19 juillet 2016, 13:27

Re: configurer cle USB/Ethernet

Message par trazomtg » 28 juillet 2018, 11:49

bonjour,
voici ma configuration:

une Freebox
un ordi A connecté en Ethernet
sur cet ordi A j'ai installé mon adaptateur USB/Ethernet et à cet ordi A est connecté un switch non administrable
à ce switch sont connectées 3 machines

voila
merci

Beta-Pictoris
Messages : 1017
Inscription : 07 janvier 2014, 21:48
Localisation : Angers, France

Re: configurer cle USB/Ethernet

Message par Beta-Pictoris » 28 juillet 2018, 13:49

Tu dois faire du routage ou de la translation nat

Avec firewalld, la translation nat est facile. il suffit de mettre ton interface usb dans une zone différente de ton interface liée à ta box, puis appliquer la directive "masquerade" à l'interface liée à ta box.
Tu dois ensuite fixer l'adresse ip de ton interface usb et mettre tes autres machines dans le même réseau.

Regarde ceci: https://www.certdepot.net/rhel7-get-started-firewalld/

trazomtg
Messages : 148
Inscription : 19 juillet 2016, 13:27

Re: configurer cle USB/Ethernet

Message par trazomtg » 28 juillet 2018, 15:00

merci pour tout; donc mon adaptateur esr ok?

Beta-Pictoris
Messages : 1017
Inscription : 07 janvier 2014, 21:48
Localisation : Angers, France

Re: configurer cle USB/Ethernet

Message par Beta-Pictoris » 28 juillet 2018, 15:36

Pour moi, il est pris en charge par ton système comme les autres interfaces réseaux.
Tu verras si le driver est stable à l'utilisation.

Répondre