18-11-2015, 15:04:49
Bonjour,
J'aimerai votre aide pour un projet.
J'aimerai tout simplement réaliser un serveur sur un hot spot Wifi sans connexion internet ( le principe de la Piratebox ).
Je me suis servi du tuto de Pihomeserver : http://www.pihomeserver.fr/2014/05/22/ra...ve-portal/
et de Adafruit : https://learn.adafruit.com/setting-up-a-...l-software
Alors voila j'ai bien mon réseau qui émet, le soucis est que lorsque je lance la commande "sudo service isc-dhcp-server start" j'ai ce message d'erreur:
Voici ce qui s'affiche dans syslog:
Et voici ce qu'il y a dans "dhcpd.conf" :
Si vous pouvez m'aider? Merci
J'aimerai votre aide pour un projet.
J'aimerai tout simplement réaliser un serveur sur un hot spot Wifi sans connexion internet ( le principe de la Piratebox ).
Je me suis servi du tuto de Pihomeserver : http://www.pihomeserver.fr/2014/05/22/ra...ve-portal/
et de Adafruit : https://learn.adafruit.com/setting-up-a-...l-software
Alors voila j'ai bien mon réseau qui émet, le soucis est que lorsque je lance la commande "sudo service isc-dhcp-server start" j'ai ce message d'erreur:
Code :
[== Indéfini ==]
[email protected] /var/log $ sudo service isc-dhcp-server start
[FAIL] Starting ISC DHCP server: dhcpd[....] check syslog for diagnostics. ... failed!
failed!
Voici ce qui s'affiche dans syslog:
Code :
[== Indéfini ==]
Nov 18 14:32:08 raspberrypi dbus[2318]: [system] Activating service name='org.freedesktop.UDisks' (using servicehelper)
Nov 18 14:32:08 raspberrypi dbus[2318]: [system] Successfully activated service 'org.freedesktop.UDisks'
Nov 18 14:32:10 raspberrypi kernel: [ 30.033292] cfg80211: Calling CRDA to update world regulatory domain
Nov 18 14:32:13 raspberrypi kernel: [ 33.193272] cfg80211: Calling CRDA to update world regulatory domain
Nov 18 14:32:16 raspberrypi kernel: [ 36.353275] cfg80211: Calling CRDA to update world regulatory domain
Nov 18 14:32:19 raspberrypi kernel: [ 39.513283] cfg80211: Calling CRDA to update world regulatory domain
Nov 18 14:32:22 raspberrypi kernel: [ 42.673296] cfg80211: Exceeded CRDA call max attempts. Not calling CRDA
Nov 18 14:33:24 raspberrypi hostapd: wlan0: STA a0:f4:19:b1:20:21 IEEE 802.11: authenticated
Nov 18 14:33:24 raspberrypi hostapd: wlan0: STA a0:f4:19:b1:20:21 IEEE 802.11: associated (aid 1)
Nov 18 14:33:24 raspberrypi hostapd: wlan0: STA a0:f4:19:b1:20:21 RADIUS: starting accounting session 56475045-00000000
Nov 18 14:33:46 raspberrypi hostapd: wlan0: STA a0:f4:19:b1:20:21 IEEE 802.11: disassociated
Nov 18 14:33:47 raspberrypi hostapd: wlan0: STA a0:f4:19:b1:20:21 IEEE 802.11: deauthenticated due to inactivity
Nov 18 14:33:48 raspberrypi hostapd: wlan0: STA a0:f4:19:b1:20:21 IEEE 802.11: authenticated
Nov 18 14:33:48 raspberrypi hostapd: wlan0: STA a0:f4:19:b1:20:21 IEEE 802.11: associated (aid 1)
Nov 18 14:33:48 raspberrypi hostapd: wlan0: STA a0:f4:19:b1:20:21 RADIUS: starting accounting session 56475045-00000001
Nov 18 14:34:10 raspberrypi hostapd: wlan0: STA a0:f4:19:b1:20:21 IEEE 802.11: disassociated
Nov 18 14:34:11 raspberrypi hostapd: wlan0: STA a0:f4:19:b1:20:21 IEEE 802.11: deauthenticated due to inactivity
Nov 18 14:36:32 raspberrypi dhcpd: Internet Systems Consortium DHCP Server 4.2.2
Nov 18 14:36:32 raspberrypi dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Nov 18 14:36:32 raspberrypi dhcpd: All rights reserved.
Nov 18 14:36:32 raspberrypi dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Nov 18 14:36:32 raspberrypi dhcpd: Internet Systems Consortium DHCP Server 4.2.2
Nov 18 14:36:32 raspberrypi dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Nov 18 14:36:32 raspberrypi dhcpd: All rights reserved.
Nov 18 14:36:32 raspberrypi dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Nov 18 14:36:32 raspberrypi dhcpd: Wrote 0 leases to leases file.
Nov 18 14:36:32 raspberrypi dhcpd:
Nov 18 14:36:32 raspberrypi dhcpd: No subnet declaration for wlan0 (no IPv4 addresses).
Nov 18 14:36:32 raspberrypi dhcpd: ** Ignoring requests on wlan0. If this is not what
Nov 18 14:36:32 raspberrypi dhcpd: you want, please write a subnet declaration
Nov 18 14:36:32 raspberrypi dhcpd: in your dhcpd.conf file for the network segment
Nov 18 14:36:32 raspberrypi dhcpd: to which interface wlan0 is attached. **
Nov 18 14:36:32 raspberrypi dhcpd:
Nov 18 14:36:32 raspberrypi dhcpd:
Nov 18 14:36:32 raspberrypi dhcpd: Not configured to listen on any interfaces!
Et voici ce qu'il y a dans "dhcpd.conf" :
Code :
[== Indéfini ==]
subnet 192.168.42.0 netmask 255.255.255.0 {
range 192.168.42.10 192.168.42.50;
option broadcast-address 192.168.42.255;
option routers 192.168.42.1;
default-lease-time 600;
max-lease-time 7200;
option domain-name "local";
option domain-name-servers 8.8.8.8, 8.8.4.4;
}
Si vous pouvez m'aider? Merci