Jump to content

dnsmasq help


Recommended Posts

I'm trying to setup a DHCP on my fon because no IPs show up on my Jasager page even when someone is connected and i looked around the board on how to do this and a lot of the topics said use /usr/sbin/dnsmasq -K -F 10.1.1.100,10.1.1.200. When ever i issue this command through putty i get an error that says:

dnsmasq: cannot open or creae lease file /var/lib/misc/dnsmasq.leases: No such file or directory

Is there anyway to fix this?

Link to comment
Share on other sites

Hi ghostlywind, I'm looking into this also -

dnsmasq man page: http://thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html

Given the error you're getting, it looks like it's trying to write the lease file to a non-existing path location.

Check your /etc/dnsmasq.conf

There should be an entry in it like this:

dhcp-leasefile=/tmp/dhcp.leases

I just checked the processes running on my newly built (stock) Jasager, and found the following:

/usr/sbin/dnsmasq --dhcp-range=lan, 192.168.1.100,192.168.1.250,255.255.255.0,12h

You could try that...

vendox

Link to comment
Share on other sites

I'm trying to setup a DHCP on my fon because no IPs show up on my Jasager page even when someone is connected and i looked around the board on how to do this and a lot of the topics said use /usr/sbin/dnsmasq -K -F 10.1.1.100,10.1.1.200. When ever i issue this command through putty i get an error that says:

dnsmasq: cannot open or creae lease file /var/lib/misc/dnsmasq.leases: No such file or directory

Is there anyway to fix this?

You could just symlink /var/lib/misc/ to /tmp

ln -s /var/lib/misc/ /tmp

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...