by admiralspark » Mon Dec 10, 2012 8:56 am
$this->bbcode_second_pass_quote('pepedog', '[')code]pacman -Sy netcfg
cp /etc/network.d/examples/ethernet-static /etc/network.d/
nano /etc/network.d/examples/ethernet-static
# edit to your liking
nano /etc/conf.d/netcfg
# edit line NETWORKS=(last) and make it NETWORKS=(ethernet-static)
rm /etc/systemd/system/multi-user.target.wants/dhcpcd\@eth0.service
systemctl enable netcfg
sync
reboot[/code]
He doesn't have access to the device yet though...but that is how you do it once you establish connection.
Though, we can assume that he can plug it into his local ethernet port and find out which link-local it gave itself. Running $this->bbcode_second_pass_code('', 'arp -a') in windows or linux will show you the connected devices, and the pi should show up. It'll be a 169.254.x.x address. And, hmmm, if that doesn't work, scan the link-local range with an ip scanner.
Or just turn dhcp back on
