LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (http://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Linux laptop hotspot not assigning IP info to clients (http://www.linuxquestions.org/questions/linux-wireless-networking-41/linux-laptop-hotspot-not-assigning-ip-info-to-clients-4175437929/)

ganninu 11-20-2012 05:03 AM

Linux laptop hotspot not assigning IP info to clients
 
I am running Linux Mint 13 on a laptop which is connected to Internet via ethernet and is also configured as wifi hotspot through Mint's network manager. This used to work perfectly well for clients wishing to use my Internet connection.

However I screwed with dnsmasq and dhcp-server and now I am stuck...while clients can connect to the laptop hotspot, they are not able to get a suitable IP/DNS.

No clue where to start..

smallpond 11-20-2012 04:52 PM

DHCP is the protocol for handing out IP addresses. First see if the dhcp daemon is running:
Code:

ps -ef|grep dhcpd
If that's running, see if it is logging anything:
Code:

sudo grep dhcpd /var/log/messages
If is ok, it should be logging when it gives out leases. Something like:
Quote:

Nov 20 16:44:20 smallpond dhcpd: Wrote 18 leases to leases file.
Nov 20 16:44:20 smallpond dhcpd: DHCPREQUEST for 192.168.0.132 from 00:21:63:b5:df:57 (Maria) via p1p1
Nov 20 16:44:20 smallpond dhcpd: DHCPACK on 192.168.0.132 to 00:21:63:b5:df:57 (Maria) via p1p1
Nov 20 16:49:27 smallpond dhcpd: DHCPREQUEST for 192.168.0.145 from 00:1f:3a:12:e9:23 (dell-fe64c004e7) via p1p1
Nov 20 16:49:27 smallpond dhcpd: DHCPACK on 192.168.0.145 to 00:1f:3a:12:e9:23 (dell-fe64c004e7) via p1p1
If it is failing, you should see error messages which will indicate what is wrong. If you don't see anything then something is configured wrong and blocking dhcp requests.


All times are GMT -5. The time now is 11:13 PM.