1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-01 23:11:51 +02:00
Commit Graph

371 Commits

Author SHA1 Message Date
nbd
61060584fe keep track of the wifi interface state in /var/state/wireless
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8108 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-22 18:32:47 +00:00
nbd
6762e5d4cc add patch from #2111
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8106 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-22 16:55:31 +00:00
nbd
305cc5a452 add a workaround for the hostapd killed issue when using more than one wifi card (#1928, #2040)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8077 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-20 16:11:46 +00:00
nbd
8a40c8c3ef move firmware loading to hotplug2-init.rules (should fix #2056)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7955 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-13 02:32:32 +00:00
nbd
05d9e9fa59 use . /var/state/network instead of config_load to avoid a CONFIG_SECTIONS reset
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7953 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-13 00:44:41 +00:00
nbd
fa2a6d6883 avoid a race condition that might lead to dnsmasq reading an empty resolv.conf (#2007)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7952 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-12 21:59:38 +00:00
nbd
779f081363 fix static routes for dynamic interfaces (#1446)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7949 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-12 21:23:23 +00:00
mbm
31a89af3be rename mini_fo mount point so as not to confuse users
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7928 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-11 20:46:25 +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
nbd
059ccded98 add second package source for packages built from the /packages repository
fix up first package source (should be release, not snapshots on 7.07)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7897 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-09 07:09:44 +00:00
nbd
af7fc344c8 hotplug2 update - include hotplug2-init.rules from hotplug2.rules, fix permissions of various devices (fixes #2052)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7892 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-09 00:13:47 +00:00
mbm
ff77b035d0 fix usb-storage permissions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7889 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-08 13:23:17 +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
nbd
c49b0723e2 add failsafe support for atheros-2.6 (#1501) - only works with ar5315+ at the moment
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-04 04:35:44 +00:00
nbd
3462ef2525 move parts of the failsafe code to the generic base-files - will be used on atheros as well as soon as i've added support for it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7810 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-30 21:09:02 +00:00
nbd
101062e081 fix a warning (#1800)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7809 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-30 20:00:29 +00:00
nbd
370c954b81 replace the hotplug2 fork handling hack with a better solution implemented in upstream (thanks, iSteve)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7786 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-30 11:05:14 +00:00
nbd
61994097f2 unify sysctl.conf, add extra netfilter options (#1996)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7784 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-30 02:59:09 +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
1d5d64e647 fix failsafe on broadcom, send netlink events in diag when running linux 2.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-25 08:32:25 +00:00
blogic
b77baef885 added usb-storage hotpluging
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7684 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-20 22:05:15 +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
florian
7e1f65bf6e Add the conloglevel option (#1682)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7613 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-13 17:41:54 +00:00
florian
c13b2a5d97 Check for modules.d existence before loading modules
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7423 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-31 15:58:43 +00:00
mbm
3fef5a6916 mount_root should only mount the root
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7418 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-31 12:09:08 +00:00
nbd
b966c1fbab bridge the lan interface by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7349 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-26 20:33:53 +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
mbm
1f9301993a fix typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-15 06:14:35 +00:00
florian
bef444d0b4 Prefer real executables when available (#1296)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7232 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-14 18:19:07 +00:00
mbm
5f4cd74dd6 cleaner version of the udhcp script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7222 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-14 08:37:57 +00:00
mbm
8ed8315334 /proc needs to be mounted before preinit.arch for failsafe
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7220 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-14 05:37:24 +00:00
florian
a87f6b14b4 Do not suppress routes if the router received on renew is the same (#138)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7215 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-13 21:58:08 +00:00
florian
663c75c6b2 Fix set_state preinit stuff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7200 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-13 10:17:57 +00:00
mbm
6853d4d1ef clean up the mtd unlocking
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7199 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-13 09:39:21 +00:00
mbm
db92693c28 tweaks for 2M devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7179 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-10 19:41:07 +00:00
mbm
80c4c68cdd bugfix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7178 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-10 19:19:23 +00:00
mbm
9c0d199275 fix bug in mount script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7177 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-10 16:54:52 +00:00
mbm
3c976d4432 cleanup the broadcom preinit.arch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7176 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-10 16:29:15 +00:00
mbm
2a701a93d2 use generic inittab for x86
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7175 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-10 14:50:42 +00:00
mbm
de0bb1d6c4 unified preinit environment
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7173 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-10 14:37:47 +00:00
mbm
cdd3f428a8 fix typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7170 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-10 12:15:36 +00:00
mbm
3192ed8d6e unmount filesystems at shutdown
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7166 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-10 10:45:04 +00:00
mbm
b2f4342440 START/STOP values must be specified in the init script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7164 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-10 10:38:53 +00:00
mbm
38a2e4b392 add K* scripts to be run at shutdown
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7163 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-10 10:07:38 +00:00
mbm
e26af005b5 move syslogd and klogd to init.di/boot script, add remote logging support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7160 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-10 09:29:55 +00:00
nbd
4039f9f6c5 fix networking on broadcom and possibly other targets as well (#1658)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7149 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-09 20:54:41 +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
nbd
2d6b53deec use hotplug2 for serializing hotplug events on 2.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7097 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-05 18:33:18 +00:00
mbm
01aef2e93b buggy script; nolonger used
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7078 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-01 22:28:55 +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
kaloz
4d3589325b move the last change to the right place
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7069 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-30 11:11:05 +00:00
kaloz
d1376128a1 set $HOME to /tmp on bootup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7068 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-30 09:59:40 +00:00
nbd
2064758dc2 create /dev/root on boot - fixes cf2nand on rb532
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7066 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-29 16:57:55 +00:00
nbd
2d4bdf6086 use separate sysctl.conf files for 2.4 and 2.6 - fixes some boot message spam
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7043 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-24 12:05:52 +00:00
nbd
461a3827fb we can use some more hotplug processes here...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6980 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-16 23:58:46 +00:00
nbd
6dbdf08f38 add jffs2_mark_erase function for erasing jffs2 partitions on the next mount (typically faster than doing mtd erase manually)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6978 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-16 23:29:44 +00:00
nbd
2a86ef5abf fix ifdown hotplug event (#1576)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6950 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-15 07:23:28 +00:00
nbd
21479fd2fd fix bogus "interface not found" errors in ifup -a (#1580)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6949 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-15 07:22:11 +00:00
nbd
4530e52764 remove automounting script for block devices - it's causing more problems than it solves
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6937 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-12 09:49:09 +00:00
nbd
cdce6a14fb allow scripts to disable config callbacks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-11 19:34:20 +00:00
nbd
7e7f65ca92 use rc.common for usb init script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6873 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-06 16:07:36 +00:00
florian
3195575d36 Add ldd and ldconfig support, template packages derived from gcc and uclibc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-03 22:50:27 +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
35542adfe3 move /dev/tun to /dev/net/tun
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-01 23:44:39 +00:00
florian
a9d604c520 Limit the number of hotplug childrens
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6804 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-01 18:30:32 +00:00
nbd
8e779fde4f /sbin/hotplug-call: export the hotplug event type through the environment for hotplug scripts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-31 00:59:49 +00:00
florian
cbfddaacee Use MiBSD ksh if installed (#1470)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6687 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-24 21:51:44 +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
2b4ca3e363 fix uci commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6665 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-24 13:42:55 +00:00
nbd
1addd4cc9c small cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6663 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-24 13:42:53 +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
ejka
312e4176e0 Move /sys on pivot_root too
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6603 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-18 13:47:28 +00:00
nbd
4ab4dc8ed8 upgrade dnsmasq to latest version, rewrite dnsmasq init script for uci, rename /bin/ipcalc to /bin/ipcalc.sh (fixes #1452)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6595 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-17 13:31:13 +00:00
mbm
af5a1e3a29 add a new 'option disabled' to wifi-device
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6576 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16 13:56:36 +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
e8311cb171 add new config option for the hostname in /etc/config/system (fixes #1302, #1438)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6532 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-06 21:28:57 +00:00
nbd
6af5ae98a3 add vga console support for x86-2.6 images (fixes #1342, #840)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6530 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-06 19:13:40 +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
b96d214468 only mount sysfs once (thx, ejka)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-04 14:27:52 +00:00
nbd
1ce8862ab4 add failsafe support for x86-2.6 and fix mdev support for platforms using /etc/preinit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6481 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-03 22:32:13 +00:00
nbd
c35ce18c29 don't run mdev on hotplug pseudo-events that come from user space
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6480 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-03 20:59:49 +00:00
kaloz
130f4efa38 R.I.P. devfs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6478 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-03 20:35:01 +00:00
nbd
4c91a37b27 make find_mtd_part work without devfs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6466 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 19:01:49 +00:00
nbd
c4ce6af0a0 add support for static routes - based on the patch from #1365
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6457 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 15:48:29 +00:00
nbd
ecec813b40 add support for if{down,up} -a and implement proper start/stop/restart for /etc/init.d/network
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 13:21:33 +00:00
nbd
1ebe6d3488 make squashfs overlay support more generic and integrate it for x86-2.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 01:23:36 +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
796420d428 move config_get_bool from /sbin/wifi to /etc/functions.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6407 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-27 23:09:57 +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
nbd
5f9c2e9fa6 more reliable fix for handling ppp
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-25 13:45:45 +00:00
nbd
6f12a935c7 integrate the fix from #1348 and clean up the network scripts a bit...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6355 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-25 12:52:02 +00:00
mbm
80d27b5e3c Change localhost into a fully qualified name; remove OpenWrt alias to 127.0.0.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6292 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-12 22:54:56 +00:00
nbd
7af01d4894 fix typos in ifdown (patch from #1319)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6272 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-06 01:02:30 +00:00
nbd
a5f42890e4 fix a typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-29 22:07:17 +00:00
nbd
0844ee3f41 add broadcast setting for /etc/config/network interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6225 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-27 21:58:03 +00:00
nbd
8072d81b1c make usb init script executable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6203 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-25 17:42:07 +00:00
nbd
8ab1f53d63 use syslogd -C16 instead of syslogd -C 16 (busybox 1.4 compatibility)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6202 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-25 17:39:38 +00:00
florian
f1df2a74a7 Mount usb filesystem at startup (#1077)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6163 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-21 18:11:27 +00:00
nbd
a2b248eea7 ignore the bridge option if brctl is not available
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-20 15:28:47 +00:00
nbd
4c0cc0fb0b Fix the issue where the default gateway is not set
in static mode most of the time. Seems like the bridge
is not fast enough at switching to 'forwarding' mode
so a short delay before setting the routes is necessary.



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-17 21:29:53 +00:00
nbd
b766f54386 add checks for {ip,ip6}addr in the network config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6099 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-14 22:29:13 +00:00
nbd
5ad62fbdd3 Forward port whiterussian resolv.conf changes
/etc/resolv.conf links to /tmp/resolv.conf
/tmp/resolv.conf links to /tmp/resolv.conf.auto by default (which is where the ISPs nameserver is in)
When dnsmasq starts, it replaces /tmp/resolv.conf with a file pointing to 127.0.0.1


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6043 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-08 21:33:53 +00:00
nbd
afacc5b25a don't try to automount loopback devices (#1011)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-20 05:29:52 +00:00
nbd
799bc42c35 add a workaround for self-killing init scripts on restart (#1023)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5876 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-20 05:26:39 +00:00
nbd
f8c80695b9 add a variable to keep track of the list of sections when loading uci config files. add a function to iterate through sections
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-20 04:15:13 +00:00
nbd
ad3f176124 fix CONFIG_FILENAME in uci_commit()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5791 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-14 17:29:51 +00:00
nbd
2bfeaa3564 fix typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5790 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-14 17:28:19 +00:00
nbd
4ec142cba0 fix uci_load trash output (#1040)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5745 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-10 03:37:14 +00:00
florian
9c2c7fac47 Set up ipv6 address if provided in network configuration (#1028)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5738 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-09 16:57:31 +00:00
nbd
53c5ad6fa8 add a check to see if an init script is enabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5727 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-08 17:56:05 +00:00
nbd
f89b5a949e fix a typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5719 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-08 11:25:10 +00:00
nbd
40f0bd6351 add option for setting the mac address (#1014)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5690 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-04 23:22:06 +00:00
nbd
533670025d fix typo in /sbin/wifi (#1016 - thanks, dairiki)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5689 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-04 23:11:47 +00:00
mbm
3c0d0b56fb small tweaks to the usb disk hotplug scripts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5667 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-28 18:37:37 +00:00
mbm
ffa580ddcf fix sed error installing kmod ipkgs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5629 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-23 18:22:06 +00:00
nbd
05adaa9794 rename default/ to files/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5622 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-22 23:30:57 +00:00