summaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib/network
Commit message (Collapse)AuthorAgeFilesLines
* [package]jow2009-03-251-2/+9
| | | | | | | | | - fix mac assignment for broadcom vifs in bridging mode - thanks abramoff1 for spotting this - fix possible regression with different interface protocols - bump PKG_RELEASE git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15042 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] sync macs with vif bssids in broadcom.sh, fixes multi-ssid with wpajow2009-03-241-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15028 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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
* 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 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-031-1/+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
* 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
* 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
* 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
* 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
* 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 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
* Forward port whiterussian resolv.conf changesnbd2007-01-081-2/+2
| | | | | | | | | /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
* Set up ipv6 address if provided in network configuration (#1028)florian2006-12-091-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5738 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix a typonbd2006-12-081-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5719 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add option for setting the mac address (#1014)nbd2006-12-041-2/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5690 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rename default/ to files/nbd2006-11-221-0/+171
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5622 3c298f89-4303-0410-b956-a3cf2f4a3e73