LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 11-20-2012, 05:03 AM   #1
ganninu
Member
 
Registered: Jul 2003
Distribution: RH 7.3/8.0/9.0, Debian Stable 3.0, FreeBSD 5.2, Solaris 8/9/10,HP-UX
Posts: 340

Rep: Reputation: 30
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..
 
Old 11-20-2012, 04:52 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how can I turn my linux laptop into a wifi hotspot? james_larson Linux - Networking 6 04-03-2012 03:44 PM
Problem assigning default gateway to clients through dhcpd (ubuntu) milpoer Linux - Networking 2 04-16-2009 08:05 AM
Need help to migrate from mikrotik hotspot to Linux Hotspot for I-net cafe.. thewhitelion Linux - Server 4 10-31-2007 03:47 AM
Need help to migrate from mikrotik hotspot to Linux Hotspot for I-net cafe.. thewhitelion Linux - Enterprise 5 10-03-2007 05:14 PM
DHCP: Problem in assigning fixed address to clients libregeek Linux - Networking 6 11-17-2005 11:59 PM


All times are GMT -5. The time now is 01:40 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration