summaryrefslogtreecommitdiff
path: root/rc/bin/inst/configether
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2018-08-15 21:39:30 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2018-08-15 21:39:30 +0200
commitcd752a39f8b0b36378800740c0e5915beabfb56d (patch)
treeb1c2b1c531321704e49928e0771dac90badef186 /rc/bin/inst/configether
parentab4c0a012f4b57e9a9a2c084097c919a40029380 (diff)
ipv6 autoconfiguration on ethernet
for ip autoconfiguration, setup ipv6 link local addresses and do SLAAC in parallel to DHCP.
Diffstat (limited to 'rc/bin/inst/configether')
-rwxr-xr-xrc/bin/inst/configether8
1 files changed, 4 insertions, 4 deletions
diff --git a/rc/bin/inst/configether b/rc/bin/inst/configether
index f61d464c4..d3568c18d 100755
--- a/rc/bin/inst/configether
+++ b/rc/bin/inst/configether
@@ -8,10 +8,10 @@ case go
echo 'Please choose a method for configuring your ethernet connection.'
echo
echo ' manual - specify IP address, network mask, gateway IP address'
- echo ' dhcp - use DHCP to automatically configure'
+ echo ' automatic - use DHCP and SLAAC to automatically configure'
echo
- prompt -d dhcp 'Configuration method' manual dhcp
+ prompt -d automatic 'Configuration method' manual automatic
ethermethod=$rd
gwaddr=xxx
ipaddr=xxx
@@ -26,11 +26,11 @@ case go
export DNSSERVER
}
}
- export ethermethod gwaddr ipaddr ipmask dhcphost
+ export ethermethod gwaddr ipaddr ipmask
exec ./startether go
case checkdone
- if(! ~ $ethermethod manual dhcp) {
+ if(! ~ $ethermethod manual automatic) {
configether=notdone
export configether
}