Commit Graph

62 Commits (489252ab43a413a13e483c50ea65ea5f84f3d75b)

Author SHA1 Message Date
Felix Fietkau 6397e188af do not run hotplug event for aliases
SVN-Revision: 15224
15 years ago
Jo-Philipp Wich 9a72419724 - fix mac assignment for broadcom vifs in bridging mode - thanks abramoff1 for spotting this - fix possible regression with different interface protocols - bump PKG_RELEASE
SVN-Revision: 15042
16 years ago
Jo-Philipp Wich 7e6c947e4b sync macs with vif bssids in broadcom.sh, fixes multi-ssid with wpa
SVN-Revision: 15028
16 years ago
Jo-Philipp Wich 8a6acee2e2 sysupgrade: install /bin/sleep into ramdisk too and add completition notice (#4747)
SVN-Revision: 14784
16 years ago
Jo-Philipp Wich 789848d327 Prevent "SIOCSIFHWADDR: Device or resource busy" when trying to change mac address
SVN-Revision: 13258
16 years ago
Nicolas Thill ac915623a6 make network config script work with brctl from both bridge-utils & busybox
SVN-Revision: 13165
16 years ago
Felix Fietkau 9b75b9e35c don't bring down interfaces when preparing them
SVN-Revision: 13079
16 years ago
Felix Fietkau 7300d22877 install missing busybox symlinks for sysupgrade (patch by Frédéric Moulins)
SVN-Revision: 12695
16 years ago
Felix Fietkau f47a4a58c5 fix sysupgrade support for brcm-2.4 and brcm47xx make mtd refresh based config append optional (leave enabled on x86)
SVN-Revision: 12657
16 years ago
Felix Fietkau 22585e578b sysupgrade: add optional delay before rebooting
SVN-Revision: 12572
16 years ago
John Crispin fd26ece7f1 fixes variables, oops
SVN-Revision: 12344
16 years ago
John Crispin 3cf1a8932b 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
SVN-Revision: 12343
16 years ago
Felix Fietkau c05eb4ba63 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

SVN-Revision: 12241
16 years ago
Felix Fietkau d98002bd59 avoid duplicate vlan add events
SVN-Revision: 12057
16 years ago
Felix Fietkau 11df62d176 link default routes added by the network scripts to the appropriate interface (#2621)
SVN-Revision: 12027
16 years ago
Felix Fietkau e606b1603b properly keep track of bridged interfaces in the network state
SVN-Revision: 12004
16 years ago
Travis Kemen 7346ef83e1 fix sysupgrade endian issues
SVN-Revision: 11900
16 years ago
Felix Fietkau 036b397595 fix sysupgrade 'do_upgrade: not found' error
SVN-Revision: 11362
16 years ago
Felix Fietkau 3c94156b28 fix use of uci_set_state in network scripts (thx, netprince)
SVN-Revision: 10763
16 years ago
Felix Fietkau f4f7d687f0 fix interface enumeration issues related to /var/state/network (thx to fish for debugging this)
SVN-Revision: 10715
16 years ago
Felix Fietkau 0cf1a58282 Here comes the new UCI. Enjoy :)
SVN-Revision: 10367
17 years ago
Felix Fietkau 2afa8ad23c fix ppp issues (thanks to Fatus for debugging this)
SVN-Revision: 9634
17 years ago
Florian Fainelli d8faf285a8 Allow specifying static IPv6 gateways (#2710)
SVN-Revision: 9569
17 years ago
Felix Fietkau 071a907015 add support for interfaces with ipv6, but no ipv4 (patch from #2695)
SVN-Revision: 9545
17 years ago
Florian Fainelli 0d2e9a6539 Turn off stp by default, thanks ejka
SVN-Revision: 9345
17 years ago
Florian Fainelli c37f550144 Turn on stp by default for bridges (#2476)
SVN-Revision: 9343
17 years ago
Travis Kemen 1c09c55875 add clientid to udhcpc thanks pjama
SVN-Revision: 9159
17 years ago
Felix Fietkau ce63393e36 sync awk implementation of config_get_bool with the shell variant
SVN-Revision: 8841
17 years ago
Felix Fietkau 1e38527a52 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
SVN-Revision: 8456
17 years ago
Felix Fietkau 049dc2925b fix a race condition with dynamic interfaces and firewalling
SVN-Revision: 8343
17 years ago
Mike Baker 57da2d5713 move uci_load into config_load so that changes can be applied via uci without commiting
SVN-Revision: 7927
17 years ago
Mike Baker 9a785f0b0a more wpa+wds patches
SVN-Revision: 7888
17 years ago
Felix Fietkau 5b52ebfcb1 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
SVN-Revision: 7872
17 years ago
Mike Baker 810b0bcb22 fix broadcast address (#1611)
SVN-Revision: 7766
17 years ago
Felix Fietkau 4f16e9cc3e keep track of the network interface states (stored in uci format in /var/state/network, overlay over /etc/config/network)
SVN-Revision: 7643
17 years ago
Felix Fietkau 90d54c0faa more fixes
SVN-Revision: 7639
17 years ago
Felix Fietkau 5e6f8739be some shell variable handling fixes
SVN-Revision: 7638
17 years ago
Felix Fietkau 74f84753e7 fix typo
SVN-Revision: 7637
17 years ago
Felix Fietkau 796e53414f 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)
SVN-Revision: 7636
17 years ago
Travis Kemen ff111c2511 keep uci_set from saving things that have not changed
SVN-Revision: 7259
17 years ago
Eugene Konev 9cea5657af Fix ipv6 address assignment (#1622).
SVN-Revision: 7116
17 years ago
Mike Baker 10ac836039 various patches to add support for ppp over evdo or character devices
SVN-Revision: 7076
17 years ago
Felix Fietkau 478ee4a135 network config: ignore nonexistant interfaces
SVN-Revision: 6819
18 years ago
Felix Fietkau 7f0dd3fa45 rename uci-update.awk to uci.awk and add a few config_* functions
SVN-Revision: 6666
18 years ago
Felix Fietkau f9abb7cbba add an optional parameter to scan_interfaces() that can override the network config file (defaults to 'network')
SVN-Revision: 6619
18 years ago
Felix Fietkau 2c62bddcfe 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.
SVN-Revision: 6572
18 years ago
Felix Fietkau a44c286fdb nuke mdev and replace it with hotplug2 :)
SVN-Revision: 6512
18 years ago
Felix Fietkau c1ab24d04a add a check for brctl in the unbridge() function (fixes #1417)
SVN-Revision: 6410
18 years ago
Felix Fietkau 9405a2a6be Integrate basic UCI config file validation support Needs more testing and validation is not enforced yet
Code contributed by Fraunhofer Fokus

SVN-Revision: 6391
18 years ago
Felix Fietkau 43580f1b1d integrate the fix from #1348 and clean up the network scripts a bit...
SVN-Revision: 6355
18 years ago