Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ipcalc.sh CIDR notation Hi, | Jo-Philipp Wich | 2011-05-18 | 1 | -6/+15 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | base-files: retrigger usb coldplug after module loading, solves ↵ | Jo-Philipp Wich | 2011-05-08 | 1 | -0/+5 |
| | | | | | | usb_modeswitch on boot and possibly others (#9352) SVN-Revision: 26848 | ||||
* | base-files: fix a typo in etc/banner | Gabor Juhos | 2011-05-07 | 1 | -1/+1 |
| | | | | SVN-Revision: 26841 | ||||
* | base-files: cleanup permissions of device files in common hotplug rules (#9211) | Jo-Philipp Wich | 2011-05-03 | 1 | -6/+15 |
| | | | | SVN-Revision: 26808 | ||||
* | base-files: Use -h instead of deprecated -L for symlink check | Vasilis Tsiligiannis | 2011-04-05 | 1 | -1/+1 |
| | | | | SVN-Revision: 26485 | ||||
* | base-files: fix minor problem in init.d/boot | Vasilis Tsiligiannis | 2011-04-05 | 1 | -1/+1 |
| | | | | | | | | | The script tests for the existance of /dev/root with test -e which fails if /dev/root is a dangling symlink making the call to ln fail. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de> SVN-Revision: 26483 | ||||
* | block-mount base-files: Added additional check to pi_include to ensure that ↵ | Daniel Dickinson | 2011-04-05 | 1 | -6/+10 |
| | | | | | | a directory used with pi_include actually contains files matching the souring pattern because if not the shell dies due to an empty string in for statement. Added /lib/functions/fsck as an empty dir to block-mount. This combination fixes a warning which generates a lot of bug reports, without panicking the kernel like the last attempt. SVN-Revision: 26479 | ||||
* | base-files: bridge config, avoid having a random ipv6 ll address | Felix Fietkau | 2011-04-03 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | So far, we are setting the bridge interface up before having added any bridge interface ports. This results in the bridge assigning a random mac address to its bridge interface and therefore IPv6 assigning a matching link local address to the bridge interface as soon as the bridge interface is up. After adding the first bridge port interface, the bridge's mac address is reset correctly, however the IPv6 link local address stays the same. This commit ensures that we are at least having the IPv6 link local address of the first interface added to the bridge instead of a random one. Signed-off-by: Linus Lüssing <linus.luessing@web.de> SVN-Revision: 26426 | ||||
* | base-files: properly handle vlans on top of wireless interfaces | Jo-Philipp Wich | 2011-03-18 | 1 | -7/+10 |
| | | | | SVN-Revision: 26230 | ||||
* | base-files: overlayfs whiteouts depend on a specific xattr entry, which does ↵ | Felix Fietkau | 2011-03-17 | 1 | -0/+12 |
| | | | | | | not get preserved by the tmpfs->overlay copy. work around this by cleaning all copied "(overlay-whiteout)" symlinks after the switch to jffs2 SVN-Revision: 26208 | ||||
* | base-files: add initial support for mounting overlayfs | Felix Fietkau | 2011-03-17 | 3 | -7/+9 |
| | | | | SVN-Revision: 26207 | ||||
* | base-files: update sysctl.conf for modern kernels | Jo-Philipp Wich | 2011-03-17 | 1 | -1/+7 |
| | | | | SVN-Revision: 26204 | ||||
* | base-files: Autodetect newly added wireless hardware | Vasilis Tsiligiannis | 2011-03-15 | 1 | -2/+2 |
| | | | | SVN-Revision: 26166 | ||||
* | base-files: add a default /etc/services files | Felix Fietkau | 2011-03-13 | 1 | -0/+170 |
| | | | | SVN-Revision: 26142 | ||||
* | base-files: add users ftp (for ftp servers), network (network related ↵ | Felix Fietkau | 2011-03-13 | 1 | -0/+2 |
| | | | | | | daemons such as tor, quagga, ...) SVN-Revision: 26138 | ||||
* | base-files: add an ftp group as well | Felix Fietkau | 2011-03-13 | 1 | -0/+1 |
| | | | | SVN-Revision: 26136 | ||||
* | base-files: add a few default groups to /etc/group so that we can get rid of ↵ | Felix Fietkau | 2011-03-13 | 1 | -0/+7 |
| | | | | | | a few postinst scripts SVN-Revision: 26133 | ||||
* | base-files: fix sysctl handling, do not react on fake ifaces in route ↵ | Jo-Philipp Wich | 2011-02-25 | 1 | -2/+5 |
| | | | | | | hotplug handler SVN-Revision: 25713 | ||||
* | boot.sh: Tabs are used for indent. Also use tabs in jffs2_ready() | Michael Büsch | 2011-02-20 | 1 | -4/+4 |
| | | | | SVN-Revision: 25635 | ||||
* | base-files: Add "-o noatime" to mount wrapper | Michael Büsch | 2011-02-20 | 1 | -1/+1 |
| | | | | | | noatime is cheaper than default relatime. SVN-Revision: 25634 | ||||
* | Fix whitespace | Michael Büsch | 2011-02-20 | 1 | -1/+1 |
| | | | | SVN-Revision: 25632 | ||||
* | base-files: remove a stale reference to /usr/lib/common.awk (thx, swalker) | Felix Fietkau | 2011-02-13 | 1 | -1/+1 |
| | | | | SVN-Revision: 25528 | ||||
* | it's time for some attitude adjustment ;) | Imre Kaloz | 2011-02-13 | 1 | -5/+9 |
| | | | | SVN-Revision: 25514 | ||||
* | base-files: /usr/lib/common.awk is only used by /bin/ipcalc.sh, move the ↵ | Felix Fietkau | 2011-02-13 | 2 | -26/+21 |
| | | | | | | code there SVN-Revision: 25495 | ||||
* | base-files: remove ptbtime3 rdate server, its dead | Jo-Philipp Wich | 2011-02-12 | 1 | -3/+0 |
| | | | | SVN-Revision: 25479 | ||||
* | base-files: update rdate server list | Jo-Philipp Wich | 2011-02-12 | 1 | -9/+3 |
| | | | | SVN-Revision: 25478 | ||||
* | base-file: cleanup ipv6 enabling in unbridge | Jo-Philipp Wich | 2011-02-12 | 1 | -3/+1 |
| | | | | SVN-Revision: 25473 | ||||
* | base-files: - properly disable IPv6 on bridge ports - introduce accept_ra ↵ | Jo-Philipp Wich | 2011-02-11 | 2 | -5/+29 |
| | | | | | | option, defaults to true for dhcp interfaces, false for others - introduce send_rs option, defaults to true for static interfaces, false for others SVN-Revision: 25454 | ||||
* | base-files: derive lease_acquired dhcp state var from /proc/uptime | Jo-Philipp Wich | 2011-02-10 | 1 | -1/+1 |
| | | | | SVN-Revision: 25452 | ||||
* | base-files: Add include for target specific hotplug rules | Vasilis Tsiligiannis | 2011-02-07 | 1 | -0/+2 |
| | | | | SVN-Revision: 25415 | ||||
* | hotplug2 rules: Run /etc/hotplug.d/firmware/ scripts (if any) on firmware ↵ | Michael Büsch | 2011-02-06 | 1 | -0/+1 |
| | | | | | | load events SVN-Revision: 25383 | ||||
* | base-files: don't stop hotplug events for ppp interfaces, similar fix like ↵ | Jo-Philipp Wich | 2011-02-03 | 1 | -1/+0 |
| | | | | | | the earlier one for tun/tap interfaces SVN-Revision: 25355 | ||||
* | base-files: make the skipping of ppp interfaces in 10-net hotplug more ↵ | Jo-Philipp Wich | 2011-02-03 | 1 | -1/+1 |
| | | | | | | explicit, this allows users to rely on hotplug events for ppp0 .. ppp9 interfaces spawned by other programs SVN-Revision: 25354 | ||||
* | base-files: Fix alsa raw audio device hotplug rule | Vasilis Tsiligiannis | 2011-02-02 | 1 | -1/+1 |
| | | | | SVN-Revision: 25301 | ||||
* | hotplug2: Use stricter matching for rule regular expressions | Vasilis Tsiligiannis | 2011-02-01 | 2 | -8/+7 |
| | | | | SVN-Revision: 25282 | ||||
* | base-files: Remove deprecated hotplug2 commands, update old commands to new | Vasilis Tsiligiannis | 2011-01-31 | 1 | -15/+5 |
| | | | | SVN-Revision: 25268 | ||||
* | base-files: fix a typo in processing of additional dhcp request opts | Jo-Philipp Wich | 2011-01-29 | 1 | -1/+1 |
| | | | | SVN-Revision: 25239 | ||||
* | base-files: fix handling of dhcp "reqopts" option | Jo-Philipp Wich | 2011-01-29 | 1 | -4/+8 |
| | | | | SVN-Revision: 25237 | ||||
* | base-files: support port_state in led config (#6763) | Florian Fainelli | 2011-01-27 | 1 | -0/+4 |
| | | | | | | Signed-off-by: Alexey Torkhov <atorkhov@gmail.com> SVN-Revision: 25172 | ||||
* | package/base-files: add get_magic_long() to common upgrade script | Gabor Juhos | 2011-01-26 | 1 | -0/+4 |
| | | | | | | Patch-by: Mark Mentovai <mark@moxienet.com> SVN-Revision: 25117 | ||||
* | base-files: implement "reqopts" parameter for dhcp interfaces to specify ↵ | Jo-Philipp Wich | 2010-12-22 | 1 | -1/+3 |
| | | | | | | additional dhcp options to request SVN-Revision: 24780 | ||||
* | base-files: the busybox update to v1.15.3 completely broke udhcpc route ↵ | Jo-Philipp Wich | 2010-12-22 | 1 | -73/+14 |
| | | | | | | option handling, repair default.script to work with the new format (#6435) SVN-Revision: 24778 | ||||
* | Âbase-files: don't mark /etc/banner as conffile | Jo-Philipp Wich | 2010-12-20 | 1 | -1/+0 |
| | | | | SVN-Revision: 24742 | ||||
* | base-files: add support for the usbdev LED trigger | Gabor Juhos | 2010-12-17 | 1 | -4/+10 |
| | | | | SVN-Revision: 24647 | ||||
* | base-files: use shutdown instead of stop when the system goes down (patch by ↵ | Felix Fietkau | 2010-12-13 | 2 | -2/+2 |
| | | | | | | tripolar) SVN-Revision: 24540 | ||||
* | adds a --help option to /sbin/wifi | Florian Fainelli | 2010-12-05 | 1 | -0/+9 |
| | | | | | | Signed-off-by: Sebastian Philipp <sebastian@spawnhost.de> SVN-Revision: 24258 | ||||
* | base-files: derive connect_time from uptime as local system time may warp ↵ | Jo-Philipp Wich | 2010-12-01 | 1 | -1/+1 |
| | | | | | | due to rdate, ntp and other means SVN-Revision: 24212 | ||||
* | base-files: save the connect time of interfaces in uci state | Jo-Philipp Wich | 2010-12-01 | 1 | -0/+1 |
| | | | | SVN-Revision: 24206 | ||||
* | base-files: disable ipv6 on bridge ports, this prevents stray RA assigned ↵ | Jo-Philipp Wich | 2010-11-30 | 1 | -8/+13 |
| | | | | | | and link local addresses on bridge member devices SVN-Revision: 24194 | ||||
* | base-file: add metric option for static and dhcp protos, this simplifies the ↵ | Jo-Philipp Wich | 2010-11-17 | 2 | -4/+7 |
| | | | | | | management of multiple default routes SVN-Revision: 24020 |