aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib/network
Commit message (Collapse)AuthorAgeFilesLines
* Add udhcpc command-line argument to request rootpathHamish Guthrie2009-12-211-1/+1
| | | | SVN-Revision: 18876
* base-files: clear ip addresses on interfaces that are about to be added to a ↵Jo-Philipp Wich2009-09-161-0/+2
| | | | | | bridge SVN-Revision: 17596
* Revert "fix nonhotpluggable networks not being brought up. Closes #2781" ↵Felix Fietkau2009-09-091-1/+0
| | | | | | (r17527) until we've solved the race conditions it creates SVN-Revision: 17544
* fix nonhotpluggable networks not being brought up. Closes #2781Travis Kemen2009-09-061-0/+1
| | | | SVN-Revision: 17527
* base-files: move ipv6 module loading from setup_interface() to addif() in ↵Jo-Philipp Wich2009-08-101-9/+0
| | | | | | the hotplug call, this ensures that ipv6 is loaded before any interfaces or aliases with ip6addr option are configured (#5356) SVN-Revision: 17217
* base-files: some /lib/network/config.sh refactoringFelix Fietkau2009-08-071-25/+38
| | | | | | | | | | | * Localize a lot more variables than before. * Do stuff or localize variables at later points or inner blocks so less commands are executed in some cases. * Use the default option of config_get where it makes sense. Signed-off-by: Malte S. Stretz <mss@apache.org> SVN-Revision: 17160
* base-files: ensure that ipv6 is loaded if interfaces have an ip6addr ↵Jo-Philipp Wich2009-08-041-12/+21
| | | | | | defined, clean trailing whitespace, bump pkg revision (#5356) SVN-Revision: 17118
* network: prevent unnecessary interface down/up cycles if no mac address ↵Felix Fietkau2009-06-011-2/+3
| | | | | | change is requested SVN-Revision: 16269
* network: do not unnecessarily touch interfaces configured as proto=none; ↵Felix Fietkau2009-06-011-2/+11
| | | | | | bring down old aliases before setting up new ones SVN-Revision: 16266
* do not run hotplug event for aliasesFelix Fietkau2009-04-131-0/+3
| | | | SVN-Revision: 15224
* - fix mac assignment for broadcom vifs in bridging mode - thanks abramoff1 ↵Jo-Philipp Wich2009-03-251-2/+9
| | | | | | for spotting this - fix possible regression with different interface protocols - bump PKG_RELEASE SVN-Revision: 15042
* sync macs with vif bssids in broadcom.sh, fixes multi-ssid with wpaJo-Philipp Wich2009-03-241-0/+1
| | | | SVN-Revision: 15028
* Prevent "SIOCSIFHWADDR: Device or resource busy" when trying to change mac ↵Jo-Philipp Wich2008-11-171-0/+1
| | | | | | address SVN-Revision: 13258
* make network config script work with brctl from both bridge-utils & busyboxNicolas Thill2008-11-091-1/+1
| | | | SVN-Revision: 13165
* don't bring down interfaces when preparing themFelix Fietkau2008-10-291-2/+2
| | | | SVN-Revision: 13079
* fixes variables, oopsJohn Crispin2008-08-201-1/+1
| | | | SVN-Revision: 12344
* 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 SVN-Revision: 12343
* add basic interface alias support. for now (since we don't use ip in our ↵Felix Fietkau2008-08-071-37/+80
| | | | | | | | | | | 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 SVN-Revision: 12241
* avoid duplicate vlan add eventsFelix Fietkau2008-08-011-1/+3
| | | | SVN-Revision: 12057
* link default routes added by the network scripts to the appropriate ↵Felix Fietkau2008-07-301-2/+2
| | | | | | interface (#2621) SVN-Revision: 12027
* properly keep track of bridged interfaces in the network stateFelix Fietkau2008-07-301-0/+17
| | | | SVN-Revision: 12004
* fix use of uci_set_state in network scripts (thx, netprince)Felix Fietkau2008-04-071-2/+2
| | | | SVN-Revision: 10763
* fix interface enumeration issues related to /var/state/network (thx to fish ↵Felix Fietkau2008-04-021-3/+13
| | | | | | for debugging this) SVN-Revision: 10715
* Here comes the new UCI. Enjoy :)Felix Fietkau2008-02-031-1/+1
| | | | SVN-Revision: 10367
* fix ppp issues (thanks to Fatus for debugging this)Felix Fietkau2007-11-301-2/+3
| | | | SVN-Revision: 9634
* Allow specifying static IPv6 gateways (#2710)Florian Fainelli2007-11-161-0/+2
| | | | SVN-Revision: 9569
* add support for interfaces with ipv6, but no ipv4 (patch from #2695)Felix Fietkau2007-11-121-2/+2
| | | | SVN-Revision: 9545
* Turn off stp by default, thanks ejkaFlorian Fainelli2007-10-181-1/+1
| | | | SVN-Revision: 9345
* Turn on stp by default for bridges (#2476)Florian Fainelli2007-10-181-0/+2
| | | | SVN-Revision: 9343
* add clientid to udhcpc thanks pjamaTravis Kemen2007-10-061-1/+2
| | | | SVN-Revision: 9159
* fix a race condition with dynamic interfaces and firewallingFelix Fietkau2007-08-041-0/+1
| | | | SVN-Revision: 8343
* more wpa+wds patchesMike Baker2007-07-081-1/+1
| | | | SVN-Revision: 7888
* fix a race condition with broadcom wl devices in a bridge if a device is ↵Felix Fietkau2007-07-041-0/+1
| | | | | | added before the bridge is brought up, the wifi settings are lost SVN-Revision: 7872
* fix broadcast address (#1611)Mike Baker2007-06-281-2/+1
| | | | SVN-Revision: 7766
* 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) SVN-Revision: 7643
* more fixesFelix Fietkau2007-06-151-3/+3
| | | | SVN-Revision: 7639
* Fix ipv6 address assignment (#1622).Eugene Konev2007-05-061-1/+1
| | | | SVN-Revision: 7116
* various patches to add support for ppp over evdo or character devicesMike Baker2007-05-011-0/+2
| | | | SVN-Revision: 7076
* network config: ignore nonexistant interfacesFelix Fietkau2007-04-021-0/+1
| | | | SVN-Revision: 6819
* add an optional parameter to scan_interfaces() that can override the network ↵Felix Fietkau2007-03-191-1/+2
| | | | | | config file (defaults to 'network') SVN-Revision: 6619
* nuke mdev and replace it with hotplug2 :)Felix Fietkau2007-03-041-1/+1
| | | | SVN-Revision: 6512
* add a check for brctl in the unbridge() function (fixes #1417)Felix Fietkau2007-02-271-1/+2
| | | | SVN-Revision: 6410
* integrate the fix from #1348 and clean up the network scripts a bit...Felix Fietkau2007-02-251-18/+39
| | | | SVN-Revision: 6355
* add broadcast setting for /etc/config/network interfacesFelix Fietkau2007-01-271-1/+3
| | | | SVN-Revision: 6225
* ignore the bridge option if brctl is not availableFelix Fietkau2007-01-201-14/+16
| | | | SVN-Revision: 6145
* Fix the issue where the default gateway is not set in static mode most of ↵Felix Fietkau2007-01-171-0/+6
| | | | | | 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. SVN-Revision: 6123
* add checks for {ip,ip6}addr in the network configFelix Fietkau2007-01-141-2/+2
| | | | SVN-Revision: 6099
* Forward port whiterussian resolv.conf changes /etc/resolv.conf links to ↵Felix Fietkau2007-01-081-2/+2
| | | | | | /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
* Set up ipv6 address if provided in network configuration (#1028)Florian Fainelli2006-12-091-0/+1
| | | | SVN-Revision: 5738
* fix a typoFelix Fietkau2006-12-081-1/+1
| | | | SVN-Revision: 5719