Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | base-files: clear ip addresses on interfaces that are about to be added to a ↵ | Jo-Philipp Wich | 2009-09-16 | 1 | -0/+2 |
| | | | | | | bridge SVN-Revision: 17596 | ||||
* | Revert "fix nonhotpluggable networks not being brought up. Closes #2781" ↵ | Felix Fietkau | 2009-09-09 | 1 | -1/+0 |
| | | | | | | (r17527) until we've solved the race conditions it creates SVN-Revision: 17544 | ||||
* | fix nonhotpluggable networks not being brought up. Closes #2781 | Travis Kemen | 2009-09-06 | 1 | -0/+1 |
| | | | | SVN-Revision: 17527 | ||||
* | base-files: move ipv6 module loading from setup_interface() to addif() in ↵ | Jo-Philipp Wich | 2009-08-10 | 1 | -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 refactoring | Felix Fietkau | 2009-08-07 | 1 | -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 Wich | 2009-08-04 | 1 | -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 Fietkau | 2009-06-01 | 1 | -2/+3 |
| | | | | | | change is requested SVN-Revision: 16269 | ||||
* | network: do not unnecessarily touch interfaces configured as proto=none; ↵ | Felix Fietkau | 2009-06-01 | 1 | -2/+11 |
| | | | | | | bring down old aliases before setting up new ones SVN-Revision: 16266 | ||||
* | do not run hotplug event for aliases | Felix Fietkau | 2009-04-13 | 1 | -0/+3 |
| | | | | SVN-Revision: 15224 | ||||
* | - fix mac assignment for broadcom vifs in bridging mode - thanks abramoff1 ↵ | Jo-Philipp Wich | 2009-03-25 | 1 | -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 wpa | Jo-Philipp Wich | 2009-03-24 | 1 | -0/+1 |
| | | | | SVN-Revision: 15028 | ||||
* | Prevent "SIOCSIFHWADDR: Device or resource busy" when trying to change mac ↵ | Jo-Philipp Wich | 2008-11-17 | 1 | -0/+1 |
| | | | | | | address SVN-Revision: 13258 | ||||
* | make network config script work with brctl from both bridge-utils & busybox | Nicolas Thill | 2008-11-09 | 1 | -1/+1 |
| | | | | SVN-Revision: 13165 | ||||
* | don't bring down interfaces when preparing them | Felix Fietkau | 2008-10-29 | 1 | -2/+2 |
| | | | | SVN-Revision: 13079 | ||||
* | fixes variables, oops | John Crispin | 2008-08-20 | 1 | -1/+1 |
| | | | | SVN-Revision: 12344 | ||||
* | adds the option to have no proto for a interface, usefull if the uci states ↵ | John Crispin | 2008-08-20 | 1 | -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 Fietkau | 2008-08-07 | 1 | -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 events | Felix Fietkau | 2008-08-01 | 1 | -1/+3 |
| | | | | SVN-Revision: 12057 | ||||
* | link default routes added by the network scripts to the appropriate ↵ | Felix Fietkau | 2008-07-30 | 1 | -2/+2 |
| | | | | | | interface (#2621) SVN-Revision: 12027 | ||||
* | properly keep track of bridged interfaces in the network state | Felix Fietkau | 2008-07-30 | 1 | -0/+17 |
| | | | | SVN-Revision: 12004 | ||||
* | fix use of uci_set_state in network scripts (thx, netprince) | Felix Fietkau | 2008-04-07 | 1 | -2/+2 |
| | | | | SVN-Revision: 10763 | ||||
* | fix interface enumeration issues related to /var/state/network (thx to fish ↵ | Felix Fietkau | 2008-04-02 | 1 | -3/+13 |
| | | | | | | for debugging this) SVN-Revision: 10715 | ||||
* | Here comes the new UCI. Enjoy :) | Felix Fietkau | 2008-02-03 | 1 | -1/+1 |
| | | | | SVN-Revision: 10367 | ||||
* | fix ppp issues (thanks to Fatus for debugging this) | Felix Fietkau | 2007-11-30 | 1 | -2/+3 |
| | | | | SVN-Revision: 9634 | ||||
* | Allow specifying static IPv6 gateways (#2710) | Florian Fainelli | 2007-11-16 | 1 | -0/+2 |
| | | | | SVN-Revision: 9569 | ||||
* | add support for interfaces with ipv6, but no ipv4 (patch from #2695) | Felix Fietkau | 2007-11-12 | 1 | -2/+2 |
| | | | | SVN-Revision: 9545 | ||||
* | Turn off stp by default, thanks ejka | Florian Fainelli | 2007-10-18 | 1 | -1/+1 |
| | | | | SVN-Revision: 9345 | ||||
* | Turn on stp by default for bridges (#2476) | Florian Fainelli | 2007-10-18 | 1 | -0/+2 |
| | | | | SVN-Revision: 9343 | ||||
* | add clientid to udhcpc thanks pjama | Travis Kemen | 2007-10-06 | 1 | -1/+2 |
| | | | | SVN-Revision: 9159 | ||||
* | fix a race condition with dynamic interfaces and firewalling | Felix Fietkau | 2007-08-04 | 1 | -0/+1 |
| | | | | SVN-Revision: 8343 | ||||
* | more wpa+wds patches | Mike Baker | 2007-07-08 | 1 | -1/+1 |
| | | | | SVN-Revision: 7888 | ||||
* | fix a race condition with broadcom wl devices in a bridge if a device is ↵ | Felix Fietkau | 2007-07-04 | 1 | -0/+1 |
| | | | | | | added before the bridge is brought up, the wifi settings are lost SVN-Revision: 7872 | ||||
* | fix broadcast address (#1611) | Mike Baker | 2007-06-28 | 1 | -2/+1 |
| | | | | SVN-Revision: 7766 | ||||
* | keep track of the network interface states (stored in uci format in ↵ | Felix Fietkau | 2007-06-16 | 1 | -5/+5 |
| | | | | | | /var/state/network, overlay over /etc/config/network) SVN-Revision: 7643 | ||||
* | more fixes | Felix Fietkau | 2007-06-15 | 1 | -3/+3 |
| | | | | SVN-Revision: 7639 | ||||
* | Fix ipv6 address assignment (#1622). | Eugene Konev | 2007-05-06 | 1 | -1/+1 |
| | | | | SVN-Revision: 7116 | ||||
* | various patches to add support for ppp over evdo or character devices | Mike Baker | 2007-05-01 | 1 | -0/+2 |
| | | | | SVN-Revision: 7076 | ||||
* | network config: ignore nonexistant interfaces | Felix Fietkau | 2007-04-02 | 1 | -0/+1 |
| | | | | SVN-Revision: 6819 | ||||
* | add an optional parameter to scan_interfaces() that can override the network ↵ | Felix Fietkau | 2007-03-19 | 1 | -1/+2 |
| | | | | | | config file (defaults to 'network') SVN-Revision: 6619 | ||||
* | nuke mdev and replace it with hotplug2 :) | Felix Fietkau | 2007-03-04 | 1 | -1/+1 |
| | | | | SVN-Revision: 6512 | ||||
* | add a check for brctl in the unbridge() function (fixes #1417) | Felix Fietkau | 2007-02-27 | 1 | -1/+2 |
| | | | | SVN-Revision: 6410 | ||||
* | integrate the fix from #1348 and clean up the network scripts a bit... | Felix Fietkau | 2007-02-25 | 1 | -18/+39 |
| | | | | SVN-Revision: 6355 | ||||
* | add broadcast setting for /etc/config/network interfaces | Felix Fietkau | 2007-01-27 | 1 | -1/+3 |
| | | | | SVN-Revision: 6225 | ||||
* | ignore the bridge option if brctl is not available | Felix Fietkau | 2007-01-20 | 1 | -14/+16 |
| | | | | SVN-Revision: 6145 | ||||
* | Fix the issue where the default gateway is not set in static mode most of ↵ | Felix Fietkau | 2007-01-17 | 1 | -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 config | Felix Fietkau | 2007-01-14 | 1 | -2/+2 |
| | | | | SVN-Revision: 6099 | ||||
* | Forward port whiterussian resolv.conf changes /etc/resolv.conf links to ↵ | Felix Fietkau | 2007-01-08 | 1 | -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 Fainelli | 2006-12-09 | 1 | -0/+1 |
| | | | | SVN-Revision: 5738 | ||||
* | fix a typo | Felix Fietkau | 2006-12-08 | 1 | -1/+1 |
| | | | | SVN-Revision: 5719 | ||||
* | add option for setting the mac address (#1014) | Felix Fietkau | 2006-12-04 | 1 | -2/+5 |
| | | | | SVN-Revision: 5690 |