DHCP server for ad-hoc wifi network [closed]

I have a computer running Red Hat. I would like to host a HTTP server on it. This server has only a WIFI interface.

How to configure a DHCP server on it?

The configuration file (/etc/dhcpd.conf) looks like:

subnet netmask {
        option domain-name              "example.com";
        option domain-name-servers;

        option time-offset              -18000;     # Eastern Standard Time


I have restarted the DHCP service many times but with no result. How to specify that the interface is not eth0 but wlan0?


The interface is determined by the subnet.

If your wlan0 adapter is in the it should “just work”.

That’s not an internal IP range however, so I’m thinking it’s either misconfigured or your running a rather advanced configuration (one only people who really, really know what they’re doing should be running).

Source : Link , Question Author : Maxbester , Answer Author : Chris S

Leave a Comment