Felix Fietkau
c2b5767572
base-files: move network related scripts to a separate package to make the transition to netifd easier
...
SVN-Revision: 28495
13 years ago
Jo-Philipp Wich
4e34fc521c
base-files: derive lease_acquired dhcp state var from /proc/uptime
...
SVN-Revision: 25452
14 years ago
Jo-Philipp Wich
3bd7985a0b
base-files: the busybox update to v1.15.3 completely broke udhcpc route option handling, repair default.script to work with the new format ( #6435 )
...
SVN-Revision: 24778
14 years ago
Jo-Philipp Wich
d0ab35c115
base-file: add metric option for static and dhcp protos, this simplifies the management of multiple default routes
...
SVN-Revision: 24020
14 years ago
Jo-Philipp Wich
0fda5f7507
base-files: utilize uci_get_state to read the previous dhcp router address in udhcpc default script. The setup_switch() procedure provided by swconfig calls config_load() during network restart and thus confuses udhcpc's uci state keeping resulting in a missing default route on each second network restart. Bypass the cached state vars and query uci directly to make the script immune against unwanted runtime changes.
...
SVN-Revision: 23211
14 years ago
Jo-Philipp Wich
84b7b812f3
base-files: cached state vars after scan_interfaces might be out of sync when binding dhcp leases, this could lead to an unconfigured wan interface in certain circumstances. Replace config_get calls with uci_get_state
...
SVN-Revision: 23091
14 years ago
Jo-Philipp Wich
261d41a906
base-files: - use add_dns() and remove_dns() for when changing resolv.conf.auto for static or dhcp interfaces - force 0644 permissions when creating resolv.conf.auto, fixes dnsmasq permissions denied problem with pppd interfaces - revert dns servers in /sbin/ifdown - bump package revision
...
SVN-Revision: 21638
15 years ago
Jo-Philipp Wich
ea06a67eac
base-files: use uci_get() wrapper ( #7312 )
...
SVN-Revision: 21490
15 years ago
Jo-Philipp Wich
250b52f673
base-files: revert dhcp state information on ifdown and restore pre-r19530 behaviour in udhcp default.script
...
SVN-Revision: 19597
15 years ago
Jo-Philipp Wich
520ea8e5f9
base-files: fix udhcpc address acquisition on network restart (patch by Scott Dudley)
...
SVN-Revision: 19530
15 years ago
Felix Fietkau
91d40a14af
Revert "fix nonhotpluggable networks not being brought up. Closes #2781" (r17527) until we've solved the race conditions it creates
...
SVN-Revision: 17544
15 years ago
Travis Kemen
27915ac778
fix nonhotpluggable networks not being brought up. Closes #2781
...
SVN-Revision: 17527
15 years ago
Vasilis Tsiligiannis
e5b097425d
udhcpc: Pass all events to udhcpc.user
...
Petitboot and maybe other apps need to know when
the dhcp lease is lost. Move the udhcpc.user call
to send it all udhcpc events.
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
SVN-Revision: 16815
16 years ago
Felix Fietkau
7a576b004e
allow udhcpc to work properly for interfaces that are not configured through uci
...
SVN-Revision: 16664
16 years ago
Felix Fietkau
d196e4087e
udhcpc: add cidr routes support (patch from #5299 )
...
SVN-Revision: 16433
16 years ago
Jo-Philipp Wich
2ee67f7272
base-files: fixup resolv.conf check in udhcpc script
...
SVN-Revision: 15903
16 years ago
Jo-Philipp Wich
33c38fba27
base-files: - restore device, ifname and aliases state in dhcp script - make sure that resolv.conf.tmp is written once at least for statically configured dns
...
SVN-Revision: 15753
16 years ago
Jo-Philipp Wich
ca609a2431
base-files: replace udhcpc script with an improved version
...
SVN-Revision: 15635
16 years ago
Felix Fietkau
6a50bf433a
udhcpc: run dhcp hotplug events after dns has been set
...
SVN-Revision: 15095
16 years ago
Jo-Philipp Wich
2d672ef2f5
base-files: allow option dns to override dhcp assigned dns servers
...
SVN-Revision: 14562
16 years ago
Felix Fietkau
35b92f0c99
don't emit ifup hotplug events on dhcp renew - use a new iface hotplug type 'update' instead; fixes #3906
...
SVN-Revision: 12671
16 years ago
Felix Fietkau
0cf1a58282
Here comes the new UCI. Enjoy :)
...
SVN-Revision: 10367
17 years ago
Felix Fietkau
f7ff1d6d0f
fix a few issues with dynamically assigned interfaces
...
SVN-Revision: 8765
17 years ago
Felix Fietkau
1b4380b8ed
avoid a race condition that might lead to dnsmasq reading an empty resolv.conf ( #2007 )
...
SVN-Revision: 7952
18 years ago
Felix Fietkau
4f16e9cc3e
keep track of the network interface states (stored in uci format in /var/state/network, overlay over /etc/config/network)
...
SVN-Revision: 7643
18 years ago
Mike Baker
924cd1ffc9
fix typo
...
SVN-Revision: 7244
18 years ago
Mike Baker
3e112cbedb
cleaner version of the udhcp script
...
SVN-Revision: 7222
18 years ago
Florian Fainelli
3e9c0379ba
Do not suppress routes if the router received on renew is the same ( #138 )
...
SVN-Revision: 7215
18 years ago
Felix Fietkau
a44c286fdb
nuke mdev and replace it with hotplug2 :)
...
SVN-Revision: 6512
18 years ago
Felix Fietkau
656412d1a3
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
...
SVN-Revision: 6043
18 years ago
Felix Fietkau
59a06c71cb
rename default/ to files/
...
SVN-Revision: 5622
18 years ago
Felix Fietkau
5808fe52a4
fix dhcp hotplug events
...
SVN-Revision: 5491
18 years ago