Une fois le PA activé sur mon laptop, je n'ai plus d'accès internet.
root@pc:/# /etc/init.d/network-manager stop
[ ok ] Stopping network-manager (via systemctl): network-manager.service.
Waiting for br0 to get ready (MAXWAIT is 32 seconds).
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/br0/20:6a:8a:35:02:4c
Sending on LPF/br0/20:6a:8a:35:02:4c
Sending on Socket/fallback
DHCPDISCOVER on br0 to 255.255.255.255 port 67 interval 3
DHCPREQUEST of 192.168.1.17 on br0 to 255.255.255.255 port 67
DHCPOFFER of 192.168.1.17 from 192.168.1.254
DHCPACK of 192.168.1.17 from 192.168.1.254
bound to 192.168.1.17 -- renewal in 20454 seconds.
root@pc:/# /etc/init.d/hostapd start
[ ok ] Starting hostapd (via systemctl): hostapd.service.
root@pc:/# ping wwww.google.fr
ping: wwww.google.fr: Nom ou service inconnu
Table de routage IP du noyau
Destination Passerelle Genmask Indic Metric Ref Use Iface
default 192.168.1.254 0.0.0.0 UG 0 0 0 eth0
link-local 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 br0
root@pc:/# cat /etc/resolv.conf
root@pc:/# /etc/init.d/hostapd stop
[ ok ] Stopping hostapd (via systemctl): hostapd.service.
Killed old client process
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/br0/20:6a:8a:35:02:4c
Sending on LPF/br0/20:6a:8a:35:02:4c
Sending on Socket/fallback
DHCPRELEASE on br0 to 192.168.1.254 port 67
root@pc:/# ping www.google.fr
ping: www.google.fr: Échec temporaire dans la résolution du nom
root@pc:/# ifdown eth0; ifup eth0
RTNETLINK answers: No such process
Killed old client process
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/eth0/20:6a:8a:35:02:4c
Sending on LPF/eth0/20:6a:8a:35:02:4c
Sending on Socket/fallback
DHCPRELEASE on eth0 to 192.168.1.254 port 67
send_packet: Network is unreachable
send_packet: please consult README file regarding broadcast address.
dhclient.c:2733: Failed to send 300 byte long packet over fallback interface.
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/eth0/20:6a:8a:35:02:4c
Sending on LPF/eth0/20:6a:8a:35:02:4c
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
DHCPREQUEST of 192.168.1.17 on eth0 to 255.255.255.255 port 67
DHCPOFFER of 192.168.1.17 from 192.168.1.254
DHCPACK of 192.168.1.17 from 192.168.1.254
bound to 192.168.1.17 -- renewal in 17337 seconds.
root@pc:/# ping www.google.fr
PING www.google.fr (172.217.18.195) 56(84) bytes of data.
64 bytes from par10s38-in-f3.1e100.net (172.217.18.195): icmp_seq=1 ttl=54 time=14.3 ms
64 bytes from par10s38-in-f3.1e100.net (172.217.18.195): icmp_seq=2 ttl=54 time=13.4 ms
^C
--- www.google.fr ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1002ms
rtt min/avg/max/mdev = 13.465/13.927/14.390/0.477 ms
Table de routage IP du noyau
Destination Passerelle Genmask Indic Metric Ref Use Iface
default 192.168.1.254 0.0.0.0 UG 0 0 0 eth0
link-local 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
Dernière modification par matB (24-02-2019 12:04:17)