ghostlywind Posted April 7, 2009 Share Posted April 7, 2009 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? Quote Link to comment Share on other sites More sharing options...
vendox Posted April 7, 2009 Share Posted April 7, 2009 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 Quote Link to comment Share on other sites More sharing options...
ghostlywind Posted April 8, 2009 Author Share Posted April 8, 2009 There is no dnsmasq.conf in my /etc just a file called dnsmasq.options Quote Link to comment Share on other sites More sharing options...
digininja Posted April 8, 2009 Share Posted April 8, 2009 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.