[Config Réseau] Comment configurer une autre carte réseau ???

Questions et astuces concernant l'installation et la configuration d'archlinux
ricco75
Hankyu
Messages : 36
Inscription : mar. 13 avr. 2010, 18:23

[Config Réseau] Comment configurer une autre carte réseau ???

Message par ricco75 »

Bonjour à tous
je découvre Arch linux et je n'ai peut-être pas les bons réflexes....

je me suis inspiré de ce site :

http://blog.programmableproduction.com/ ... th-Netctl/

Voila mon problème :
J'ai 2 cartes réseaux Ethernet
- carte ethernet carte mère (enp0s10)
- Adaptateur USB /Ethernet ( enp0s4flu2)

Au démarrage de l'ordinateur s'affiche :
[Failed] Failed to start A basic Static Ethernet connection.
[test@archlinux netctl]$ ifconfig
enp0s10: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.90 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 2a01:e0a:2b7:c450:6ef:25e:60ff:eef prefixlen 64 scopeid 0x0<global>
inet6 fe80::31ba:af8:eb46:b652 prefixlen 64 scopeid 0x20<link>
ether 00:01:6c:6d:a5:df txqueuelen 1000 (Ethernet)
RX packets 1883 bytes 266876 (260.6 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1073 bytes 118390 (115.6 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

enp0s4f1u2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::4046:3d12:12f3:a970 prefixlen 64 scopeid 0x20<link>
ether 00:50:b6:ca:bb:5b txqueuelen 1000 (Ethernet)
RX packets 46 bytes 2116 (2.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 13 bytes 2146 (2.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

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 (Local Loopback)
RX packets 258 bytes 16182 (15.8 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 258 bytes 16182 (15.8 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
J'ai créé 2 fichiers sous /etc/netctl:
enp0s10
Description='A basic static ethernet connection'
Interface=enp0s10
Connection=ethernet
IP=static
Address=('192.168.0.90/24')
Gateway=('192.168.0.254')
DNS=('192.168.0.254' '8.8.4.4')
enp0s4f1u2
Description='USB ETHERNET Adaptator'
Interface=enp0s4flu2
Connection=ethernet
IP=static
Address=('192.168.2.90/24')
#Routes=('192.168.2.0/24 via 192.168.1.2')
Gateway='192.168.2.1'
DNS=('192.168.2.1' '8.8.4.4'))
Je ne comprends pas le problème
Merci d'avance
ricco75
Hankyu
Messages : 36
Inscription : mar. 13 avr. 2010, 18:23

Re: [Config Réseau] Comment configurer une autre carte réseau ???

Message par ricco75 »

[test@archlinux ~]$ systemctl status netctl@enp0s4flu2.service
netctl@enp0s4flu2.service - Networking for netctl profile enp0s4flu2
Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static)
Active: failed (Result: exit-code) since Sun 2020-11-15 13:56:38 CET; 16s ago
Docs: man:netctl.profile(5)
Process: 808 ExecStart=/usr/lib/netctl/network start enp0s4flu2 (code=exited, status=1/FAILURE)
Main PID: 808 (code=exited, status=1/FAILURE)

Nov 15 13:56:38 archlinux systemd[1]: Starting Networking for netctl profile enp0s4flu2...
Nov 15 13:56:38 archlinux network[808]: Profile 'enp0s4flu2' does not exist or is not readable
Nov 15 13:56:38 archlinux systemd[1]: netctl@enp0s4flu2.service: Main process exited, code=exited, status>
Nov 15 13:56:38 archlinux systemd[1]: netctl@enp0s4flu2.service: Failed with result 'exit-code'.
Nov 15 13:56:38 archlinux systemd[1]: Failed to start Networking for netctl profile enp0s4flu2.
Ryuta
newbie
Messages : 8
Inscription : sam. 08 juil. 2017, 08:29

Re: [Config Réseau] Comment configurer une autre carte réseau ???

Message par Ryuta »

fait :
netctl list
et
ls -l /etc/netctl
Répondre