Hi, On Sun, 02 Jul 2017 at 03:08:48 +0200, M. Buecher wrote: > when using Dropbear in an Debian 9.0 Stretch InitRAMFS for remotely unlocking > an encrypted root file system via SSH, then the network setup via DHCP does > provide the host name as it was with Debian 8.0 Jessie. > > This avoids using DNS names to connect to the host, instead you have to find > out the assigned dynamic IP and then connect to the address instead of the > host dns name.
What's your kernel command line? dropbear-initramfs' boot script merely calls `configure_networking` (from initramfs-tools package) which takes care of bringing up the network (by calling `ipconfig` from klibc-utils package). Passing "ip=::::$hostname::dhcp" does include $hostname in the DHCP request (at least ipconfig says so). Cheers, -- Guilhem.
signature.asc
Description: PGP signature