Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debian12能否自定义网卡名称 #127

Open
joyoner opened this issue Jul 30, 2024 · 1 comment
Open

debian12能否自定义网卡名称 #127

joyoner opened this issue Jul 30, 2024 · 1 comment

Comments

@joyoner
Copy link

joyoner commented Jul 30, 2024

debian12能否自定义网卡名称,习惯eth0了。

cat /etc/network/interfaces
auto lo
iface lo inet loopback

rename enp0s3=ens3
allow-hotplug ens3
iface ens3 inet dhcp
iface ens3 inet6 dhcp

可否直接修改为:

auto lo
iface lo inet loopback

rename enp0s3=eth0
allow-hotplug eth0
iface eth0 inet dhcp
iface eth0 inet6 dhcp
@bin456789
Copy link
Owner

试下就知道

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants