nbd
b4509c8ec7
base-files: bridge config, avoid having a random ipv6 ll address (backport of r26426)
...
So far, we are setting the bridge interface up before having added any
bridge interface ports. This results in the bridge assigning a random
mac address to its bridge interface and therefore IPv6 assigning a
matching link local address to the bridge interface as soon as the
bridge interface is up. After adding the first bridge port interface,
the bridge's mac address is reset correctly, however the IPv6 link
local address stays the same.
This commit ensures that we are at least having the IPv6 link local
address of the first interface added to the bridge instead of a random
one.
Signed-off-by: Linus Lüssing <linus.luessing@web.de>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@26427 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-03 01:24:31 +00:00
juhosg
3ee7252632
backfire: package/base-files: add get_magic_long() to common upgrade script (backport of r25117)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@26115 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-13 14:53:57 +00:00
jow
aba136d93a
[backfire] merge r24194, r25471 ( #8845 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@25474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-12 16:15:18 +00:00
jow
6d44b9f998
[backfire] backport r25454
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@25455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-11 00:42:01 +00:00
jow
8b347e0bb2
[backfire] merge r24742 ( #8700 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@25066 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-22 22:44:50 +00:00
jow
478d861ebd
[backfire] merge r24020
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@24024 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-17 19:19:02 +00:00
jow
2b5afc4cbc
[backfire] merge r23908
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@23909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-07 00:29:11 +00:00
jow
adc94a7003
[backfire] merge r23906
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@23907 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-07 00:26:38 +00:00
jow
28caf5dec8
[backfire] merge r23256, r23257 and r23258
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@23295 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-07 15:06:15 +00:00
jow
9ee11fa485
[backfire] merge r23279
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@23280 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-06 21:22:17 +00:00
jow
3b6dd11850
[backfire] merge r23114
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@23115 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-23 17:33:52 +00:00
cshore
8128ab0f59
[base system & package/block-extroot] Merged 23110-23112 which allows block-extroot to be
...
loaded as a module rather than being required to be in the image. Thanks JoW for pushing
and helping with this.
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@23113 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-23 16:34:56 +00:00
jow
1ac7fd2661
[backfire] merge r23087, r23091 and r23092
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@23094 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-19 15:18:07 +00:00
jow
2f1f0c0e5b
[backfire] merge r22377
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@22378 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-24 15:48:29 +00:00
jow
5fa298d76a
[backfire] merge network config fixes: r21641, r21652, r21655, r21659 and r21661
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21662 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-02 20:39:26 +00:00
jow
8eca131c0f
[backfire] merge r21638
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-30 18:40:22 +00:00
jow
102b4bb416
[backfire] revert r21596
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 10:53:10 +00:00
jow
c4c903822d
[backfire] merge r21595
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 00:59:51 +00:00
nico
4296e8d445
[backfire] merge r21511 - fix a preinit hang in jffs2_ready() when no rootfs_data partition is found ( closes : #7362 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21582 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-27 14:19:44 +00:00
nbd
356db59f17
[backfire] backport bridge fix from r21577
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21581 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-27 14:07:39 +00:00
jow
ac5e3c8844
[backfire] merge ppp, pppoe, pptp and 3g fixes
...
r21283, r21284, r21285, r21287, r21302, r21303, r21341,
r21361, r21379, r21383, r21386, r21387, r21388, r21389,
r21390, r21391, r21392, r21393, r21426, r21556, r21563
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21564 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-24 17:06:58 +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