Felix Fietkau
99a651fd50
base-files: fix telnet login on musl
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43006
2014-10-20 15:07:19 +00:00
Steven Barth
c118e5edf4
network: Unbind DHCPv6 from underlying interfaces
...
This allows IPv6 to set up without IPv4 being up thus
IPv6-only or IPv6+DS-Lite working with the default config.
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 42848
2014-10-08 13:08:05 +00:00
John Crispin
2d286dad6e
base-files: properly generate the ula
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42261
2014-08-22 14:19:07 +00:00
John Crispin
9ba6cd186a
base-files: fix inverse logic in board_detect script
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42220
2014-08-19 09:59:39 +00:00
John Crispin
db6a292d4c
base-files: wan6 should reference wan intead of referencing itself.
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42199
2014-08-18 13:16:35 +00:00
John Crispin
562d9f9582
base-files: add a hardware detection layer
...
this allows targets to use the new uci-default helper which will generate
a file called /etc/board.json. a tool called /bin/config_generate can then
be used to generate the default uci settings.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42185
2014-08-18 13:09:17 +00:00
Jo-Philipp Wich
ef0ce72b39
base-files: ipcalc.sh: support bit length as netmask parameter
...
SVN-Revision: 39100
2013-12-16 16:29:23 +00:00
Luka Perkov
3ceb6b3274
base-files: fix whitespaces
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 39006
2013-12-09 11:30:14 +00:00
Jo-Philipp Wich
ab6e2e6928
base-files: ipcalc.sh: fix broken calculations on 64bit systems
...
Calculate complements by using awk's xor() function with a mask of 0xffffffff
instead of relying on the compl() function which appears to produce broken
results on certain 64bit architectures.
SVN-Revision: 34875
2012-12-23 22:18:43 +00:00
Jo-Philipp Wich
010e58d209
base-files: another empty password check fix ( #10440 )
...
SVN-Revision: 29208
2011-11-17 09:40:06 +00:00
Jo-Philipp Wich
8b20bfafdf
base-files: prime root password with "x" to notify programs that there is a shadow record, fix /bin/login.sh password detection accordingly. Solves broken key based dropbear login with empty password after r28935.
...
SVN-Revision: 29130
2011-11-14 19:02:01 +00:00
Jo-Philipp Wich
20ff304ed9
base-files: now that the initial password is completely empty (and not primed with "!") adjust login.sh for it to make telnetd available again
...
SVN-Revision: 28943
2011-11-11 13:25:31 +00:00
Jo-Philipp Wich
ed8f726dab
ipcalc.sh CIDR notation Hi,
...
the attached patch makes ipcalc.sh accept IP/Netmask combinations in
CIDR notation. Before you could only do:
# sh ipcalc.sh 192.168.0.0 255.255.255.0 1 10
IP=192.168.0.0
NETMASK=255.255.255.0
BROADCAST=192.168.0.255
NETWORK=192.168.0.0
PREFIX=24
START=192.168.0.1
END=192.168.0.11
with this patch you can also execute it with:
sh ipcalc.sh 192.168.0.0/24 1 10
IP=192.168.0.0
NETMASK=255.255.255.0
BROADCAST=192.168.0.255
NETWORK=192.168.0.0
PREFIX=24
START=192.168.0.1
END=192.168.0.11
The patch is based on #1260 [1], i just changed one line to calculate
the START end END ips right. I wonder why that never got included. If
there is no reason not to do i would like to ask you to commit that
patch, because its a functionality i (and probably others) miss quite often.
Btw, i also fixed 4 useless tabs, that might look a bit strange in the
patch.
Regards, Manuel
SVN-Revision: 26930
2011-05-18 09:50:06 +00:00
Felix Fietkau
9f7f8110e7
base-files: remove a stale reference to /usr/lib/common.awk (thx, swalker)
...
SVN-Revision: 25528
2011-02-13 19:06:20 +00:00
Felix Fietkau
803e9ceb90
base-files: /usr/lib/common.awk is only used by /bin/ipcalc.sh, move the code there
...
SVN-Revision: 25495
2011-02-13 01:44:57 +00:00
Jo-Philipp Wich
1dd824a358
base-files, busybox: fix 22279, simplify code and get rid of awk
...
SVN-Revision: 22282
2010-07-18 18:36:12 +00:00
Daniel Dickinson
8974bc6ae2
base-files & telnet: Fixed telnet starting even with root password when shadow passwords in use.
...
SVN-Revision: 22279
2010-07-18 15:18:38 +00:00
Felix Fietkau
0f9f23aebe
base-files: move firstboot to /sbin
...
SVN-Revision: 17775
2009-09-27 22:56:11 +00:00
Jo-Philipp Wich
19c12174ee
base-files: ipcalc.sh: fix off-by-one in range-calculation
...
SVN-Revision: 16619
2009-06-29 11:35:33 +00:00
Felix Fietkau
34939cad39
get rid of $Id$ - it has never helped us and it has broken too many patches ;)
...
SVN-Revision: 15242
2009-04-17 14:09:46 +00:00
Felix Fietkau
de0332f86a
rename our /bin/login script to /bin/login.sh to avoid collisions with busybox - we always use -l on telnetd anyway
...
SVN-Revision: 15097
2009-04-04 09:35:55 +00:00
Travis Kemen
99dd3e13fc
make opkg the default package manager, disable busybox ipkg from building by default
...
SVN-Revision: 12319
2008-08-16 06:35:14 +00:00
Felix Fietkau
0cf1a58282
Here comes the new UCI. Enjoy :)
...
SVN-Revision: 10367
2008-02-03 06:48:15 +00:00
Mike Baker
c2e8f9c47c
rename mini_fo mount point so as not to confuse users
...
SVN-Revision: 7928
2007-07-11 20:46:25 +00:00
Felix Fietkau
90d54c0faa
more fixes
...
SVN-Revision: 7639
2007-06-15 16:07:09 +00:00
Mike Baker
4bc5cb30d3
tweaks for 2M devices
...
SVN-Revision: 7179
2007-05-10 19:41:07 +00:00
Mike Baker
4a41439c46
unified preinit environment
...
SVN-Revision: 7173
2007-05-10 14:37:47 +00:00
Felix Fietkau
c76cdd5781
fix uci commit
...
SVN-Revision: 6665
2007-03-24 13:42:55 +00:00
Eugene Konev
b756ea8a95
Move /sys on pivot_root too
...
SVN-Revision: 6603
2007-03-18 13:47:28 +00:00
Felix Fietkau
e1bb37f2ec
upgrade dnsmasq to latest version, rewrite dnsmasq init script for uci, rename /bin/ipcalc to /bin/ipcalc.sh ( fixes #1452 )
...
SVN-Revision: 6595
2007-03-17 13:31:13 +00:00
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
2007-03-16 03:02:31 +00:00
Felix Fietkau
68ca8e7818
make squashfs overlay support more generic and integrate it for x86-2.6
...
SVN-Revision: 6450
2007-03-02 01:23:36 +00:00
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
2007-02-26 20:04:04 +00:00
Felix Fietkau
59a06c71cb
rename default/ to files/
...
SVN-Revision: 5622
2006-11-22 23:30:57 +00:00