by apokalypz » Wed Jul 01, 2015 3:12 am
OK, I tried again from scratch with the latest image from the 29th and I got a dhcp address on the first boot, yay. It does look like a problem with the last image then because a change from yesterday fixed it.
So I did some poking around and saw that the default network service is netctl again? I thought arch made systemd-networkd the default (that's how my other arch devices are setup by default). So I did research and discovered that dhcpcd is now arch's default manager according to their network wiki. So what's going on here, what is the official manager: netctl, networkd, or dhcpcd? I understand archlinuxarm is inherently different from the x86 line (thank you BTW for all you guys do), but damn.
Anyway, I tried to setup networkd for static eth0 with a /etc/systemd/network/eth0.network:
$this->bbcode_second_pass_code('', '
[Match]
Name=eth0
[Network]
DNS=192.168.1.1
[Address]
Address=192.168.1.102/24
[Route]
Gateway=192.168.1.1
')
And it kinda works, but doesnt:
•If I enable systemd-networkd and disable netctl's eth0, I can't login to my static ip via ssh.
•If I leave netctl eth0 enabled while systemd-networkd is enabled, I get 2 addresses on boot, 192.168.1.102 and another from dhcp. However only the dhcp address actually lets me ssh in. If I run 'ifconfig' it shows eth0's address as 192.168.1.102 when it is only accepting connections on the dhcp address. No doubt this is because networkd changed the address after sshd latched onto the dhcp address which came up first.
I just don't know why systemd-networkd is unable to manage my connection and bring up the interface if it's enabled on it's own. Is there something I'm missing?