cable débranché.
ifconfig
[michel@localhost ~]$ ifconfig
em1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 00:13:a9:82:89:27 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
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 0 (Boucle locale)
RX packets 654 bytes 57248 (55.9 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 654 bytes 57248 (55.9 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlp6s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.200 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::213:2ff:fe32:3f80 prefixlen 64 scopeid 0x20<link>
ether 00:13:02:32:3f:80 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 143 bytes 24374 (23.8 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
[michel@localhost ~]$
ping 192.168.1.1
[michel@localhost ~]$ ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.200 icmp_seq=1 Destination Host Unreachable
From 192.168.1.200 icmp_seq=2 Destination Host Unreachable
From 192.168.1.200 icmp_seq=3 Destination Host Unreachable
From 192.168.1.200 icmp_seq=4 Destination Host Unreachable
^C
--- 192.168.1.1 ping statistics ---
5 packets transmitted, 0 received, +4 errors, 100% packet loss, time 4000ms
pipe 4
[michel@localhost ~]$
j'ai mis une ip manuellement, mais l'ip de la passerrelle ne correspond pas à ce que j'ai mis.
en dhcp, la carte n'obtient pas d'ip (c'est ok avec pour un autre poste en dhcp)
/etc/sysconfig/network-scripts/ifcfg-NEUF_1EFC (la box)
[michel@localhost network-scripts]$ more ifcfg-NEUF_1EFC
ESSID="NEUF_1EFC"
MODE=Ad-Hoc
TYPE=Wireless
BOOTPROTO=none
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
NAME=NEUF_1EFC
UUID=74e0a288-2b9b-4504-aa7d-8a47213617dc
ONBOOT=yes
HWADDR=00:13:02:32:3F:80
MACADDR=B7:5C:92:D4:ED:A8
SECURITYMODE=restricted
DEFAULTKEY=1
IPADDR0=192.168.1.200
PREFIX0=24
GATEWAY0=192.168.1.1
DNS1=192.168.1.1
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
IPV6_PRIVACY=no
[michel@localhost network-scripts]$
/etc/sysconfig/network-scripts/ifcfg-lo (?)
[michel@localhost network-scripts]$ more ifcfg-lo
DEVICE=lo
IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
# If you're having problems with gated making 127.0.0.0/8 a martian,
# you can change this to something else (255.255.255.255, for example)
BROADCAST=127.255.255.255
ONBOOT=yes
NAME=loopback
[michel@localhost network-scripts]$
/etc/sysconfig/network-scripts/ifcfg-enp10s8 (?)
[michel@localhost network-scripts]$ more ifcfg-enp10s8
TYPE=Ethernet
BOOTPROTO=dhcp
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
NAME=enp10s8
UUID=af8f3a28-afbd-4425-9ca6-a770bc08ed01
ONBOOT=yes
HWADDR=00:13:A9:82:89:27
PEERDNS=yes
PEERROUTES=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
IPV6_PRIVACY=no
[michel@localhost network-scripts]$
A+