Steven Barth
4d20db10d5
dnsmasq: Use a more intelligent way of parsing dhcp-options using the new UCI list datatype
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12547 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-07 20:07:55 +00:00
Felix Fietkau
0ea2967af9
restore the /tmp/resolv.conf symlink when stopping dnsmasq
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12546 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-07 15:22:25 +00:00
Travis Kemen
b79a3cf2e3
add option to cache local queries, from sn9
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12485 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-02 01:37:06 +00:00
John Crispin
305cd55644
add section names to dnsmasq config
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12342 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-19 22:05:41 +00:00
John Crispin
84f5308f97
fixes dbus param of dnsmasq, #3818 , thanks the.loeki
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11967 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-28 07:59:40 +00:00
Florian Fainelli
292f318758
This adds dhcp-boot support to dnsmasq-init:
...
option name "virt0"
option filename "pxelinux.0"
option servername "mainframe0.dev"
option serveraddress "9.3.2.1"
closes #3529
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11663 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-05 13:43:55 +00:00
Travis Kemen
265e3a8161
only ignore dhcp but still listen for dns closes #3406
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11062 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-08 00:01:58 +00:00
Travis Kemen
a03a930807
create the dhcp leasefile if it doesn't exist
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10460 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-14 21:17:14 +00:00
Felix Fietkau
2f8b5f8c28
Here comes the new UCI. Enjoy :)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-03 06:48:15 +00:00
Travis Kemen
e1f607e92f
add option configure a custom netmask for dhcp clients Signed-off-by: Lorenz Schori <lorenz.schori@gmx.ch>
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10216 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-17 01:15:50 +00:00
Travis Kemen
5882e9c1ea
use instead of closes #2759
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9612 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-28 04:11:36 +00:00
Travis Kemen
34ade10d04
add option to turn off dynamic dhcp closes #2694
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9608 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-28 03:02:20 +00:00
Florian Fainelli
47072a732b
Fix missing IP section to properly add static hosts ( #2650 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9502 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-05 14:14:06 +00:00
Travis Kemen
64e913ca5a
convert the rest of /etc/dnsmasq.conf to uci
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9440 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-24 21:08:54 +00:00
Felix Fietkau
0788207055
disable filterwin2k in dnsmasq (see #2566 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-24 17:42:08 +00:00
Travis Kemen
17a1be5e2c
include fixes from #2429 Thanks Lubos Stanek
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9028 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-25 23:16:31 +00:00
Travis Kemen
e4b75a96c9
add fix from ticket #2290
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8732 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-10 20:24:18 +00:00
Florian Fainelli
4fe4323231
Finally fix the usage of limit ( #2240 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8712 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-09 16:05:14 +00:00
Travis Kemen
f3d7b822b3
fix incorrect parameters
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-30 17:18:04 +00:00
Travis Kemen
cf9e2f5684
fix typo closes #2289
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8550 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-30 16:08:44 +00:00
Travis Kemen
f16fc40abc
dnsmasq: extend the init script thanks Sedky
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-29 18:40:52 +00:00
Florian Fainelli
374d10e359
Use a more explicit variable name for the number of dhcp leases ( #2240 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8437 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-19 20:50:52 +00:00
Florian Fainelli
6ffaa1d3b8
Use the end variable instead of limit ( #2142 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8307 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-01 15:24:00 +00:00
Felix Fietkau
9e40043c76
include the network state in the dnsmasq init script. this makes it possible to run a dhcp server on dynamically assigned interfaces without hardcoding interface names
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7805 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-30 19:28:46 +00:00
Florian Fainelli
0ef3652486
Do not cache negative answers
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7707 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-22 09:24:50 +00:00
Felix Fietkau
07bdd5fe16
dnsmasq: speed up the dhcp server detection (one try is enough)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6941 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-12 18:49:02 +00:00
Felix Fietkau
1ddb7378b9
allow dhcp sections for dnsmasq to add command line options
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-31 00:39:55 +00:00
Felix Fietkau
947bab0abb
upgrade dnsmasq to latest version, rewrite dnsmasq init script for uci, rename /bin/ipcalc to /bin/ipcalc.sh ( fixes #1452 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6595 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-17 13:31:13 +00:00
Felix Fietkau
bd078bad0f
Forward port whiterussian resolv.conf changes
...
/etc/resolv.conf links to /tmp/resolv.conf
/tmp/resolv.conf links to /tmp/resolv.conf.auto by default (which is where the ISPs nameserver is in)
When dnsmasq starts, it replaces /tmp/resolv.conf with a file pointing to 127.0.0.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6043 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-08 21:33:53 +00:00
Felix Fietkau
ace9292e66
add START=60 to dnsmasq init
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5525 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-13 21:16:03 +00:00
Felix Fietkau
82ee8dabab
move /usr/lib/parse-config.awk to /lib/config/template.awk
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-20 00:13:34 +00:00
Felix Fietkau
3aa127d7a5
add new rc.common for standardized init scripts, convert existing init scripts
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-04 20:05:48 +00:00
Felix Fietkau
652c662b7d
fix missing update for include() api change ( #815 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-04 17:11:36 +00:00
Mike Baker
9d5733595e
fix error if dhcp is disabled
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4545 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-08 20:15:09 +00:00
Felix Fietkau
ac22df5851
only set dhcp_enable if lan proto is set to static
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4324 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-30 03:18:50 +00:00
Felix Fietkau
d3a6fe9915
rewrite of the network scripts and configuration
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-30 03:09:09 +00:00
Felix Fietkau
f15e613e2b
use 127.0.0.1 as dns server and point dnsmasq to /tmp/resolv.conf
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-25 18:12:30 +00:00
Felix Fietkau
e1b417ee76
large init script cleanup and merge of whiterussian changes, new dnsmasq config handling
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3588 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-04-05 02:09:22 +00:00
Felix Fietkau
5b030de944
set dhcp lease file in dnsmasq.conf instead of /tmp/dhcp.leases
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2904 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-01-11 04:26:46 +00:00
Florian Fainelli
94b8298730
Fixed ticket #169 thanks to gps !
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2808 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-01-02 13:59:41 +00:00
Felix Fietkau
a29a13a642
fix documented syntax for /etc/ethers in dnsmasq.conf ( fixes #65 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-12-11 22:34:34 +00:00
Felix Fietkau
7fdc096dbd
fix dnsmasq init script
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2151 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-10-17 19:42:58 +00:00
Felix Fietkau
be9896e3bf
set dnsmasq except-interface in init script to wan_ifname instead of vlan1
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-09-07 11:34:05 +00:00
Felix Fietkau
ba4ba9de88
sync dnsmasq with whiterussian
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-07-25 08:11:12 +00:00