I have a Raspberry Pi Arch router.
I configured 2 netctl profiles:
LAN:
$this->bbcode_second_pass_code('', '# vim /etc/netctl/lan0-profile
Description='LAN Profile'
Interface=lan0
Connection=ethernet
IP=static
Address=('192.168.1.1/24')')
WAN:
$this->bbcode_second_pass_code('', '# vim /etc/netctl/wan0-profile
Description='WAN Profile'
Interface=wan0
Connection=ethernet
IP=dhcp')
Enabled both:
$this->bbcode_second_pass_code('', '# netctl enable lan0-profile
# netctl enable wan0-profile')
This works great, as long as both the WAN and LAN cables are connected to the device on boot.
If an ethernet cable is not connected during boot, the interface never gets configured. Basically if I boot and then plug in the cables, the interfaces remain unconfigured.
For a router, that's obviously pretty bad.
Is there a way to make it keep trying?