Age | Commit message (Collapse) | Author | Files | Lines |
|
In IPv6 you cannot bind to an address as long as it is not determined to be unique through Duplicate Address Detection. This can cause problems when routes in ROUTES6 reference a tentative source address or when something that starts after netcfg tries to.
This patch does a few things:
- Improve ROUTES(6) logic so that non-static connections can make use of them as intended according to the commit message of c8be1.
- Make additional arguments possible for ADDR6 addresses and ROUTES6 routes, such as ADDR6=('1234:5678:9abc:def::1/64 nodad').
- Introduce a DAD_TIMEOUT variable that governs how long to wait for DAD to finish.
- Move IPCFG processing to after IPv6 address set-up (it already was after IPv4 address set-up), so that custom commands can be sure to have working addresses.
WARNING: This changes make it impossible to use ROUTES6 and set the address through IPCFG instead of ADDR6. This was bad, unsupported practice, but sometimes needed as ADDR6 did not allow config flags to be used. Resolving this issue should be no problem: you should be able to properly use ADDR6 now. If not, then be a real hacker and set the routes through IPCFG too.
Many thanks to Steve Caligo for reporting this bug and helping out in finding a solution.
|
|
Don't try to bring down backgrounded profiles if they are not up, preventing "not connected" messages.
|
|
This was the result of commit b6964 which said to fix FS#17406 by reverting to the subshell-less for-loop that is once again removed in this commit.
The real fix to FS#17406 was commit c3276 to the initscripts repository.
|
|
Moved from the pm-utils package.
|
|
It is once again possible to use NET= at the kernel command line when using net-profiles.
|
|
|
|
Configuration is done through /etc/conf.d/netcfg.
Compatibility with configuration through /etc/rc.conf is dropped.
|
|
|
|
For reuse in a systemd service
|
|
- wireless-dbus is not simple enough for netcfg
- some contributed code was not used and the rest of the code had caught up functionality wise
- we switched to iproute so we need to stop pretending it is an 'option'
- it is no longer fatal in the ifplugd scrict to have multiple preferred profiles
|
|
- Use "-K" to prevent unnecessary remove/re-acquire a lease.
- Respect /etc/network.d/interfaces/$interface and the dhcp options set there when connecting without a matching profile. Also use the same options used in $CONN_DIR/ethernet.
Fixes by Thomas Bächler
|
|
It needs to be quoted when used as an argument. Putting the name in curly braces is unnecessary.
|
|
-i is not a very cool parameter for downing an interface. Change it to -D so that it mirrors -R in the sense that a capital is used for interface-based actions.
The old behaviour is kept (undocumented) for backward compatibility.
Also a typo (iface-recont should have been iface-recon) is fixed.
Lastly some restrictions on profile naming are included in the documentation. The "should not start with '@'" is only for usage with net-profiles.
|
|
The use of cat in a subshell is distractive.
This makes the code more beautiful.
|
|
This justifies the asciidoc make dependency. Previously, pre-built documentation was supplied with the netcfg sources. Now only documentation source and the Makefile is provided.
|
|
This is what you get when Dave Reisner points you at some bash anti-patterns.
Also in this commit:
- updated documentation
- bugfix revision of the IPv6 SLAAC address/route bug
|
|
It is now possible to reconnect based on the name of the interface.
|
|
wifi-menu is a tool that lets you connect to a wireless network from the console. It is aware of your netcfg profiles and can write them for you.
|
|
It sources /etc/rc.d/functions, which is a bash script.
This fixes FS#28022 which was reported by jstjohn (jstjohn).
|
|
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
|
|
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
|
|
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
|
|
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
|
|
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
|
|
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
|
|
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
|
|
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
|
|
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
|
|
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
|
|
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
|
|
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
|