os-kali: kali - 配置网络和网络源
一、网络配置(nic := network interface card)
┌──(novice㉿kali)-[/etc/NetworkManager/system-connections]
└─$ ls
'Wired connection 1'
┌──(novice㉿kali)-[/etc/NetworkManager/system-connections]
└─$ sudo cat Wired\ connection\ 1
[connection]
id=nic1
uuid=1a8f3ce3-54ea-4e23-8070-def808dbbfd3
type=ethernet
timestamp=1656722066
[ethernet]
[ipv4]
address1=10.10.10.16/24,10.10.10.1
dns=114.114.114.114;8.8.8.8;
method=manual
[ipv6]
addr-gen-mode=eui64
ip6-privacy=2
method=auto
[proxy]
┌──(novice㉿kali)-[/etc/NetworkManager/system-connections]
└─$
┌──(novice㉿kali)-[/etc/NetworkManager/system-connections]
└─$
二、网络源配置
┌──(novice㉿kali)-[~]
└─$ cat /etc/apt/sources.list
# kali-offical man
deb http://http.kali.org/kali kali-rolling main non-free contrib
deb-src http://http.kali.org/kali kali-rolling main non-free contrib
# nanjingdaxue kuai
#deb https://mirrors.nju.edu.cn/kali kali-rolling main non-free contrib
#deb-src https://mirrors.nju.edu.cn/kali kali-rolling main non-free contrib
# aliyun zhong
#deb https://mirrors.aliyun.com/kali kali-rolling main non-free contrib
#deb-src https://mirrors.aliyun.com/kali kali-rolling main non-free contrib
本文由 lnlidawei 原创、整理、转载,本文来自于【博客园】; 整理和转载的文章的版权归属于【原创作者】; 转载或引用时请【保留文章的来源信息】:https://www.cnblogs.com/lnlidawei/p/16433298.html