ton rpas avec les deux ip 10.0.0.1 et 192.168.1.80 est en bridge ou un repeater?
si repeater, change le gateway 192.168.1.1 par 192.168.1.74
j'ai des routers wifi un peu partout chez moi pour mes cam ip et ils sont tous en repeater.
sur un server j'ai aussi motion lorsque je pars afin de détecter toute intrusion par secteur.
je vais jeter un oeil sur motioneye, que je ne connais pas.
J'ai tenté de changer tout ça au moins deux à trois fois dans la semaine.... j'ai même mis des ip qui se suivent sur tout les appareils..... Sans succés.
root@raspiwifi:/home/pi# netstat -r
Table de routage IP du noyau
Destination Passerelle Genmask Indic MSS Fenêtre irtt Iface
default 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0
default 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0
10.0.0.0 * 255.255.255.0 U 0 0 0 wlan1
link-local * 255.255.0.0 U 0 0 0 wlan1
192.168.1.0 * 255.255.255.0 U 0 0 0 wlan0
raspicam
root@raspicam:/home/pi# netstat -r
Table de routage IP du noyau
Destination Passerelle Genmask Indic MSS Fenêtre irtt Iface
default raspiwifi 0.0.0.0 UG 0 0 0 wlan0
default 10.0.0.1 0.0.0.0 UG 0 0 0 wlan0
10.0.0.0 * 255.255.255.0 U 0 0 0 wlan0
192.168.1.0 * 255.255.255.0 U 0 0 0 wlan0
root@raspiwifi:/home/pi# route add -net 10.0.0.0/24 192.168.1.1
SIOCADDRT: Aucun périphérique de ce type
root@raspiwifi:/home/pi# route add -host 10.0.0.1 netmask 255.255.255.0 gw 192.168.1.1
route: netmask 000000ff n'a pas de sens pour une route vers un hôte
Syntaxe: route [-nNvee] [-FC] [<AF>] Liste les tables de routage noyau
route [-v] [-FC] {add|del|flush} ... Modifie la table de routage pour AF.
route {-h|--help} [<AF>] Utilisation détaillée pour l'AF spécifié.
route {-V|--version} Affiche la version/auteur et termine.
-v, --verbose mode verbeux
-n, --numeric don't resolve names
-e, --extend display other/more information
-F, --fib display Forwarding Information Base (default)
-C, --cache affiche le cache de routage au lieu de FIB
<AF>=Use '-A <af>' or '--<af>'; default: inet
Liste les familles d'adresses possibles (supportant le routage):
inet (DARPA Internet) inet6 (IPv6) ax25 (AMPR AX.25)
netrom (AMPR NET/ROM) ipx (Novell IPX) ddp (Appletalk DDP)
x25 (CCITT X.25)
root@raspiwifi:/home/pi# ip route
default via 192.168.1.1 dev wlan0
default via 192.168.1.1 dev wlan0 metric 303
10.0.0.0/24 dev wlan1 proto kernel scope link src 10.0.0.1
169.254.0.0/16 dev wlan1 proto kernel scope link src 169.254.241.37 metric 304
192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.68 metric 303
root@raspicam:/home/pi# ip route
default via 192.168.1.80 dev wlan0
default via 10.0.0.1 dev wlan0 metric 303
10.0.0.0/24 dev wlan0 proto kernel scope link src 10.0.0.102 metric 303
192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.74
root@raspiwifi:/home/pi# route add -host 10.0.0.1 netmask 255.255.255.0 gw 192.168.1.80 wlan1
route: netmask 000000ff n'a pas de sens pour une route vers un hôte
Syntaxe: route [-nNvee] [-FC] [<AF>] Liste les tables de routage noyau
route [-v] [-FC] {add|del|flush} ... Modifie la table de routage pour AF.
route {-h|--help} [<AF>] Utilisation détaillée pour l'AF spécifié.
route {-V|--version} Affiche la version/auteur et termine.
-v, --verbose mode verbeux
-n, --numeric don't resolve names
-e, --extend display other/more information
-F, --fib display Forwarding Information Base (default)
-C, --cache affiche le cache de routage au lieu de FIB
<AF>=Use '-A <af>' or '--<af>'; default: inet
Liste les familles d'adresses possibles (supportant le routage):
inet (DARPA Internet) inet6 (IPv6) ax25 (AMPR AX.25)
netrom (AMPR NET/ROM) ipx (Novell IPX) ddp (Appletalk DDP)
x25 (CCITT X.25)
root@raspiwifi:/home/pi# route add -net 10.0.0.0/24 gw 192.168.1.80 wlan1
SIOCADDRT: Le réseau n'est pas accessible
Je me suis fait la même réflexion en voyant ces ip sortie de nulle part... :o
Jan 5 21:51:50 raspiwifi dnsmasq-dhcp[541]: DHCPACK(wlan1) 10.0.0.149 34:15:9e:8b:6a:f4 MacBook
Jan 5 21:52:09 raspiwifi dhcpcd[764]: wlan1: using IPv4LL address 169.254.241.37
Jan 5 21:52:09 raspiwifi dhcpcd[764]: wlan1: adding route to 169.254.0.0/16
Jan 5 21:52:09 raspiwifi avahi-daemon[421]: Registering new address record for 169.254.241.37 on wlan1.IPv4.
Jan 5 21:52:10 raspiwifi ntpd[783]: Listen normally on 9 wlan1 169.254.241.37 UDP 123
Jan 5 21:51:49 raspiwifi dnsmasq-dhcp[541]: DHCPREQUEST(wlan1) 10.0.0.102 c4:e9:84:1e:2e:19
Jan 5 21:51:49 raspiwifi dnsmasq-dhcp[541]: DHCPACK(wlan1) 10.0.0.102 c4:e9:84:1e:2e:19 raspicam
Jan 5 21:51:49 raspiwifi dnsmasq-dhcp[541]: L'option dhcp-option redondante 3 sera ignorée
Jan 5 21:51:49 raspiwifi dnsmasq-dhcp[541]: ne donne pas de nom raspicam au bail DHCP de 10.0.0.102 parce-que le nom existe dans /etc/hosts avec l'adresse 192.168.1.74
Je sais pas si c'est normal pour l'ipv6
Jan 5 21:51:46 raspiwifi dhcpcd[764]: wlan1: soliciting an IPv6 router
Jan 5 21:51:46 raspiwifi dhcpcd[764]: wlan1: soliciting a DHCP lease
Jan 5 21:51:45 raspiwifi dnsmasq[541]: Lecture de /var/run/dnsmasq/resolv.conf
Jan 5 21:51:45 raspiwifi dnsmasq[541]: utilise le serveur de nom 192.168.1.1#53
ça non plus je ne suis pas sur que ce soit normal vu que wlan0 a une ip fixe dans interfaces qui finit par "80"
Jan 5 21:51:37 raspiwifi dhcpcd[408]: DUID 00:01:00:01:1d:e3:a0:2f:b8:27:eb:7d:93:47
Jan 5 21:51:37 raspiwifi dhcpcd[408]: wlan0: IAID 84:18:58:94
Jan 5 21:51:37 raspiwifi dhcpcd[408]: wlan1: waiting for carrier
Jan 5 21:51:38 raspiwifi dhcpcd[408]: wlan0: soliciting an IPv6 router
Jan 5 21:51:38 raspiwifi dhcpcd[408]: wlan0: rebinding lease of 192.168.1.68
Jan 5 21:51:43 raspiwifi dhcpcd[408]: wlan0: leased 192.168.1.68 for 86400 seconds
Jan 5 21:51:43 raspiwifi dhcpcd[408]: wlan0: adding route to 192.168.1.0/24
En attendant de trouver ce qui ne va pas, j'ai acheté un répéteur... ce qui sera peut-être la solution définitive.
Cet après-midi lors de mes essais avec ce nouvel appareil, j'ai eu pas mal de soucis avec mon réseau wlan, cela s'est soldé par un appel à l'assistance de mon FAI et un reset de mon routeur-wifi.
Je n'ai pas encore pu faire d'essai, mais je me demande si tout ces soucis ne venait pas de ce dernier....
Je vais refaire une clean install de mon raspiwifi, j'ai tellement touché de trucs à droite et à gauche.... et je referai un essai.