aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib
Commit message (Collapse)AuthorAgeFilesLines
* Prevent "SIOCSIFHWADDR: Device or resource busy" when trying to change mac ↵Jo-Philipp Wich2008-11-171-0/+1
| | | | | | address git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13258 3c298f89-4303-0410-b956-a3cf2f4a3e73
* make network config script work with brctl from both bridge-utils & busyboxNicolas Thill2008-11-091-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13165 3c298f89-4303-0410-b956-a3cf2f4a3e73
* don't bring down interfaces when preparing themFelix Fietkau2008-10-291-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13079 3c298f89-4303-0410-b956-a3cf2f4a3e73
* install missing busybox symlinks for sysupgrade (patch by Frédéric Moulins)Felix Fietkau2008-09-251-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12695 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix sysupgrade support for brcm-2.4 and brcm47xxFelix Fietkau2008-09-231-2/+15
| | | | | | make mtd refresh based config append optional (leave enabled on x86) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12657 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sysupgrade: add optional delay before rebootingFelix Fietkau2008-09-121-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12572 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fixes variables, oopsJohn Crispin2008-08-201-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12344 3c298f89-4303-0410-b956-a3cf2f4a3e73
* adds the option to have no proto for a interface, usefull if the uci states ↵John Crispin2008-08-201-0/+7
| | | | | | need to be set, but interface bring up is handled somewhere else git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12343 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add basic interface alias support.Felix Fietkau2008-08-071-37/+80
| | | | | | | | | | | | | | for now (since we don't use ip in our network scripts yet), it adds :1, :2, ... alias interfaces this will change when we add support for the ip utility, but the config format will remain the same. example: config alias test option interface lan option ipaddr 192.168.1.1 option netmask 255.255.0.0 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12241 3c298f89-4303-0410-b956-a3cf2f4a3e73
* avoid duplicate vlan add eventsFelix Fietkau2008-08-011-1/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12057 3c298f89-4303-0410-b956-a3cf2f4a3e73
* link default routes added by the network scripts to the appropriate ↵Felix Fietkau2008-07-301-2/+2
| | | | | | interface (#2621) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12027 3c298f89-4303-0410-b956-a3cf2f4a3e73
* properly keep track of bridged interfaces in the network stateFelix Fietkau2008-07-301-0/+17
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12004 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix sysupgrade endian issuesTravis Kemen2008-07-221-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11900 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix sysupgrade 'do_upgrade: not found' errorFelix Fietkau2008-06-041-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11362 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix use of uci_set_state in network scripts (thx, netprince)Felix Fietkau2008-04-071-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10763 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix interface enumeration issues related to /var/state/network (thx to fish ↵Felix Fietkau2008-04-021-3/+13
| | | | | | for debugging this) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10715 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Here comes the new UCI. Enjoy :)Felix Fietkau2008-02-033-361/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10367 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix ppp issues (thanks to Fatus for debugging this)Felix Fietkau2007-11-301-2/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9634 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Allow specifying static IPv6 gateways (#2710)Florian Fainelli2007-11-161-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9569 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add support for interfaces with ipv6, but no ipv4 (patch from #2695)Felix Fietkau2007-11-121-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9545 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Turn off stp by default, thanks ejkaFlorian Fainelli2007-10-181-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9345 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Turn on stp by default for bridges (#2476)Florian Fainelli2007-10-181-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9343 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add clientid to udhcpc thanks pjamaTravis Kemen2007-10-061-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9159 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sync awk implementation of config_get_bool with the shell variantFelix Fietkau2007-09-191-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8841 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add sysupgrade script for config preserving system upgrades. only ↵Felix Fietkau2007-08-211-0/+151
| | | | | | 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
* fix a race condition with dynamic interfaces and firewallingFelix Fietkau2007-08-041-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8343 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move uci_load into config_load so that changes can be applied via uci ↵Mike Baker2007-07-111-7/+1
| | | | | | without commiting git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7927 3c298f89-4303-0410-b956-a3cf2f4a3e73
* more wpa+wds patchesMike Baker2007-07-081-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7888 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix a race condition with broadcom wl devices in a bridgeFelix Fietkau2007-07-041-0/+1
| | | | | | | 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
* fix broadcast address (#1611)Mike Baker2007-06-281-2/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7766 3c298f89-4303-0410-b956-a3cf2f4a3e73
* keep track of the network interface states (stored in uci format in ↵Felix Fietkau2007-06-161-5/+5
| | | | | | /var/state/network, overlay over /etc/config/network) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7643 3c298f89-4303-0410-b956-a3cf2f4a3e73
* more fixesFelix Fietkau2007-06-151-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7639 3c298f89-4303-0410-b956-a3cf2f4a3e73
* some shell variable handling fixesFelix Fietkau2007-06-151-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7638 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix typoFelix Fietkau2007-06-151-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7637 3c298f89-4303-0410-b956-a3cf2f4a3e73
* allow config_* and uci_* functions to work on files outside of /etc/config - ↵Felix Fietkau2007-06-151-11/+29
| | | | | | 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
* keep uci_set from saving things that have not changedTravis Kemen2007-05-161-2/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7259 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Fix ipv6 address assignment (#1622).Eugene Konev2007-05-061-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7116 3c298f89-4303-0410-b956-a3cf2f4a3e73
* various patches to add support for ppp over evdo or character devicesMike Baker2007-05-011-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7076 3c298f89-4303-0410-b956-a3cf2f4a3e73
* network config: ignore nonexistant interfacesFelix Fietkau2007-04-021-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6819 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rename uci-update.awk to uci.awk and add a few config_* functionsFelix Fietkau2007-03-242-20/+53
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6666 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add an optional parameter to scan_interfaces() that can override the network ↵Felix Fietkau2007-03-191-1/+2
| | | | | | config file (defaults to 'network') git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6619 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add an 'Image Configuration' menu to menuconfigFelix Fietkau2007-03-161-0/+11
| | | | | | | | | 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
* nuke mdev and replace it with hotplug2 :)Felix Fietkau2007-03-041-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6512 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add a check for brctl in the unbridge() function (fixes #1417)Felix Fietkau2007-02-271-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6410 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Integrate basic UCI config file validation supportFelix Fietkau2007-02-266-7/+620
| | | | | | | | | 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
* integrate the fix from #1348 and clean up the network scripts a bit...Felix Fietkau2007-02-251-18/+39
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6355 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add broadcast setting for /etc/config/network interfacesFelix Fietkau2007-01-271-1/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6225 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ignore the bridge option if brctl is not availableFelix Fietkau2007-01-201-14/+16
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6145 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Fix the issue where the default gateway is not setFelix Fietkau2007-01-171-0/+6
| | | | | | | | | | 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
* add checks for {ip,ip6}addr in the network configFelix Fietkau2007-01-141-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6099 3c298f89-4303-0410-b956-a3cf2f4a3e73