Boot BlackArch後需要進行安裝,並且沒有自己進行網絡配置。
登錄賬號是root,密碼是blackarch
打開終端
使用ip addr
我這裏是已經配置好的,第二個,ens33
使用
ifconfig [你的第二個網卡] up
然後
ifconfig [你的第二個網卡] [你的分配ip地址] netmask [你的子網掩碼]
接着設置路由器:
route add default gw [你的路由器地址]
然後修改DNS
vim /etc/resolv.conf
我的路由器是192.168.132.2
所有nameserver是這個
你們應該是
nameserver [你的路由器地址]
至此,網絡配置完成。
然後開始安裝。
請參考此文:
https://jingyan.baidu.com/article/76a7e4090a4162fc3a6e1511.html