jow
45ff7559b1
[PATCH] Add option in sysupgrade to flash gzipped images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15672 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-07 13:27:10 +00:00
nbd
cec137000a
do not run hotplug event for aliases
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15224 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-13 00:43:23 +00:00
jow
bc175c58b0
[package]
...
- 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
2009-03-25 19:13:15 +00:00
jow
6d85891fde
[package] sync macs with vif bssids in broadcom.sh, fixes multi-ssid with wpa
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15028 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-24 23:42:09 +00:00
jow
3099fb8fb3
[package] sysupgrade: install /bin/sleep into ramdisk too and add completition notice ( #4747 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14784 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-08 00:21:25 +00:00
jow
b80bf0c001
Prevent "SIOCSIFHWADDR: Device or resource busy" when trying to change mac address
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13258 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-17 10:47:02 +00:00
nico
445c5eeabd
make network config script work with brctl from both bridge-utils & busybox
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13165 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-09 22:48:56 +00:00
nbd
3f95a4242b
don't bring down interfaces when preparing them
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13079 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-29 17:26:59 +00:00
nbd
fcb62b7607
install missing busybox symlinks for sysupgrade (patch by Frédéric Moulins)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12695 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-25 11:31:35 +00:00
nbd
498cc73e51
fix sysupgrade support for brcm-2.4 and brcm47xx
...
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
2008-09-23 11:05:54 +00:00
nbd
4e9554bdfe
sysupgrade: add optional delay before rebooting
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12572 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-12 19:51:30 +00:00
blogic
8a1e72be0a
fixes variables, oops
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12344 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-20 11:45:23 +00:00
blogic
6279cc1ca5
adds the option to have no proto for a interface, usefull if the uci states 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
2008-08-20 11:17:40 +00:00
nbd
9fb77da451
add basic interface alias support.
...
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
2008-08-07 15:28:48 +00:00
nbd
1f75fe411e
avoid duplicate vlan add events
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12057 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-01 03:01:25 +00:00
nbd
81de0abd55
link default routes added by the network scripts to the appropriate interface ( #2621 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12027 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-30 22:49:25 +00:00
nbd
0448c53b0d
properly keep track of bridged interfaces in the network state
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-30 05:22:02 +00:00
thepeople
727db54052
fix sysupgrade endian issues
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-22 01:11:30 +00:00
nbd
d110b89b7b
fix sysupgrade 'do_upgrade: not found' error
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-04 23:20:56 +00:00
nbd
c8c1a02da5
fix use of uci_set_state in network scripts (thx, netprince)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10763 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-07 16:02:50 +00:00
nbd
fd00f35a4f
fix interface enumeration issues related to /var/state/network (thx to fish for debugging this)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10715 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-02 21:27:28 +00:00
nbd
afa5da1d1b
Here comes the new UCI. Enjoy :)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-03 06:48:15 +00:00
nbd
bb7ec42ea8
fix ppp issues (thanks to Fatus for debugging this)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9634 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-30 09:43:05 +00:00
florian
bc2b4b018b
Allow specifying static IPv6 gateways ( #2710 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-16 07:27:59 +00:00
nbd
21f4cf973f
add support for interfaces with ipv6, but no ipv4 (patch from #2695 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9545 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-12 16:29:08 +00:00
florian
6d6cdb60aa
Turn off stp by default, thanks ejka
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-18 13:20:02 +00:00
florian
a998955b82
Turn on stp by default for bridges ( #2476 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9343 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-18 13:07:28 +00:00
thepeople
10208a7eb1
add clientid to udhcpc thanks pjama
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9159 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-06 03:12:04 +00:00
nbd
9c407b3b07
sync awk implementation of config_get_bool with the shell variant
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8841 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-19 15:36:30 +00:00
nbd
6c1223e189
add sysupgrade script for config preserving system upgrades. only 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
2007-08-21 18:23:57 +00:00
nbd
3c77e53b3f
fix a race condition with dynamic interfaces and firewalling
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8343 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-04 13:26:41 +00:00
mbm
d3ba75415e
move uci_load into config_load so that changes can be applied via uci without commiting
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7927 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-11 20:39:28 +00:00
mbm
ba2d065090
more wpa+wds patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7888 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-08 12:51:30 +00:00
nbd
e84d529127
fix a race condition with broadcom wl devices in a bridge
...
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
2007-07-04 05:05:46 +00:00
mbm
a9d4da075e
fix broadcast address ( #1611 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7766 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-28 23:07:29 +00:00
nbd
46da140988
keep track of the network interface states (stored in uci format in /var/state/network, overlay over /etc/config/network)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7643 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-16 00:01:33 +00:00
nbd
e6477dde69
more fixes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-15 16:07:09 +00:00
nbd
dc98b64674
some shell variable handling fixes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7638 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-15 15:59:56 +00:00
nbd
31cf560484
fix typo
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7637 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-15 15:18:58 +00:00
nbd
807c2e8108
allow config_* and uci_* functions to work on files outside of /etc/config - 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
2007-06-15 15:12:57 +00:00
thepeople
f4fb35b391
keep uci_set from saving things that have not changed
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7259 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-16 14:46:23 +00:00
ejka
e24972ad73
Fix ipv6 address assignment ( #1622 ).
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7116 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-06 16:52:46 +00:00
mbm
b1c117aeeb
various patches to add support for ppp over evdo or character devices
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7076 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-01 21:53:32 +00:00
nbd
120707c71e
network config: ignore nonexistant interfaces
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6819 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-02 09:41:56 +00:00
nbd
f1bcf559df
rename uci-update.awk to uci.awk and add a few config_* functions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6666 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-24 13:43:04 +00:00
nbd
d4c03cdd53
add an optional parameter to scan_interfaces() that can override the network config file (defaults to 'network')
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6619 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-19 22:06:31 +00:00
nbd
a1aed6ae61
Add an 'Image Configuration' menu to menuconfig
...
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
2007-03-16 03:02:31 +00:00
nbd
203cccc4a2
nuke mdev and replace it with hotplug2 :)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-04 20:31:53 +00:00
nbd
8ab2244c0d
add a check for brctl in the unbridge() function ( fixes #1417 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6410 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-27 23:34:14 +00:00
nbd
79386b5db7
Integrate basic UCI config file validation support
...
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
2007-02-26 20:04:04 +00:00