Commit Graph

34 Commits (96e0e6c808daf5cc22fbc2fd6247b9611837cbbe)

Author SHA1 Message Date
Felix Fietkau fe9d7531d8 add sysupgrade script for config preserving system upgrades. only implemented for x86-2.6 at the moment, but can be ported to other platforms easily
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8456 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-21 18:23:57 +00:00
Felix Fietkau 09a67f8dce fix a race condition with dynamic interfaces and firewalling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8343 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-04 13:26:41 +00:00
Mike Baker 9df0b3bf4b move uci_load into config_load so that changes can be applied via uci without commiting
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7927 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-11 20:39:28 +00:00
Mike Baker 3a10e4f56d more wpa+wds patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7888 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-08 12:51:30 +00:00
Felix Fietkau dba4a4c41e fix a race condition with broadcom wl devices in a bridge
if a device is added before the bridge is brought up, the wifi settings are lost


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7872 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-04 05:05:46 +00:00
Mike Baker f638c824f3 fix broadcast address (#1611)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7766 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-28 23:07:29 +00:00
Felix Fietkau 97ca42e813 keep track of the network interface states (stored in uci format in /var/state/network, overlay over /etc/config/network)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7643 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-16 00:01:33 +00:00
Felix Fietkau 171557a1c1 more fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-15 16:07:09 +00:00
Felix Fietkau 040caceff3 some shell variable handling fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7638 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-15 15:59:56 +00:00
Felix Fietkau 270d6c63c1 fix typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7637 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-15 15:18:58 +00:00
Felix Fietkau 7afe6ce158 allow config_* and uci_* functions to work on files outside of /etc/config - these files are assumed to use commands generated by uci_* only (as overlay to regular config files)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7636 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-15 15:12:57 +00:00
Travis Kemen 330a1018f6 keep uci_set from saving things that have not changed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7259 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-16 14:46:23 +00:00
Eugene Konev 8283abc45a Fix ipv6 address assignment (#1622).
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7116 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-06 16:52:46 +00:00
Mike Baker 74a394b031 various patches to add support for ppp over evdo or character devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7076 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-01 21:53:32 +00:00
Felix Fietkau 89fb2b680e network config: ignore nonexistant interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6819 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-02 09:41:56 +00:00
Felix Fietkau d8e5772f33 rename uci-update.awk to uci.awk and add a few config_* functions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6666 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-24 13:43:04 +00:00
Felix Fietkau 44890cf760 add an optional parameter to scan_interfaces() that can override the network config file (defaults to 'network')
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6619 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-19 22:06:31 +00:00
Felix Fietkau 97276e7bf0 Add an 'Image Configuration' menu to menuconfig
Packages can export a list of config options with labels and data types
through the metadata. The selected config values will be exported to the
target filesystem in /etc/uci-defaults and applied on the first boot.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6572 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16 03:02:31 +00:00
Felix Fietkau ae39d6a370 nuke mdev and replace it with hotplug2 :)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-04 20:31:53 +00:00
Felix Fietkau 81b82549d6 add a check for brctl in the unbridge() function (fixes #1417)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6410 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-27 23:34:14 +00:00
Felix Fietkau 0c9d637c2b Integrate basic UCI config file validation support
Needs more testing and validation is not enforced yet

Code contributed by Fraunhofer Fokus


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6391 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-26 20:04:04 +00:00
Felix Fietkau 30c55d788e integrate the fix from #1348 and clean up the network scripts a bit...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6355 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-25 12:52:02 +00:00
Felix Fietkau 18db71bc7a add broadcast setting for /etc/config/network interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6225 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-27 21:58:03 +00:00
Felix Fietkau ece171847f ignore the bridge option if brctl is not available
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-20 15:28:47 +00:00
Felix Fietkau d64e90a6f8 Fix the issue where the default gateway is not set
in static mode most of the time. Seems like the bridge
is not fast enough at switching to 'forwarding' mode
so a short delay before setting the routes is necessary.



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-17 21:29:53 +00:00
Felix Fietkau a455d0988c add checks for {ip,ip6}addr in the network config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6099 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-14 22:29: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 6357539faa fix CONFIG_FILENAME in uci_commit()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5791 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-14 17:29:51 +00:00
Felix Fietkau d2fb93ec99 fix typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5790 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-14 17:28:19 +00:00
Felix Fietkau 7ac94dfc7e fix uci_load trash output (#1040)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5745 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-10 03:37:14 +00:00
Florian Fainelli ccc54474f5 Set up ipv6 address if provided in network configuration (#1028)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5738 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-09 16:57:31 +00:00
Felix Fietkau 76611e547d fix a typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5719 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-08 11:25:10 +00:00
Felix Fietkau ba15ccf6f0 add option for setting the mac address (#1014)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5690 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-04 23:22:06 +00:00
Felix Fietkau fbef19a70d rename default/ to files/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5622 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-22 23:30:57 +00:00