如何在预置文件中指定网络配置以连接到无线网络?

时间:2017-06-23 13:00:40

标签: ubuntu-server

我一直在Kickstarter和一个预置文件的帮助下尝试ubuntu的无人值守安装。 虽然一切都在安装中成功,但与无线接口的连接失败。是否还需要为网络部分指定其他任何工作?

 d-i netcfg/choose_interface select someInterface
 d-i netcfg/enable boolean true
 d-i netcfg/wireless_essid string someSSID
 d-i netcfg/wireless_essid_again string someSSID
 d-i netcfg/wireless_security_type select wpa
 d-i netcfg/wireless_wpa string someKey

1 个答案:

答案 0 :(得分:0)

我能够使用这些设置:

# which chipset?
platform=AMD64

# Install OS instead of: upgrade
install

# Predetermine several required settings for wifi, misc.
preseed netcfg/choose_interface select wlan0
preseed netcfg/wireless_show_essids select manual
preseed netcfg/wireless_essid string WPA_ESSID
preseed netcfg/wireless_essid_again string WPA_ESSID
preseed netcfg/wireless_security_type select wpa
preseed netcfg/wireless_wpa string WPA_PASS