summaryrefslogtreecommitdiff
path: root/setup-interfaces.in
AgeCommit message (Collapse)Author
2022-05-12setup-inerfaces: fix usage, make testableNatanael Copa
exit with success with -h send usage text to stderr when invalid option is passed
2022-04-19setup-interfaces: strip comment of wifi passwordNatanael 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-16fix PREFIX in *.inNick Hanley
Commit ec0c7a7 changed the sed expression for PREFIX injection but forgot to update the scripts.
2021-11-16setup-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-16setup-interfaces: Document all flagsLukas Bestle
2021-11-16setup-interfaces: New -r flag to restart serviceLukas Bestle
Fixes #10480. Fixes #10484.
2021-01-08setup-interfaces: use ask_yesnoNatanael Copa
2021-01-06Fix WPA supplicant's key_mgmt for open networks.Gentooman
2021-01-06setup-interfaces: refactor wifi setupNatanael 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-06setup-interfaces: fix wifi error handlingNatanael Copa
if wifi setup fails, return instead of recursively call prompt_for_interfaces
2021-01-06setup-interfaces: start wpa_supplicant serviceNatanael Copa
instead of simply start the process, enable the service so it starts on reboots
2021-01-06setup-interfaces: make ssid list prettierNatanael Copa
use / as separator in the interal list as it is not allowed to be used in SSIDs also fix a bashism
2018-06-13setup-interfaces: add -a option for auto setupNatanael Copa
this option will configure dhcp on first interface found which is "up"
2017-05-23setup-interfaces: allow spaces in ssid and pskCarlo Landmeter
fixes #7260
2016-11-02indent heredocs and replace echos with heredoc where appropriateJakub Jirutka
2016-11-02replace deprecated `...` syntax with $(...) in shell scriptsJakub Jirutka
2016-11-02fix mixed tabs & spaces and surplus empty lines at EOFJakub Jirutka
2016-06-14setup-interfaces: fix wifi setupNatanael Copa
2016-04-05setup-interfaces: add limited support for configuring wireless interfacesLeonardo Arena
2015-05-06setup-interfaces: replace non-breaking space with normal spaceNatanael Copa
Non-breaking space (0xc2 0xa0) was added by mistake. Replace it with a normal space.
2015-05-06setup-interfaces: do not configure lo on LXCNatanael Copa
2014-04-23setup-interfaces: remove -p option and fix whitespace damageNatanael Copa
2014-04-23fix permissionsNatanael Copa
2013-07-03various: use long-form apk optionsDubiousjim
2013-03-01setup-interfaces: fix vlan-raw-deviceNatanael Copa
ref #1624
2012-12-21setup-interfaces: fix ip: can't find device 'eth1.3' messageNatanael Copa
ref #1404
2012-06-21setup-interfaces: allow setting up vlans on top of bondingNatanael 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-20setup-interfaces: fix setting up bridge for xen dom0Natanael Copa
2012-06-20setup-interfaces: do not ask to bridge bridge interfacesNatanael Copa
2012-03-23setup-interfaces: improve help textsNatanael Copa
Tanks to nangel
2012-03-23setup-interfaces: add support for vlansNatanael Copa
2012-03-22setup-interfaces: install packages for bonding and/or bridge if neededNatanael Copa
2012-03-22setup-interfaces: allow 'manual' interfaces without ip addrNatanael Copa
Useful for bonding and bridges
2012-03-22setup-interfaces: initial bonding supportNatanael Copa
2012-03-22setup-interfaces: be more verbose on what ports are already added to bridgeNatanael Copa
2012-03-22setup-interfaces: remove dead codeNatanael Copa
We use new style bridge configuration now
2012-03-22setup-interfaces: remove newlines from bridge-portsNatanael Copa
2012-03-22setun-interface: user the term 'ports' when asking for bridge portsNatanael Copa
This makes it slightly clearer what we are doing
2012-03-22setup-interfaces: configure bridge from interface questionNatanael Copa
2012-03-22setup-interfaces: have the xen bridge stuff to use the new ifup bridge thingyNatanael Copa
2012-03-21setup-interfaces: support creating bridge when asking for ip addrNatanael Copa
2012-03-21setup-interfaces: do not use pkg_instNatanael Copa
we will never support any other package manager than apk add so lets clean up the code
2012-03-21setup-interfaces: use yesno funcNatanael Copa
2012-03-21setup-interfaces: use "ask" instead of "default_read"Natanael Copa
2012-03-21setup-interfaces: cleanupNatanael Copa
- Support the ROOT env var - use unconfigured_* functions to keep the state of which interfaces are configured - Support env var INTERFACES so we can override the autodetection
2011-12-30setup-interfaces: add -b to ask for bridgesNatanael Copa
2011-12-30alpine-conf: modify setup-interfaces to create simple bridgesRoger Pau Monne
Modified setup-interfaces to create simple bridges (works only with one interface per bridge). Useful when setting up a Xen system, since interfaces need to be bridged in order for guests to have networking. Some distributions automatically create one bridge for each interface when Xen is installed, but I think this is too aggressive. Changes since v1: * Only ask to bridge interfaces if Xen Dom0 is detected
2011-09-13setup-interfaces: cleanupNatanael Copa
we try to avoid huge if ... else clauses. Put thing in function this is only to improve readability of code
2011-08-07setup-interfaces: add an option to read custom /etc/network/interfaces from ↵Jeff Bilyk
stdin
2011-04-19setup-interfaces: add hostname to dhcpNatanael Copa
for dynamic dns