1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-02 18:20:37 +02:00
Commit Graph

105 Commits

Author SHA1 Message Date
nbd
347c600521 when changing the mac address of a bridge interface, keep member interface addresses in sync (patch from #7111)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21577 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-27 14:04:28 +00:00
jow
fddbe85964 [package] base-files: fix a preinit hang in jffs2_ready() when no rootfs_data partition is found (#7362)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21511 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-20 05:57:54 +00:00
jow
7f0eb037a2 [package] base-files: add add_dns() and remove_dns() helpers to network config, useful to merge dns entries from multiple interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21391 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-07 01:17:47 +00:00
jow
19b6acd090 [package] base-files, ppp: fix interface shutdown
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21386 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-06 01:14:24 +00:00
jow
d9494637a8 [package] base-files, ppp: remove protocol specific cleanup code from /sbin/ifdown and move it to protocol stop callbacks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-05 23:24:11 +00:00
jow
4a78f61b44 [package] base-files: make press key message more explicit in preinit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20392 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-23 22:56:12 +00:00
florian
9e7554db87 change from /jffs to /overlay, patch from Daniel Dickinson
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-21 17:16:50 +00:00
nbd
176d390d98 fix error output of brctl if bridging is not supported.
The following error is displayed during network configuration on any device that has DEVICE_TYPE set to something else then router, or has brctl functionality disabled through some other method:

"brctl: SIOCGIFBR: Package not installed"

This is due to the unbridge function being called, which uses "brctl show" to determine if the interface is bridged.

Signed-off-by: Ithamar R. Adema <ithamar.adema@team-embedded.nl>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20218 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-14 21:10:07 +00:00
jow
a1c8970a2f [package] base-files: force preinit to use busybox mount (#6797)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20176 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-13 02:59:05 +00:00
juhosg
86a0b33fa1 package/base-files: call preinit_ip_deconfig before processing init on
initramfs images


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20159 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-12 14:37:19 +00:00
nico
a1db51bb9b [package] base-files: fix preinit code typos
Signed-off-by: Ithamar R. Adema <ithamar.adema@team-embedded.nl>
Acked-by: Daniel Dickinson <cshore@csolve.net>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20124 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-10 18:09:53 +00:00
nico
d7c7e4f683 firstboot: fix typo (closes: #6738)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19944 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-01 23:54:45 +00:00
nbd
5c26b81aaa base-files: fix enter failsafe message
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19937 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-01 18:20:39 +00:00
nbd
61b3612483 add block-extroot, a package for using an external filesystem as rootfs (patch by cshore)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19880 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-26 22:46:10 +00:00
jow
ef34750d84 [package] base-files: revert dhcp state information on ifdown and restore pre-r19530 behaviour in udhcp default.script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19597 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-12 02:06:57 +00:00
jow
766d5faedc [package] base-file: revert unrelated change accidentally committed in r19478
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19488 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-01 02:00:57 +00:00
jow
8a51d0046e [package] base-files: preinit: get rid of /dev/null redirections and use grep -q where applicable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19478 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-01 00:32:46 +00:00
florian
ab6cd4fec9 [package] quieten the check for devs, thanks nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-31 21:09:53 +00:00
florian
a48c17c257 [package] /dev/null was used before it was created, so an
empty file was created.  This prevented the actual device node from
being created.  The attached patch fixes that, patch from cshore

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-31 21:01:21 +00:00
nbd
5b5b4dd41c preinit: Remove Ctrl-C prompt...impossible on /dev/console (patch by cshore)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-28 19:27:49 +00:00
nbd
a9929695c6 add preinit modularization work by Daniel Dickinson (cshore)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19331 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-25 17:11:17 +00:00
jow
3a3c05eb90 [package] base-files: ensure that the ip6addr of the main interface stays the primary ip by re-adding it after alias setup is completed - patch by Alina Friedrichsen
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19303 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-23 22:56:07 +00:00
jow
89a382a252 [package] base-files:
sysupgade library coomon.sh has "bug" in glibc enviorement. For some reason
ld-linux.so.3 is not installed at ramfs and sysupgrade always fails.
Signed-off-by: Zintis Petersons <zintis.petersons@e-mail.lv>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19167 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-16 13:39:13 +00:00
hcg
eca3f8f215 Add udhcpc command-line argument to request rootpath
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18876 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-21 10:25:15 +00:00
nbd
682f9b3fa9 remove obsolete uci validation awk code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18110 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-20 21:48:40 +00:00
jow
9fbe9e1ad0 [package] base-files: clear ip addresses on interfaces that are about to be added to a bridge
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-16 14:21:19 +00:00
nbd
7f2d4d8bb1 Revert "fix nonhotpluggable networks not being brought up. Closes #2781" (r17527) until we've solved the race conditions it creates
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17544 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-09 00:16:55 +00:00
thepeople
943fc97fb0 fix nonhotpluggable networks not being brought up. Closes #2781
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17527 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-06 17:02:14 +00:00
jow
d72fab0bfc [package] base-files: fix sysupgrade get_magic_word() function to return proper values if the first two bytes are identical
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17319 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-19 19:12:34 +00:00
jow
11a916c4df [package] base-files: move ipv6 module loading from setup_interface() to addif() in the hotplug call, this ensures that ipv6 is loaded before any interfaces or aliases with ip6addr option are configured (#5356)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17217 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-10 23:48:10 +00:00
nbd
282aff2625 base-files: some /lib/network/config.sh refactoring
* 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17160 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-07 00:08:06 +00:00
jow
ef1435675c [package] base-files: ensure that ipv6 is loaded if interfaces have an ip6addr defined, clean trailing whitespace, bump pkg revision (#5356)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-04 00:06:47 +00:00
acinonyx
75b6ff7031 [package] base-files: Fix sysupgrade .tar.gz configuration restoring
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16626 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-29 21:13:05 +00:00
jow
032f0de1f9 [package] sysupgrade: sync *before* mtd write, only fallback to sysrq-trigger if standard reboot fails
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16488 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-17 11:09:10 +00:00
acinonyx
337bcd03ce [package] base-files: Add support for bzipped images in sysupgrade
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16408 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-10 22:34:14 +00:00
acinonyx
4f43c816a4 [package] base-files: Detect and decompressed gzipped images automatically when flashing with sysupgrade
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16407 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-10 22:22:48 +00:00
acinonyx
510e735d56 [package] base-files: format hexdump output instead of using awk for sysupgrade
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16405 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-10 21:52:07 +00:00
acinonyx
5b0cf9ddca [package] base-files: fix test experession for sysupgrade
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-03 18:15:04 +00:00
nbd
5d422a4b0e network: prevent unnecessary interface down/up cycles if no mac address change is requested
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16269 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-01 18:09:05 +00:00
nbd
ce35aafec5 network: do not unnecessarily touch interfaces configured as proto=none; bring down old aliases before setting up new ones
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16266 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-01 18:07:44 +00:00
jow
e5b98fff8d [package] sysupgrade: use sysrq-trigger if available
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15865 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-15 12:10:26 +00:00
jow
38e0e195e1 [package] base-files: show reboot notification is sysupgrade
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15730 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-09 01:54:09 +00:00
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