Jo-Philipp Wich
8c4ac87e8f
base-files: r22444 caused interfaces to remain down if the macaddr option is used, fix it. Also localize the txqueuelen option variable
...
SVN-Revision: 22467
14 years ago
Florian Fainelli
56aa129fed
add txqueuelen option, patch from Roberto Riggio
...
SVN-Revision: 22444
15 years ago
Jo-Philipp Wich
9bf9ea9802
base-files: localize variable in do_move_devtmpfs(), remove extra temporary variable and shorten conditional
...
SVN-Revision: 22380
15 years ago
Alexandros C. Couloumbis
6a85a3b53b
package/base-files: add support for devtmpfs (thank you rauchwolke at gmx.net)
...
SVN-Revision: 22379
15 years ago
Jo-Philipp Wich
e1a654dd9f
base-files: unconditionally unlock the rootfs_data partition ( #7437 )
...
SVN-Revision: 22377
15 years ago
Jo-Philipp Wich
93c2c81bcf
base-files: introduce option "broadcast" for proto=dhcp interface to enable the broadcast flag in DHCP requests, required by certain providers
...
SVN-Revision: 21661
15 years ago
Jo-Philipp Wich
fa244a1265
base-files: remove IPv6 LL addr from interfaces before adding them to a bridge
...
SVN-Revision: 21659
15 years ago
Jo-Philipp Wich
94db915196
base-files: - add aliases to device by default (not ifname) - introduce option "layer" to select the target ifname to attach the alias to: - 3 use tun device (tun over bridge over device) fallback to bridge or device - 2 use bridge (bridge over device) fallback to device - 1 use device
...
SVN-Revision: 21655
15 years ago
Jo-Philipp Wich
75941a19ac
base-file: move alias setup to route hotplug, this fixes alias sections for non-static interfaces like ppp, dhcp, 6in4 etc.
...
SVN-Revision: 21652
15 years ago
Jo-Philipp Wich
261d41a906
base-files: - use add_dns() and remove_dns() for when changing resolv.conf.auto for static or dhcp interfaces - force 0644 permissions when creating resolv.conf.auto, fixes dnsmasq permissions denied problem with pppd interfaces - revert dns servers in /sbin/ifdown - bump package revision
...
SVN-Revision: 21638
15 years ago
Jo-Philipp Wich
09df0523fd
base-files: revert r21595
...
SVN-Revision: 21597
15 years ago
Jo-Philipp Wich
482b8385d2
base-files: bring bridge port iface down before changing the mac ( #7111 )
...
SVN-Revision: 21595
15 years ago
Felix Fietkau
6df2ad3e70
when changing the mac address of a bridge interface, keep member interface addresses in sync (patch from #7111 )
...
SVN-Revision: 21577
15 years ago
Jo-Philipp Wich
d6a142375b
base-files: fix a preinit hang in jffs2_ready() when no rootfs_data partition is found ( #7362 )
...
SVN-Revision: 21511
15 years ago
Jo-Philipp Wich
be41fdd01a
base-files: add add_dns() and remove_dns() helpers to network config, useful to merge dns entries from multiple interfaces
...
SVN-Revision: 21391
15 years ago
Jo-Philipp Wich
dd38b15b75
base-files, ppp: fix interface shutdown
...
SVN-Revision: 21386
15 years ago
Jo-Philipp Wich
66ab73d01f
base-files, ppp: remove protocol specific cleanup code from /sbin/ifdown and move it to protocol stop callbacks
...
SVN-Revision: 21383
15 years ago
Jo-Philipp Wich
163b15f5bb
base-files: make press key message more explicit in preinit
...
SVN-Revision: 20392
15 years ago
Florian Fainelli
7af8ee0481
change from /jffs to /overlay, patch from Daniel Dickinson
...
SVN-Revision: 20356
15 years ago
Felix Fietkau
73f61a64eb
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>
SVN-Revision: 20218
15 years ago
Jo-Philipp Wich
1968fb8da3
base-files: force preinit to use busybox mount ( #6797 )
...
SVN-Revision: 20176
15 years ago
Gabor Juhos
32be7f7605
package/base-files: call preinit_ip_deconfig before processing init on initramfs images
...
SVN-Revision: 20159
15 years ago
Nicolas Thill
d08b2b02cf
base-files: fix preinit code typos
...
Signed-off-by: Ithamar R. Adema <ithamar.adema@team-embedded.nl>
Acked-by: Daniel Dickinson <cshore@csolve.net>
SVN-Revision: 20124
15 years ago
Nicolas Thill
45f7dc9459
firstboot: fix typo ( closes : #6738 )
...
SVN-Revision: 19944
15 years ago
Felix Fietkau
524303b849
base-files: fix enter failsafe message
...
SVN-Revision: 19937
15 years ago
Felix Fietkau
9be4598569
add block-extroot, a package for using an external filesystem as rootfs (patch by cshore)
...
SVN-Revision: 19880
15 years ago
Jo-Philipp Wich
250b52f673
base-files: revert dhcp state information on ifdown and restore pre-r19530 behaviour in udhcp default.script
...
SVN-Revision: 19597
15 years ago
Jo-Philipp Wich
7ad9c8615f
base-file: revert unrelated change accidentally committed in r19478
...
SVN-Revision: 19488
15 years ago
Jo-Philipp Wich
e367f5434a
base-files: preinit: get rid of /dev/null redirections and use grep -q where applicable
...
SVN-Revision: 19478
15 years ago
Florian Fainelli
b93682af14
quieten the check for devs, thanks nbd
...
SVN-Revision: 19473
15 years ago
Florian Fainelli
7480065917
/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
...
SVN-Revision: 19472
15 years ago
Felix Fietkau
b88fc11e2a
preinit: Remove Ctrl-C prompt...impossible on /dev/console (patch by cshore)
...
SVN-Revision: 19367
15 years ago
Felix Fietkau
56bc02a305
add preinit modularization work by Daniel Dickinson (cshore)
...
SVN-Revision: 19331
15 years ago
Jo-Philipp Wich
8d0bb8f5dd
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
...
SVN-Revision: 19303
15 years ago
Jo-Philipp Wich
39f2b6d957
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>
...
SVN-Revision: 19167
15 years ago
Hamish Guthrie
406a4a885d
Add udhcpc command-line argument to request rootpath
...
SVN-Revision: 18876
15 years ago
Felix Fietkau
e9aa394113
remove obsolete uci validation awk code
...
SVN-Revision: 18110
15 years ago
Jo-Philipp Wich
2f921cb48d
base-files: clear ip addresses on interfaces that are about to be added to a bridge
...
SVN-Revision: 17596
15 years ago
Felix Fietkau
91d40a14af
Revert "fix nonhotpluggable networks not being brought up. Closes #2781" (r17527) until we've solved the race conditions it creates
...
SVN-Revision: 17544
15 years ago
Travis Kemen
27915ac778
fix nonhotpluggable networks not being brought up. Closes #2781
...
SVN-Revision: 17527
15 years ago
Jo-Philipp Wich
7d1c2a0612
base-files: fix sysupgrade get_magic_word() function to return proper values if the first two bytes are identical
...
SVN-Revision: 17319
15 years ago
Jo-Philipp Wich
27da9d1984
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 )
...
SVN-Revision: 17217
15 years ago
Felix Fietkau
91f98f1756
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>
SVN-Revision: 17160
15 years ago
Jo-Philipp Wich
3bb5ea71eb
base-files: ensure that ipv6 is loaded if interfaces have an ip6addr defined, clean trailing whitespace, bump pkg revision ( #5356 )
...
SVN-Revision: 17118
16 years ago
Vasilis Tsiligiannis
baa9053e7a
base-files: Fix sysupgrade .tar.gz configuration restoring
...
SVN-Revision: 16626
16 years ago
Jo-Philipp Wich
c6fe201fb6
sysupgrade: sync *before* mtd write, only fallback to sysrq-trigger if standard reboot fails
...
SVN-Revision: 16488
16 years ago
Vasilis Tsiligiannis
f4a81139b7
base-files: Add support for bzipped images in sysupgrade
...
SVN-Revision: 16408
16 years ago
Vasilis Tsiligiannis
57d7cc7666
base-files: Detect and decompressed gzipped images automatically when flashing with sysupgrade
...
SVN-Revision: 16407
16 years ago
Vasilis Tsiligiannis
d1f5700e78
base-files: format hexdump output instead of using awk for sysupgrade
...
SVN-Revision: 16405
16 years ago
Vasilis Tsiligiannis
5b72dc3d8f
base-files: fix test experession for sysupgrade
...
SVN-Revision: 16310
16 years ago