Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-11-15 | setup-interfaces: use iw instead of wireless-tools | Natanael Copa | |
also fix so we can join networks without PSK filter out hidden (\x00) SSIDs fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10518 fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10475 | |||
2022-11-06 | always quote vars in 'local' assignment | Jakub Jirutka | |
Some shells may apply word splitting after expanding variable in `local a=$1`. I know just about yash, but since `local` is supposed to be a builtin *command*, the "correct" behaviour of common shells is actually a special case for `local` - it doesn't apply for other commands. See https://osdn.net/projects/yash/ticket/46041. | |||
2022-11-05 | replace 'echo -n' and 'echo -e' with printf | Jakub Jirutka | |
'echo -n' and 'echo -e' are not portable, not all commonly used shells support both of them (in the same way). 'echo -e' is not even defined in POSIX. https://pubs.opengroup.org/onlinepubs/009604599/utilities/echo.html: > New applications are encouraged to use printf instead of echo. > ... > Conforming applications that wish to do prompting without <newline>s > or that could possibly be expecting to echo a -n, should use the > printf utility derived from the Ninth Edition system. | |||
2022-07-13 | setup-interfaces: allow wifi networks that has more than PSK | Natanael Copa | |
The authentication suites may be a list. Check if PSK is a part of the list instead of checking that it is the only authentication suite. ref https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10518 | |||
2022-07-13 | setup-interfaces: add test for interactive wifi setup | Natanael Copa | |
2022-07-06 | setup-interfaces: install bonding/bridge pkgs | Natanael Copa | |
The ifupdown-ng implementations are apparently just stubs. Partially reverts commit e9c6302edf1e (setup-interface: avoid install bridge/bonding with ifupdown-ng) | |||
2022-07-05 | setup-interface: avoid install bridge/bonding with ifupdown-ng | Natanael Copa | |
We don't need to install bridge or bonding packages with ifupdown-ng. | |||
2022-07-05 | setup-interfaces: don't install legacy vlan package | Natanael Copa | |
Don't install vlan package if ifupdown-ng package is used. Add tests for this. fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10495 | |||
2022-07-05 | setup-interfaces: mock apk add and test that vlan gets installed | Natanael Copa | |
test that vlan gets installed | |||
2022-07-01 | setup-interfaces: use fake /sys/class/net for testing | Natanael Copa | |
this fixes the tests so we dont mix with the hosts network interfaces. | |||
2022-05-23 | setup-{acf,interfaces}: use rc-serivce instead of /etc/init.d | Natanael Copa | |
This makes it possible to test the scripts | |||
2022-05-12 | setup-inerfaces: fix usage, make testable | Natanael Copa | |
exit with success with -h send usage text to stderr when invalid option is passed | |||
2022-04-19 | setup-interfaces: strip comment of wifi password | Natanael Copa | |
wpa_passphrase will add a comment of the password in clear text. Strip this. fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10509 | |||
2022-03-16 | fix PREFIX in *.in | Nick Hanley | |
Commit ec0c7a7 changed the sed expression for PREFIX injection but forgot to update the scripts. | |||
2021-11-16 | setup-interfaces: don't add hostname for dhcp (fixes #12886) | Alex Xu (Hello71) | |
this doesn't work properly if someone changes hostname after install. ifupdown-ng supports this automatically, and if someone manually switches to ifupdown then they can manually add the hostname line. | |||
2021-11-16 | setup-interfaces: Document all flags | Lukas Bestle | |
2021-11-16 | setup-interfaces: New -r flag to restart service | Lukas Bestle | |
Fixes #10480. Fixes #10484. | |||
2021-01-08 | setup-interfaces: use ask_yesno | Natanael Copa | |
2021-01-06 | Fix WPA supplicant's key_mgmt for open networks. | Gentooman | |
2021-01-06 | setup-interfaces: refactor wifi setup | Natanael Copa | |
- fix bug in find_essids - use wpa_passphrase to create network config for wpa_supplicant with PSK - handle case where invalid SSID was entered - do not echo the wifi password | |||
2021-01-06 | setup-interfaces: fix wifi error handling | Natanael Copa | |
if wifi setup fails, return instead of recursively call prompt_for_interfaces | |||
2021-01-06 | setup-interfaces: start wpa_supplicant service | Natanael Copa | |
instead of simply start the process, enable the service so it starts on reboots | |||
2021-01-06 | setup-interfaces: make ssid list prettier | Natanael Copa | |
use / as separator in the interal list as it is not allowed to be used in SSIDs also fix a bashism | |||
2018-06-13 | setup-interfaces: add -a option for auto setup | Natanael Copa | |
this option will configure dhcp on first interface found which is "up" | |||
2017-05-23 | setup-interfaces: allow spaces in ssid and psk | Carlo Landmeter | |
fixes #7260 | |||
2016-11-02 | indent heredocs and replace echos with heredoc where appropriate | Jakub Jirutka | |
2016-11-02 | replace deprecated `...` syntax with $(...) in shell scripts | Jakub Jirutka | |
2016-11-02 | fix mixed tabs & spaces and surplus empty lines at EOF | Jakub Jirutka | |
2016-06-14 | setup-interfaces: fix wifi setup | Natanael Copa | |
2016-04-05 | setup-interfaces: add limited support for configuring wireless interfaces | Leonardo Arena | |
2015-05-06 | setup-interfaces: replace non-breaking space with normal space | Natanael Copa | |
Non-breaking space (0xc2 0xa0) was added by mistake. Replace it with a normal space. | |||
2015-05-06 | setup-interfaces: do not configure lo on LXC | Natanael Copa | |
2014-04-23 | setup-interfaces: remove -p option and fix whitespace damage | Natanael Copa | |
2014-04-23 | fix permissions | Natanael Copa | |
2013-07-03 | various: use long-form apk options | Dubiousjim | |
2013-03-01 | setup-interfaces: fix vlan-raw-device | Natanael Copa | |
ref #1624 | |||
2012-12-21 | setup-interfaces: fix ip: can't find device 'eth1.3' message | Natanael Copa | |
ref #1404 | |||
2012-06-21 | setup-interfaces: allow setting up vlans on top of bonding | Natanael Copa | |
Handle case when user enters vlan on top of bond (i.e bond0.8) In this case we first set up the bond interface with default address to "none" and then afterwards we set up the vlan interface. | |||
2012-06-20 | setup-interfaces: fix setting up bridge for xen dom0 | Natanael Copa | |
2012-06-20 | setup-interfaces: do not ask to bridge bridge interfaces | Natanael Copa | |
2012-03-23 | setup-interfaces: improve help texts | Natanael Copa | |
Tanks to nangel | |||
2012-03-23 | setup-interfaces: add support for vlans | Natanael Copa | |
2012-03-22 | setup-interfaces: install packages for bonding and/or bridge if needed | Natanael Copa | |
2012-03-22 | setup-interfaces: allow 'manual' interfaces without ip addr | Natanael Copa | |
Useful for bonding and bridges | |||
2012-03-22 | setup-interfaces: initial bonding support | Natanael Copa | |
2012-03-22 | setup-interfaces: be more verbose on what ports are already added to bridge | Natanael Copa | |
2012-03-22 | setup-interfaces: remove dead code | Natanael Copa | |
We use new style bridge configuration now | |||
2012-03-22 | setup-interfaces: remove newlines from bridge-ports | Natanael Copa | |
2012-03-22 | setun-interface: user the term 'ports' when asking for bridge ports | Natanael Copa | |
This makes it slightly clearer what we are doing | |||
2012-03-22 | setup-interfaces: configure bridge from interface question | Natanael Copa | |