Como criar um arquivo dhcpd.conf

0

Eu segui o tutorial sobre este página para criar um ponto de acesso em uma instalação do Arch Linux. Parece que correu tudo bem para além de um erro do servidor DHCPD:

Internet Systems Consortium DHCP Server 4.3.0
Copyright 2004-2014 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
net.ipv4.ip_forward = 1
Wrote 0 leases to leases file.

No subnet declaration for wlan0 (no IPv4 addresses).
** Ignoring requests on wlan0.  If this is not what
   you want, please write a subnet declaration
   in your dhcpd.conf file for the network segment
   to which interface wlan0 is attached. **


Not configured to listen on any interfaces!

If you think you have received this message due to a bug rather
than a configuration issue please read the section on submitting
bugs on either our web page at www.isc.org or in the README file
before submitting a bug.  These pages explain the proper
process and the information we find helpful for debugging..

exiting.

Desde então eu tentei arquivo conf diferente, mas sem sucesso até agora. A documentação que eu encontrei até agora não é exatamente clara, então eu estava me perguntando se alguém me aponta na direção certa?

Obrigado antecipadamente

Aqui está o meu arquivo dhcpd.conf:

ddns-update-style none;
ignore client-updates;
authoritative;
option local-wpad code 252 = text;

subnet
10.0.0.0 netmask 255.255.255.0 {
# --- default gateway
option routers
10.0.0.1;
# # --- Netmask
option subnet-mask
255.255.255.0;
# # --- Broadcast Address
option broadcast-address
10.0.0.255;
# # --- Domain name servers, tells the clients which DNS servers to use.
option domain-name-servers
10.0.0.1, 8.8.8.8, 8.8.4.4;
option time-offset
0;
range 10.0.0.3 10.0.0.13;
default-lease-time 1209600;
max-lease-time 1814400;
}

EDIT: Aqui está a saída do ifconfig wlan0:

wlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 10.0.0.1  netmask 255.255.255.0  broadcast 10.0.0.255
        ether 08:bd:43:88:f2:6d  txqueuelen 1000  (Ethernet)
        RX packets 1771  bytes 352261 (344.0 KiB)
        RX errors 0  dropped 33  overruns 0  frame 0
        TX packets 1436  bytes 368189 (359.5 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
por WagnerMatosUK 10.06.2014 / 08:36

0 respostas