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
12 years ago
Jo-Philipp Wich
010e58d209
base-files: another empty password check fix ( #10440 )
...
SVN-Revision: 29208
13 years ago
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
13 years ago
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
13 years ago
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
14 years ago
Felix Fietkau
9f7f8110e7
base-files: remove a stale reference to /usr/lib/common.awk (thx, swalker)
...
SVN-Revision: 25528
14 years ago
Felix Fietkau
803e9ceb90
base-files: /usr/lib/common.awk is only used by /bin/ipcalc.sh, move the code there
...
SVN-Revision: 25495
14 years ago
Jo-Philipp Wich
1dd824a358
base-files, busybox: fix 22279, simplify code and get rid of awk
...
SVN-Revision: 22282
15 years ago
Daniel Dickinson
8974bc6ae2
base-files & telnet: Fixed telnet starting even with root password when shadow passwords in use.
...
SVN-Revision: 22279
15 years ago
Felix Fietkau
0f9f23aebe
base-files: move firstboot to /sbin
...
SVN-Revision: 17775
15 years ago
Jo-Philipp Wich
19c12174ee
base-files: ipcalc.sh: fix off-by-one in range-calculation
...
SVN-Revision: 16619
16 years ago
Felix Fietkau
34939cad39
get rid of $Id$ - it has never helped us and it has broken too many patches ;)
...
SVN-Revision: 15242
16 years ago
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
16 years ago
Travis Kemen
99dd3e13fc
make opkg the default package manager, disable busybox ipkg from building by default
...
SVN-Revision: 12319
16 years ago
Felix Fietkau
0cf1a58282
Here comes the new UCI. Enjoy :)
...
SVN-Revision: 10367
17 years ago
Mike Baker
c2e8f9c47c
rename mini_fo mount point so as not to confuse users
...
SVN-Revision: 7928
18 years ago
Felix Fietkau
90d54c0faa
more fixes
...
SVN-Revision: 7639
18 years ago
Mike Baker
4bc5cb30d3
tweaks for 2M devices
...
SVN-Revision: 7179
18 years ago
Mike Baker
4a41439c46
unified preinit environment
...
SVN-Revision: 7173
18 years ago
Felix Fietkau
c76cdd5781
fix uci commit
...
SVN-Revision: 6665
18 years ago
Eugene Konev
b756ea8a95
Move /sys on pivot_root too
...
SVN-Revision: 6603
18 years ago
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
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
68ca8e7818
make squashfs overlay support more generic and integrate it for x86-2.6
...
SVN-Revision: 6450
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
59a06c71cb
rename default/ to files/
...
SVN-Revision: 5622
18 years ago