Age | Commit message (Collapse) | Author |
|
We should point to the manpage rather than rc.conf.
Fixes: FS#29494
Reported-by: Jason St. John <jstjohn@purdue.edu>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Avoid unnecessary output about sending a SIGTERM to the active PID.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
|
|
* Add whitespace to arithmetic expressions.
* Use boolean logic for semantically boolean variables.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
|
|
Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
This was caused by commit fc9ce46483fc4d -- if the user has no interface
defined but also has no legacy variables defined, our legacy check
fails, and we try to bring up the network using an empty declaration.
Add in an additional safeguard of checking sysfs to see that the
interface really does exist.
Fixes FS#25671
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
|
|
Make it clear that the message refers to network settings, as some
users found this confusing.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
|
|
There's no way the ifup|ifdown|rtup|rtdown etc functions will ever hit
the new iproute2 based logic. Therefore, always remind the user that
this functionality is deprecated. This prevents misusage of the
functionality as seen in FS#24714.
Signed-off-by: Dave Reisner <d@falconindy.com>
|
|
4cad51425325 removed the necessity for defining gateway, but we still
continued to check for it. Remove this check, as well as the check for
netmask. When not supplied, netmask will default to /24.
Signed-off-by: Dave Reisner <d@falconindy.com>
|
|
This also discards the explicit deletion of the route in network_down,
as bringing down the interface will take care of this for us.
Addresses FS#24690
Thanks-to: Matthias Dienstbier <matthias_dienstbier@yahoo.de>
Signed-off-by: Dave Reisner <d@falconindy.com>
|
|
Without this broadcast address is not set.
broadcast= parameter can be empty. In this case the broadcast address
is derived by setting all of the interface host bits to one (+).
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
|
|
These are run from a context where PATH will be set, so defining
absolute paths is unnecessary.
|
|
Provide large warnings when net-tools functionality is used. Add
documentation in rc.conf for the new iproute2 based config.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
* replace use of eval with variable indirection
* scope variables to functions
Signed-off-by: Dave Reisner <d@falconindy.com>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
* adhere to a consistant vim modeline
* use top-right/bottom-left braces for functions
Signed-off-by: Dave Reisner <d@falconindy.com>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
|
|
|
|
Signed-off-by: Florian Pritz <bluewind@xssn.at>
|
|
|
|
Setting NETWORK_PERSIST="yes" will skip network shutdown. This
is needed to cleanly halt or reboot the systemif your root device
is on NFS. It does not affect network profiles.
|
|
Previous commit acac4f47597320f55995bdaf692d6f2335a1d67e
attempted to parse the name of the interface from the config
line, but neglected to check for "dhcp" config lines, in which
case the interface is the name
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Using the variable name doesn't work in cases like this:
my_interface_foo="eth0 blah blah"
INTERFACES=(my_interface_foo)
It produces errors like so:
my_interface_foo no such device
Fixes FS#16114
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Allow association to begin, for wireless interfaces
Ref: FS#13299
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Ref: FS#10616
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
long time ago
|
|
This is done by checking the route config for a double colon
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Additionally add optional WIRELESS_TIMEOUT parameter
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
As stated in commit f589387f0b9ef56de8ab30f50a3c562e010baeeb, even an
interface that is 'UP' may need configuring. However, the check introduced
in this commit is nonsense (causing bug #9960, possibly others). The best
idea is to remove the check altogether: This may cause duplicate dhcpcd
processes to run (should be fixed), but otherwise ensures the interface is
brought up when it should be.
|
|
Signed-off-by: Roman Kyrylych <roman@archlinux.org>
|
|
Since netfs and network source rc.conf, we cannot fully convert it to an sh
script. However, we can get rid of a few things that are not sh compatible.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Using the 'UP' state to imply operational status is wrong and even if a
device is 'UP' we may still need to run ifconfig/dhcp
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Hotplug hasn't been supported in Arch for ages
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
|
|
|
|
fixing flyspray #7004 #6859, change in dhcpcd state directory.
|
|
|
|
-k switch (I forgot about #2942)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
NET_PROFILES that use the same INTERFACE. They will be started one at a time, and the first successful one will be kept.
|
|
|
|
|
|
commented out the ldconfig call at startup, added support for unicode console maps, added a hotplug_ifup() function rc.d/network for hotplug's net.agent to use
|