summaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib
Commit message (Collapse)AuthorAgeFilesLines
* Prevent "SIOCSIFHWADDR: Device or resource busy" when trying to change mac ↵jow2008-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 & busyboxnico2008-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 themnbd2008-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)nbd2008-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 brcm47xxnbd2008-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 rebootingnbd2008-09-121-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12572 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fixes variables, oopsblogic2008-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 ↵blogic2008-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.nbd2008-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 eventsnbd2008-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 ↵nbd2008-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 statenbd2008-07-301-0/+17
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12004 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix sysupgrade endian issuesthepeople2008-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' errornbd2008-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)nbd2008-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 ↵nbd2008-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 :)nbd2008-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)nbd2007-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)florian2007-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)nbd2007-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 ejkaflorian2007-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)florian2007-10-181-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9343 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add clientid to udhcpc thanks pjamathepeople2007-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 variantnbd2007-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 ↵nbd2007-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 firewallingnbd2007-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 ↵mbm2007-07-111-7/+1
| | | | | | without commiting git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7927 3c298f89-4303-0410-b956-a3cf2f4a3e73
* more wpa+wds patchesmbm2007-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 bridgenbd2007-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)mbm2007-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 ↵nbd2007-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 fixesnbd2007-06-151-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7639 3c298f89-4303-0410-b956-a3cf2f4a3e73
* some shell variable handling fixesnbd2007-06-151-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7638 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix typonbd2007-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 - ↵nbd2007-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 changedthepeople2007-05-161-2/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7259 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Fix ipv6 address assignment (#1622).ejka2007-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 devicesmbm2007-05-011-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7076 3c298f89-4303-0410-b956-a3cf2f4a3e73
* network config: ignore nonexistant interfacesnbd2007-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_* functionsnbd2007-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 ↵nbd2007-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 menuconfignbd2007-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 :)nbd2007-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)nbd2007-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 supportnbd2007-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...nbd2007-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 interfacesnbd2007-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 availablenbd2007-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 setnbd2007-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 confignbd2007-01-141-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6099 3c298f89-4303-0410-b956-a3cf2f4a3e73