我想寻求帮助,找出如何获得in程序,当尝试使用这个问题等指南中的下拉熊时,该程序将允许我在grub上使用加密设置引导计算机时使用wlan0而不是eth0。
在尝试使用dropbear时显示的消息是
IP-Config: eth0 hardware address ...
IP-Config: no response after 3 secs - giving up除了每次显示更高的秒数外,该消息还会不断重复。
我仍然可以输入我的密码手动,但我希望能够使用wifi,除此之外。
My /etc/initramfs-tools/initramfs.conf如下所示
#
# initramfs.conf
# Configuration file for mkinitramfs(8). See initramfs.conf(5).
#
# Note that configuration options from this file can be overridden
# by config files in the /etc/initramfs-tools/conf.d directory.
#
# MODULES: [ most | netboot | dep | list ]
#
# most - Add most filesystem and all harddrive drivers.
#
# dep - Try and guess which modules to load.
#
# netboot - Add the base modules, network modules, but skip block devices.
#
# list - Only include modules from the 'additional modules' list
#
MODULES=most
#
# BUSYBOX: [ y | n ]
#
# Use busybox if available.
#
BUSYBOX=y
#
# KEYMAP: [ y | n ]
#
# Load a keymap during the initramfs stage.
#
KEYMAP=n
#
# COMPRESS: [ gzip | bzip2 | lzma | lzop | xz ]
#
COMPRESS=gzip
#
# NFS Section of the config.
#
#
# DEVICE: ...
#
# Specify a specific network interface, like eth0
# Overridden by optional ip= bootarg
#
DEVICE=wlan0
#
# NFSROOT: [ auto | HOST:MOUNT ]
#
NFSROOT=auto谢谢你的帮助,
布兰登·戈麦斯
发布于 2018-01-16 22:30:24
无线和有线以太网有很大的不同。最重要的是,您需要连接到无线网络并使用它进行身份验证(您不需要在“正常”有线网络上这样做)。
您的系统正在放弃从网络中获取IP地址的尝试,因为它没有连接到任何网络。
在运行中的系统上,您可以让NetworkManager和/或wpa_supplicant来处理这个问题,但是在引导过程的这个阶段,这些工具是不可用的(您在initramfs!)
不久前,我在Debian (Kali是基于Debian的)上遇到了这样的问题,并花时间编写了这个过程,所以请原谅我没有把它全部放在这里,您可以在这里阅读完整的解释:在debian initramfs中启用无线 (免责声明,这是我自己的文章)。
现在,要使这个答案完整,链接细节是您需要做的:
最后一点很重要,否则initramfs请求者就会扰乱系统的运行。
我这样做是为了在系统上安装mandos-client (曼多斯首页),这基本上允许完全无人参与的远程根文件系统解密。
希望这能让你走上正确的轨道!
https://unix.stackexchange.com/questions/298000
复制相似问题